GitHub/LineageOS/android_hardware_samsung_slsi_openmax.git
12 years agovideo/common: Code cleanup for bitmask comparisons
Jinsung Yang [Mon, 29 Oct 2012 02:45:44 +0000 (11:45 +0900)]
video/common: Code cleanup for bitmask comparisons

This patch cleans up the coding style of bitmask comparisons for
easy understanding like below:

- if ((pExynosInputPort->bufferProcessType & BUFFER_COPY) == BUFFER_COPY)
+ if (pExynosInputPort->bufferProcessType & BUFFER_COPY)

- if (pExynosOutputPort->bufferProcessType == BUFFER_SHARE)
+ if (pexynosOutputPort->bufferProcessType & BUFFER_SHARE)

Change-Id: I43e0e216ac13e1e84dbe1822bc69984ad4ca4555
Signed-off-by: Jinsung Yang <jsgood.yang@samsung.com>
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
12 years agovideo: Remove useless definition of include header
Huisung Kang [Mon, 29 Oct 2012 02:27:32 +0000 (11:27 +0900)]
video: Remove useless definition of include header

'$(TOP)/hardware/samsung_slsi/exynos/libcsc' is not need to.

Change-Id: I61fc12a78e52203deb4f38793f1097861e0cc3f4
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
12 years agoosal: Changed error check routine for ion_client_create function.
Yunji Kim [Sat, 27 Oct 2012 02:51:27 +0000 (11:51 +0900)]
osal: Changed error check routine for ion_client_create function.

Because the return value of ion_client_create function chagned from
ion_client pointer to ion_client type.
ion_client_create returns negative value if creating new ion_client is
failed.

Change-Id: I736edff5373d1c3adc340cbd0e804502076b89a6
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
12 years agovideo: dec: h264: S3D support
Satish Kumar Reddy [Tue, 28 Aug 2012 17:56:28 +0000 (17:56 +0000)]
video: dec: h264: S3D support

This patch enables S3D support, only when output buffer is
BUFFER_COPY mode

Change-Id: Icbc7ada44528c396f12db864136aebab7fb920ae
Signed-off-by: Satish Kumar Reddy <palli.satish@samsung.com>
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
12 years agoexynos_omx: Add BOARD_USE_KHRONOS_OMX_HEADER flag.
Yunji Kim [Sat, 27 Oct 2012 01:10:59 +0000 (10:10 +0900)]
exynos_omx: Add BOARD_USE_KHRONOS_OMX_HEADER flag.

BOARD_USE_KHRONOS_OMX_HEADER flag is needed to include proper openMAX
spec header file.

If BOARD_USE_KHRONOS_OMX_HEADER is true, use khronos's original omx
header files.
    - $(EXYNOS_OMX_TOP)/include/khronos/
else, use android's omx header files.
    - frameworks/native/include/media/openmax

Google extends OMX header files of Khronos.
    - OMX_COLOR_FormatAndroidOpaque was added in OMX_COLOR_FORMATTYPE.
    - OMX_VIDEO_CodingVPX was added in OMX_VIDEO_CODINGTYPE.
    - FLAC type for audio was added.
    - etc..

So this BOARD_USE_KHRONOS_OMX_HEADER flag is needed to avoid conflict
error about OMX_COLOR_FormatAndroidOpaque, etc.

Change-Id: Ib03ad0ea83669e58125da32d590368ac11d36677
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
12 years agoCode cleanup for Android.mk
Huisung Kang [Sat, 27 Oct 2012 00:53:00 +0000 (09:53 +0900)]
Code cleanup for Android.mk

This patch fixup build error and remove unused definitions

Change-Id: I14e03bfb65778bb20a30f5f7a5581e3c378f6b66
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
12 years agoModified Android.mk to support various SoCs
Huisung Kang [Sat, 27 Oct 2012 03:08:06 +0000 (12:08 +0900)]
Modified Android.mk to support various SoCs

Change-Id: I871a0bb6c8cc0499690f9011084376013fd0cc03
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
12 years agoexynos_omx has moved from hardware/samsung_slsi/exynos5
Yunji Kim [Thu, 11 Oct 2012 06:32:10 +0000 (06:32 +0000)]
exynos_omx has moved from hardware/samsung_slsi/exynos5

Change-Id: I16f3ebed97ae8921436a09d9e2e653bb7172b3d2
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
12 years agoempty base
Seokkeun Ahn [Fri, 24 Aug 2012 07:23:53 +0000 (16:23 +0900)]
empty base