/third_party/ffmpeg/libavformat/ |
H A D | ac3dec.c | 32 int max_frames, first_frames = 0, frames; in ac3_eac3_probe() local 36 max_frames = 0; in ac3_eac3_probe() 87 max_frames = FFMAX(max_frames, frames); in ac3_eac3_probe() 95 else if(max_frames>200)return AVPROBE_SCORE_EXTENSION; in ac3_eac3_probe() 96 else if(max_frames>=4) return AVPROBE_SCORE_EXTENSION/2; in ac3_eac3_probe() 97 else if(max_frames>=1) return 1; in ac3_eac3_probe()
|
H A 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()
|
H A 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()
|
H A D | mp3dec.c | 68 int max_frames, first_frames = 0; in mp3_read_probe() local 80 max_frames = 0; in mp3_read_probe() 110 max_frames = FFMAX(max_frames, frames); in mp3_read_probe() 121 else if (max_frames>200 && p->buf_size < 2*max_framesizes)return AVPROBE_SCORE_EXTENSION; in mp3_read_probe() 122 else if (max_frames>=4 && p->buf_size < 2*max_framesizes) return AVPROBE_SCORE_EXTENSION / 2; in mp3_read_probe() 126 else if (max_frames>=1 && p->buf_size < 10*max_framesizes) return 1; in mp3_read_probe() 128 //mpegps_mp3_unrecognized_format.mpg has max_frames=3 in mp3_read_probe()
|
/third_party/ffmpeg/tools/ |
H A D | decode_simple.c | 41 (dc->max_frames == 0 || dc->decoder->frame_number < dc->max_frames)) { in decode_read() 58 if (dc->max_frames && dc->decoder->frame_number == dc->max_frames) in decode_read() 62 return (dc->max_frames == 0 || dc->decoder->frame_number < dc->max_frames) ? 0 : 1; in decode_read()
|
H A D | venc_data_dump.c | 73 unsigned int stream_idx, max_frames; in main() local 84 max_frames = strtol(argv[3], NULL, 0); in main() 95 dc.max_frames = max_frames; in main()
|
H A D | decode_simple.h | 45 int max_frames; member
|
/third_party/ffmpeg/libavfilter/ |
H A 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), 300 uint64_t frame = outlink->frame_count_in / test->max_frames; in request_frame() 301 uint64_t mod = outlink->frame_count_in % test->max_frames; in request_frame()
|
/third_party/ffmpeg/libavcodec/ |
H A D | opusenc.c | 630 int ret, max_frames; in opus_encode_init() local 688 max_frames = ceilf(FFMIN(s->options.max_delay_ms, 120.0f)/2.5f); in opus_encode_init() 689 s->frame = av_malloc(max_frames*sizeof(CeltFrame)); in opus_encode_init() 692 s->rc = av_malloc(max_frames*sizeof(OpusRangeCoder)); in opus_encode_init() 696 for (int i = 0; i < max_frames; i++) { in opus_encode_init()
|
H A D | libsvtav1.c | 462 const int max_frames = 8; in get_output_ref() local 465 if (filled_len > svt_enc->raw_size * max_frames) { in get_output_ref() 466 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/ |
H A 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/FreeBSD/sys/dev/usb/ |
H A D | usb_generic.c | 1432 if (u.popen->max_frames & USB_FS_MAX_FRAMES_PRE_SCALE) { in ugen_ioctl() 1434 u.popen->max_frames &= ~USB_FS_MAX_FRAMES_PRE_SCALE; in ugen_ioctl() 1438 if (u.popen->max_frames > USB_FS_MAX_FRAMES) { in ugen_ioctl() 1439 u.popen->max_frames = USB_FS_MAX_FRAMES; in ugen_ioctl() 1443 if (u.popen->max_frames == 0) { in ugen_ioctl() 1470 usb_config[0].frames = u.popen->max_frames; in ugen_ioctl() 1517 u.popen->max_frames = in ugen_ioctl()
|
H A D | usb_ioctl.h | 222 uint32_t max_frames; /* read and write */ member
|
/third_party/ffmpeg/fftools/ |
H A D | ffmpeg.h | 168 SpecifierOpt *max_frames; member 482 int64_t max_frames; member
|
H A D | ffmpeg_mux.c | 60 if (ost->frame_number >= ost->max_frames) { in of_write_packet()
|
H A D | ffmpeg_opt.c | 1641 ost->max_frames = INT64_MAX; in new_output_stream() 1642 MATCH_PER_STREAM_OPT(max_frames, i64, ost->max_frames, oc, st); in new_output_stream() 1644 char *p = o->max_frames[i].specifier; in new_output_stream() 3782 { "frames", OPT_INT64 | HAS_ARG | OPT_SPEC | OPT_OUTPUT, { .off = OFFSET(max_frames) },
|
H A D | ffmpeg.c | 1180 nb_frames = FFMIN(nb_frames, ost->max_frames - ost->frame_number); in do_video_out() 3470 if (ost->frame_number >= ost->max_frames) { in need_output()
|
/third_party/pulseaudio/src/modules/alsa/ |
H A 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 / _ss.rate)); in pa_alsa_set_hw_params()
|