Lines Matching refs:dsc_cfg
84 struct dsc_config dsc_cfg;
89 dsc_cfg.pic_width = (stream->timing.h_addressable + stream->timing.h_border_left + stream->timing.h_border_right) / opp_cnt;
90 dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v_border_bottom;
91 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding;
92 dsc_cfg.color_depth = stream->timing.display_color_depth;
93 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false;
94 dsc_cfg.dc_dsc_cfg = stream->timing.dsc_cfg;
95 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0);
96 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt;
98 dsc->funcs->dsc_set_config(dsc, &dsc_cfg, &dsc_optc_cfg);
104 odm_dsc->funcs->dsc_set_config(odm_dsc, &dsc_cfg, &dsc_optc_cfg);
107 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt;
108 dsc_cfg.pic_width *= opp_cnt;