Home
last modified time | relevance | path

Searched refs:av_samples_get_buffer_size (Results 1 - 13 of 13) sorted by relevance

/third_party/ffmpeg/libavutil/
H A Dsamplefmt.c121 int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples, in av_samples_get_buffer_size() function
160 buf_size = av_samples_get_buffer_size(&line_size, nb_channels, nb_samples, in av_samples_fill_arrays()
186 int size = av_samples_get_buffer_size(NULL, nb_channels, nb_samples, in av_samples_alloc()
H A Daudio_fifo.c69 if (av_samples_get_buffer_size(&buf_size, channels, nb_samples, sample_fmt, 1) < 0) in av_audio_fifo_alloc()
105 if ((ret = av_samples_get_buffer_size(&buf_size, af->channels, nb_samples, in av_audio_fifo_realloc()
H A Dsamplefmt.h157 int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples,
182 * (use av_samples_get_buffer_size() to compute its minimum size),
H A Dframe.c213 ret = av_samples_get_buffer_size(&frame->linesize[0], channels, in get_audio_buffer()
/third_party/ffmpeg/doc/examples/
H A Dresampling_audio.c186 dst_bufsize = av_samples_get_buffer_size(&dst_linesize, dst_nb_channels, in main()
/third_party/ffmpeg/libavcodec/
H A Dget_buffer.c172 ret = av_samples_get_buffer_size(&pool->linesize[0], ch, in update_frame_pool()
H A Dflacdec.c142 buf_size = av_samples_get_buffer_size(NULL, s->flac_stream_info.channels, in allocate_buffers()
H A Dutils.c394 needed_size = av_samples_get_buffer_size(NULL, nb_channels, in avcodec_fill_audio_frame()
H A Dtakdec.c753 int buf_size = av_samples_get_buffer_size(NULL, avctx->ch_layout.nb_channels, in tak_decode_frame()
/third_party/ffmpeg/libavfilter/
H A Dframepool.c136 ret = av_samples_get_buffer_size(&pool->linesize[0], channels,
/third_party/ffmpeg/libavresample/tests/
H A Davresample.c239 in_buf_size = av_samples_get_buffer_size(&in_linesize, 8, 48000 * 6, in main()
/third_party/ffmpeg/libavresample/
H A Daudio_data.c174 new_buf_size = av_samples_get_buffer_size(&plane_size, in ff_audio_data_realloc()
/third_party/ffmpeg/fftools/
H A Dffplay.c2349 data_size = av_samples_get_buffer_size(NULL, af->frame->ch_layout.nb_channels, in audio_decode_frame()
2382 int out_size = av_samples_get_buffer_size(NULL, is->audio_tgt.ch_layout.nb_channels, out_count, is->audio_tgt.fmt, 0); in audio_decode_frame()
2385 av_log(NULL, AV_LOG_ERROR, "av_samples_get_buffer_size() failed\n"); in audio_decode_frame()
2545 audio_hw_params->frame_size = av_samples_get_buffer_size(NULL, audio_hw_params->ch_layout.nb_channels, 1, audio_hw_params->fmt, 1); in audio_open()
2546 audio_hw_params->bytes_per_sec = av_samples_get_buffer_size(NULL, audio_hw_params->ch_layout.nb_channels, audio_hw_params->freq, audio_hw_params->fmt, 1); in audio_open()
2548 av_log(NULL, AV_LOG_ERROR, "av_samples_get_buffer_size failed\n"); in audio_open()

Completed in 19 milliseconds