Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavcodec/
Droqvideo.c46 stride = ri->current_frame->linesize[0]; in ff_apply_vector_2x2()
49 bptr = ri->current_frame->data[0] + boffs; in ff_apply_vector_2x2()
55 stride = ri->current_frame->linesize[1]; in ff_apply_vector_2x2()
58 bptr = ri->current_frame->data[1] + boffs; in ff_apply_vector_2x2()
64 bptr = ri->current_frame->data[2] + boffs; in ff_apply_vector_2x2()
76 stride = ri->current_frame->linesize[0]; in ff_apply_vector_4x4()
79 bptr = ri->current_frame->data[0] + boffs; in ff_apply_vector_4x4()
85 stride = ri->current_frame->linesize[1]; in ff_apply_vector_4x4()
88 bptr = ri->current_frame->data[1] + boffs; in ff_apply_vector_4x4()
94 bptr = ri->current_frame->data[2] + boffs; in ff_apply_vector_4x4()
[all …]
Dpafvideo.c56 int current_frame; member
204 dst = c->frame[c->current_frame]; in decode_0()
205 dend = c->frame[c->current_frame] + c->frame_size; in decode_0()
228 dst = c->frame[c->current_frame]; in decode_0()
299 c->current_frame = 0; in paf_video_decode()
334 c->dirty[c->current_frame] = 1; in paf_video_decode()
352 dst = c->frame[c->current_frame]; in paf_video_decode()
366 if (frame != c->current_frame) in paf_video_decode()
367 memcpy(c->frame[c->current_frame], c->frame[frame], c->frame_size); in paf_video_decode()
371 dst = c->frame[c->current_frame]; in paf_video_decode()
[all …]
Droqvideodec.c186 s->current_frame = av_frame_alloc(); in roq_decode_init()
187 if (!s->current_frame || !s->last_frame) { in roq_decode_init()
188 av_frame_free(&s->current_frame); in roq_decode_init()
206 int copy = !s->current_frame->data[0] && s->last_frame->data[0]; in roq_decode_frame()
209 if ((ret = ff_reget_buffer(avctx, s->current_frame, 0)) < 0) in roq_decode_frame()
213 ret = av_frame_copy(s->current_frame, s->last_frame); in roq_decode_frame()
221 if ((ret = av_frame_ref(data, s->current_frame)) < 0) in roq_decode_frame()
226 FFSWAP(AVFrame *, s->current_frame, s->last_frame); in roq_decode_frame()
235 av_frame_free(&s->current_frame); in roq_decode_end()
Dscpr.c415 ret = av_frame_copy(s->current_frame, s->last_frame); in decompress_p()
507 if ((ret = ff_reget_buffer(avctx, s->current_frame, 0)) < 0) in decode_frame()
519 ret = decompress_i(avctx, (uint32_t *)s->current_frame->data[0], in decode_frame()
520 s->current_frame->linesize[0] / 4); in decode_frame()
526 ret = decompress_i(avctx, (uint32_t *)s->current_frame->data[0], in decode_frame()
527 s->current_frame->linesize[0] / 4); in decode_frame()
531 ret = decompress_i3(avctx, (uint32_t *)s->current_frame->data[0], in decode_frame()
532 s->current_frame->linesize[0] / 4); in decode_frame()
534 uint32_t clr, *dst = (uint32_t *)s->current_frame->data[0]; in decode_frame()
556 dst += s->current_frame->linesize[0] / 4; in decode_frame()
[all …]
Dvp3.c166 ThreadFrame current_frame; member
330 if (s->current_frame.f) in vp3_decode_flush()
331 ff_thread_release_buffer(avctx, &s->current_frame); in vp3_decode_flush()
346 av_frame_free(&s->current_frame.f); in vp3_decode_end()
1788 ptrdiff_t stride = s->current_frame.f->linesize[plane]; in apply_loop_filter()
1789 uint8_t *plane_data = s->current_frame.f->data[plane]; in apply_loop_filter()
1902 ff_thread_report_progress(&s->current_frame, in vp3_draw_horiz_band()
1919 offset[0] = s->current_frame.f->linesize[0] * y; in vp3_draw_horiz_band()
1920 offset[1] = s->current_frame.f->linesize[1] * cy; in vp3_draw_horiz_band()
1921 offset[2] = s->current_frame.f->linesize[2] * cy; in vp3_draw_horiz_band()
[all …]
Droqvideoenc.c423 enc->current_frame->data, x, in gather_data_for_subcel()
426 enc->current_frame->linesize, in gather_data_for_subcel()
486 enc->current_frame->data, in gather_data_for_cel()
490 enc->current_frame->linesize,8); in gather_data_for_cel()
949 FFSWAP(AVFrame *, enc->current_frame, enc->last_frame); in roq_encode_video()
965 av_frame_free(&enc->current_frame); in roq_encode_end()
1006 enc->current_frame = av_frame_alloc(); in roq_encode_init()
1007 if (!enc->last_frame || !enc->current_frame) { in roq_encode_init()
1089 if ((ret = ff_get_buffer(avctx, enc->current_frame, 0)) < 0 || in roq_encode_frame()
Dflashsv2enc.c88 uint8_t *current_frame; member
133 av_freep(&s->current_frame); in cleanup()
230 s->current_frame = av_mallocz(s->frame_size); in flashsv2_encode_init()
249 || !s->current_frame || !s->key_frame || !s->key_blocks in flashsv2_encode_init()
263 memcpy(s->key_frame, s->current_frame, s->frame_size); in new_key_frame()
619 compare_sl(s, b, src + possl, s->current_frame + pos, in mark_all_blocks()
650 … data = s->current_frame + s->image_width * 3 * s->block_height * row + s->block_width * col * 3; in encode_all_blocks()
Droqvideo.h49 AVFrame *current_frame; member
/third_party/ffmpeg/libavformat/
Dc93.c40 int current_frame; member
98 c93->current_frame = 0; in read_header()
115 c93->current_frame++; in read_packet()
134 if (c93->current_frame >= br->frames) { in read_packet()
139 c93->current_frame = 0; in read_packet()
142 if (c93->current_frame == 0) { in read_packet()
150 c93->frame_offsets[c93->current_frame], SEEK_SET); in read_packet()
181 if (c93->current_block == 0 && c93->current_frame == 0) { in read_packet()
Dpaf.c38 uint32_t current_frame; member
189 p->current_frame = 0; in read_header()
209 if (p->current_frame >= p->nb_frames) in read_packet()
227 count = (p->current_frame == 0) ? p->preload_count in read_packet()
228 : p->blocks_count_table[p->current_frame - 1]; in read_packet()
252 if (p->frames_offset_table[p->current_frame] >= p->video_size) in read_packet()
255 size = p->video_size - p->frames_offset_table[p->current_frame]; in read_packet()
262 memcpy(pkt->data, p->video_frame + p->frames_offset_table[p->current_frame], size); in read_packet()
265 p->current_frame++; in read_packet()
Dsierravmd.c55 unsigned int current_frame; member
258 vmd->current_frame = 0; in vmd_read_header()
277 if (vmd->current_frame >= vmd->frame_count) in vmd_read_packet()
280 frame = &vmd->frame_table[vmd->current_frame]; in vmd_read_packet()
307 vmd->current_frame++; in vmd_read_packet()
Dvapoursynth.c54 int current_frame; member
352 if (vs->current_frame >= info->numFrames) in read_packet_vs()
369 vsframe = vs->vsapi->getFrame(vs->current_frame, vs->outnode, vserr, sizeof(vserr)); in read_packet_vs()
451 pkt->pts = vs->current_frame; in read_packet_vs()
453 vs->current_frame++; in read_packet_vs()
468 vs->current_frame = FFMIN(FFMAX(0, ts), s->streams[0]->duration); in read_seek_vs()
Dxmv.c62 uint32_t current_frame; ///< The current frame within this video packet. member
285 xmv->video.current_frame = 0; in xmv_process_packet_header()
457 if ((xmv->video.current_frame + 1) < xmv->video.frame_count) in xmv_fetch_audio_packet()
553 if (xmv->video.current_frame == xmv->video.frame_count) { in xmv_read_packet()
572 xmv->video.current_frame = xmv->video.frame_count; in xmv_read_packet()
580 xmv->video.current_frame += 1; in xmv_read_packet()
/third_party/python/Lib/
Dpickle.py207 self.current_frame = None
210 self.current_frame = io.BytesIO()
213 if self.current_frame and self.current_frame.tell() > 0:
215 self.current_frame = None
218 if self.current_frame:
219 f = self.current_frame
239 self.current_frame = io.BytesIO()
242 if self.current_frame:
243 return self.current_frame.write(data)
249 if self.current_frame:
[all …]
/third_party/gstreamer/gstplugins_good/ext/libpng/
Dgstpngdec.c153 pngdec->current_frame); in user_info_callback()
185 if (new_row && GST_IS_BUFFER (pngdec->current_frame->output_buffer)) { in user_endrow_callback()
187 GstBuffer *buffer = pngdec->current_frame->output_buffer; in user_endrow_callback()
201 pngdec->current_frame->output_buffer, offset); in user_endrow_callback()
218 if (!pngdec->current_frame->output_buffer) in user_end_callback()
221 gst_buffer_unmap (pngdec->current_frame->input_buffer, in user_end_callback()
226 pngdec->current_frame); in user_end_callback()
418 pngdec->current_frame = frame; in gst_pngdec_handle_frame()
440 gst_buffer_unmap (pngdec->current_frame->input_buffer, in gst_pngdec_handle_frame()
Dgstpngdec.h48 GstVideoCodecFrame *current_frame; member
/third_party/ffmpeg/libavdevice/
Dlibdc1394.c41 int current_frame; member
154 dc1394->current_frame = 0; in dc1394_read_common()
259 if (dc1394->current_frame++) { in dc1394_read_packet()
261 av_log(c, AV_LOG_ERROR, "failed to release %d frame\n", dc1394->current_frame); in dc1394_read_packet()
268 pkt->pts = dc1394->current_frame * 1000000 / dc1394->frame_rate; in dc1394_read_packet()
Davfoundation.m131 CMSampleBufferRef current_frame; field
230 if (_context->current_frame != nil) {
231 CFRelease(_context->current_frame);
234 _context->current_frame = (CMSampleBufferRef)CFRetain(videoFrame);
307 if (ctx->current_frame) {
308 CFRelease(ctx->current_frame);
647 image_buffer = CMSampleBufferGetImageBuffer(ctx->current_frame);
648 block_buffer = CMSampleBufferGetDataBuffer(ctx->current_frame);
664 CFRelease(ctx->current_frame);
665 ctx->current_frame = nil;
[all …]
/third_party/flutter/glfw/tests/
Dcursor.c198 GLFWcursor* current_frame = NULL; in main() local
283 if (current_frame != star_cursors[i]) in main()
286 current_frame = star_cursors[i]; in main()
290 current_frame = NULL; in main()
/third_party/ffmpeg/libavfilter/
Dvf_zoompan.c97 int current_frame; member
231 s->current_frame++; in output_single_frame()
233 if (s->current_frame >= s->nb_frames) { in output_single_frame()
242 s->current_frame = 0; in output_single_frame()
267 ret = output_single_frame(ctx, s->in, s->var_values, s->current_frame, in activate()
306 ret = output_single_frame(ctx, s->in, s->var_values, s->current_frame, in activate()
Df_loop.c40 int current_frame; member
330 AVFrame *out = av_frame_clone(s->frames[s->current_frame]); in push_frame()
341 s->current_frame++; in push_frame()
343 if (s->current_frame >= s->nb_frames) { in push_frame()
345 s->current_frame = 0; in push_frame()
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dgstjpegenc.c283 gst_buffer_copy_into (outbuf, jpegenc->current_frame->input_buffer, in gst_jpegenc_term_destination()
288 jpegenc->current_frame->output_buffer = outbuf; in gst_jpegenc_term_destination()
292 GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (jpegenc->current_frame); in gst_jpegenc_term_destination()
295 jpegenc->current_frame); in gst_jpegenc_term_destination()
296 jpegenc->current_frame = NULL; in gst_jpegenc_term_destination()
472 jpegenc->current_frame = frame; in gst_jpegenc_handle_frame()
Dgstjpegdec.h74 GstVideoCodecFrame *current_frame; member
Dgstjpegenc.h58 GstVideoCodecFrame *current_frame; member
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideodecoder.c324 GstVideoCodecFrame *current_frame; member
893 if (priv->current_frame == NULL) in gst_video_decoder_parse_available()
894 priv->current_frame = gst_video_decoder_new_frame (dec); in gst_video_decoder_parse_available()
897 ret = decoder_class->parse (dec, priv->current_frame, in gst_video_decoder_parse_available()
910 if (!priv->current_frame || available != was_available) in gst_video_decoder_parse_available()
1995 if (priv->current_frame) { in gst_video_decoder_reset()
1996 gst_video_codec_frame_unref (priv->current_frame); in gst_video_decoder_reset()
1997 priv->current_frame = NULL; in gst_video_decoder_reset()
2109 if (priv->current_frame == NULL) in gst_video_decoder_chain_forward()
2110 priv->current_frame = gst_video_decoder_new_frame (decoder); in gst_video_decoder_chain_forward()
[all …]

12