video: driver: Subscribe to output metadata in both ports
Subscribe output metadatas in both input and output ports so that metadatas which are detected in bitstream before output port is started are not missed. Example: AV1 HDR metadata which can be part of first ETB (sequence header OBU + metadata OBU) Change-Id: I77d75b42dcee79e0258ba96e6ab86d06ead2eaf4 Signed-off-by: Mihir Ganu <quic_mganu@quicinc.com>
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Darshana Patil

ebeveyn
50a00f8265
işleme
34c527a939
@@ -1492,6 +1492,17 @@ int msm_vdec_streamon_input(struct msm_vidc_inst *inst)
|
||||
if (rc)
|
||||
goto error;
|
||||
|
||||
/*
|
||||
* Subscribe output metadatas in input port sequence as well so that
|
||||
* metadatas detected in bitstream before output port is started
|
||||
* are not missed.
|
||||
* Example: AV1 HDR metadata which can be part of
|
||||
* first ETB (sequence header OBU + metadata OBU)
|
||||
*/
|
||||
rc = msm_vdec_subscribe_metadata(inst, OUTPUT_PORT);
|
||||
if (rc)
|
||||
goto error;
|
||||
|
||||
rc = msm_vdec_set_delivery_mode_metadata(inst, INPUT_PORT);
|
||||
if (rc)
|
||||
goto error;
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle