Home
last modified time | relevance | path

Searched refs:current_picture_ptr (Results 1 – 25 of 34) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Drv34.c357 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA16x16; in rv34_decode_intra_mb_header()
367 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA; in rv34_decode_intra_mb_header()
393 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type]; in rv34_decode_inter_mb_header()
401 r->is16 = !!IS_INTRA16x16(s->current_picture_ptr->mb_type[mb_pos]); in rv34_decode_inter_mb_header()
411 if(IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_mb_header()
476 A[0] = s->current_picture_ptr->motion_val[0][mv_pos-1][0]; in rv34_pred_mv()
477 A[1] = s->current_picture_ptr->motion_val[0][mv_pos-1][1]; in rv34_pred_mv()
480 B[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][0]; in rv34_pred_mv()
481 B[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][1]; in rv34_pred_mv()
488 C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][0]; in rv34_pred_mv()
[all …]
Dmpegvideo_dec.c135 s->current_picture_ptr = REBASE_PICTURE(s1->current_picture_ptr, s, s1); in ff_mpeg_update_thread_context()
209 s->current_picture_ptr = NULL; in ff_mpv_common_frame_size_change()
315 if (s->current_picture_ptr && !s->current_picture_ptr->f->buf[0]) { in ff_mpv_frame_start()
318 pic = s->current_picture_ptr; in ff_mpv_frame_start()
339 s->current_picture_ptr = pic; in ff_mpv_frame_start()
341 s->current_picture_ptr->f->top_field_first = s->top_field_first; in ff_mpv_frame_start()
345 s->current_picture_ptr->f->top_field_first = in ff_mpv_frame_start()
348 s->current_picture_ptr->f->interlaced_frame = !s->progressive_frame && in ff_mpv_frame_start()
350 s->current_picture_ptr->field_picture = s->picture_structure != PICT_FRAME; in ff_mpv_frame_start()
352 s->current_picture_ptr->f->pict_type = s->pict_type; in ff_mpv_frame_start()
[all …]
Drv30.c163 int mbtype = s->current_picture_ptr->mb_type[mb_pos]; in rv30_loop_filter()
175 cur_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos]]; in rv30_loop_filter()
177 left_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos - 1]]; in rv30_loop_filter()
179 … Y = s->current_picture_ptr->f->data[0] + mb_x*16 + (row*16 + j) * s->linesize + 4 * !mb_x; in rv30_loop_filter()
199 … C = s->current_picture_ptr->f->data[k + 1] + mb_x*8 + (row*8 + j) * s->uvlinesize + 4 * !mb_x; in rv30_loop_filter()
217 cur_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos]]; in rv30_loop_filter()
219 … top_lim = rv30_loop_filt_lim[s->current_picture_ptr->qscale_table[mb_pos - s->mb_stride]]; in rv30_loop_filter()
221 Y = s->current_picture_ptr->f->data[0] + mb_x*16 + (row*16 + j) * s->linesize; in rv30_loop_filter()
241 C = s->current_picture_ptr->f->data[k+1] + mb_x*8 + (row*8 + j) * s->uvlinesize; in rv30_loop_filter()
Dvaapi_mpeg2.c45 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()
Ddxva2_mpeg2.c47 const Picture *current_picture = s->current_picture_ptr; in fill_picture_parameters()
159 s->current_picture_ptr->hwaccel_picture_private; in commit_bitstream_and_slice_buffer()
262 s->current_picture_ptr->hwaccel_picture_private; in dxva2_mpeg2_start_frame()
282 s->current_picture_ptr->hwaccel_picture_private; in dxva2_mpeg2_decode_slice()
304 s->current_picture_ptr->hwaccel_picture_private; in dxva2_mpeg2_end_frame()
309 ret = ff_dxva2_common_end_frame(avctx, s->current_picture_ptr->f, in dxva2_mpeg2_end_frame()
Dvaapi_mpeg4.c52 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_mpeg4_start_frame()
56 pic->output_surface = ff_vaapi_get_surface_id(s->current_picture_ptr->f); in vaapi_mpeg4_start_frame()
142 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_mpeg4_end_frame()
158 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_mpeg4_decode_slice()
Drv10.c477 if ((s->mb_x == 0 && s->mb_y == 0) || !s->current_picture_ptr) { in rv10_decode_packet()
479 if (s->current_picture_ptr) { in rv10_decode_packet()
488 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_MPV_QSCALE_TYPE_MPEG1); in rv10_decode_frame()
678 s->current_picture_ptr = NULL; in rv10_decode_frame()
Ddxva2_vc1.c47 const Picture *current_picture = s->current_picture_ptr; in fill_picture_parameters()
192 struct dxva2_picture_context *ctx_pic = s->current_picture_ptr->hwaccel_picture_private; in commit_bitstream_and_slice_buffer()
318 struct dxva2_picture_context *ctx_pic = v->s.current_picture_ptr->hwaccel_picture_private; in dxva2_vc1_start_frame()
337 const Picture *current_picture = v->s.current_picture_ptr; in dxva2_vc1_decode_slice()
365 struct dxva2_picture_context *ctx_pic = v->s.current_picture_ptr->hwaccel_picture_private; in dxva2_vc1_end_frame()
371 ret = ff_dxva2_common_end_frame(avctx, v->s.current_picture_ptr->f, in dxva2_vc1_end_frame()
Dh263dec.c545 if (!s->current_picture_ptr || s->current_picture_ptr->f->data[0]) { in ff_h263_decode_frame()
549 s->current_picture_ptr = &s->picture[i]; in ff_h263_decode_frame()
693 av_assert1(s->current_picture.f->pict_type == s->current_picture_ptr->f->pict_type); in ff_h263_decode_frame()
696 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in ff_h263_decode_frame()
698 ff_print_debug_info(s, s->current_picture_ptr, pict); in ff_h263_decode_frame()
699 ff_mpv_export_qp_table(s, pict, s->current_picture_ptr, FF_MPV_QSCALE_TYPE_MPEG1); in ff_h263_decode_frame()
Dvdpau_mpeg12.c38 Picture *pic = s->current_picture_ptr; in vdpau_mpeg_start_frame()
90 Picture *pic = s->current_picture_ptr; in vdpau_mpeg_decode_slice()
Drv40.c379 int mbtype = s->current_picture_ptr->mb_type[mb_pos]; in rv40_loop_filter()
394 q = s->current_picture_ptr->qscale_table[mb_pos]; in rv40_loop_filter()
409 mbtype [i] = s->current_picture_ptr->mb_type[pos]; in rv40_loop_filter()
468 Y = s->current_picture_ptr->f->data[0] + mb_x*16 + (row*16 + j) * s->linesize; in rv40_loop_filter()
513 C = s->current_picture_ptr->f->data[k + 1] + mb_x*8 + (row*8 + j*4) * s->uvlinesize; in rv40_loop_filter()
Dvdpau_vc1.c39 Picture *pic = s->current_picture_ptr; in vdpau_vc1_start_frame()
107 Picture *pic = s->current_picture_ptr; in vdpau_vc1_decode_slice()
Dvaapi_vc1.c256 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_vc1_start_frame()
260 pic->output_surface = ff_vaapi_get_surface_id(s->current_picture_ptr->f); in vaapi_vc1_start_frame()
453 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_vc1_end_frame()
470 VAAPIDecodePicture *pic = s->current_picture_ptr->hwaccel_picture_private; in vaapi_vc1_decode_slice()
Dvc1dec.c882 v->s.current_picture_ptr->field_picture = v->field_mode; in vc1_decode_frame()
883 v->s.current_picture_ptr->f->interlaced_frame = (v->fcm != PROGRESSIVE); in vc1_decode_frame()
884 v->s.current_picture_ptr->f->top_field_first = v->tff; in vc1_decode_frame()
887 s->current_picture_ptr->f->repeat_pict = 0; in vc1_decode_frame()
892 s->current_picture_ptr->f->repeat_pict = 1; in vc1_decode_frame()
895 s->current_picture_ptr->f->repeat_pict = v->rptfrm * 2; in vc1_decode_frame()
951 v->s.current_picture_ptr->f->pict_type = v->s.pict_type; in vc1_decode_frame()
1153 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in vc1_decode_frame()
1156 ff_print_debug_info(s, s->current_picture_ptr, pict); in vc1_decode_frame()
Dmpeg12dec.c1596 s->current_picture_ptr->f->repeat_pict = 0; in mpeg_field_start()
1600 s->current_picture_ptr->f->repeat_pict = 4; in mpeg_field_start()
1602 s->current_picture_ptr->f->repeat_pict = 2; in mpeg_field_start()
1604 s->current_picture_ptr->f->repeat_pict = 1; in mpeg_field_start()
1608 pan_scan = av_frame_new_side_data(s->current_picture_ptr->f, in mpeg_field_start()
1617 s->current_picture_ptr->f, AV_FRAME_DATA_A53_CC, in mpeg_field_start()
1625 AVStereo3D *stereo = av_stereo3d_create_side_data(s->current_picture_ptr->f); in mpeg_field_start()
1635 av_frame_new_side_data(s->current_picture_ptr->f, in mpeg_field_start()
1649 if (!s->current_picture_ptr) { in mpeg_field_start()
1663 s->current_picture.f->data[i] = s->current_picture_ptr->f->data[i]; in mpeg_field_start()
[all …]
Dmpeg12enc.c371 side_data = av_frame_get_side_data(s->current_picture_ptr->f, AV_FRAME_DATA_PANSCAN); in mpeg1_encode_sequence_header()
408 time_code = s->current_picture_ptr->f->coded_picture_number + in mpeg1_encode_sequence_header()
411 mpeg12->gop_picture_number = s->current_picture_ptr->f->coded_picture_number; in mpeg1_encode_sequence_header()
519 put_bits(&s->pb, 1, s->current_picture_ptr->f->top_field_first); in ff_mpeg1_encode_picture_header()
543 side_data = av_frame_get_side_data(s->current_picture_ptr->f, in ff_mpeg1_encode_picture_header()
583 side_data = av_frame_get_side_data(s->current_picture_ptr->f, in ff_mpeg1_encode_picture_header()
Dh261dec.c662 av_assert0(s->current_picture.f->pict_type == s->current_picture_ptr->f->pict_type); in h261_decode_frame()
665 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in h261_decode_frame()
667 ff_print_debug_info(s, s->current_picture_ptr, pict); in h261_decode_frame()
Dvc1_mc.c190 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()
Dvdpau_mpeg4.c37 Picture *pic = s->current_picture_ptr; in vdpau_mpeg4_start_frame()
Dmpegvideo_enc.c1521 s->current_picture_ptr = pic; in select_input_picture()
1524 s->current_picture_ptr = s->reordered_input_picture[0]; in select_input_picture()
1567 s->last_lambda_for [s->pict_type] = s->current_picture_ptr->f->quality; in frame_end()
1604 s->current_picture_ptr->f->pict_type = s->pict_type; in frame_start()
1605 s->current_picture_ptr->f->key_frame = s->pict_type == AV_PICTURE_TYPE_I; in frame_start()
1609 s->current_picture_ptr)) < 0) in frame_start()
1614 s->next_picture_ptr = s->current_picture_ptr; in frame_start()
1778 s->current_picture_ptr->encoding_error[i] = s->current_picture.encoding_error[i]; in ff_mpv_encode_picture()
1779 avctx->error[i] += s->current_picture_ptr->encoding_error[i]; in ff_mpv_encode_picture()
1782 s->current_picture_ptr->encoding_error, in ff_mpv_encode_picture()
[all …]
Dmpeg4video_parser.c100 s->current_picture_ptr = &s->current_picture; in mpeg4_decode_header()
Dmpeg_er.c50 set_erpic(&er->cur_pic, s->current_picture_ptr); in ff_mpeg_er_frame_start()
Dmpegvideo_motion.c903 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()
Dratecontrol.c42 s->current_picture_ptr->f->display_picture_number, in ff_write_pass1_stats()
43 s->current_picture_ptr->f->coded_picture_number, in ff_write_pass1_stats()
918 dts_pic = s->current_picture_ptr; in ff_rate_estimate_qscale()
Dmpegvideo.h167 Picture *current_picture_ptr; ///< pointer to the current picture member

12