Change-Id: Id518b48b008f9dcf6e3e166ffcf67e2daedecf61
# since 3.10 kernel
ifneq ($(filter-out 3.4, $(TARGET_LINUX_KERNEL_VERSION)),)
+ifneq ($(TARGET_SOC), exynos5433)
LOCAL_CFLAGS += -DCID_SUPPORT
+endif
LOCAL_CFLAGS += -DUSE_DEFINE_H264_SEI_TYPE
LOCAL_CFLAGS += -DUSE_ORIGINAL_HEADER
endif
struct v4l2_format fmt;
struct v4l2_crop crop;
- int i, value;
+ int i;
+#ifdef V4L2_CID_MPEG_MFC_GET_10BIT_INFO
+ int value;
+#endif
if (pCtx == NULL) {
ALOGE("%s: Video context info must be supplied", __func__);
#endif
bufferConf->bInterlaced = VIDEO_FALSE;
+#ifdef V4L2_CID_MPEG_MFC_GET_10BIT_INFO
exynos_v4l2_g_ctrl(pCtx->hDec, V4L2_CID_MPEG_MFC_GET_10BIT_INFO, &value);
if (value == 1) {
bufferConf->eFilledDataType = DATA_8BIT_WITH_2BIT;
#endif
}
}
+#endif
/* Get planes aligned buffer size */
for (i = 0; i < pCtx->nOutbufPlanes; i++)