Home
last modified time | relevance | path

Searched refs:last_frame (Results 1 – 25 of 45) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Deamad.c55 AVFrame *last_frame; member
78 s->last_frame = av_frame_alloc(); in decode_init()
79 if (!s->last_frame) in decode_init()
99 …unsigned offset = (mb_y*16 + ((j&2)<<2) + mv_y)*t->last_frame->linesize[0] + mb_x*16 + ((j&1)<<3) … in comp_block()
100 if (offset >= (t->avctx->height - 7) * t->last_frame->linesize[0] - 7) in comp_block()
104 t->last_frame->data[0] + offset, in comp_block()
105 t->last_frame->linesize[0], add); in comp_block()
108 … unsigned offset = (mb_y * 8 + (mv_y/2))*t->last_frame->linesize[index] + mb_x * 8 + (mv_x/2); in comp_block()
109 if (offset >= (t->avctx->height/2 - 7) * t->last_frame->linesize[index] - 7) in comp_block()
113 t->last_frame->data[index] + offset, in comp_block()
[all …]
Deacmv.c39 AVFrame *last_frame; ///< last member
51 s->last_frame = av_frame_alloc(); in cmv_decode_init()
53 if (!s->last_frame || !s->last2_frame) in cmv_decode_init()
121 if (s->last_frame->data[0]) in cmv_decode_inter()
123 s->last_frame->data[0], s->last_frame->linesize[0], in cmv_decode_inter()
144 av_frame_unref(s->last_frame); in cmv_process_header()
215 av_frame_move_ref(s->last2_frame, s->last_frame); in cmv_decode_frame()
216 if ((ret = av_frame_ref(s->last_frame, frame)) < 0) in cmv_decode_frame()
227 av_frame_free(&s->last_frame); in cmv_decode_end()
Deatgv.c44 AVFrame *last_frame; member
62 s->last_frame = av_frame_alloc(); in tgv_decode_init()
63 if (!s->last_frame) in tgv_decode_init()
242 src = s->last_frame->data[0] + mx + my * s->last_frame->linesize[0]; in tgv_decode_inter()
243 src_stride = s->last_frame->linesize[0]; in tgv_decode_inter()
292 av_frame_unref(s->last_frame); in tgv_decode_frame()
331 if (!s->last_frame->data[0]) { in tgv_decode_frame()
343 av_frame_unref(s->last_frame); in tgv_decode_frame()
344 if ((ret = av_frame_ref(s->last_frame, frame)) < 0) in tgv_decode_frame()
355 av_frame_free(&s->last_frame); in tgv_decode_end()
Dgif.c52 AVFrame *last_frame; member
241 if ((s->flags & GF_OFFSETTING) && s->last_frame && !palette) { in gif_crop_opaque()
242 const uint8_t *ref = s->last_frame->data[0]; in gif_crop_opaque()
243 const int ref_linesize = s->last_frame->linesize[0]; in gif_crop_opaque()
301 int bcid = -1, honor_transparency = (s->flags & GF_TRANSDIFF) && s->last_frame && !palette; in gif_image_write_image()
417 const int ref_linesize = s->last_frame->linesize[0]; in gif_image_write_image()
418 const uint8_t *ref = s->last_frame->data[0] + y_start*ref_linesize + x_start; in gif_image_write_image()
502 if (!s->last_frame && !s->image) { in gif_encode_frame()
503 s->last_frame = av_frame_alloc(); in gif_encode_frame()
504 if (!s->last_frame) in gif_encode_frame()
[all …]
Droqvideodec.c182 s->last_frame = av_frame_alloc(); in roq_decode_init()
184 if (!s->current_frame || !s->last_frame) in roq_decode_init()
200 int copy = !s->current_frame->data[0] && s->last_frame->data[0]; in roq_decode_frame()
208 ret = av_frame_copy(s->current_frame, s->last_frame); in roq_decode_frame()
221 FFSWAP(AVFrame *, s->current_frame, s->last_frame); in roq_decode_frame()
231 av_frame_free(&s->last_frame); in roq_decode_end()
Dxan.c56 AVFrame *last_frame; member
79 av_frame_free(&s->last_frame); in xan_decode_end()
106 s->last_frame = av_frame_alloc(); in xan_decode_init()
107 if (!s->last_frame) in xan_decode_init()
255 prev_palette_plane = s->last_frame->data[0]; in xan_wc3_copy_pixel_run()
628 av_frame_unref(s->last_frame); in xan_decode_frame()
629 if ((ret = av_frame_ref(s->last_frame, frame)) < 0) in xan_decode_frame()
Dcinepakenc.c108 AVFrame *last_frame; member
171 if (!(s->last_frame = av_frame_alloc())) in cinepak_encode_init()
220 s->last_frame->data[0] = s->pict_bufs[0]; in cinepak_encode_init()
221 s->last_frame->linesize[0] = s->w; in cinepak_encode_init()
228 s->last_frame->data[1] = s->last_frame->data[0] + s->w * s->h; in cinepak_encode_init()
229 s->last_frame->data[2] = s->last_frame->data[1] + ((s->w * s->h) >> 2); in cinepak_encode_init()
230 s->last_frame->linesize[1] = in cinepak_encode_init()
231 s->last_frame->linesize[2] = s->w >> 1; in cinepak_encode_init()
1078 s->last_frame->data, s->last_frame->linesize, in rd_frame()
1151 FFSWAP(AVFrame *, s->last_frame, s->best_frame); in cinepak_encode_frame()
[all …]
Dscpr.c415 ret = av_frame_copy(s->current_frame, s->last_frame); in decompress_p()
564 (uint32_t *)s->last_frame->data[0], in decode_frame()
565 s->last_frame->linesize[0] / 4); in decode_frame()
569 (uint32_t *)s->last_frame->data[0], in decode_frame()
570 s->last_frame->linesize[0] / 4); in decode_frame()
616 FFSWAP(AVFrame *, s->current_frame, s->last_frame); in decode_frame()
651 s->last_frame = av_frame_alloc(); in decode_init()
653 if (!s->last_frame || !s->current_frame) in decode_init()
664 av_frame_free(&s->last_frame); in decode_close()
Droqvideo.c118 if (!ri->last_frame->data[0]) { in apply_motion_generic()
125 int instride = ri->last_frame ->linesize[cp]; in apply_motion_generic()
127 ri->last_frame->data[cp] + my*instride + mx, in apply_motion_generic()
Dpngenc.c76 AVFrame *last_frame; member
774 ret = av_frame_copy(diffFrame, s->last_frame); in apng_encode_frame()
889 } else if (s->last_frame) { in encode_apng()
896 pkt->pts = pkt->dts = s->last_frame->pts; in encode_apng()
920 if (s->last_frame) { in encode_apng()
946 if (!s->last_frame) { in encode_apng()
947 s->last_frame = av_frame_alloc(); in encode_apng()
948 if (!s->last_frame) in encode_apng()
964 av_frame_copy(s->prev_frame, s->last_frame); in encode_apng()
975 av_frame_unref(s->last_frame); in encode_apng()
[all …]
Dinterplayvideo.c57 AVFrame *last_frame; member
107 return copy_from(s, s->last_frame, frame, 0, 0); in ipvideo_decode_block_opcode_0x0()
183 return copy_from(s, s->last_frame, frame, x, y); in ipvideo_decode_block_opcode_0x4()
196 return copy_from(s, s->last_frame, frame, x, y); in ipvideo_decode_block_opcode_0x5()
941 copy_from(s, s->last_frame, frame, off_x, off_y); in ipvideo_format_06_secondpass()
1089 copy_from(s, s->last_frame, frame, 0, 0); in ipvideo_decode_format_10_opcodes()
1171 s->last_frame = av_frame_alloc(); in ipvideo_decode_init()
1175 if (!s->last_frame || !s->second_last_frame || in ipvideo_decode_init()
1204 av_frame_unref(s->last_frame); in ipvideo_decode_frame()
1346 FFSWAP(AVFrame*, s->second_last_frame, s->last_frame); in ipvideo_decode_frame()
[all …]
Dmpc7.c184 int off, ret, last_frame, skip; in mpc7_decode_frame() local
201 last_frame = buf[1]; in mpc7_decode_frame()
275 if(last_frame) in mpc7_decode_frame()
280 if (!last_frame && ((bits_avail < bits_used) || (bits_used + 32 <= bits_avail))) { in mpc7_decode_frame()
Dnellymoserenc.c59 int last_frame; member
388 if (s->last_frame) in encode_frame()
399 s->last_frame = 1; in encode_frame()
405 s->last_frame = 1; in encode_frame()
Dvp9_raw_reorder_bsf.c173 VP9RawReorderFrame *last_frame) in vp9_raw_reorder_make_output() argument
176 VP9RawReorderFrame *next_output = last_frame, in vp9_raw_reorder_make_output()
177 *next_display = last_frame, *frame; in vp9_raw_reorder_make_output()
Droqvideoenc.c245 return block_sse(enc->frame_to_enc->data, roq->last_frame->data, x, y, in eval_motion_dist()
247 enc->frame_to_enc->linesize, roq->last_frame->linesize, in eval_motion_dist()
944 FFSWAP(AVFrame *, roq->current_frame, roq->last_frame); in roq_encode_video()
958 av_frame_free(&enc->common.last_frame); in roq_encode_end()
999 roq->last_frame = av_frame_alloc(); in roq_encode_init()
1001 if (!roq->last_frame || !roq->current_frame) in roq_encode_init()
1086 (ret = ff_get_buffer(avctx, roq->last_frame, 0)) < 0) in roq_encode_frame()
Droqvideo.h43 AVFrame *last_frame; member
/third_party/ffmpeg/libavformat/
Drtpdec_ac3.c30 unsigned last_frame; member
78 data->last_frame = 1; in ac3_handle_packet()
102 data->last_frame++; in ac3_handle_packet()
108 if (data->last_frame != data->nr_frames) { in ac3_handle_packet()
111 data->nr_frames - data->last_frame); in ac3_handle_packet()
Dttaenc.c36 int last_frame; member
107 if (tta->last_frame) { in tta_write_packet()
117 tta->last_frame++; in tta_write_packet()
Dthp.c31 unsigned last_frame; member
89 thp->last_frame = avio_rb32(pb); in thp_read_header()
/third_party/libunwind/src/aarch64/
DGtrace.c230 f->last_frame = 0; in trace_init_addr()
261 f->last_frame = -1; in trace_init_addr()
264 f->virtual_address, f->frame_type, f->last_frame, in trace_init_addr()
461 f->virtual_address, f->frame_type, f->last_frame, in tdep_trace()
472 if (f->last_frame) in tdep_trace()
/third_party/libunwind/src/arm/
DGtrace.c232 f->last_frame = 0; in trace_init_addr()
263 f->last_frame = -1; in trace_init_addr()
266 f->virtual_address, f->frame_type, f->last_frame, in trace_init_addr()
463 f->virtual_address, f->frame_type, f->last_frame, in tdep_trace()
474 if (f->last_frame) in tdep_trace()
/third_party/libunwind/src/x86_64/
DGtrace.c226 f->last_frame = 0; in trace_init_addr()
259 f->last_frame = -1; in trace_init_addr()
262 f->virtual_address, f->frame_type, f->last_frame, in trace_init_addr()
459 f->virtual_address, f->frame_type, f->last_frame, in tdep_trace()
470 if (f->last_frame) in tdep_trace()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dvideoencoder.c58 GstVideoCodecFrame *last_frame; member
159 gst_video_codec_frame_unref (enc_tester->last_frame); in gst_video_encoder_tester_output_step_by_step()
178 enc_tester->last_frame = gst_video_codec_frame_ref (frame); in gst_video_encoder_tester_handle_frame()
792 enc_tester->last_frame, 1); in GST_START_TEST()
805 enc_tester->last_frame, 3); in GST_START_TEST()
821 enc_tester->last_frame, 1); in GST_START_TEST()
832 enc_tester->last_frame, 2); in GST_START_TEST()
837 enc_tester->last_frame, 1); in GST_START_TEST()
847 enc_tester->last_frame, 1); in GST_START_TEST()
862 enc_tester->last_frame, 3); in GST_START_TEST()
[all …]
/third_party/EGL/extensions/NV/
DEGL_NV_stream_sync.txt149 EGLuint64KHR last_frame = 0;
164 if (new_frame != last_frame) {
165 last_frame = new_frame;
/third_party/skia/third_party/externals/egl-registry/extensions/NV/
DEGL_NV_stream_sync.txt149 EGLuint64KHR last_frame = 0;
164 if (new_frame != last_frame) {
165 last_frame = new_frame;

12