Home
last modified time | relevance | path

Searched refs:current_frame (Results 1 – 25 of 48) 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
202 dst = c->frame[c->current_frame]; in decode_0()
203 dend = c->frame[c->current_frame] + c->frame_size; in decode_0()
226 dst = c->frame[c->current_frame]; in decode_0()
297 c->current_frame = 0; in paf_video_decode()
332 c->dirty[c->current_frame] = 1; in paf_video_decode()
350 dst = c->frame[c->current_frame]; in paf_video_decode()
364 if (frame != c->current_frame) in paf_video_decode()
365 memcpy(c->frame[c->current_frame], c->frame[frame], c->frame_size); in paf_video_decode()
369 dst = c->frame[c->current_frame]; in paf_video_decode()
[all …]
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 …]
Droqvideodec.c183 s->current_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()
204 if ((ret = ff_reget_buffer(avctx, s->current_frame, 0)) < 0) in roq_decode_frame()
208 ret = av_frame_copy(s->current_frame, s->last_frame); in roq_decode_frame()
216 if ((ret = av_frame_ref(data, s->current_frame)) < 0) in roq_decode_frame()
221 FFSWAP(AVFrame *, s->current_frame, s->last_frame); in roq_decode_frame()
230 av_frame_free(&s->current_frame); in roq_decode_end()
Dvp3.c180 ThreadFrame current_frame; member
338 if (s->current_frame.f) in vp3_decode_flush()
339 ff_thread_release_buffer(avctx, &s->current_frame); in vp3_decode_flush()
354 av_frame_free(&s->current_frame.f); in vp3_decode_end()
1801 ptrdiff_t stride = s->current_frame.f->linesize[plane]; in apply_loop_filter()
1802 uint8_t *plane_data = s->current_frame.f->data[plane]; in apply_loop_filter()
1915 ff_thread_report_progress(&s->current_frame, in vp3_draw_horiz_band()
1932 offset[0] = s->current_frame.f->linesize[0] * y; in vp3_draw_horiz_band()
1933 offset[1] = s->current_frame.f->linesize[1] * cy; in vp3_draw_horiz_band()
1934 offset[2] = s->current_frame.f->linesize[2] * cy; in vp3_draw_horiz_band()
[all …]
Droqvideoenc.c451 roq->current_frame->data, x, in gather_data_for_subcel()
454 roq->current_frame->linesize, in gather_data_for_subcel()
515 roq->current_frame->data, in gather_data_for_cel()
519 roq->current_frame->linesize,8); in gather_data_for_cel()
944 FFSWAP(AVFrame *, roq->current_frame, roq->last_frame); in roq_encode_video()
957 av_frame_free(&enc->common.current_frame); in roq_encode_end()
1000 roq->current_frame = av_frame_alloc(); in roq_encode_init()
1001 if (!roq->last_frame || !roq->current_frame) in roq_encode_init()
1085 if ((ret = ff_get_buffer(avctx, roq->current_frame, 0)) < 0 || in roq_encode_frame()
Dflashsv2enc.c88 uint8_t *current_frame; member
133 av_freep(&s->current_frame); in cleanup()
247 s->current_frame = av_mallocz(s->frame_size); in flashsv2_encode_init()
250 || !s->current_frame || !s->key_frame) { in flashsv2_encode_init()
270 memcpy(s->key_frame, s->current_frame, s->frame_size); in new_key_frame()
626 compare_sl(s, b, src + possl, s->current_frame + pos, in mark_all_blocks()
657 … data = s->current_frame + s->image_width * 3 * s->block_height * row + s->block_width * col * 3; in encode_all_blocks()
/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
193 p->current_frame = 0; in read_header()
213 if (p->current_frame >= p->nb_frames) in read_packet()
231 count = (p->current_frame == 0) ? p->preload_count in read_packet()
232 : p->blocks_count_table[p->current_frame - 1]; in read_packet()
256 if (p->frames_offset_table[p->current_frame] >= p->video_size) in read_packet()
259 size = p->video_size - p->frames_offset_table[p->current_frame]; in read_packet()
266 memcpy(pkt->data, p->video_frame + p->frames_offset_table[p->current_frame], size); in read_packet()
269 p->current_frame++; in read_packet()
Dsierravmd.c55 unsigned int current_frame; member
262 vmd->current_frame = 0; in vmd_read_header()
281 if (vmd->current_frame >= vmd->frame_count) in vmd_read_packet()
284 frame = &vmd->frame_table[vmd->current_frame]; in vmd_read_packet()
311 vmd->current_frame++; in vmd_read_packet()
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()
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()
/third_party/libinput/tools/
Dlibinput-analyze-recording.py124 current_frame = {} # {evdev-code: value}
139 current_frame[e.code] = e.value
143 s = format_value(a, current_frame[a]) if a in current_frame else " "
145 current_frame = {}
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/
Dgstav1decoder.c45 GstVideoCodecFrame *current_frame; member
114 priv->current_frame = NULL; in gst_av1_decoder_reset()
349 g_assert (priv->current_frame); in gst_av1_decoder_decode_frame_header()
381 picture->system_frame_number = priv->current_frame->system_frame_number; in gst_av1_decoder_decode_frame_header()
393 picture->system_frame_number = priv->current_frame->system_frame_number; in gst_av1_decoder_decode_frame_header()
396 GST_VIDEO_CODEC_FRAME_FLAG_SET (priv->current_frame, in gst_av1_decoder_decode_frame_header()
400 ret = klass->new_picture (self, priv->current_frame, picture); in gst_av1_decoder_decode_frame_header()
570 priv->current_frame = frame; in gst_av1_decoder_handle_frame()
574 priv->current_frame = NULL; in gst_av1_decoder_handle_frame()
648 priv->current_frame = NULL; in gst_av1_decoder_handle_frame()
Dgstmpeg2decoder.c262 GstVideoCodecFrame *current_frame; member
731 _pts_sync (&priv->tsg, priv->current_frame->pts); in gst_mpeg2_decoder_handle_gop()
823 GST_VIDEO_CODEC_FRAME_FLAG_SET (priv->current_frame, in gst_mpeg2_decoder_start_current_picture()
864 ret = klass->new_picture (decoder, priv->current_frame, picture); in gst_mpeg2_decoder_ensure_current_picture()
877 ret = klass->new_picture (decoder, priv->current_frame, picture); in gst_mpeg2_decoder_ensure_current_picture()
911 picture->system_frame_number = priv->current_frame->system_frame_number; in gst_mpeg2_decoder_ensure_current_picture()
915 _pts_eval (&priv->tsg, priv->current_frame->pts, picture->tsn); in gst_mpeg2_decoder_ensure_current_picture()
1160 priv->current_frame->pts = priv->current_pts; in gst_mpeg2_decoder_output_current_picture()
1217 priv->current_frame = frame; in gst_mpeg2_decoder_handle_frame()
1264 gst_video_codec_frame_unref (priv->current_frame); in gst_mpeg2_decoder_handle_frame()
[all …]
/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.c156 pngdec->current_frame); in user_info_callback()
188 if (new_row && GST_IS_BUFFER (pngdec->current_frame->output_buffer)) { in user_endrow_callback()
190 GstBuffer *buffer = pngdec->current_frame->output_buffer; in user_endrow_callback()
204 pngdec->current_frame->output_buffer, offset); in user_endrow_callback()
221 if (!pngdec->current_frame->output_buffer) in user_end_callback()
224 gst_buffer_unmap (pngdec->current_frame->input_buffer, in user_end_callback()
229 pngdec->current_frame); in user_end_callback()
421 pngdec->current_frame = frame; in gst_pngdec_handle_frame()
443 gst_buffer_unmap (pngdec->current_frame->input_buffer, in gst_pngdec_handle_frame()
/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/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideodecoder.c382 GstVideoCodecFrame *current_frame; member
1199 if (priv->current_frame == NULL) in gst_video_decoder_parse_available()
1200 priv->current_frame = gst_video_decoder_new_frame (dec); in gst_video_decoder_parse_available()
1203 ret = decoder_class->parse (dec, priv->current_frame, in gst_video_decoder_parse_available()
1216 if (!priv->current_frame || available != was_available) in gst_video_decoder_parse_available()
2417 if (priv->current_frame) { in gst_video_decoder_reset()
2418 gst_video_codec_frame_unref (priv->current_frame); in gst_video_decoder_reset()
2419 priv->current_frame = NULL; in gst_video_decoder_reset()
2531 if (priv->current_frame == NULL) in gst_video_decoder_chain_forward()
2532 priv->current_frame = gst_video_decoder_new_frame (decoder); in gst_video_decoder_chain_forward()
[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.c99 int current_frame; member
237 s->current_frame++; in output_single_frame()
239 if (s->current_frame >= s->nb_frames) { in output_single_frame()
248 s->current_frame = 0; in output_single_frame()
273 ret = output_single_frame(ctx, s->in, s->var_values, s->current_frame, in activate()
312 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.c289 jpegenc->current_frame->output_buffer = outbuf; in gst_jpegenc_term_destination()
293 GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (jpegenc->current_frame); in gst_jpegenc_term_destination()
296 jpegenc->current_frame); in gst_jpegenc_term_destination()
297 jpegenc->current_frame = NULL; in gst_jpegenc_term_destination()
473 jpegenc->current_frame = frame; in gst_jpegenc_handle_frame()
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c160 size_t current_frame = 0; in jerry_debugger_send_backtrace() local
183 if (current_frame >= max_frame_count) in jerry_debugger_send_backtrace()
189 current_frame = 0; in jerry_debugger_send_backtrace()
192 jerry_debugger_frame_t *frame_p = backtrace_p->frames + current_frame; in jerry_debugger_send_backtrace()
202 current_frame++; in jerry_debugger_send_backtrace()
206 size_t message_size = current_frame * sizeof (jerry_debugger_frame_t); in jerry_debugger_send_backtrace()

12