video: driver: add support for cyclic intra refresh
Currently driver supports only random intra refresh, extend it to support cyclic intra refresh too. Cyclic intra refresh is supported dynamically as well. - If intra refresh type is set and num of LCU’s to be refreshed are non-zero before session start, intra refresh will be enabled throughout the session. Any further dynamic settings in the number of LCU’s including 0 will be honored accordingly. - If intra refresh type is set and num of LCU’s to be refreshed are zero before session start, intra refresh will be disabled. When client sets it to non-zero value dynamically, driver will set HFI_PROP_REQUEST_SYNC_FRAME with HFI_SYNC_FRAME_REQUEST_WITH_PREFIX_SEQ_HDR. Driver needs to send HFI_PROP_REQUEST_SYNC_FRAME only at time of CIR Enable, no need to send at time of disable/enable again. Change-Id: I10a2fb22d131353721ee658213ed807ce0794009 Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
This commit is contained in:
@@ -434,6 +434,7 @@ enum msm_vidc_inst_capability_type {
|
||||
USE_LTR,
|
||||
MARK_LTR,
|
||||
BASELAYER_PRIORITY,
|
||||
IR_TYPE,
|
||||
AU_DELIMITER,
|
||||
GRID,
|
||||
I_FRAME_MIN_QP,
|
||||
@@ -511,7 +512,7 @@ enum msm_vidc_inst_capability_type {
|
||||
TRANSFORM_8X8,
|
||||
STAGE,
|
||||
LTR_COUNT,
|
||||
IR_RANDOM,
|
||||
IR_PERIOD,
|
||||
BITRATE_BOOST,
|
||||
SLICE_MODE,
|
||||
BLUR_RESOLUTION,
|
||||
|
Reference in New Issue
Block a user