/* V4L2 */
#include <stdbool.h>
-#include "videodev2.h" /* vendor specific videodev2.h */
-#include "videodev2_exynos_media.h"
+#include <linux/videodev2.h> /* vendor specific videodev2.h */
+#include <linux/videodev2_exynos_media.h>
/*! \ingroup exynos_v4l2 */
int exynos_v4l2_open(const char *filename, int oflag, ...);
int exynos_v4l2_s_ext_ctrl(int fd, struct v4l2_ext_controls *ctrl);
/* V4L2_SUBDEV */
-#include <v4l2-subdev.h>
+#include <linux/v4l2-subdev.h>
/*! \ingroup exynos_v4l2 */
int exynos_subdev_open(const char *filename, int oflag, ...);
int exynos_subdev_enum_mbus_code(int fd, struct v4l2_subdev_mbus_code_enum *mbus_code_enum);
/* MEDIA CONTORLLER */
-#include <media.h>
+#include <linux/media.h>
/*! media_link
* \ingroup exynos_v4l2
#ifndef _S5P_FIMC_H_
#define _S5P_FIMC_H_
-#include "videodev2.h"
-#include "videodev2_exynos_media.h"
+#include <linux/videodev2.h>
+#include <linux/videodev2_exynos_media.h>
/*
* G E N E R A L S
* V 4 L 2 F I M C E X T E N S I O N S
*
*/
-#define V4L2_PIX_FMT_YVYU v4l2_fourcc('Y', 'V', 'Y', 'U')
-
/* FOURCC for FIMC specific */
#define V4L2_PIX_FMT_NV12X v4l2_fourcc('N', '1', '2', 'X')
#define V4L2_PIX_FMT_NV21X v4l2_fourcc('N', '2', '1', 'X')
-#define V4L2_PIX_FMT_VYUY v4l2_fourcc('V', 'Y', 'U', 'Y')
-#define V4L2_PIX_FMT_NV16 v4l2_fourcc('N', 'V', '1', '6')
-#define V4L2_PIX_FMT_NV61 v4l2_fourcc('N', 'V', '6', '1')
#define V4L2_PIX_FMT_NV16X v4l2_fourcc('N', '1', '6', 'X')
#define V4L2_PIX_FMT_NV61X v4l2_fourcc('N', '6', '1', 'X')
endif
LOCAL_C_INCLUDES += \
+ $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
system/core/include \
hardware/samsung_slsi/openmax/include/khronos \
hardware/samsung_slsi/openmax/include/$(OMX_NAME) \
hardware/samsung_slsi/$(PLATFORM_DIR)/include \
$(LOCAL_PATH)/../include
+LOCAL_ADDITIONAL_DEPENDENCIES := \
+ $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+
LOCAL_CFLAGS := \
-DUSE_SAMSUNG_COLORFORMAT \
-DEXYNOS_OMX
csc.c
LOCAL_C_INCLUDES := \
+ $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
hardware/samsung_slsi/$(PLATFORM_DIR)/include \
hardware/samsung_slsi/openmax/include/khronos \
hardware/samsung_slsi/openmax/include/$(OMX_NAME) \
$(LOCAL_PATH)/../libexynosutils
+LOCAL_ADDITIONAL_DEPENDENCIES := \
+ $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_CFLAGS :=
ifeq ($(TARGET_BOARD_PLATFORM), exynos5)
LOCAL_SRC_FILES += exynos5_format_v4l2.c
LOCAL_C_INCLUDES += \
+ $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
$(LOCAL_PATH)/../include
+LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
endif
include $(BUILD_SHARED_LIBRARY)
#include "exynos_format.h"
#include "s5p_fimc_v4l2.h"
#include <utils/Log.h>
-#include "videodev2.h"
-#include "videodev2_exynos_media.h"
int HAL_PIXEL_FORMAT_2_V4L2_PIX(
int hal_pixel_format)
FimgExynos5.cpp
LOCAL_C_INCLUDES += \
+ $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
$(LOCAL_PATH)/../include
+LOCAL_ADDITIONAL_DEPENDENCIES := \
+ $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+
LOCAL_SHARED_LIBRARIES:= liblog libutils libbinder
LOCAL_MODULE:= libfimg
exynos_mc.c
LOCAL_C_INCLUDES := \
+ $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
$(LOCAL_PATH)/../include \
$(TOP)/hardware/samsung_slsi/exynos/libexynosutils
+LOCAL_ADDITIONAL_DEPENDENCIES := \
+ $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+
LOCAL_SHARED_LIBRARIES := \
liblog \
libutils \
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
-#include <media.h>
+#include <linux/media.h>
#include <linux/kdev_t.h>
#include <linux/types.h>