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>
此提交包含在:
@@ -172,5 +172,6 @@ struct msm_vidc_inst {
|
||||
u32 auto_framerate;
|
||||
u32 max_rate;
|
||||
bool has_bframe;
|
||||
bool ir_enabled;
|
||||
};
|
||||
#endif // _MSM_VIDC_INST_H_
|
||||
|
新增問題並參考
封鎖使用者