[COMMON] media: mfc: expand encoder LAST_SEQ
authorAyoung Sim <a.sim@samsung.com>
Fri, 24 May 2019 05:04:53 +0000 (14:04 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:29 +0000 (20:23 +0300)
commitb0d5aa4310658217d1057edf51833a77fee57118
tree94e810292feffcc8fcb51f4b5a4f8b624171e0d5
parentff2e6c524a0b3c44caa2514ba98d0522cd2ae9c9
[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