Home
last modified time | relevance | path

Searched refs:max_frames (Results 1 – 18 of 18) sorted by relevance

/third_party/ffmpeg/tools/
Dvenc_data_dump.c32 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/
Dac3dec.c30 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()
Dloasdec.c32 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()
Daacdec.c36 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()
Dmp3dec.c69 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/
Dvsrc_mptestsrc.c57 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/
Dgstsbcparse.c195 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/
Dopusenc.c624 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()
Dlibsvtav1.c361 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/
Dpcm_share.c142 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/
Dffmpeg.h170 SpecifierOpt *max_frames; member
477 int64_t max_frames; member
Dffmpeg_opt.c1535 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) },
Dffmpeg.c744 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/
Dusb_generic.c1493 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()
Dusb_ioctl.h223 uint32_t max_frames; /* read and write */ member
/third_party/pulseaudio/src/modules/alsa/
Dalsa-util.c338 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/
Dgsttypefindfunctions.c1126 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/
Dfilters.texi23997 @item max_frames, m