openmax: Buffer flag processing scheme change after EOS.
authorSeungBeom Kim <sbcrux.kim@samsung.com>
Wed, 20 Feb 2013 06:47:49 +0000 (15:47 +0900)
committerSeungBeom Kim <sbcrux.kim@samsung.com>
Wed, 20 Feb 2013 06:47:49 +0000 (15:47 +0900)
commitf53da3335f6bdd3de5ce7568deda0ab65ad4582b
treed74b1627ed6f1c01c028cfac41e3257e4df1c891
parent98034ac0cb4a0f1488dec73efc8f266fc752ecb8
openmax: Buffer flag processing scheme change after EOS.

Add tag INDEX_AFTER_EOS = 0xE05.
In the case of after EOS,
1. MFC DD will return INDEX_AFTER_EOS tag.
2. OpenMAX will detect INDEX_AFTER_EOS tag.
3. OpenMAX will return buffer(with timestame = 0x0 and flags = 0x0).

< Without patch >
Sometimes, OpenMAX will return EOS flag twice when using ACodec.

Depends On
 - Change I57265bc8: MFC: MEDIA: EXYNOS: Change default tag of EOS

Change-Id: I5090887eb626fba14d5cba946ff71e3709ec4cfe
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
component/video/dec/h264/Exynos_OMX_H264dec.c
component/video/dec/mpeg2/Exynos_OMX_Mpeg2dec.c
component/video/dec/mpeg4/Exynos_OMX_Mpeg4dec.c
component/video/dec/vc1/Exynos_OMX_Wmvdec.c
component/video/dec/vp8/Exynos_OMX_Vp8dec.c
include/exynos/Exynos_OMX_Def.h