Lines Matching refs:dsc_cfg
806 struct dsc_config dsc_cfg;
811 dsc_cfg.pic_width = (stream->timing.h_addressable + stream->timing.h_border_left + stream->timing.h_border_right) / opp_cnt;
812 dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v_border_bottom;
813 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding;
814 dsc_cfg.color_depth = stream->timing.display_color_depth;
815 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false;
816 dsc_cfg.dc_dsc_cfg = stream->timing.dsc_cfg;
817 ASSERT(dsc_cfg.dc_dsc_cfg.num_slices_h % opp_cnt == 0);
818 dsc_cfg.dc_dsc_cfg.num_slices_h /= opp_cnt;
820 dsc->funcs->dsc_set_config(dsc, &dsc_cfg, &dsc_optc_cfg);
827 odm_dsc->funcs->dsc_set_config(odm_dsc, &dsc_cfg, &dsc_optc_cfg);
832 dsc_cfg.dc_dsc_cfg.num_slices_h *= opp_cnt;
833 dsc_cfg.pic_width *= opp_cnt;
914 struct dsc_config dsc_cfg;
917 memset(&dsc_cfg, 0, sizeof(dsc_cfg));
921 dsc_cfg.pic_width = stream->timing.h_addressable + stream->timing.h_border_left + stream->timing.h_border_right;
922 dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v_border_bottom;
923 dsc_cfg.pixel_encoding = stream->timing.pixel_encoding;
924 dsc_cfg.color_depth = stream->timing.display_color_depth;
925 dsc_cfg.is_odm = pipe_ctx->next_odm_pipe ? true : false;
926 dsc_cfg.dc_dsc_cfg = stream->timing.dsc_cfg;
928 dsc->funcs->dsc_get_packed_pps(dsc, &dsc_cfg, &dsc_packed_pps[0]);