/third_party/ffmpeg/tools/ |
D | venc_data_dump.c | 32 static int decode_read(AVCodecContext *decoder, AVFrame *frame, int flush, int max_frames) in decode_read() argument 38 (max_frames == 0 || decoder->frame_number < max_frames)) { in decode_read() 72 if (max_frames && decoder->frame_number == max_frames) in decode_read() 76 return (max_frames == 0 || decoder->frame_number < max_frames) ? 0 : 1; in decode_read() 112 unsigned int stream_idx, max_frames; in main() local 123 max_frames = strtol(argv[3], NULL, 0); in main() 168 ret = decode_read(decoder, frame, 0, max_frames); in main() 180 ret = decode_read(decoder, frame, 1, max_frames); in main()
|
/third_party/ffmpeg/libavformat/ |
D | ac3dec.c | 30 int max_frames, first_frames = 0, frames; in ac3_eac3_probe() local 34 max_frames = 0; in ac3_eac3_probe() 85 max_frames = FFMAX(max_frames, frames); in ac3_eac3_probe() 93 else if(max_frames>200)return AVPROBE_SCORE_EXTENSION; in ac3_eac3_probe() 94 else if(max_frames>=4) return AVPROBE_SCORE_EXTENSION/2; in ac3_eac3_probe() 95 else if(max_frames>=1) return 1; in ac3_eac3_probe()
|
D | loasdec.c | 32 int max_frames = 0, first_frames = 0; in loas_probe() local 53 max_frames = FFMAX(max_frames, frames); in loas_probe() 60 else if (max_frames > 100) in loas_probe() 62 else if (max_frames >= 3) in loas_probe()
|
D | aacdec.c | 36 int max_frames = 0, first_frames = 0; in adts_aac_probe() local 66 max_frames = FFMAX(max_frames, frames); in adts_aac_probe() 73 else if (max_frames > 100) in adts_aac_probe() 75 else if (max_frames >= 3) in adts_aac_probe()
|
D | mp3dec.c | 69 int max_frames, first_frames = 0; in mp3_read_probe() local 81 max_frames = 0; in mp3_read_probe() 111 max_frames = FFMAX(max_frames, frames); in mp3_read_probe() 122 else if (max_frames>200 && p->buf_size < 2*max_framesizes)return AVPROBE_SCORE_EXTENSION; in mp3_read_probe() 123 else if (max_frames>=4 && p->buf_size < 2*max_framesizes) return AVPROBE_SCORE_EXTENSION / 2; in mp3_read_probe() 127 else if (max_frames>=1 && p->buf_size < 10*max_framesizes) return 1; in mp3_read_probe()
|
/third_party/ffmpeg/libavfilter/ |
D | vsrc_mptestsrc.c | 57 int64_t max_frames; member 83 { "max_frames", "Set the maximum number of frames generated for each test", OFFSET(max_frames), 85 { "m", "Set the maximum number of frames generated for each test", OFFSET(max_frames), 311 uint64_t frame = outlink->frame_count_in / test->max_frames; in request_frame() 312 uint64_t mod = outlink->frame_count_in % test->max_frames; in request_frame()
|
/third_party/gstreamer/gstplugins_good/gst/audioparsers/ |
D | gstsbcparse.c | 195 gint i, max_frames; in gst_sbc_parse_handle_frame() local 254 max_frames = MIN (map.size / frame_len, n_blocks * n_subbands * 5); in gst_sbc_parse_handle_frame() 255 GST_LOG_OBJECT (sbcparse, "parsing up to %d frames", max_frames); in gst_sbc_parse_handle_frame() 257 for (i = 1; i < max_frames; ++i) { in gst_sbc_parse_handle_frame()
|
/third_party/ffmpeg/libavcodec/ |
D | opusenc.c | 624 int ret, max_frames; in opus_encode_init() local 682 max_frames = ceilf(FFMIN(s->options.max_delay_ms, 120.0f)/2.5f); in opus_encode_init() 683 s->frame = av_malloc(max_frames*sizeof(CeltFrame)); in opus_encode_init() 686 s->rc = av_malloc(max_frames*sizeof(OpusRangeCoder)); in opus_encode_init() 690 for (int i = 0; i < max_frames; i++) { in opus_encode_init()
|
D | libsvtav1.c | 361 const int max_frames = 8; in get_output_ref() local 364 if (filled_len > svt_enc->raw_size * max_frames) { in get_output_ref() 365 av_log(avctx, AV_LOG_ERROR, "TU size > %d raw frame size.\n", max_frames); in get_output_ref()
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_share.c | 142 snd_pcm_sframes_t min_frames, max_frames; in _snd_pcm_share_slave_forward() local 148 max_frames = 0; in _snd_pcm_share_slave_forward() 164 if (frames > max_frames) in _snd_pcm_share_slave_forward() 165 max_frames = frames; in _snd_pcm_share_slave_forward() 171 if (max_frames == 0) in _snd_pcm_share_slave_forward() 180 if (max_frames < safety_frames) in _snd_pcm_share_slave_forward() 181 frames = max_frames; in _snd_pcm_share_slave_forward()
|
/third_party/ffmpeg/fftools/ |
D | ffmpeg.h | 170 SpecifierOpt *max_frames; member 477 int64_t max_frames; member
|
D | ffmpeg_opt.c | 1535 ost->max_frames = INT64_MAX; in new_output_stream() 1536 MATCH_PER_STREAM_OPT(max_frames, i64, ost->max_frames, oc, st); in new_output_stream() 1538 char *p = o->max_frames[i].specifier; in new_output_stream() 3554 { "frames", OPT_INT64 | HAS_ARG | OPT_SPEC | OPT_OUTPUT, { .off = OFFSET(max_frames) },
|
D | ffmpeg.c | 744 if (ost->frame_number >= ost->max_frames) { in write_packet() 1262 nb_frames = FFMIN(nb_frames, ost->max_frames - ost->frame_number); in do_video_out() 3923 if (ost->frame_number >= ost->max_frames) { in need_output()
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_generic.c | 1493 if (u.popen->max_frames & USB_FS_MAX_FRAMES_PRE_SCALE) { in ugen_ioctl() 1495 u.popen->max_frames &= ~USB_FS_MAX_FRAMES_PRE_SCALE; in ugen_ioctl() 1499 if (u.popen->max_frames > USB_FS_MAX_FRAMES) { in ugen_ioctl() 1500 u.popen->max_frames = USB_FS_MAX_FRAMES; in ugen_ioctl() 1504 if (u.popen->max_frames == 0) { in ugen_ioctl() 1531 usb_config[0].frames = u.popen->max_frames; in ugen_ioctl() 1579 u.popen->max_frames = in ugen_ioctl()
|
D | usb_ioctl.h | 223 uint32_t max_frames; /* read and write */ member
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-util.c | 338 snd_pcm_uframes_t max_frames = 0; in pa_alsa_set_hw_params() local 340 if ((ret = snd_pcm_hw_params_get_buffer_size_max(hwparams, &max_frames)) < 0) in pa_alsa_set_hw_params() 343 …pa_log_debug("Maximum hw buffer size is %lu ms", (long unsigned) (max_frames * PA_MSEC_PER_SEC / _… in pa_alsa_set_hw_params()
|
/third_party/gstreamer/gstplugins_base/gst/typefind/ |
D | gsttypefindfunctions.c | 1126 gint max_frames) in aac_type_find_scan_loas_frames_ep() argument 1159 } while (count < max_frames && (c.offset - scan_ctx->offset) < 64 * 1024); in aac_type_find_scan_loas_frames_ep() 1167 gint max_frames) in aac_type_find_scan_loas_frames() argument 1201 } while (count < max_frames && (c.offset - scan_ctx->offset) < 64 * 1024); in aac_type_find_scan_loas_frames()
|
/third_party/ffmpeg/doc/ |
D | filters.texi | 23997 @item max_frames, m
|