video: driver: Add support for AV1 dynamic frame resolution change
AV1 bitstream frames can have different resolutions than sequence resolutions. Subscribe to BITSTREAM_RESOLUTION and CROP_OFFSETS metadatas and exopose them to clients so that clients can receive per-frame resolution and crop. Change-Id: I7c0503f25ddde201979d13ff18028681f685d649 Signed-off-by: Mihir Ganu <quic_mganu@quicinc.com>
This commit is contained in:
@@ -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 ||
|
||||
|
Reference in New Issue
Block a user