Home
last modified time | relevance | path

Searched refs:prev_frame (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dwcmv.c38 AVFrame *prev_frame; member
63 if ((ret = ff_reget_buffer(avctx, s->prev_frame, flags)) < 0) in decode_frame()
161 ptrdiff_t linesize[4] = { s->prev_frame->linesize[0], 0, 0, 0 }; in decode_frame()
162 av_image_fill_black(s->prev_frame->data, linesize, avctx->pix_fmt, 0, in decode_frame()
183 … dst = s->prev_frame->data[0] + (avctx->height - y - 1) * s->prev_frame->linesize[0] + x * bpp; in decode_frame()
195 dst -= s->prev_frame->linesize[0]; in decode_frame()
199 s->prev_frame->key_frame = intra; in decode_frame()
200 s->prev_frame->pict_type = intra ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P; in decode_frame()
202 if ((ret = av_frame_ref(frame, s->prev_frame)) < 0) in decode_frame()
235 s->prev_frame = av_frame_alloc(); in decode_init()
[all …]
Dmwsc.c37 AVFrame *prev_frame; member
120 bytestream2_init(&gbp, s->prev_frame->data[0], avctx->height * s->prev_frame->linesize[0]); in decode_frame()
124 frame->linesize[0], s->prev_frame->linesize[0]); in decode_frame()
128 av_frame_unref(s->prev_frame); in decode_frame()
129 if ((ret = av_frame_ref(s->prev_frame, frame)) < 0) in decode_frame()
161 s->prev_frame = av_frame_alloc(); in decode_init()
162 if (!s->prev_frame) in decode_init()
172 av_frame_free(&s->prev_frame); in decode_close()
Darbc.c38 AVFrame *prev_frame; member
142 if (s->prev_frame->data[0]) { in decode_frame()
143 ret = av_frame_copy(frame, s->prev_frame); in decode_frame()
175 av_frame_unref(s->prev_frame); in decode_frame()
176 if ((ret = av_frame_ref(s->prev_frame, frame)) < 0) in decode_frame()
192 s->prev_frame = av_frame_alloc(); in decode_init()
193 if (!s->prev_frame) in decode_init()
203 av_frame_unref(s->prev_frame); in decode_flush()
210 av_frame_free(&s->prev_frame); in decode_close()
Dvmdvideo.c51 AVFrame *prev_frame; member
235 if (s->prev_frame->data[0] && in vmd_decode()
239 memcpy(frame->data[0], s->prev_frame->data[0], in vmd_decode()
285 if (s->prev_frame->data[0]) { in vmd_decode()
286 prev_linesize = s->prev_frame->linesize[0]; in vmd_decode()
287 pp = s->prev_frame->data[0] + frame_y * prev_linesize + frame_x; in vmd_decode()
379 av_frame_free(&s->prev_frame); in vmdvideo_decode_end()
425 s->prev_frame = av_frame_alloc(); in vmdvideo_decode_init()
426 if (!s->prev_frame) { in vmdvideo_decode_init()
460 av_frame_unref(s->prev_frame); in vmdvideo_decode_frame()
[all …]
Dvb.c45 uint8_t *frame, *prev_frame; member
98 uint8_t *pstart = c->prev_frame; in vb_decode_framedata()
99 uint8_t *pend = c->prev_frame + width*c->avctx->height; in vb_decode_framedata()
103 prev = c->prev_frame + offset; in vb_decode_framedata()
247 FFSWAP(uint8_t*, c->frame, c->prev_frame); in decode_frame()
263 c->prev_frame = av_mallocz(avctx->width * avctx->height); in decode_init()
265 if (!c->frame || !c->prev_frame) in decode_init()
276 av_freep(&c->prev_frame); in decode_end()
Dimm4.c46 AVFrame *prev_frame; member
443 av_frame_unref(s->prev_frame); in decode_frame()
458 av_frame_unref(s->prev_frame); in decode_frame()
459 if ((ret = av_frame_ref(s->prev_frame, frame)) < 0) in decode_frame()
462 if (!s->prev_frame->data[0]) { in decode_frame()
467 ret = decode_inter(avctx, gb, frame, s->prev_frame); in decode_frame()
508 s->prev_frame = av_frame_alloc(); in decode_init()
509 if (!s->prev_frame) in decode_init()
521 av_frame_unref(s->prev_frame); in decode_flush()
528 av_frame_free(&s->prev_frame); in decode_close()
Drpzaenc.c42 AVFrame *prev_frame; // buffer for previous source frame member
567 uint16_t *prev_pixels = (uint16_t *)s->prev_frame->data[0]; in rpza_encode_stream()
774 s->prev_frame = av_frame_alloc(); in rpza_encode_init()
775 if (!s->prev_frame) in rpza_encode_init()
797 if (!s->prev_frame->data[0]) { in rpza_encode_frame()
799 s->prev_frame->format = pict->format; in rpza_encode_frame()
800 s->prev_frame->width = pict->width; in rpza_encode_frame()
801 s->prev_frame->height = pict->height; in rpza_encode_frame()
802 ret = av_frame_get_buffer(s->prev_frame, 0); in rpza_encode_frame()
831 av_frame_free(&s->prev_frame); in rpza_encode_end()
Dpngenc.c75 AVFrame *prev_frame; member
785 if (!s->prev_frame) in apng_encode_frame()
790 ret = av_frame_copy(diffFrame, s->prev_frame); in apng_encode_frame()
951 if (!s->prev_frame) { in encode_apng()
952 s->prev_frame = av_frame_alloc(); in encode_apng()
953 if (!s->prev_frame) in encode_apng()
956 s->prev_frame->format = pict->format; in encode_apng()
957 s->prev_frame->width = pict->width; in encode_apng()
958 s->prev_frame->height = pict->height; in encode_apng()
959 if ((ret = av_frame_get_buffer(s->prev_frame, 0)) < 0) in encode_apng()
[all …]
Dmv30.c59 AVFrame *prev_frame; member
637 if (!s->prev_frame->data[0]) { in decode_frame()
642 ret = decode_inter(avctx, gb, frame, s->prev_frame); in decode_frame()
647 av_frame_unref(s->prev_frame); in decode_frame()
648 if ((ret = av_frame_ref(s->prev_frame, frame)) < 0) in decode_frame()
676 s->prev_frame = av_frame_alloc(); in decode_init()
677 if (!s->prev_frame) in decode_init()
689 av_frame_unref(s->prev_frame); in decode_flush()
696 av_frame_free(&s->prev_frame); in decode_close()
Dagm.c87 AVFrame *prev_frame; member
1126 if (!s->prev_frame->data[0]) { in decode_frame()
1201 if (s->prev_frame-> width != frame->width || in decode_frame()
1202 s->prev_frame->height != frame->height) in decode_frame()
1206 ret = av_frame_copy(frame, s->prev_frame); in decode_frame()
1212 ret = decode_inter(avctx, gb, frame, s->prev_frame); in decode_frame()
1222 av_frame_unref(s->prev_frame); in decode_frame()
1223 if ((ret = av_frame_ref(s->prev_frame, frame)) < 0) in decode_frame()
1256 s->prev_frame = av_frame_alloc(); in decode_init()
1257 if (!s->prev_frame) in decode_init()
[all …]
Dvp8.c2279 VP8Frame *prev_frame, int is_vp7) in vp78_decode_mv_mb_modes() argument
2304 prev_frame && prev_frame->seg_map ? in vp78_decode_mv_mb_modes()
2305 prev_frame->seg_map->data + mb_xy : NULL, 1, is_vp7); in vp78_decode_mv_mb_modes()
2316 VP8Frame *prev_frame) in vp7_decode_mv_mb_modes() argument
2318 return vp78_decode_mv_mb_modes(avctx, cur_frame, prev_frame, IS_VP7); in vp7_decode_mv_mb_modes()
2322 VP8Frame *prev_frame) in vp8_decode_mv_mb_modes() argument
2324 return vp78_decode_mv_mb_modes(avctx, cur_frame, prev_frame, IS_VP8); in vp8_decode_mv_mb_modes()
2373 VP8Frame *curframe = s->curframe, *prev_frame = s->prev_frame; in decode_mb_row_no_filter() local
2398 if (prev_frame && s->segmentation.enabled && in decode_mb_row_no_filter()
2400 ff_thread_await_progress(&prev_frame->tf, mb_y, 0); in decode_mb_row_no_filter()
[all …]
Dwavpack.c111 ThreadFrame curr_frame, prev_frame; member
1050 s->prev_frame.f = av_frame_alloc(); in wavpack_decode_init()
1052 if (!s->curr_frame.f || !s->prev_frame.f) in wavpack_decode_init()
1071 ff_thread_release_buffer(avctx, &s->prev_frame); in wavpack_decode_end()
1072 av_frame_free(&s->prev_frame.f); in wavpack_decode_end()
1549 ff_thread_release_buffer(avctx, &wc->prev_frame); in wavpack_decode_block()
1550 FFSWAP(ThreadFrame, wc->curr_frame, wc->prev_frame); in wavpack_decode_block()
1677 ff_thread_await_progress(&s->prev_frame, INT_MAX, 0); in wavpack_decode_frame()
1678 ff_thread_release_buffer(avctx, &s->prev_frame); in wavpack_decode_frame()
1694 ff_thread_await_progress(&s->prev_frame, INT_MAX, 0); in wavpack_decode_frame()
[all …]
Dtwinvq.h160 float *prev_frame; ///< non-interleaved previous frame member
/third_party/gstreamer/gstplugins_base/ext/theora/
Dgsttheoraparse.c543 parse->prev_frame++; in theora_parse_drain_queue_prematurely()
547 parse->prev_keyframe = parse->prev_frame; in theora_parse_drain_queue_prematurely()
566 parse->prev_frame); in theora_parse_drain_queue_prematurely()
580 gint64 keyframe, prev_frame, frame; in theora_parse_drain_queue() local
590 prev_frame = frame - g_queue_get_length (parse->buffer_queue); in theora_parse_drain_queue()
593 "new prev %" G_GINT64_FORMAT ", prev %" G_GINT64_FORMAT, prev_frame, in theora_parse_drain_queue()
594 parse->prev_frame); in theora_parse_drain_queue()
596 if (prev_frame < parse->prev_frame) { in theora_parse_drain_queue()
599 parse->prev_frame - prev_frame); in theora_parse_drain_queue()
600 parse->prev_frame = prev_frame; in theora_parse_drain_queue()
[all …]
Dgsttheoraparse.h68 gint64 prev_frame; member
/third_party/ffmpeg/libavfilter/
Dvf_lut2.c71 AVFrame *prev_frame; /* only used with tlut2 */ member
99 av_frame_free(&s->prev_frame); in uninit()
596 if (s->prev_frame) { in tlut2_filter_frame()
606 av_frame_free(&s->prev_frame); in tlut2_filter_frame()
607 s->prev_frame = frame; in tlut2_filter_frame()
615 td.srcy = s->prev_frame; in tlut2_filter_frame()
618 av_frame_free(&s->prev_frame); in tlut2_filter_frame()
619 s->prev_frame = frame; in tlut2_filter_frame()
622 s->prev_frame = frame; in tlut2_filter_frame()
Dvf_palettegen.c71 AVFrame *prev_frame; // previous frame used for the diff stats_mode member
483 int ret = s->prev_frame ? update_histogram_diff(s->histogram, s->prev_frame, in) in filter_frame()
490 av_frame_free(&s->prev_frame); in filter_frame()
491 s->prev_frame = in; in filter_frame()
551 av_frame_free(&s->prev_frame); in uninit()
Dvf_blend.c48 AVFrame *prev_frame; /* only used with tblend */ member
695 av_frame_free(&s->prev_frame); in uninit()
935 if (s->prev_frame) { in tblend_filter_frame()
941 out = blend_frame(ctx, frame, s->prev_frame); in tblend_filter_frame()
942 av_frame_free(&s->prev_frame); in tblend_filter_frame()
943 s->prev_frame = frame; in tblend_filter_frame()
946 s->prev_frame = frame; in tblend_filter_frame()
/third_party/skia/third_party/externals/libwebp/examples/
Dvwebp.c72 WebPIterator prev_frame; member
86 WebPDemuxReleaseIterator(&kParams.prev_frame); in ClearParams()
95 WebPIterator* const prev = &kParams.prev_frame; in ClearPreviousFrame()
359 WebPIterator* const prev = &kParams.prev_frame; in HandleDisplay()
Danim_util.c377 const DecodedFrame* const prev_frame, in IsKeyFrameGIF() argument
379 if (prev_frame == NULL) return 1; in IsKeyFrameGIF()
385 if (prev_frame->is_key_frame) return 1; in IsKeyFrameGIF()
588 DecodedFrame* const prev_frame = &image->frames[i - 1]; in ReadAnimatedGIF() local
595 IsKeyFrameGIF(prev_desc, prev_gcb.DisposalMode, prev_frame, in ReadAnimatedGIF()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dvwebp.c72 WebPIterator prev_frame; member
86 WebPDemuxReleaseIterator(&kParams.prev_frame); in ClearParams()
95 WebPIterator* const prev = &kParams.prev_frame; in ClearPreviousFrame()
359 WebPIterator* const prev = &kParams.prev_frame; in HandleDisplay()
Danim_util.c377 const DecodedFrame* const prev_frame, in IsKeyFrameGIF() argument
379 if (prev_frame == NULL) return 1; in IsKeyFrameGIF()
385 if (prev_frame->is_key_frame) return 1; in IsKeyFrameGIF()
588 DecodedFrame* const prev_frame = &image->frames[i - 1]; in ReadAnimatedGIF() local
595 IsKeyFrameGIF(prev_desc, prev_gcb.DisposalMode, prev_frame, in ReadAnimatedGIF()
/third_party/gstreamer/gstplugins_bad/gst/librfb/
Dgstrfbsrc.c474 decoder->prev_frame = g_malloc (vinfo.size); in gst_rfb_src_negotiate()
497 if (src->decoder->prev_frame) { in gst_rfb_src_stop()
498 g_free (src->decoder->prev_frame); in gst_rfb_src_stop()
499 src->decoder->prev_frame = NULL; in gst_rfb_src_stop()
Drfbdecoder.h53 guint8 *prev_frame; member
/third_party/python/Lib/idlelib/
Ddebugger.py39 prev_frame = frame.f_back
40 prev_name = prev_frame.f_code.co_filename
45 return self.in_rpc_code(prev_frame)

12