Lines Matching refs:ppc
49 CUVIDAV1PICPARAMS *ppc = &pp->CodecSpecific.av1; in nvdec_av1_start_frame() local
210 ppc->tile_widths[i] = frame_header->width_in_sbs_minus_1[i] + 1; in nvdec_av1_start_frame()
213 ppc->tile_heights[i] = frame_header->height_in_sbs_minus_1[i] + 1; in nvdec_av1_start_frame()
218 …ppc->cdef_y_strength[i] = (frame_header->cdef_y_pri_strength[i] & 0x0F) | (frame_header->cdef_y_se… in nvdec_av1_start_frame()
219 …ppc->cdef_uv_strength[i] = (frame_header->cdef_uv_pri_strength[i] & 0x0F) | (frame_header->cdef_uv… in nvdec_av1_start_frame()
224 ppc->segmentation_feature_mask[i] = 0; in nvdec_av1_start_frame()
226 ppc->segmentation_feature_mask[i] |= frame_header->feature_enabled[i][j] << j; in nvdec_av1_start_frame()
227 ppc->segmentation_feature_data[i][j] = frame_header->feature_value[i][j]; in nvdec_av1_start_frame()
233 ppc->loop_filter_ref_deltas[i] = frame_header->loop_filter_ref_deltas[i]; in nvdec_av1_start_frame()
236 ppc->ref_frame_map[i] = ff_nvdec_get_ref_idx(s->ref[i].tf.f); in nvdec_av1_start_frame()
240 ppc->primary_ref_frame = -1; in nvdec_av1_start_frame()
243 ppc->primary_ref_frame = ppc->ref_frame_map[pri_ref_idx]; in nvdec_av1_start_frame()
251 ppc->ref_frame[i].index = ppc->ref_frame_map[ref_idx]; in nvdec_av1_start_frame()
252 ppc->ref_frame[i].width = ref_frame->width; in nvdec_av1_start_frame()
253 ppc->ref_frame[i].height = ref_frame->height; in nvdec_av1_start_frame()
256 ppc->global_motion[i].invalid = !frame_header->is_global[AV1_REF_FRAME_LAST + i]; in nvdec_av1_start_frame()
257 ppc->global_motion[i].wmtype = s->cur_frame.gm_type[AV1_REF_FRAME_LAST + i]; in nvdec_av1_start_frame()
259 ppc->global_motion[i].wmmat[j] = s->cur_frame.gm_params[AV1_REF_FRAME_LAST + i][j]; in nvdec_av1_start_frame()
266 ppc->scaling_points_y[i][0] = film_grain->point_y_value[i]; in nvdec_av1_start_frame()
267 ppc->scaling_points_y[i][1] = film_grain->point_y_scaling[i]; in nvdec_av1_start_frame()
270 ppc->scaling_points_cb[i][0] = film_grain->point_cb_value[i]; in nvdec_av1_start_frame()
271 ppc->scaling_points_cb[i][1] = film_grain->point_cb_scaling[i]; in nvdec_av1_start_frame()
272 ppc->scaling_points_cr[i][0] = film_grain->point_cr_value[i]; in nvdec_av1_start_frame()
273 ppc->scaling_points_cr[i][1] = film_grain->point_cr_scaling[i]; in nvdec_av1_start_frame()
276 ppc->ar_coeffs_y[i] = (short)film_grain->ar_coeffs_y_plus_128[i] - 128; in nvdec_av1_start_frame()
279 ppc->ar_coeffs_cb[i] = (short)film_grain->ar_coeffs_cb_plus_128[i] - 128; in nvdec_av1_start_frame()
280 ppc->ar_coeffs_cr[i] = (short)film_grain->ar_coeffs_cr_plus_128[i] - 128; in nvdec_av1_start_frame()