/third_party/ffmpeg/libavcodec/ |
D | rv34.c | 355 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA16x16; in rv34_decode_intra_mb_header() 365 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA; in rv34_decode_intra_mb_header() 391 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type]; in rv34_decode_inter_mb_header() 399 r->is16 = !!IS_INTRA16x16(s->current_picture_ptr->mb_type[mb_pos]); in rv34_decode_inter_mb_header() 409 if(IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_mb_header() 474 A[0] = s->current_picture_ptr->motion_val[0][mv_pos-1][0]; in rv34_pred_mv() 475 A[1] = s->current_picture_ptr->motion_val[0][mv_pos-1][1]; in rv34_pred_mv() 478 B[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][0]; in rv34_pred_mv() 479 B[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][1]; in rv34_pred_mv() 486 C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][0]; in rv34_pred_mv() [all …]
|
D | rv30.c | 161 int mbtype = s->current_picture_ptr->mb_type[mb_pos]; in rv30_loop_filter() 173 cur_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos]]; in rv30_loop_filter() 175 left_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos - 1]]; in rv30_loop_filter() 177 … Y = s->current_picture_ptr->f->data[0] + mb_x*16 + (row*16 + j) * s->linesize + 4 * !mb_x; in rv30_loop_filter() 197 … C = s->current_picture_ptr->f->data[k + 1] + mb_x*8 + (row*8 + j) * s->uvlinesize + 4 * !mb_x; in rv30_loop_filter() 215 cur_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos]]; in rv30_loop_filter() 217 … top_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos - s->mb_stride]]; in rv30_loop_filter() 219 Y = s->current_picture_ptr->f->data[0] + mb_x*16 + (row*16 + j) * s->linesize; in rv30_loop_filter() 239 C = s->current_picture_ptr->f->data[k+1] + mb_x*8 + (row*8 + j) * s->uvlinesize; in rv30_loop_filter()
|
D | vaapi_mpeg2.c | 45 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_mpeg2_start_frame() 50 pic->output_surface = ff_vaapi_get_surface_id(s->current_picture_ptr->f); in vaapi_mpeg2_start_frame() 118 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_mpeg2_end_frame() 134 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_mpeg2_decode_slice()
|
D | vaapi_mpeg4.c | 50 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_mpeg4_start_frame() 54 pic->output_surface = ff_vaapi_get_surface_id(s->current_picture_ptr->f); in vaapi_mpeg4_start_frame() 140 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_mpeg4_end_frame() 156 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_mpeg4_decode_slice()
|
D | dxva2_mpeg2.c | 45 const Picture *current_picture = s->current_picture_ptr; in fill_picture_parameters() 157 s->current_picture_ptr->hwaccel_picture_private; in commit_bitstream_and_slice_buffer() 260 s->current_picture_ptr->hwaccel_picture_private; in dxva2_mpeg2_start_frame() 280 s->current_picture_ptr->hwaccel_picture_private; in dxva2_mpeg2_decode_slice() 302 s->current_picture_ptr->hwaccel_picture_private; in dxva2_mpeg2_end_frame() 307 ret = ff_dxva2_common_end_frame(avctx, s->current_picture_ptr->f, in dxva2_mpeg2_end_frame()
|
D | rv10.c | 476 if ((s->mb_x == 0 && s->mb_y == 0) || !s->current_picture_ptr) { in rv10_decode_packet() 478 if (s->current_picture_ptr) { in rv10_decode_packet() 487 if (s->current_picture_ptr->f->pict_type != s->pict_type) { in rv10_decode_packet() 657 if (s->current_picture_ptr && s->mb_y >= s->mb_height) { in rv10_decode_frame() 662 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in rv10_decode_frame() 664 ff_print_debug_info(s, s->current_picture_ptr, pict); in rv10_decode_frame() 665 ff_mpv_export_qp_table(s, pict, s->current_picture_ptr, FF_QSCALE_TYPE_MPEG1); in rv10_decode_frame() 678 s->current_picture_ptr = NULL; in rv10_decode_frame()
|
D | dxva2_vc1.c | 44 const Picture *current_picture = s->current_picture_ptr; in fill_picture_parameters() 189 struct dxva2_picture_context *ctx_pic = s->current_picture_ptr->hwaccel_picture_private; in commit_bitstream_and_slice_buffer() 315 struct dxva2_picture_context *ctx_pic = v->s.current_picture_ptr->hwaccel_picture_private; in dxva2_vc1_start_frame() 334 const Picture *current_picture = v->s.current_picture_ptr; in dxva2_vc1_decode_slice() 362 struct dxva2_picture_context *ctx_pic = v->s.current_picture_ptr->hwaccel_picture_private; in dxva2_vc1_end_frame() 368 ret = ff_dxva2_common_end_frame(avctx, v->s.current_picture_ptr->f, in dxva2_vc1_end_frame()
|
D | mpegvideo.c | 604 s->current_picture_ptr = REBASE_PICTURE(s1->current_picture_ptr, s, s1); in ff_mpeg_update_thread_context() 663 if (s1->current_picture_ptr) in ff_mpeg_update_thread_context() 664 s->last_lambda_for[s1->pict_type] = s1->current_picture_ptr->f->quality; in ff_mpeg_update_thread_context() 1071 s->current_picture_ptr = NULL; in ff_mpv_common_frame_size_change() 1156 s->current_picture_ptr = NULL; in ff_mpv_common_end() 1219 if (s->current_picture_ptr && !s->current_picture_ptr->f->buf[0]) { in ff_mpv_frame_start() 1222 pic = s->current_picture_ptr; in ff_mpv_frame_start() 1243 s->current_picture_ptr = pic; in ff_mpv_frame_start() 1245 s->current_picture_ptr->f->top_field_first = s->top_field_first; in ff_mpv_frame_start() 1249 s->current_picture_ptr->f->top_field_first = in ff_mpv_frame_start() [all …]
|
D | h263dec.c | 538 if (!s->current_picture_ptr || s->current_picture_ptr->f->data[0]) { in ff_h263_decode_frame() 542 s->current_picture_ptr = &s->picture[i]; in ff_h263_decode_frame() 691 av_assert1(s->current_picture.f->pict_type == s->current_picture_ptr->f->pict_type); in ff_h263_decode_frame() 694 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in ff_h263_decode_frame() 696 ff_print_debug_info(s, s->current_picture_ptr, pict); in ff_h263_decode_frame() 697 ff_mpv_export_qp_table(s, pict, s->current_picture_ptr, FF_QSCALE_TYPE_MPEG1); in ff_h263_decode_frame()
|
D | vdpau_mpeg12.c | 36 Picture *pic = s->current_picture_ptr; in vdpau_mpeg_start_frame() 87 Picture *pic = s->current_picture_ptr; in vdpau_mpeg_decode_slice()
|
D | vdpau_vc1.c | 37 Picture *pic = s->current_picture_ptr; in vdpau_vc1_start_frame() 105 Picture *pic = s->current_picture_ptr; in vdpau_vc1_decode_slice()
|
D | rv40.c | 376 int mbtype = s->current_picture_ptr->mb_type[mb_pos]; in rv40_loop_filter() 391 q = s->current_picture_ptr->qscale_table[mb_pos]; in rv40_loop_filter() 406 mbtype [i] = s->current_picture_ptr->mb_type[pos]; in rv40_loop_filter() 465 Y = s->current_picture_ptr->f->data[0] + mb_x*16 + (row*16 + j) * s->linesize; in rv40_loop_filter() 510 C = s->current_picture_ptr->f->data[k + 1] + mb_x*8 + (row*8 + j*4) * s->uvlinesize; in rv40_loop_filter()
|
D | vaapi_vc1.c | 254 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_vc1_start_frame() 258 pic->output_surface = ff_vaapi_get_surface_id(s->current_picture_ptr->f); in vaapi_vc1_start_frame() 451 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_vc1_end_frame() 468 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_vc1_decode_slice()
|
D | vc1dec.c | 884 v->s.current_picture_ptr->field_picture = v->field_mode; in vc1_decode_frame() 885 v->s.current_picture_ptr->f->interlaced_frame = (v->fcm != PROGRESSIVE); in vc1_decode_frame() 886 v->s.current_picture_ptr->f->top_field_first = v->tff; in vc1_decode_frame() 889 s->current_picture_ptr->f->repeat_pict = 0; in vc1_decode_frame() 894 s->current_picture_ptr->f->repeat_pict = 1; in vc1_decode_frame() 897 s->current_picture_ptr->f->repeat_pict = v->rptfrm * 2; in vc1_decode_frame() 953 v->s.current_picture_ptr->f->pict_type = v->s.pict_type; in vc1_decode_frame() 1155 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in vc1_decode_frame() 1158 ff_print_debug_info(s, s->current_picture_ptr, pict); in vc1_decode_frame()
|
D | mpeg12dec.c | 1612 s->current_picture_ptr->f->repeat_pict = 0; in mpeg_field_start() 1616 s->current_picture_ptr->f->repeat_pict = 4; in mpeg_field_start() 1618 s->current_picture_ptr->f->repeat_pict = 2; in mpeg_field_start() 1620 s->current_picture_ptr->f->repeat_pict = 1; in mpeg_field_start() 1624 pan_scan = av_frame_new_side_data(s->current_picture_ptr->f, in mpeg_field_start() 1633 s->current_picture_ptr->f, AV_FRAME_DATA_A53_CC, in mpeg_field_start() 1641 AVStereo3D *stereo = av_stereo3d_create_side_data(s->current_picture_ptr->f); in mpeg_field_start() 1651 av_frame_new_side_data(s->current_picture_ptr->f, in mpeg_field_start() 1665 if (!s->current_picture_ptr) { in mpeg_field_start() 1679 s->current_picture.f->data[i] = s->current_picture_ptr->f->data[i]; in mpeg_field_start() [all …]
|
D | mpeg12enc.c | 344 side_data = av_frame_get_side_data(s->current_picture_ptr->f, AV_FRAME_DATA_PANSCAN); in mpeg1_encode_sequence_header() 380 time_code = s->current_picture_ptr->f->coded_picture_number + in mpeg1_encode_sequence_header() 383 s->gop_picture_number = s->current_picture_ptr->f->coded_picture_number; in mpeg1_encode_sequence_header() 490 put_bits(&s->pb, 1, s->current_picture_ptr->f->top_field_first); in ff_mpeg1_encode_picture_header() 514 side_data = av_frame_get_side_data(s->current_picture_ptr->f, in ff_mpeg1_encode_picture_header() 554 side_data = av_frame_get_side_data(s->current_picture_ptr->f, in ff_mpeg1_encode_picture_header()
|
D | h261dec.c | 650 av_assert0(s->current_picture.f->pict_type == s->current_picture_ptr->f->pict_type); in h261_decode_frame() 653 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in h261_decode_frame() 655 ff_print_debug_info(s, s->current_picture_ptr, pict); in h261_decode_frame()
|
D | vdpau_mpeg4.c | 37 Picture *pic = s->current_picture_ptr; in vdpau_mpeg4_start_frame()
|
D | vc1_mc.c | 190 linesize = s->current_picture_ptr->f->linesize[0]; in ff_vc1_mc_1mv() 191 uvlinesize = s->current_picture_ptr->f->linesize[1]; in ff_vc1_mc_1mv() 470 linesize = s->current_picture_ptr->f->linesize[0]; in ff_vc1_mc_4mv_luma() 672 uvlinesize = s->current_picture_ptr->f->linesize[1]; in ff_vc1_mc_4mv_chroma() 859 uvlinesize = s->current_picture_ptr->f->linesize[1]; in ff_vc1_mc_4mv_chroma4() 1018 linesize = s->current_picture_ptr->f->linesize[0]; in ff_vc1_interp_mc() 1019 uvlinesize = s->current_picture_ptr->f->linesize[1]; in ff_vc1_interp_mc()
|
D | mpeg4video_parser.c | 88 s->current_picture_ptr = &s->current_picture; in mpeg4_decode_header()
|
D | mpeg_er.c | 50 set_erpic(&er->cur_pic, s->current_picture_ptr); in ff_mpeg_er_frame_start()
|
D | mpegvideo_enc.c | 1697 s->current_picture_ptr = pic; in select_input_picture() 1700 s->current_picture_ptr = s->reordered_input_picture[0]; in select_input_picture() 1708 s->current_picture_ptr)) < 0) in select_input_picture() 1748 s->last_lambda_for [s->pict_type] = s->current_picture_ptr->f->quality; in frame_end() 1798 s->current_picture_ptr->f->pict_type = s->pict_type; in frame_start() 1799 s->current_picture_ptr->f->key_frame = s->pict_type == AV_PICTURE_TYPE_I; in frame_start() 1803 s->current_picture_ptr)) < 0) in frame_start() 1809 s->next_picture_ptr = s->current_picture_ptr; in frame_start() 1982 s->current_picture_ptr->encoding_error[i] = s->current_picture.encoding_error[i]; in ff_mpv_encode_picture() 1983 avctx->error[i] += s->current_picture_ptr->encoding_error[i]; in ff_mpv_encode_picture() [all …]
|
D | mpegvideo_motion.c | 903 ref_picture = s->current_picture_ptr->f->data; in mpv_motion_internal() 922 ref2picture = s->current_picture_ptr->f->data; in mpv_motion_internal() 950 ref_picture = s->current_picture_ptr->f->data; in mpv_motion_internal() 965 ref_picture = s->current_picture_ptr->f->data; in mpv_motion_internal()
|
D | ratecontrol.c | 43 s->current_picture_ptr->f->display_picture_number, in ff_write_pass1_stats() 44 s->current_picture_ptr->f->coded_picture_number, in ff_write_pass1_stats() 919 dts_pic = s->current_picture_ptr; in ff_rate_estimate_qscale()
|
D | vdpau.c | 368 Picture *pic = s->current_picture_ptr; in ff_vdpau_mpeg_end_frame()
|