exynos_omx: Support Exynos5xxx 3.10 kernels cm-14.1
authorChristopher N. Hesse <raymanfx@gmail.com>
Sat, 26 Nov 2016 18:22:42 +0000 (19:22 +0100)
committerChristopher N. Hesse <raymanfx@gmail.com>
Mon, 9 Jan 2017 22:12:49 +0000 (22:12 +0000)
Change-Id: Ib6c932183f144ea07e503db232a68109946078eb

exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/ExynosVideoDecoder.c
exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/ExynosVideoEncoder.c

index 48e152fe66259abf5a86ffa64708903c27d7faac..7e7693cd104b14778e1fd938b56bc4f3c9ecd4a6 100644 (file)
 
 #define MAX_OUTPUTBUFFER_COUNT 32
 
+/* Linux 3.10 */
+#ifndef V4L2_BUF_FLAG_LAST_FRAME
+#define V4L2_BUF_FLAG_LAST_FRAME 0x4000
+#endif
+
 /*
  * [Common] __CodingType_To_V4L2PixelFormat
  */
index 0d3d6869e7c73e69367711affc239264ef705299..d48d0992b3e6aef31c6d645143893dd3aaa05277 100644 (file)
 #define H263_CTRL_NUM   18
 #define MAX_INPUTBUFFER_COUNT 32
 
+/* Linux 3.10 */
+#if !defined(V4L2_MPEG_VIDEO_H264_SEI_FP_TYPE_SIDE_BY_SIDE) && defined(V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_SIDE_BY_SIDE)
+#define V4L2_MPEG_VIDEO_H264_SEI_FP_TYPE_SIDE_BY_SIDE V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_SIDE_BY_SIDE
+#endif
+
 /*
  * [Common] __CodingType_To_V4L2PixelFormat
  */