#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Functions | |
AVFilterBufferRef * | ff_null_get_audio_buffer (AVFilterLink *link, int perms, int nb_samples) |
get_audio_buffer() handler for filters which simply pass audio along | |
AVFilterBufferRef * | ff_default_get_audio_buffer (AVFilterLink *link, int perms, int nb_samples) |
default handler for get_audio_buffer() for audio inputs | |
AVFilterBufferRef * | ff_get_audio_buffer (AVFilterLink *link, int perms, int nb_samples) |
Request an audio samples buffer with a specific set of permissions. | |
AVFilterBufferRef * | avfilter_get_audio_buffer_ref_from_arrays (uint8_t **data, int linesize, int perms, int nb_samples, enum AVSampleFormat sample_fmt, uint64_t channel_layout) |
Create an audio buffer reference wrapped around an already allocated samples buffer. |
AVFilterBufferRef* avfilter_get_audio_buffer_ref_from_arrays | ( | uint8_t ** | data, |
int | linesize, | ||
int | perms, | ||
int | nb_samples, | ||
enum AVSampleFormat | sample_fmt, | ||
uint64_t | channel_layout | ||
) |
Create an audio buffer reference wrapped around an already allocated samples buffer.
data | pointers to the samples plane buffers |
linesize | linesize for the samples plane buffers |
perms | the required access permissions |
nb_samples | number of samples per channel |
sample_fmt | the format of each sample in the buffer to allocate |
channel_layout | the channel layout of the buffer |
Definition at line 80 of file audio.c.
Referenced by ff_default_get_audio_buffer(), and join_request_frame().
AVFilterBufferRef* ff_default_get_audio_buffer | ( | AVFilterLink * | link, |
int | perms, | ||
int | nb_samples | ||
) |
default handler for get_audio_buffer() for audio inputs
Definition at line 32 of file audio.c.
Referenced by ff_get_audio_buffer().
AVFilterBufferRef* ff_get_audio_buffer | ( | AVFilterLink * | link, |
int | perms, | ||
int | nb_samples | ||
) |
Request an audio samples buffer with a specific set of permissions.
link | the output link to the filter from which the buffer will be requested |
perms | the required access permissions |
nb_samples | the number of samples per channel |
Definition at line 63 of file audio.c.
Referenced by av_buffersrc_write_frame(), ff_filter_frame(), ff_null_get_audio_buffer(), filter_frame(), output_frame(), read_from_fifo(), request_frame(), and return_audio_frame().
AVFilterBufferRef* ff_null_get_audio_buffer | ( | AVFilterLink * | link, |
int | perms, | ||
int | nb_samples | ||
) |