[COMMON] media: mfc: DRV4.0: refactoring flag info
authorSunyoung Kang <sy0816.kang@samsung.com>
Mon, 2 Jul 2018 08:22:28 +0000 (17:22 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:18:56 +0000 (15:18 +0900)
commit25498fe10c3ad500834cfd2868e2db0dc0ff4b4e
treed4d2f8dd3f99fa26aae1956e3f96c73401a2ea09
parentfc6ebcdd43377e91210221f74445ab49ae6aa3c7
[COMMON] media: mfc: DRV4.0: refactoring flag info

The vb.reserved2 field of struct vb2_v4l2_buffer
stores the flags used to exchange information
between driver and HAL. This provides APIs for using flags.
- mfc_clear_vb_flag()
- mfc_set_vb_flag()
- mfc_check_vb_flag()

Change-Id: I403e8543983b488895214fef483ad3d47e049408
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
drivers/media/platform/exynos/mfc/mfc_data_struct.h
drivers/media/platform/exynos/mfc/mfc_dec_vb2.c
drivers/media/platform/exynos/mfc/mfc_isr.c
drivers/media/platform/exynos/mfc/mfc_nal_q.c
drivers/media/platform/exynos/mfc/mfc_queue.c
drivers/media/platform/exynos/mfc/mfc_queue.h
drivers/media/platform/exynos/mfc/mfc_run.c
drivers/media/platform/exynos/mfc/mfc_utils.h