Home
last modified time | relevance | path

Searched refs:frame_duration (Results 1 – 25 of 43) sorted by relevance

12

/third_party/flutter/skia/tools/
Dskottie2movie.cpp35 double frame_time, double frame_duration, double motion_radius, in produce_frame() argument
37 double samples_duration = frame_duration * motion_radius * 2; in produce_frame()
110 const double frame_duration = 1.0 / fps; in main() local
114 dim.width(), dim.height(), duration, fps, frame_duration); in main()
142 … produce_frame(surf.get(), tmp_surf.get(), animation.get(), frame_time, frame_duration, in main()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbaseaudiopayload.h57 gint frame_duration; member
89 … gint frame_duration, gint frame_size);
Dgstrtpbaseaudiopayload.c199 payload->frame_duration = 0; in gst_rtp_base_audio_payload_init()
319 * rtpbaseaudiopayload, gint frame_duration, gint frame_size) in gst_rtp_base_audio_payload_set_frame_options() argument
327 rtpbaseaudiopayload->frame_duration = frame_duration; in gst_rtp_base_audio_payload_set_frame_options()
328 priv->frame_duration_ns = frame_duration * GST_MSECOND; in gst_rtp_base_audio_payload_set_frame_options()
335 frame_duration, frame_size); in gst_rtp_base_audio_payload_set_frame_options()
/third_party/skia/third_party/externals/libwebp/examples/
Dgif2webp.c106 int frame_duration = 0; in main() local
365 if (frame_duration <= 10) { in main()
366 frame_duration = 100; in main()
370 frame_timestamp += frame_duration; in main()
376 frame_duration = 0; in main()
393 if (!GIFReadGraphicsExtension(data, &frame_duration, &orig_dispose, in main()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dgif2webp.c106 int frame_duration = 0; in main() local
365 if (frame_duration <= 10) { in main()
366 frame_duration = 100; in main()
370 frame_timestamp += frame_duration; in main()
376 frame_duration = 0; in main()
393 if (!GIFReadGraphicsExtension(data, &frame_duration, &orig_dispose, in main()
/third_party/ffmpeg/libavcodec/
Dopusdec.c175 int samples = s->packet.frame_duration; in opus_decode_frame()
202 (uint8_t**)s->out, s->packet.frame_duration, in opus_decode_frame()
209 s->delayed_samples += s->packet.frame_duration - samples; in opus_decode_frame()
272 s->packet.frame_duration, in opus_decode_frame()
279 int celt_delay = s->packet.frame_duration - celt_output_samples; in opus_decode_frame()
397 memset(s->out[j], 0, s->packet.frame_duration * sizeof(float)); in opus_decode_subpacket()
398 samples = s->packet.frame_duration; in opus_decode_subpacket()
443 coded_samples += pkt->frame_count * pkt->frame_duration; in opus_decode_packet()
509 if (coded_samples != s->packet.frame_count * s->packet.frame_duration) { in opus_decode_packet()
Dlibopusenc.c38 float frame_duration; member
258 frame_size = opus->opts.frame_duration * 48000 / 1000; in libopus_encode_init()
290 opus->opts.frame_duration); in libopus_encode_init()
545 …{ "frame_duration", "Duration of a frame in milliseconds", OFFSET(frame_duration), AV_OPT_TYPE_FLO…
Dopus.h95 int frame_duration; /**< frame duration, in samples @ 48kHz */ member
Dopus_parser.c145 ctx->duration = s->pkt.frame_count * s->pkt.frame_duration; in opus_find_frame_end()
/third_party/gstreamer/gstplugins_bad/ext/opus/
Dgstopusparse.c282 gint64 frame_duration; in packet_duration_opus() local
291 frame_duration = durations[toc >> 3] * 1000; in packet_duration_opus()
311 duration = nframes * frame_duration; in packet_duration_opus()
317 frame_duration / 1000000.f, nframes, duration / 1000000.f); in packet_duration_opus()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpsbcpay.c160 sbcpay->frame_duration = ((blocks * subbands) * GST_SECOND) / rate; in gst_rtp_sbc_pay_set_caps()
221 GST_BUFFER_DURATION (outbuf) = frame_count * sbcpay->frame_duration; in gst_rtp_sbc_pay_flush_buffers()
225 sbcpay->last_timestamp += frame_count * sbcpay->frame_duration; in gst_rtp_sbc_pay_flush_buffers()
Dgstrtpsbcpay.h52 GstClockTime frame_duration; member
/third_party/skia/tools/
Dskottie2movie.cpp87 const double frame_duration = 1.0 / fps; in main() local
91 dim.width(), dim.height(), duration, fps, frame_duration); in main()
/third_party/gstreamer/gstplugins_good/ext/speex/
Dgstspeexdec.h61 GstClockTime frame_duration; member
Dgstspeexdec.c134 dec->frame_duration = 0; in gst_speex_dec_reset()
235 dec->frame_duration = gst_util_uint64_scale_int (dec->frame_size, in gst_speex_dec_parse_header()
374 if (!dec->frame_duration) in gst_speex_dec_parse_data()
/third_party/gstreamer/gstplugins_good/gst/monoscope/
Dgstmonoscope.c201 monoscope->frame_duration = gst_util_uint64_scale_int (GST_SECOND, in gst_monoscope_src_setcaps()
442 GST_BUFFER_DURATION (outbuf) = monoscope->frame_duration; in gst_monoscope_chain()
451 monoscope->next_ts += monoscope->frame_duration; in gst_monoscope_chain()
533 timestamp + 2 * diff + monoscope->frame_duration; in gst_monoscope_src_event()
Dgstmonoscope.h50 guint64 frame_duration; /* video frame duration */ member
/third_party/gstreamer/gstplugins_good/gst/shapewipe/
Dgstshapewipe.h69 GstClockTime frame_duration; member
Dgstshapewipe.c282 self->frame_duration = 0; in gst_shape_wipe_reset()
307 self->frame_duration = in gst_shape_wipe_video_sink_setcaps()
310 self->frame_duration = 0; in gst_shape_wipe_video_sink_setcaps()
695 self->earliest_time = timestamp + 2 * diff + self->frame_duration; in gst_shape_wipe_update_qos()
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/
Dgstvc1parse.h82 GstClockTime frame_duration; member
/third_party/ffmpeg/libavdevice/
Dxcbgrab.c60 int64_t frame_duration; member
203 c->time_frame += c->frame_duration; in wait_frame()
446 pkt->duration = c->frame_duration; in xcbgrab_read_packet()
581 c->frame_duration = av_rescale_q(1, c->time_base, AV_TIME_BASE_Q); in create_stream()
Dpulse_audio_dec.c314 int frame_duration = read_length / frame_size; in pulse_read_packet() local
324 pd->last_period = frame_duration; in pulse_read_packet()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dgstaudiovisualizer.c124 guint64 frame_duration; member
611 scope->priv->frame_duration = GST_CLOCK_TIME_NONE; in gst_audio_visualizer_init()
744 scope->priv->frame_duration = gst_util_uint64_scale_int (GST_SECOND, in gst_audio_visualizer_src_setcaps()
1114 GST_FORMAT_TIME, ts) + scope->priv->frame_duration; in gst_audio_visualizer_chain()
1161 GST_BUFFER_DURATION (outbuf) = scope->priv->frame_duration; in gst_audio_visualizer_chain()
1264 scope->priv->frame_duration; in gst_audio_visualizer_src_event()
/third_party/gstreamer/gstplugins_base/ext/opus/
Dgstopusdec.c418 gint64 frame_duration; in packet_duration_opus() local
431 frame_duration = durations[toc >> 3]; in packet_duration_opus()
451 duration = nframes * frame_duration; in packet_duration_opus()
457 frame_duration / 48.f, nframes, duration / 48.f); in packet_duration_opus()
/third_party/gstreamer/gstplugins_base/gst/videorate/
Dgstvideorate.c1394 GstClockTime frame_duration = gst_util_uint64_scale (1, in gst_video_rate_transform_ip() local
1401 if (videorate->next_ts > frame_duration) in gst_video_rate_transform_ip()
1404 videorate->next_ts - frame_duration); in gst_video_rate_transform_ip()
1558 GstClockTime frame_duration = gst_util_uint64_scale (1, in gst_video_rate_transform_ip() local
1561 next_end_ts = MAX (next_ts + frame_duration, videorate->segment.stop); in gst_video_rate_transform_ip()

12