[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)
commit83be74fc1af4179719e024186ccbe7da9a221feb
treed1fa2a6dd33980bcaa6dc52e2cff5985ad2618c5
parentd4b222e4919d5a5acc398aa2851304eff3fbf0f7
[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