/third_party/ffmpeg/libavcodec/ |
D | lscrdec.c | 40 AVFrame *last_picture; member 114 AVFrame *frame = s->last_picture; in decode_frame_lscr() 237 av_frame_free(&s->last_picture); in lscr_decode_close() 252 s->last_picture = av_frame_alloc(); in lscr_decode_init() 253 if (!s->last_picture) in lscr_decode_init() 264 av_frame_unref(s->last_picture); in lscr_decode_flush()
|
D | snow.c | 368 uint8_t *src= s->last_picture[block->ref]->data[plane_index]; in ff_snow_pred_block() 506 s->last_picture[i] = av_frame_alloc(); in ff_snow_common_init() 507 if (!s->last_picture[i]) in ff_snow_common_init() 651 if(s->last_picture[s->max_ref_frames-1]->data[0]){ in ff_snow_release_buffer() 652 av_frame_unref(s->last_picture[s->max_ref_frames-1]); in ff_snow_release_buffer() 667 tmp= s->last_picture[s->max_ref_frames-1]; in ff_snow_frame_start() 669 s->last_picture[i] = s->last_picture[i-1]; in ff_snow_frame_start() 675 s->last_picture[0] = s->current_picture; in ff_snow_frame_start() 682 for(i=0; i<s->max_ref_frames && s->last_picture[i]->data[0]; i++) in ff_snow_frame_start() 683 if(i && s->last_picture[i-1]->key_frame) in ff_snow_frame_start() [all …]
|
D | ffv1.c | 52 s->last_picture.f = av_frame_alloc(); in ff_ffv1_common_init() 53 if (!s->picture.f || !s->last_picture.f) in ff_ffv1_common_init() 210 if (s->last_picture.f) in ff_ffv1_close() 211 ff_thread_release_buffer(avctx, &s->last_picture); in ff_ffv1_close() 212 av_frame_free(&s->last_picture.f); in ff_ffv1_close()
|
D | pngdec.c | 57 ThreadFrame last_picture; member 1025 if ((sequence_number == 0 || !s->last_picture.f->data[0]) && in decode_fctl_chunk() 1058 uint8_t *pd_last = s->last_picture.f->data[0]; in handle_p_frame_png() 1061 ff_thread_await_progress(&s->last_picture, INT_MAX, 0); in handle_p_frame_png() 1066 pd_last += s->last_picture.f->linesize[0]; in handle_p_frame_png() 1079 const uint8_t *src = s->last_picture.f->data[0]; in handle_p_frame_apng() 1080 ptrdiff_t src_stride = s->last_picture.f->linesize[0]; in handle_p_frame_apng() 1093 ff_thread_await_progress(&s->last_picture, INT_MAX, 0); in handle_p_frame_apng() 1435 if (s->last_picture.f->data[0]) { in decode_frame_common() 1437 && s->last_picture.f->width == p->width in decode_frame_common() [all …]
|
D | ffv1dec.c | 256 ff_thread_await_progress(&f->last_picture, si, 0); in decode_slice() 843 if (f->last_picture.f) in decode_frame() 844 ff_thread_release_buffer(avctx, &f->last_picture); in decode_frame() 845 FFSWAP(ThreadFrame, f->picture, f->last_picture); in decode_frame() 940 if (fs->slice_damaged && f->last_picture.f->data[0]) { in decode_frame() 944 ff_thread_await_progress(&f->last_picture, INT_MAX, 0); in decode_frame() 951 src[j] = f->last_picture.f->data[j] + f->last_picture.f->linesize[j] * in decode_frame() 958 src[1] = f->last_picture.f->data[1]; in decode_frame() 961 f->last_picture.f->linesize, in decode_frame() 971 if (f->last_picture.f) in decode_frame() [all …]
|
D | svq1enc.c | 273 s->m.last_picture_ptr = &s->m.last_picture; in svq1_encode_plane() 274 s->m.last_picture.f->data[0] = ref_plane; in svq1_encode_plane() 276 s->m.last_picture.f->linesize[0] = in svq1_encode_plane() 511 av_frame_free(&s->last_picture); in svq1_encode_end() 531 s->last_picture = av_frame_alloc(); in svq1_encode_init() 532 if (!s->current_picture || !s->last_picture) { in svq1_encode_init() 599 if (!s->last_picture->data[0]) { in svq1_encode_frame() 600 ret = ff_get_buffer(avctx, s->last_picture, 0); in svq1_encode_frame() 610 FFSWAP(AVFrame*, s->current_picture, s->last_picture); in svq1_encode_frame() 633 s->last_picture->data[i], in svq1_encode_frame()
|
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 | svq1enc.h | 44 AVFrame *last_picture; member
|
D | mpegvideo.c | 595 UPDATE_PICTURE(last_picture); in ff_mpeg_update_thread_context() 836 memset(&s->last_picture, 0, sizeof(s->last_picture)); in clear_context() 969 !(s->last_picture.f = av_frame_alloc()) || in ff_mpv_common_init() 1139 ff_free_picture_tables(&s->last_picture); in ff_mpv_common_end() 1140 ff_mpeg_unref_picture(s->avctx, &s->last_picture); in ff_mpv_common_end() 1141 av_frame_free(&s->last_picture.f); in ff_mpv_common_end() 1210 ff_mpeg_unref_picture(s->avctx, &s->last_picture); in ff_mpv_frame_start() 1351 memset(s->last_picture.f->data, 0, sizeof(s->last_picture.f->data)); in ff_mpv_frame_start() 1356 (ret = ff_mpeg_ref_picture(s->avctx, &s->last_picture, in ff_mpv_frame_start() 1378 s->last_picture.f->linesize[i] *= 2; in ff_mpv_frame_start() [all …]
|
D | nvdec_mpeg4.c | 60 .ForwardRefIdx = ff_nvdec_get_ref_idx(s->last_picture.f), in nvdec_mpeg4_start_frame()
|
D | nvdec_mpeg12.c | 62 .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 | 95 ThreadFrame picture, last_picture; member
|
D | nvdec_vc1.c | 62 .ForwardRefIdx = ff_nvdec_get_ref_idx(s->last_picture.f), in nvdec_vc1_start_frame()
|
D | vdpau_mpeg12.c | 53 ref = ff_vdpau_get_surface_id(s->last_picture.f); in vdpau_mpeg_start_frame()
|
D | vdpau_vc1.c | 56 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 | 103 pic_param.forward_reference_picture = ff_vaapi_get_surface_id(s->last_picture.f); in vaapi_mpeg4_start_frame()
|
D | motion_est.c | 701 …s->hdsp.put_no_rnd_pixels_tab[1][dxy](c->scratchpad , s->last_picture.f->data[1] + offset, s->u… in h263_mv4_search() 702 …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() 704 …s->hdsp.put_pixels_tab [1][dxy](c->scratchpad , s->last_picture.f->data[1] + offset, s->u… in h263_mv4_search() 705 …s->hdsp.put_pixels_tab [1][dxy](c->scratchpad + 8, s->last_picture.f->data[2] + offset, s->u… in h263_mv4_search() 898 init_ref(c, s->new_picture.f->data, s->last_picture.f->data, NULL, 16*mb_x, 16*mb_y, 0); in ff_estimate_p_frame_motion() 1069 init_ref(c, s->new_picture.f->data, s->last_picture.f->data, NULL, 16*mb_x, 16*mb_y, 0); in ff_pre_estimate_p_frame_motion() 1498 init_ref(c, s->new_picture.f->data, s->last_picture.f->data, in ff_estimate_b_frame_motion()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/ |
D | gstvp8decoder.c | 127 gst_vp8_picture_clear (&self->last_picture); in gst_vp8_decoder_reset() 226 gst_vp8_picture_replace (&self->last_picture, picture); in gst_vp8_decoder_update_reference() 241 gst_vp8_picture_replace (&self->alt_ref_picture, self->last_picture); in gst_vp8_decoder_update_reference() 262 gst_vp8_picture_replace (&self->golden_ref_picture, self->last_picture); in gst_vp8_decoder_update_reference() 276 gst_vp8_picture_replace (&self->last_picture, picture); in gst_vp8_decoder_update_reference() 291 gst_vp8_picture_clear (&self->last_picture); in gst_vp8_decoder_drain_internal()
|
D | gstvp8decoder.h | 57 GstVp8Picture *last_picture; member
|
/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()
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvvp8dec.c | 376 if (decoder->last_picture) { in gst_nv_vp8_dec_decode_picture() 379 decoder->last_picture); in gst_nv_vp8_dec_decode_picture()
|
/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvavp8dec.c | 335 if (decoder->last_picture) { in _fill_picture() 336 va_pic = gst_vp8_picture_get_user_data (decoder->last_picture); in _fill_picture()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11vp8dec.cpp | 497 if (decoder->last_picture) { in gst_d3d11_vp8_dec_copy_reference_frames() 499 decoder->last_picture, &view_id); in gst_d3d11_vp8_dec_copy_reference_frames()
|