[COMMON] media: mfc: expand encoder LAST_SEQ
authorAyoung Sim <a.sim@samsung.com>
Fri, 24 May 2019 05:04:53 +0000 (14:04 +0900)
committerKim Gunho <gunho.kim@samsung.com>
Fri, 28 Jun 2019 14:45:51 +0000 (23:45 +0900)
commit597df2c2981d221d3edd1a7c1f546ca2d00d627c
treed1fa2a6dd33980bcaa6dc52e2cff5985ad2618c5
parent463c1680f5a924280e3e4ef62a89d15e973036e3
[COMMON] media: mfc: expand encoder LAST_SEQ

Even if we don't have the src/dst buffer,
we can send the LAST_SEQ command.
And if the header only data(SPS or SPS+PPS not including IDR)
is created in dst buffer,
drvier update the tag with specific data("0xC5D")
becasue we don't have the proper tag.

Change-Id: Ia5e71d17c2b345314ff2f03f09b712b80203b77c
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
drivers/media/platform/exynos/mfc/mfc_common.h
drivers/media/platform/exynos/mfc/mfc_enc_v4l2.c
drivers/media/platform/exynos/mfc/mfc_enc_vb2.c
drivers/media/platform/exynos/mfc/mfc_isr.c
drivers/media/platform/exynos/mfc/mfc_reg_api.c
drivers/media/platform/exynos/mfc/mfc_run.c