Lines Matching refs:pps_payload
97 void drm_dsc_pps_payload_pack(struct drm_dsc_picture_parameter_set *pps_payload, in drm_dsc_pps_payload_pack() argument
103 BUILD_BUG_ON(sizeof(*pps_payload) != in drm_dsc_pps_payload_pack()
106 memset(pps_payload, 0, sizeof(*pps_payload)); in drm_dsc_pps_payload_pack()
109 pps_payload->dsc_version = in drm_dsc_pps_payload_pack()
116 pps_payload->pps_3 = in drm_dsc_pps_payload_pack()
121 pps_payload->pps_4 = in drm_dsc_pps_payload_pack()
130 pps_payload->bits_per_pixel_low = in drm_dsc_pps_payload_pack()
141 pps_payload->pic_height = cpu_to_be16(dsc_cfg->pic_height); in drm_dsc_pps_payload_pack()
144 pps_payload->pic_width = cpu_to_be16(dsc_cfg->pic_width); in drm_dsc_pps_payload_pack()
147 pps_payload->slice_height = cpu_to_be16(dsc_cfg->slice_height); in drm_dsc_pps_payload_pack()
150 pps_payload->slice_width = cpu_to_be16(dsc_cfg->slice_width); in drm_dsc_pps_payload_pack()
153 pps_payload->chunk_size = cpu_to_be16(dsc_cfg->slice_chunk_size); in drm_dsc_pps_payload_pack()
156 pps_payload->initial_xmit_delay_high = in drm_dsc_pps_payload_pack()
162 pps_payload->initial_xmit_delay_low = in drm_dsc_pps_payload_pack()
166 pps_payload->initial_dec_delay = in drm_dsc_pps_payload_pack()
172 pps_payload->initial_scale_value = in drm_dsc_pps_payload_pack()
176 pps_payload->scale_increment_interval = in drm_dsc_pps_payload_pack()
180 pps_payload->scale_decrement_interval_high = in drm_dsc_pps_payload_pack()
186 pps_payload->scale_decrement_interval_low = in drm_dsc_pps_payload_pack()
192 pps_payload->first_line_bpg_offset = in drm_dsc_pps_payload_pack()
196 pps_payload->nfl_bpg_offset = in drm_dsc_pps_payload_pack()
200 pps_payload->slice_bpg_offset = in drm_dsc_pps_payload_pack()
204 pps_payload->initial_offset = in drm_dsc_pps_payload_pack()
208 pps_payload->final_offset = cpu_to_be16(dsc_cfg->final_offset); in drm_dsc_pps_payload_pack()
211 pps_payload->flatness_min_qp = dsc_cfg->flatness_min_qp; in drm_dsc_pps_payload_pack()
214 pps_payload->flatness_max_qp = dsc_cfg->flatness_max_qp; in drm_dsc_pps_payload_pack()
217 pps_payload->rc_model_size = cpu_to_be16(dsc_cfg->rc_model_size); in drm_dsc_pps_payload_pack()
220 pps_payload->rc_edge_factor = DSC_RC_EDGE_FACTOR_CONST; in drm_dsc_pps_payload_pack()
223 pps_payload->rc_quant_incr_limit0 = in drm_dsc_pps_payload_pack()
227 pps_payload->rc_quant_incr_limit1 = in drm_dsc_pps_payload_pack()
231 pps_payload->rc_tgt_offset = DSC_RC_TGT_OFFSET_LO_CONST | in drm_dsc_pps_payload_pack()
236 pps_payload->rc_buf_thresh[i] = in drm_dsc_pps_payload_pack()
245 pps_payload->rc_range_parameters[i] = in drm_dsc_pps_payload_pack()
254 pps_payload->native_422_420 = dsc_cfg->native_422 | in drm_dsc_pps_payload_pack()
258 pps_payload->second_line_bpg_offset = in drm_dsc_pps_payload_pack()
262 pps_payload->nsl_bpg_offset = in drm_dsc_pps_payload_pack()
266 pps_payload->second_line_offset_adj = in drm_dsc_pps_payload_pack()