/third_party/ffmpeg/libavcodec/ |
D | lscrdec.c | 42 AVFrame *last_picture; member 115 AVFrame *frame = s->last_picture; in decode_frame_lscr() 216 av_frame_free(&s->last_picture); in lscr_decode_close() 232 s->last_picture = av_frame_alloc(); in lscr_decode_init() 233 if (!s->last_picture) in lscr_decode_init() 244 av_frame_unref(s->last_picture); in lscr_decode_flush()
|
D | snow.c | 362 uint8_t *src= s->last_picture[block->ref]->data[plane_index]; in ff_snow_pred_block() 499 s->last_picture[i] = av_frame_alloc(); in ff_snow_common_init() 500 if (!s->last_picture[i]) in ff_snow_common_init() 649 if(s->last_picture[s->max_ref_frames-1]->data[0]){ in ff_snow_release_buffer() 650 av_frame_unref(s->last_picture[s->max_ref_frames-1]); in ff_snow_release_buffer() 665 tmp= s->last_picture[s->max_ref_frames-1]; in ff_snow_frame_start() 667 s->last_picture[i] = s->last_picture[i-1]; in ff_snow_frame_start() 673 s->last_picture[0] = s->current_picture; in ff_snow_frame_start() 680 for(i=0; i<s->max_ref_frames && s->last_picture[i]->data[0]; i++) in ff_snow_frame_start() 681 if(i && s->last_picture[i-1]->key_frame) in ff_snow_frame_start() [all …]
|
D | ffv1.c | 47 s->last_picture.f = av_frame_alloc(); in ff_ffv1_common_init() 48 if (!s->picture.f || !s->last_picture.f) in ff_ffv1_common_init() 205 if (s->last_picture.f) in ff_ffv1_close() 206 ff_thread_release_ext_buffer(avctx, &s->last_picture); in ff_ffv1_close() 207 av_frame_free(&s->last_picture.f); in ff_ffv1_close()
|
D | pngdec.c | 62 ThreadFrame last_picture; member 1030 if ((sequence_number == 0 || !s->last_picture.f->data[0]) && in decode_fctl_chunk() 1062 uint8_t *pd_last = s->last_picture.f->data[0]; in handle_p_frame_png() 1067 ff_thread_await_progress(&s->last_picture, INT_MAX, 0); in handle_p_frame_png() 1072 pd_last += s->last_picture.f->linesize[0]; in handle_p_frame_png() 1085 const uint8_t *src = s->last_picture.f->data[0]; in handle_p_frame_apng() 1086 ptrdiff_t src_stride = s->last_picture.f->linesize[0]; in handle_p_frame_apng() 1099 ff_thread_await_progress(&s->last_picture, INT_MAX, 0); in handle_p_frame_apng() 1438 if (s->last_picture.f->data[0]) { in decode_frame_common() 1440 && s->last_picture.f->width == p->width in decode_frame_common() [all …]
|
D | svq1enc.c | 276 s->m.last_picture_ptr = &s->m.last_picture; in svq1_encode_plane() 277 s->m.last_picture.f->data[0] = ref_plane; in svq1_encode_plane() 279 s->m.last_picture.f->linesize[0] = in svq1_encode_plane() 513 av_frame_free(&s->last_picture); in svq1_encode_end() 533 s->last_picture = av_frame_alloc(); in svq1_encode_init() 534 if (!s->current_picture || !s->last_picture) { in svq1_encode_init() 603 if (!s->last_picture->data[0]) { in svq1_encode_frame() 604 ret = ff_encode_alloc_frame(avctx, s->last_picture); in svq1_encode_frame() 614 FFSWAP(AVFrame*, s->current_picture, s->last_picture); in svq1_encode_frame() 630 s->last_picture->data[i], in svq1_encode_frame()
|
D | ffv1dec.c | 268 ff_thread_await_progress(&f->last_picture, si, 0); in decode_slice() 868 if (f->last_picture.f) in decode_frame() 869 ff_thread_release_ext_buffer(avctx, &f->last_picture); in decode_frame() 870 FFSWAP(ThreadFrame, f->picture, f->last_picture); in decode_frame() 980 if (fs->slice_damaged && f->last_picture.f->data[0]) { in decode_frame() 984 ff_thread_await_progress(&f->last_picture, INT_MAX, 0); in decode_frame() 991 src[j] = f->last_picture.f->data[j] + f->last_picture.f->linesize[j] * in decode_frame() 997 src[1] = f->last_picture.f->data[1]; in decode_frame() 1000 f->last_picture.f->linesize, in decode_frame() 1008 if (f->last_picture.f) in decode_frame() [all …]
|
D | vc1_mc.c | 187 !v->s.last_picture.f->data[0]) in ff_vc1_mc_1mv() 230 srcY = s->last_picture.f->data[0]; in ff_vc1_mc_1mv() 231 srcU = s->last_picture.f->data[1]; in ff_vc1_mc_1mv() 232 srcV = s->last_picture.f->data[2]; in ff_vc1_mc_1mv() 236 interlace = s->last_picture.f->interlaced_frame; in ff_vc1_mc_1mv() 467 !v->s.last_picture.f->data[0]) in ff_vc1_mc_4mv_luma() 482 srcY = s->last_picture.f->data[0]; in ff_vc1_mc_4mv_luma() 485 interlace = s->last_picture.f->interlaced_frame; in ff_vc1_mc_4mv_luma() 648 if (!v->field_mode && !v->s.last_picture.f->data[0]) in ff_vc1_mc_4mv_chroma() 667 …if (v->field_mode && chroma_ref_type == 1 && v->cur_field_type == 1 && !v->s.last_picture.f->data[… in ff_vc1_mc_4mv_chroma() [all …]
|
D | mpegvideo_dec.c | 126 UPDATE_PICTURE(last_picture); in ff_mpeg_update_thread_context() 306 ff_mpeg_unref_picture(s->avctx, &s->last_picture); in ff_mpv_frame_start() 446 memset(s->last_picture.f->data, 0, sizeof(s->last_picture.f->data)); in ff_mpv_frame_start() 451 (ret = ff_mpeg_ref_picture(s->avctx, &s->last_picture, in ff_mpv_frame_start() 472 s->last_picture.f->linesize[i] *= 2; in ff_mpv_frame_start() 563 ff_mpeg_unref_picture(s->avctx, &s->last_picture); in ff_mpeg_flush()
|
D | svq1enc.h | 44 AVFrame *last_picture; member
|
D | nvdec_mpeg12.c | 65 .ForwardRefIdx = ff_nvdec_get_ref_idx(s->last_picture.f), in nvdec_mpeg12_start_frame()
|
D | vdpau_mpeg4.c | 56 ref = ff_vdpau_get_surface_id(s->last_picture.f); in vdpau_mpeg4_start_frame()
|
D | ffv1.h | 90 ThreadFrame picture, last_picture; member
|
D | nvdec_mpeg4.c | 62 .ForwardRefIdx = ff_nvdec_get_ref_idx(s->last_picture.f), in nvdec_mpeg4_start_frame()
|
D | vdpau_mpeg12.c | 55 ref = ff_vdpau_get_surface_id(s->last_picture.f); in vdpau_mpeg_start_frame()
|
D | nvdec_vc1.c | 65 .ForwardRefIdx = ff_nvdec_get_ref_idx(s->last_picture.f), in nvdec_vc1_start_frame()
|
D | vdpau_vc1.c | 58 ref = ff_vdpau_get_surface_id(s->last_picture.f); in vdpau_vc1_start_frame()
|
D | vaapi_mpeg2.c | 79 pic_param.forward_reference_picture = ff_vaapi_get_surface_id(s->last_picture.f); in vaapi_mpeg2_start_frame()
|
D | vaapi_mpeg4.c | 105 pic_param.forward_reference_picture = ff_vaapi_get_surface_id(s->last_picture.f); in vaapi_mpeg4_start_frame()
|
D | motion_est.c | 703 …s->hdsp.put_no_rnd_pixels_tab[1][dxy](c->scratchpad , s->last_picture.f->data[1] + offset, s->u… in h263_mv4_search() 704 …s->hdsp.put_no_rnd_pixels_tab[1][dxy](c->scratchpad + 8, s->last_picture.f->data[2] + offset, s->u… in h263_mv4_search() 706 …s->hdsp.put_pixels_tab [1][dxy](c->scratchpad , s->last_picture.f->data[1] + offset, s->u… in h263_mv4_search() 707 …s->hdsp.put_pixels_tab [1][dxy](c->scratchpad + 8, s->last_picture.f->data[2] + offset, s->u… in h263_mv4_search() 900 init_ref(c, s->new_picture->data, s->last_picture.f->data, NULL, 16*mb_x, 16*mb_y, 0); in ff_estimate_p_frame_motion() 1071 init_ref(c, s->new_picture->data, s->last_picture.f->data, NULL, 16*mb_x, 16*mb_y, 0); in ff_pre_estimate_p_frame_motion() 1500 init_ref(c, s->new_picture->data, s->last_picture.f->data, in ff_estimate_b_frame_motion()
|
D | mpegvideo.c | 664 memset(&s->last_picture, 0, sizeof(s->last_picture)); in clear_context() 794 !(s->last_picture.f = av_frame_alloc()) || in ff_mpv_common_init() 904 ff_mpv_picture_free(s->avctx, &s->last_picture); in ff_mpv_common_end() 1498 … MPV_motion_lowres(s, dest_y, dest_cb, dest_cr, 0, s->last_picture.f->data, op_pix); in mpv_reconstruct_mb_internal() 1512 … ff_mpv_motion(s, dest_y, dest_cb, dest_cr, 0, s->last_picture.f->data, op_pix, op_qpix); in mpv_reconstruct_mb_internal()
|
D | mpegvideo_xvmc.c | 138 last = (struct xvmc_pix_fmt*)s->last_picture.f->data[2]; in ff_xvmc_field_start()
|
D | mpegvideo.h | 145 Picture last_picture; member
|
D | dxva2_mpeg2.c | 54 pp->wForwardRefPictureIndex = ff_dxva2_get_surface_index(avctx, ctx, s->last_picture.f); in fill_picture_parameters()
|
D | vc1dec.c | 214 iplane = s->last_picture.f->data[plane]; in vc1_draw_sprites() 215 iline = s->last_picture.f->linesize[plane]; in vc1_draw_sprites() 294 if (v->two_sprites && (!s->last_picture_ptr || !s->last_picture.f->data[0])) { in vc1_decode_sprites()
|
/third_party/ffmpeg/libavformat/tests/ |
D | movenc.c | 69 enum AVPictureType last_picture; variable 268 last_picture = AV_PICTURE_TYPE_I; in mux_frames() 272 if (last_picture == AV_PICTURE_TYPE_P) { in mux_frames() 273 last_picture = AV_PICTURE_TYPE_B; in mux_frames() 277 last_picture = AV_PICTURE_TYPE_P; in mux_frames()
|