mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Revert "msm: vidc: Enable ubwc cr stat by default"
This reverts commit 52ae7a5f1b.
This commit is contained in:
parent
994366e082
commit
fe44bca0c0
2 changed files with 4 additions and 8 deletions
|
|
@ -1346,8 +1346,6 @@ int msm_vdec_set_extradata(struct msm_vidc_inst *inst)
|
|||
msm_comm_set_extradata(inst,
|
||||
HFI_PROPERTY_PARAM_VDEC_INTERLACE_VIDEO_EXTRADATA, 0x1);
|
||||
msm_comm_set_extradata(inst, display_info, 0x1);
|
||||
msm_comm_set_extradata(inst,
|
||||
HFI_PROPERTY_PARAM_VDEC_UBWC_CR_STAT_INFO_EXTRADATA, 0x1);
|
||||
|
||||
if (codec == V4L2_PIX_FMT_VP9 || codec == V4L2_PIX_FMT_HEVC) {
|
||||
msm_comm_set_extradata(inst,
|
||||
|
|
|
|||
|
|
@ -177,12 +177,10 @@ static int fill_dynamic_stats(struct msm_vidc_inst *inst,
|
|||
{
|
||||
struct recon_buf *binfo, *nextb;
|
||||
struct vidc_input_cr_data *temp, *next;
|
||||
u32 max_cr = MSM_VIDC_MIN_UBWC_COMPRESSION_RATIO;
|
||||
u32 max_cf = MSM_VIDC_MIN_UBWC_COMPLEXITY_FACTOR;
|
||||
u32 max_input_cr = MSM_VIDC_MIN_UBWC_COMPRESSION_RATIO;
|
||||
u32 min_cf = MSM_VIDC_MAX_UBWC_COMPLEXITY_FACTOR;
|
||||
u32 min_input_cr = MSM_VIDC_MAX_UBWC_COMPRESSION_RATIO;
|
||||
u32 min_cr = MSM_VIDC_MAX_UBWC_COMPRESSION_RATIO;
|
||||
u32 min_cf = MSM_VIDC_MAX_UBWC_COMPLEXITY_FACTOR, max_cf = 0;
|
||||
u32 min_input_cr = MSM_VIDC_MAX_UBWC_COMPRESSION_RATIO,
|
||||
max_input_cr = 0;
|
||||
u32 min_cr = MSM_VIDC_MAX_UBWC_COMPRESSION_RATIO, max_cr = 0;
|
||||
|
||||
mutex_lock(&inst->reconbufs.lock);
|
||||
list_for_each_entry_safe(binfo, nextb, &inst->reconbufs.list, list) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue