Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavcodec/
Dopusdec.c175 int samples = s->packet.frame_duration; in opus_decode_frame()
202 (uint8_t**)s->cur_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->cur_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.c39 float frame_duration; member
266 frame_size = opus->opts.frame_duration * 48000 / 1000; in libopus_encode_init()
298 opus->opts.frame_duration); in libopus_encode_init()
553 …{ "frame_duration", "Duration of a frame in milliseconds", OFFSET(frame_duration), AV_OPT_TYPE_FLO…
Dopus.h96 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/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/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbaseaudiopayload.h57 gint frame_duration; member
89 … gint frame_duration, gint frame_size);
Dgstrtpbaseaudiopayload.c205 payload->frame_duration = 0; in gst_rtp_base_audio_payload_init()
325 * rtpbaseaudiopayload, gint frame_duration, gint frame_size) in gst_rtp_base_audio_payload_set_frame_options() argument
333 rtpbaseaudiopayload->frame_duration = frame_duration; in gst_rtp_base_audio_payload_set_frame_options()
334 priv->frame_duration_ns = frame_duration * GST_MSECOND; in gst_rtp_base_audio_payload_set_frame_options()
341 frame_duration, frame_size); in gst_rtp_base_audio_payload_set_frame_options()
/third_party/gstreamer/gstplugins_bad/ext/opus/
Dgstopusparse.c287 gint64 frame_duration; in packet_duration_opus() local
296 frame_duration = durations[toc >> 3] * 1000; in packet_duration_opus()
316 duration = nframes * frame_duration; in packet_duration_opus()
322 frame_duration / 1000000.f, nframes, duration / 1000000.f); in packet_duration_opus()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpsbcpay.c129 sbcpay->frame_duration = ((blocks * subbands) * GST_SECOND) / rate; in gst_rtp_sbc_pay_set_caps()
190 GST_BUFFER_DURATION (outbuf) = frame_count * sbcpay->frame_duration; in gst_rtp_sbc_pay_drain_buffers()
194 sbcpay->last_timestamp += frame_count * sbcpay->frame_duration; in gst_rtp_sbc_pay_drain_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/gst/monoscope/
Dgstmonoscope.c205 monoscope->frame_duration = gst_util_uint64_scale_int (GST_SECOND, in gst_monoscope_src_setcaps()
446 GST_BUFFER_DURATION (outbuf) = monoscope->frame_duration; in gst_monoscope_chain()
455 monoscope->next_ts += monoscope->frame_duration; in gst_monoscope_chain()
537 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/ext/speex/
Dgstspeexdec.h51 GstClockTime frame_duration; member
Dgstspeexdec.c136 dec->frame_duration = 0; in gst_speex_dec_reset()
237 dec->frame_duration = gst_util_uint64_scale_int (dec->frame_size, in gst_speex_dec_parse_header()
376 if (!dec->frame_duration) in gst_speex_dec_parse_data()
/third_party/gstreamer/gstplugins_good/gst/shapewipe/
Dgstshapewipe.h69 GstClockTime frame_duration; member
Dgstshapewipe.c285 self->frame_duration = 0; in gst_shape_wipe_reset()
310 self->frame_duration = in gst_shape_wipe_video_sink_setcaps()
313 self->frame_duration = 0; in gst_shape_wipe_video_sink_setcaps()
698 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/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dgstaudiovisualizer.c124 guint64 frame_duration; member
615 scope->priv->frame_duration = GST_CLOCK_TIME_NONE; in gst_audio_visualizer_init()
748 scope->priv->frame_duration = gst_util_uint64_scale_int (GST_SECOND, in gst_audio_visualizer_src_setcaps()
1118 GST_FORMAT_TIME, ts) + scope->priv->frame_duration; in gst_audio_visualizer_chain()
1165 GST_BUFFER_DURATION (outbuf) = scope->priv->frame_duration; in gst_audio_visualizer_chain()
1268 scope->priv->frame_duration; in gst_audio_visualizer_src_event()
/third_party/ffmpeg/libavdevice/
Dxcbgrab.c61 int64_t frame_duration; member
206 c->time_frame += c->frame_duration; in wait_frame()
474 pkt->duration = c->frame_duration; in xcbgrab_read_packet()
616 c->frame_duration = av_rescale_q(1, c->time_base, AV_TIME_BASE_Q); in create_stream()
/third_party/gstreamer/gstplugins_base/ext/opus/
Dgstopusdec.c452 gint64 frame_duration; in packet_duration_opus() local
465 frame_duration = durations[toc >> 3]; in packet_duration_opus()
485 duration = nframes * frame_duration; in packet_duration_opus()
491 frame_duration / 48.f, nframes, duration / 48.f); in packet_duration_opus()
/third_party/gstreamer/gstplugins_base/ext/ogg/
Dgstoggstream.c2154 gint64 frame_duration; in packet_duration_opus() local
2167 frame_duration = durations[toc >> 3]; in packet_duration_opus()
2187 duration = nframes * frame_duration; in packet_duration_opus()
2193 frame_duration / 48.f, nframes, duration / 48.f); in packet_duration_opus()
2220 guint frame_duration; in setup_daala_mapper() local
2236 frame_duration = GST_READ_UINT32_LE (data + 33); in setup_daala_mapper()
2239 pad->granulerate_n, pad->granulerate_d, frame_duration, par_n, par_d, w, in setup_daala_mapper()
/third_party/gstreamer/gstplugins_base/gst/videorate/
Dgstvideorate.c1553 GstClockTime frame_duration = gst_util_uint64_scale (1, in gst_video_rate_transform_ip() local
1560 if (videorate->next_ts > frame_duration) in gst_video_rate_transform_ip()
1563 videorate->next_ts - frame_duration); in gst_video_rate_transform_ip()
1675 GstClockTime frame_duration = gst_util_uint64_scale (1, in gst_video_rate_transform_ip() local
1678 next_end_ts = next_ts + frame_duration; in gst_video_rate_transform_ip()
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dvtdec.c1201 GstClockTime frame_duration; in gst_vtdec_set_latency() local
1209 frame_duration = gst_util_uint64_scale (GST_SECOND, in gst_vtdec_set_latency()
1211 latency = frame_duration * vtdec->reorder_queue_length; in gst_vtdec_set_latency()
Dvtenc.c1454 GstClockTime frame_duration; in gst_vtenc_update_latency() local
1476 frame_duration = gst_util_uint64_scale (GST_SECOND, 1, 25); in gst_vtenc_update_latency()
1478 frame_duration = gst_util_uint64_scale (GST_SECOND, in gst_vtenc_update_latency()
1481 latency = frame_duration * frames; in gst_vtenc_update_latency()

12