video: driver: enable encoder superframe batching support

Added HFR/HSR superframe handling support for encoder.

Change-Id: I28ced3f223cd78d00b1a654a79bcac3b02f378dc
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
Govindaraj Rajagopal
2021-02-16 21:11:21 +05:30
parent 6070bc2523
commit f02bbaf836
10 changed files with 207 additions and 3 deletions

View File

@@ -116,6 +116,9 @@ enum v4l2_mpeg_vidc_blur_types {
#define V4L2_CID_MPEG_VIDC_HEVC_P_FRAME_MAX_QP \
(V4L2_CID_MPEG_VIDC_BASE + 0x27)
/* Encoder Super frame control */
#define V4L2_CID_MPEG_VIDC_SUPERFRAME (V4L2_CID_MPEG_VIDC_BASE + 0x28)
enum v4l2_mpeg_vidc_metapayload_header_flags {
METADATA_FLAGS_NONE = 0,
METADATA_FLAGS_TOP_FIELD = (1 << 0),