Home
last modified time | relevance | path

Searched refs:last_picture (Results 1 – 25 of 38) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dlscrdec.c40 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()
Dsnow.c368 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 …]
Dffv1.c52 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()
Dpngdec.c57 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 …]
Dffv1dec.c256 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 …]
Dsvq1enc.c273 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()
Dvc1_mc.c187 !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 …]
Dsvq1enc.h44 AVFrame *last_picture; member
Dmpegvideo.c595 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 …]
Dnvdec_mpeg4.c60 .ForwardRefIdx = ff_nvdec_get_ref_idx(s->last_picture.f), in nvdec_mpeg4_start_frame()
Dnvdec_mpeg12.c62 .ForwardRefIdx = ff_nvdec_get_ref_idx(s->last_picture.f), in nvdec_mpeg12_start_frame()
Dvdpau_mpeg4.c56 ref = ff_vdpau_get_surface_id(s->last_picture.f); in vdpau_mpeg4_start_frame()
Dffv1.h95 ThreadFrame picture, last_picture; member
Dnvdec_vc1.c62 .ForwardRefIdx = ff_nvdec_get_ref_idx(s->last_picture.f), in nvdec_vc1_start_frame()
Dvdpau_mpeg12.c53 ref = ff_vdpau_get_surface_id(s->last_picture.f); in vdpau_mpeg_start_frame()
Dvdpau_vc1.c56 ref = ff_vdpau_get_surface_id(s->last_picture.f); in vdpau_vc1_start_frame()
Dvaapi_mpeg2.c79 pic_param.forward_reference_picture = ff_vaapi_get_surface_id(s->last_picture.f); in vaapi_mpeg2_start_frame()
Dvaapi_mpeg4.c103 pic_param.forward_reference_picture = ff_vaapi_get_surface_id(s->last_picture.f); in vaapi_mpeg4_start_frame()
Dmotion_est.c701 …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/
Dgstvp8decoder.c127 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()
Dgstvp8decoder.h57 GstVp8Picture *last_picture; member
/third_party/ffmpeg/libavformat/tests/
Dmovenc.c69 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/
Dgstnvvp8dec.c376 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/
Dgstvavp8dec.c335 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/
Dgstd3d11vp8dec.cpp497 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()

12