/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvaav1dec.c | 388 _setup_segment_info (VADecPictureParameterBufferAV1 * pic_param, in _setup_segment_info() argument 396 pic_param->seg_info.feature_data[i][j] = in _setup_segment_info() 405 pic_param->seg_info.feature_mask[i] = feature_mask; in _setup_segment_info() 410 _setup_film_grain_info (VADecPictureParameterBufferAV1 * pic_param, in _setup_film_grain_info() argument 418 pic_param->film_grain_info.num_y_points = in _setup_film_grain_info() 421 pic_param->film_grain_info.point_y_value[i] = in _setup_film_grain_info() 423 pic_param->film_grain_info.point_y_scaling[i] = in _setup_film_grain_info() 427 pic_param->film_grain_info.num_cb_points = in _setup_film_grain_info() 430 pic_param->film_grain_info.point_cb_value[i] = in _setup_film_grain_info() 432 pic_param->film_grain_info.point_cb_scaling[i] = in _setup_film_grain_info() [all …]
|
D | gstvah265dec.c | 97 VAPictureParameterBufferHEVCExtension pic_param; member 319 VAPictureHEVC *ref_va_pic = &self->pic_param.base.ReferenceFrames[i]; in _get_reference_index() 569 VAPictureParameterBufferHEVCRext *pic_param = &decoder->pic_param.rext; in _fill_picture_range_ext_parameter() local 575 *pic_param = (VAPictureParameterBufferHEVCRext) { in _fill_picture_range_ext_parameter() 597 memcpy (pic_param->cb_qp_offset_list, pps_ext->cb_qp_offset_list, in _fill_picture_range_ext_parameter() 598 sizeof (pic_param->cb_qp_offset_list)); in _fill_picture_range_ext_parameter() 599 memcpy (pic_param->cr_qp_offset_list, pps_ext->cr_qp_offset_list, in _fill_picture_range_ext_parameter() 600 sizeof (pic_param->cr_qp_offset_list)); in _fill_picture_range_ext_parameter() 607 VAPictureParameterBufferHEVCScc *pic_param = &decoder->pic_param.scc; in _fill_screen_content_ext_parameter() local 614 *pic_param = (VAPictureParameterBufferHEVCScc) { in _fill_screen_content_ext_parameter() [all …]
|
D | gstvavp8dec.c | 286 VAPictureParameterBufferVP8 pic_param; in _fill_picture() local 298 pic_param = (VAPictureParameterBufferVP8) { in _fill_picture() 337 pic_param.last_ref_frame = gst_va_decode_picture_get_surface (va_pic); in _fill_picture() 341 pic_param.golden_ref_frame = gst_va_decode_picture_get_surface (va_pic); in _fill_picture() 345 pic_param.alt_ref_frame = gst_va_decode_picture_get_surface (va_pic); in _fill_picture() 350 pic_param.mb_segment_tree_probs[i] = seg->segment_prob[i]; in _fill_picture() 361 pic_param.loop_filter_level[i] = CLAMP (level, 0, 63); in _fill_picture() 363 pic_param.loop_filter_deltas_ref_frame[i] = in _fill_picture() 365 pic_param.loop_filter_deltas_mode[i] = in _fill_picture() 369 memcpy (pic_param.y_mode_probs, frame_hdr->mode_probs.y_prob, in _fill_picture() [all …]
|
D | gstvavp9dec.c | 263 VADecPictureParameterBufferVP9 pic_param; in _fill_param() local 267 pic_param = (VADecPictureParameterBufferVP9) { in _fill_param() 318 memcpy (pic_param.mb_segment_tree_probs, sp->segmentation_tree_probs, in _fill_param() 322 memcpy (pic_param.segment_pred_probs, sp->segmentation_pred_prob, in _fill_param() 325 memset (pic_param.segment_pred_probs, 255, in _fill_param() 326 sizeof (pic_param.segment_pred_probs)); in _fill_param() 334 pic_param.reference_frames[i] = in _fill_param() 337 pic_param.reference_frames[i] = VA_INVALID_ID; in _fill_param() 344 VAPictureParameterBufferType, &pic_param, sizeof (pic_param)); in _fill_param()
|
D | gstvampeg2dec.c | 447 VAPictureParameterBufferMPEG2 pic_param; in gst_va_mpeg2_dec_start_picture() local 452 pic_param = (VAPictureParameterBufferMPEG2) { in gst_va_mpeg2_dec_start_picture() 485 pic_param.backward_reference_picture = surface; in gst_va_mpeg2_dec_start_picture() 497 pic_param.forward_reference_picture = surface; in gst_va_mpeg2_dec_start_picture() 504 VAPictureParameterBufferType, &pic_param, sizeof (pic_param))) in gst_va_mpeg2_dec_start_picture()
|
D | gstvah264dec.c | 383 VAPictureParameterBufferH264 pic_param; in gst_va_h264_dec_start_picture() local 393 pic_param = (VAPictureParameterBufferH264) { in gst_va_h264_dec_start_picture() 438 _fill_vaapi_pic (&pic_param.CurrPic, picture, FALSE); in gst_va_h264_dec_start_picture() 448 _fill_vaapi_pic (&pic_param.ReferenceFrames[ref_frame_idx++], pic, TRUE); in gst_va_h264_dec_start_picture() 455 _fill_vaapi_pic (&pic_param.ReferenceFrames[ref_frame_idx++], pic, TRUE); in gst_va_h264_dec_start_picture() 460 _init_vaapi_pic (&pic_param.ReferenceFrames[ref_frame_idx]); in gst_va_h264_dec_start_picture() 464 VAPictureParameterBufferType, &pic_param, sizeof (pic_param))) in gst_va_h264_dec_start_picture()
|
/third_party/ffmpeg/libavcodec/ |
D | vaapi_av1.c | 61 VADecPictureParameterBufferAV1 pic_param; in vaapi_av1_start_frame() local 73 memset(&pic_param, 0, sizeof(VADecPictureParameterBufferAV1)); in vaapi_av1_start_frame() 74 pic_param = (VADecPictureParameterBufferAV1) { in vaapi_av1_start_frame() 185 if (pic_param.pic_info_fields.bits.frame_type == AV1_FRAME_KEY) in vaapi_av1_start_frame() 186 pic_param.ref_frame_map[i] = VA_INVALID_ID; in vaapi_av1_start_frame() 188 pic_param.ref_frame_map[i] = vaapi_av1_surface_id(&s->ref[i]); in vaapi_av1_start_frame() 191 pic_param.ref_frame_idx[i] = frame_header->ref_frame_idx[i]; in vaapi_av1_start_frame() 194 pic_param.ref_deltas[i] = frame_header->loop_filter_ref_deltas[i]; in vaapi_av1_start_frame() 197 pic_param.mode_deltas[i] = frame_header->loop_filter_mode_deltas[i]; in vaapi_av1_start_frame() 200 pic_param.cdef_y_strengths[i] = in vaapi_av1_start_frame() [all …]
|
D | vaapi_vp9.c | 43 VADecPictureParameterBufferVP9 pic_param; in vaapi_vp9_start_frame() local 49 pic_param = (VADecPictureParameterBufferVP9) { in vaapi_vp9_start_frame() 93 pic_param.mb_segment_tree_probs[i] = h->h.segmentation.prob[i]; in vaapi_vp9_start_frame() 97 pic_param.segment_pred_probs[i] = h->h.segmentation.pred_prob[i]; in vaapi_vp9_start_frame() 99 memset(pic_param.segment_pred_probs, 255, sizeof(pic_param.segment_pred_probs)); in vaapi_vp9_start_frame() 104 pic_param.reference_frames[i] = ff_vaapi_get_surface_id(h->refs[i].f); in vaapi_vp9_start_frame() 106 pic_param.reference_frames[i] = VA_INVALID_ID; in vaapi_vp9_start_frame() 111 &pic_param, sizeof(pic_param)); in vaapi_vp9_start_frame()
|
D | vaapi_mpeg4.c | 51 VAPictureParameterBufferMPEG4 pic_param; in vaapi_mpeg4_start_frame() local 56 pic_param = (VAPictureParameterBufferMPEG4) { in vaapi_mpeg4_start_frame() 96 pic_param.sprite_trajectory_du[i] = ctx->sprite_traj[i][0]; in vaapi_mpeg4_start_frame() 97 pic_param.sprite_trajectory_dv[i] = ctx->sprite_traj[i][1]; in vaapi_mpeg4_start_frame() 101 pic_param.backward_reference_picture = ff_vaapi_get_surface_id(s->next_picture.f); in vaapi_mpeg4_start_frame() 103 pic_param.forward_reference_picture = ff_vaapi_get_surface_id(s->last_picture.f); in vaapi_mpeg4_start_frame() 107 &pic_param, sizeof(pic_param)); in vaapi_mpeg4_start_frame() 112 if (pic_param.vol_fields.bits.quant_type) { in vaapi_mpeg4_start_frame()
|
D | vaapi_vc1.c | 255 VAPictureParameterBufferVC1 pic_param; in vaapi_vc1_start_frame() local 260 pic_param = (VAPictureParameterBufferVC1) { in vaapi_vc1_start_frame() 375 pic_param.backward_reference_picture = ff_vaapi_get_surface_id(s->next_picture.f); in vaapi_vc1_start_frame() 378 pic_param.forward_reference_picture = ff_vaapi_get_surface_id(s->last_picture.f); in vaapi_vc1_start_frame() 384 &pic_param, sizeof(pic_param)); in vaapi_vc1_start_frame() 388 if (pic_param.bitplane_present.value & 0x7f) { in vaapi_vc1_start_frame() 402 … ff_bp[0] = pic_param.bitplane_present.flags.bp_direct_mb ? v->direct_mb_plane : NULL; in vaapi_vc1_start_frame() 403 … ff_bp[1] = pic_param.bitplane_present.flags.bp_skip_mb ? s->mbskip_table : NULL; in vaapi_vc1_start_frame() 404 … ff_bp[2] = pic_param.bitplane_present.flags.bp_mv_type_mb ? v->mv_type_mb_plane : NULL; in vaapi_vc1_start_frame() 408 … ff_bp[0] = pic_param.bitplane_present.flags.bp_direct_mb ? v->direct_mb_plane : NULL; in vaapi_vc1_start_frame() [all …]
|
D | vaapi_hevc.c | 35 VAPictureParameterBufferHEVCExtension pic_param; member 38 VAPictureParameterBufferHEVC pic_param; 129 VAPictureParameterBufferHEVC *pic_param = (VAPictureParameterBufferHEVC *)&pic->pic_param; in vaapi_hevc_start_frame() local 133 *pic_param = (VAPictureParameterBufferHEVC) { in vaapi_hevc_start_frame() 200 fill_vaapi_pic(&pic_param->CurrPic, h->ref, 0); in vaapi_hevc_start_frame() 201 fill_vaapi_reference_frames(h, pic_param); in vaapi_hevc_start_frame() 204 pic_param->num_tile_columns_minus1 = pps->num_tile_columns - 1; in vaapi_hevc_start_frame() 205 pic_param->num_tile_rows_minus1 = pps->num_tile_rows - 1; in vaapi_hevc_start_frame() 208 pic_param->column_width_minus1[i] = pps->column_width[i] - 1; in vaapi_hevc_start_frame() 211 pic_param->row_height_minus1[i] = pps->row_height[i] - 1; in vaapi_hevc_start_frame() [all …]
|
D | vaapi_mpeg2.c | 46 VAPictureParameterBufferMPEG2 pic_param; in vaapi_mpeg2_start_frame() local 52 pic_param = (VAPictureParameterBufferMPEG2) { in vaapi_mpeg2_start_frame() 76 pic_param.backward_reference_picture = ff_vaapi_get_surface_id(s->next_picture.f); in vaapi_mpeg2_start_frame() 79 pic_param.forward_reference_picture = ff_vaapi_get_surface_id(s->last_picture.f); in vaapi_mpeg2_start_frame() 85 &pic_param, sizeof(pic_param)); in vaapi_mpeg2_start_frame()
|
D | vaapi_h264.c | 125 static int fill_vaapi_ReferenceFrames(VAPictureParameterBufferH264 *pic_param, in fill_vaapi_ReferenceFrames() argument 132 dpb.max_size = FF_ARRAY_ELEMS(pic_param->ReferenceFrames); in fill_vaapi_ReferenceFrames() 133 dpb.va_pics = pic_param->ReferenceFrames; in fill_vaapi_ReferenceFrames() 234 VAPictureParameterBufferH264 pic_param; in vaapi_h264_start_frame() local 240 pic_param = (VAPictureParameterBufferH264) { in vaapi_h264_start_frame() 278 fill_vaapi_pic(&pic_param.CurrPic, h->cur_pic_ptr, h->picture_structure); in vaapi_h264_start_frame() 279 err = fill_vaapi_ReferenceFrames(&pic_param, h); in vaapi_h264_start_frame() 285 &pic_param, sizeof(pic_param)); in vaapi_h264_start_frame()
|