Merge "video: driver: Add support for AV1 dynamic frame resolution change"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
a0a3d7275f
@@ -114,7 +114,9 @@ static inline bool is_output_meta_enabled(struct msm_vidc_inst *inst)
|
||||
bool enabled = false;
|
||||
|
||||
if (is_decode_session(inst)) {
|
||||
enabled = (inst->capabilities->cap[META_DPB_MISR].value ||
|
||||
enabled = (inst->capabilities->cap[META_BITSTREAM_RESOLUTION].value ||
|
||||
inst->capabilities->cap[META_CROP_OFFSETS].value ||
|
||||
inst->capabilities->cap[META_DPB_MISR].value ||
|
||||
inst->capabilities->cap[META_OPB_MISR].value ||
|
||||
inst->capabilities->cap[META_INTERLACE].value ||
|
||||
inst->capabilities->cap[META_CONCEALED_MB_CNT].value ||
|
||||
|
@@ -472,6 +472,8 @@ enum msm_vidc_inst_capability_type {
|
||||
FILM_GRAIN,
|
||||
SUPER_BLOCK,
|
||||
ALL_INTRA,
|
||||
META_BITSTREAM_RESOLUTION,
|
||||
META_CROP_OFFSETS,
|
||||
META_LTR_MARK_USE,
|
||||
META_DPB_MISR,
|
||||
META_OPB_MISR,
|
||||
|
@@ -1183,6 +1183,8 @@ static int msm_vdec_subscribe_metadata(struct msm_vidc_inst *inst,
|
||||
u32 i, count = 0;
|
||||
struct msm_vidc_inst_capability *capability;
|
||||
static const u32 metadata_list[] = {
|
||||
META_BITSTREAM_RESOLUTION,
|
||||
META_CROP_OFFSETS,
|
||||
META_DPB_MISR,
|
||||
META_OPB_MISR,
|
||||
META_INTERLACE,
|
||||
|
@@ -80,7 +80,9 @@ static bool is_meta_ctrl(u32 id)
|
||||
id == V4L2_CID_MPEG_VIDC_METADATA_SUBFRAME_OUTPUT ||
|
||||
id == V4L2_CID_MPEG_VIDC_METADATA_ROI_INFO ||
|
||||
id == V4L2_CID_MPEG_VIDC_METADATA_TIMESTAMP ||
|
||||
id == V4L2_CID_MPEG_VIDC_METADATA_ENC_QP_METADATA);
|
||||
id == V4L2_CID_MPEG_VIDC_METADATA_ENC_QP_METADATA ||
|
||||
id == V4L2_CID_MPEG_VIDC_METADATA_BITSTREAM_RESOLUTION ||
|
||||
id == V4L2_CID_MPEG_VIDC_METADATA_CROP_OFFSETS);
|
||||
}
|
||||
|
||||
static const char *const mpeg_video_rate_control[] = {
|
||||
|
@@ -168,6 +168,8 @@ static const struct msm_vidc_cap_name cap_name_arr[] = {
|
||||
{FILM_GRAIN, "FILM_GRAIN" },
|
||||
{SUPER_BLOCK, "SUPER_BLOCK" },
|
||||
{ALL_INTRA, "ALL_INTRA" },
|
||||
{META_BITSTREAM_RESOLUTION, "META_BITSTREAM_RESOLUTION" },
|
||||
{META_CROP_OFFSETS, "META_CROP_OFFSETS" },
|
||||
{META_LTR_MARK_USE, "META_LTR_MARK_USE" },
|
||||
{META_DPB_MISR, "META_DPB_MISR" },
|
||||
{META_OPB_MISR, "META_OPB_MISR" },
|
||||
|
Reference in New Issue
Block a user