Wrapped C Types and Functions

Python.h

Py_AddPendingCall()
PyErr_PrintEx()
Py_IsInitialized()
PyErr_Display()

libavcodec/avcodec.h

pyav_get_available_codecs()
unsigned avcodec_version(void)
const char *avcodec_configuration(void)
const char *avcodec_license(void)
AV_INPUT_BUFFER_PADDING_SIZE

Referenced by: av.codec.context.CodecContext.extradata.

AV_NOPTS_VALUE

Referenced by: av.frame.Frame.dts, av.packet.Packet.duration, av.codec.context.CodecContext.parse(), av.frame.Frame.pts, av.stream.Stream.start_time, av.frame.Frame.time.

struct AVCodec
AVMediaType type
AVCodecID id
int capabilities
int av_codec_is_encoder(const AVCodec *codec)

Referenced by: av.codec.context.CodecContext.is_encoder.

int av_codec_is_decoder(const AVCodec *codec)

Referenced by: av.codec.context.CodecContext.is_decoder.

struct AVCodecDescriptor
AVCodecID id
int props
const AVCodecDescriptor *avcodec_descriptor_get(enum AVCodecID id)

Referenced by: av.data.stream.DataStream.name.

struct AVCodecContext
AVMediaType codec_type
int codec_tag
AVCodecID codec_id
int flags
int flags2
int thread_count
int thread_type
int profile
AVDiscard skip_frame
int bit_rate
int bit_rate_tolerance
int mb_decision
int global_quality
int compression_level
int frame_number
int qmin
int qmax
int rc_max_rate
int rc_min_rate
int rc_buffer_size
float rc_max_available_vbv_use
float rc_min_vbv_overflow_use
AVRational framerate
AVRational time_base
int ticks_per_frame
int extradata_size
int delay
int width
int height
int coded_width
int coded_height
AVPixelFormat pix_fmt
AVRational sample_aspect_ratio
int gop_size
int max_b_frames
int has_b_frames
AVSampleFormat sample_fmt
int sample_rate
int channels
int frame_size
int channel_layout
get_buffer()

Todo

get_buffer is deprecated for get_buffer2 in newer versions of FFmpeg.

release_buffer()
AVCodecContext *avcodec_alloc_context3(const AVCodec *codec)

Referenced by: av.codec.context.CodecContext.create().

void avcodec_free_context(AVCodecContext **avctx)

Referenced by: av.codec.context.CodecContext.__dealloc__.

const AVClass *avcodec_get_class(void)
attribute_deprecated int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src)

Referenced by: av.container.output.OutputContainer.add_stream().

struct AVCodecDescriptor
AVCodecID id
AVMediaType type
int props
AVCodec *avcodec_find_decoder(enum AVCodecID id)

Referenced by: av.codec.codec.Codec.__cinit__.

AVCodec *avcodec_find_encoder(enum AVCodecID id)

Referenced by: av.codec.codec.Codec.__cinit__.

AVCodec *avcodec_find_decoder_by_name(const char *name)

Referenced by: av.codec.codec.Codec.__cinit__.

AVCodec *avcodec_find_encoder_by_name(const char *name)

Referenced by: av.codec.codec.Codec.__cinit__.

const AVCodec *av_codec_iterate(void **opaque)
const AVCodecDescriptor *avcodec_descriptor_get(enum AVCodecID id)

Referenced by: av.data.stream.DataStream.name.

const AVCodecDescriptor *avcodec_descriptor_get_by_name(const char *name)

Referenced by: av.codec.codec.Codec.__cinit__.

const char *avcodec_get_name(enum AVCodecID id)
const char *av_get_profile_name(const AVCodec *codec, int profile)

Referenced by: av.codec.context.CodecContext.profile.

int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options)
int avcodec_is_open(AVCodecContext *s)

Referenced by: av.codec.context.CodecContext.is_open, av.codec.context.CodecContext.thread_count, av.codec.context.CodecContext.thread_type.

int avcodec_close(AVCodecContext *avctx)

Referenced by: av.codec.context.CodecContext.__dealloc__.

AV_NUM_DATA_POINTERS
struct AVFrameSideData
AVFrameSideDataType type
int size
struct AVFrame
int format
int key_frame
AVPictureType pict_type
int interlaced_frame
int width
int height
int nb_side_data
int nb_samples
int sample_rate
int channels
int channel_layout
int64_t pts
int64_t pkt_dts
int pkt_size
int flags
int decode_error_flags
avcodec_alloc_frame()
struct AVPacket
int64_t pts
int64_t dts
int size
int stream_index
int flags
int duration
int64_t pos
int avcodec_fill_audio_frame(AVFrame *frame, int nb_channels, enum AVSampleFormat sample_fmt, const uint8_t *buf, int buf_size, int align)
avcodec_free_frame()
AVPacket *av_packet_alloc(void)

Referenced by: av.packet.Packet.__cinit__, av.container.output.OutputContainer.mux_one().

void av_packet_free(AVPacket **pkt)

Referenced by: av.packet.Packet.__dealloc__.

int av_new_packet(AVPacket *pkt, int size)

Referenced by: av.packet.Packet.__init__.

int av_packet_ref(AVPacket *dst, const AVPacket *src)

Referenced by: av.container.output.OutputContainer.mux_one().

void av_packet_rescale_ts(AVPacket *pkt, AVRational tb_src, AVRational tb_dst)
struct AVSubtitleRect
int x
int y
int w
int h
int nb_colors
AVSubtitleType type
int flags
struct AVSubtitle
uint16_t format
uint32_t start_display_time
uint32_t end_display_time
int num_rects
int64_t pts
int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, AVPacket *avpkt)
avcodec_encode_subtitle()
void avsubtitle_free(AVSubtitle *sub)

Referenced by: av.subtitles.subtitle.SubtitleProxy.__dealloc__.

avcodec_get_frame_defaults()
void avcodec_flush_buffers(AVCodecContext *avctx)
avcodec_default_get_buffer()
avcodec_default_release_buffer()
int avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)
int avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)
int avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)
int avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)
struct AVCodecParser
av_parser_next()
struct AVCodecParserContext
av_parser_init()

Referenced by: av.codec.context.CodecContext.parse().

int av_parser_parse2(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts, int64_t pos)

Referenced by: av.codec.context.CodecContext.parse().

int av_parser_change(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
av_parser_close()

Referenced by: av.codec.context.CodecContext.__dealloc__.

struct AVCodecParameters
int avcodec_parameters_from_context(AVCodecParameters *par, const AVCodecContext *codec)

libavdevice/avdevice.h

unsigned avdevice_version(void)
const char *avdevice_configuration(void)
const char *avdevice_license(void)
void avdevice_register_all(void)
AVInputFormat *av_input_audio_device_next(AVInputFormat *d)
AVInputFormat *av_input_video_device_next(AVInputFormat *d)
AVOutputFormat *av_output_audio_device_next(AVOutputFormat *d)
AVOutputFormat *av_output_video_device_next(AVOutputFormat *d)

libavfilter/avfilter.h

unsigned avfilter_version(void)
const char *avfilter_configuration(void)
const char *avfilter_license(void)
struct AVFilterPad
const char *avfilter_pad_get_name(const AVFilterPad *pads, int pad_idx)

Referenced by: av.filter.pad.FilterPad.name.

enum AVMediaType avfilter_pad_get_type(const AVFilterPad *pads, int pad_idx)

Referenced by: av.filter.pad.FilterPad.type().

struct AVFilter
int flags
const AVFilter *avfilter_get_by_name(const char *name)

Referenced by: av.filter.filter.Filter.__cinit__.

const AVFilter *av_filter_iterate(void **opaque)
struct AVFilterLink
struct AVFilterContext
int nb_inputs
int nb_outputs
int avfilter_init_str(AVFilterContext *ctx, const char *args)

Referenced by: av.filter.context.FilterContext.init().

int avfilter_init_dict(AVFilterContext *ctx, AVDictionary **options)

Referenced by: av.filter.context.FilterContext.init().

void avfilter_free(AVFilterContext *filter)
const AVClass *avfilter_get_class(void)
struct AVFilterLink
AVMediaType Type
int w
int h
AVRational sample_aspect_ratio
uint64_t channel_layout
int sample_rate
int format
AVRational time_base
pyav_get_available_filters()
struct AVFilterGraph
int nb_filters
struct AVFilterInOut
int pad_idx
AVFilterGraph *avfilter_graph_alloc(void)

Referenced by: av.filter.graph.Graph.__cinit__.

void avfilter_graph_free(AVFilterGraph **graph)

Referenced by: av.filter.graph.Graph.__dealloc__.

int avfilter_graph_parse2(AVFilterGraph *graph, const char *filters, AVFilterInOut **inputs, AVFilterInOut **outputs)
AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph, const AVFilter *filter, const char *name)

Referenced by: av.filter.graph.Graph.add().

int avfilter_graph_create_filter(AVFilterContext **filt_ctx, const AVFilter *filt, const char *name, const char *args, void *opaque, AVFilterGraph *graph_ctx)

Referenced by: av.filter.context.FilterContext.link_to().

int avfilter_graph_config(AVFilterGraph *graphctx, void *log_ctx)
char *avfilter_graph_dump(AVFilterGraph *graph, const char *options)
void avfilter_inout_free(AVFilterInOut **inout)

libavfilter/buffersink.h

void av_buffersink_set_frame_size(AVFilterContext *ctx, unsigned frame_size)
int av_buffersink_get_frame(AVFilterContext *ctx, AVFrame *frame)

Referenced by: av.filter.context.FilterContext.pull().

libavfilter/buffersrc.h

av_warn_unused_result int av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame)

Referenced by: av.filter.context.FilterContext.push().

libavformat/avformat.h

unsigned avformat_version(void)
const char *avformat_configuration(void)
const char *avformat_license(void)
int avformat_network_init(void)
INT64_MIN
AV_TIME_BASE
AVSEEK_FLAG_BACKWARD

Referenced by: av.container.input.InputContainer.seek().

AVSEEK_FLAG_BYTE

Referenced by: av.container.input.InputContainer.seek().

AVSEEK_FLAG_ANY

Referenced by: av.container.input.InputContainer.seek().

AVSEEK_FLAG_FRAME

Referenced by: av.container.input.InputContainer.seek().

AVIO_FLAG_WRITE
struct AVStream
int index
int id
AVRational time_base
int64_t start_time
int64_t duration
int64_t nb_frames
int64_t cur_dts
AVRational avg_frame_rate
AVRational r_frame_rate
AVRational sample_aspect_ratio
struct AVIOContext
int buffer_size
int write_flag
int direct
int seekable
int max_packet_size
struct AVIOInterruptCB
AVIO_FLAG_DIRECT
AVIO_SEEKABLE_NORMAL

Referenced by: av.container.pyio.PyIOFile.__cinit__.

SEEK_SET
SEEK_CUR
SEEK_END
AVSEEK_SIZE
AVIOContext * avio_alloc_context(unsigned char *buffer, int buffer_size, int write_flag, void *opaque, int(*read_packet)

Referenced by: av.container.pyio.PyIOFile.__cinit__.

struct AVInputFormat
int flags
struct AVProbeData
int buf_size
ff_const59 AVInputFormat * av_probe_input_format(ff_const59 AVProbeData *pd, int is_opened)
struct AVOutputFormat
AVCodecID video_codec
AVCodecID audio_codec
AVCodecID subtitle_codec
int flags
int av_probe_input_buffer(AVIOContext *pb, ff_const59 AVInputFormat **fmt, const char *url, void *logctx, unsigned int offset, unsigned int max_probe_size)
ff_const59 AVInputFormat * av_find_input_format(const char *short_name)

Referenced by: av.format.ContainerFormat.__cinit__.

struct AVFormatContext
int nb_streams
AVIOInterruptCB interrupt_callback
char filename
int64_t start_time
int64_t duration
int bit_rate
int flags
int64_t max_analyze_duration
AVFormatContext *avformat_alloc_context(void)

Referenced by: av.container.core.Container.__cinit__.

int avformat_open_input(AVFormatContext **ps, const char *url, ff_const59 AVInputFormat *fmt, AVDictionary **options)

Referenced by: av.container.core.Container.__cinit__.

void avformat_close_input(AVFormatContext **s)
av_warn_unused_result int avformat_write_header(AVFormatContext *s, AVDictionary **options)
int av_write_trailer(AVFormatContext *s)
int av_interleaved_write_frame(AVFormatContext *s, AVPacket *pkt)

Referenced by: av.container.output.OutputContainer.mux_one().

int av_write_frame(AVFormatContext *s, AVPacket *pkt)
int avio_open(AVIOContext **s, const char *url, int flags)
int64_t avio_size(AVIOContext *s)

Referenced by: av.container.input.InputContainer.size.

ff_const59 AVOutputFormat * av_guess_format(const char *short_name, const char *filename, const char *mime_type)

Referenced by: av.container.core.Container.__cinit__.

int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id, int std_compliance)

Referenced by: av.container.output.OutputContainer.add_stream().

int avio_close(AVIOContext *s)
int avio_closep(AVIOContext **s)
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)

Referenced by: av.container.input.InputContainer.__cinit__.

AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c)

Referenced by: av.container.output.OutputContainer.add_stream().

int avformat_alloc_output_context2(AVFormatContext **avctx, ff_const59 AVOutputFormat *oformat, const char *format, const char *filename)

Referenced by: av.container.core.Container.__cinit__.

void avformat_free_context(AVFormatContext *s)

Referenced by: av.container.core.Container.__dealloc__.

const AVClass *avformat_get_class(void)
void av_dump_format(AVFormatContext *ic, int index, const char *url, int is_output)

Referenced by: av.container.core.Container.dumps_format().

int av_read_frame(AVFormatContext *s, AVPacket *pkt)

Referenced by: av.container.input.InputContainer.demux().

int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)

Referenced by: av.container.input.InputContainer.seek().

int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
AVRational av_guess_frame_rate(AVFormatContext *ctx, AVStream *stream, AVFrame *frame)
const AVInputFormat *av_demuxer_iterate(void **opaque)
const AVOutputFormat *av_muxer_iterate(void **opaque)
pyav_get_available_formats()

libavutil/audio_fifo.h

struct AVAudioFifo
void av_audio_fifo_free(AVAudioFifo *af)

Referenced by: av.audio.fifo.AudioFifo.__dealloc__.

AVAudioFifo *av_audio_fifo_alloc(enum AVSampleFormat sample_fmt, int channels, int nb_samples)
int av_audio_fifo_write(AVAudioFifo *af, void **data, int nb_samples)
int av_audio_fifo_read(AVAudioFifo *af, void **data, int nb_samples)
int av_audio_fifo_size(AVAudioFifo *af)

Referenced by: av.audio.fifo.AudioFifo.samples.

int av_audio_fifo_space(AVAudioFifo *af)

libavutil/avutil.h

unsigned avutil_version(void)
const char *avutil_configuration(void)
const char *avutil_license(void)
M_PI
void *av_malloc(size_t size)

Referenced by: av.container.pyio.PyIOFile.__cinit__.

void *av_calloc(size_t nmemb, size_t size)
void *av_realloc(void *ptr, size_t size)

Referenced by: av.codec.context.CodecContext.extradata.

void av_freep(void *ptr)

Referenced by: av.audio.frame.AudioFrame.__dealloc__, av.codec.context.CodecContext.extradata.

int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt)

Referenced by: av.audio.format.AudioFormat.bits, av.audio.format.AudioFormat.bytes.

int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int align)
struct AVRational
int num
int den
AV_TIME_BASE_Q
int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq)
int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq, enum AVRounding rnd)
int64_t av_rescale(int64_t a, int64_t b, int64_t c)
char *av_strdup(const char *s)
av_opt_set_int()
const char *av_get_media_type_string(enum AVMediaType media_type)

Referenced by: av.codec.codec.Codec.type().

libavutil/channel_layout.h

uint64_t av_get_channel_layout(const char *name)

Referenced by: av.audio.layout.AudioLayout.__init__.

int av_get_channel_layout_nb_channels(uint64_t channel_layout)
int64_t av_get_default_channel_layout(int nb_channels)

Referenced by: av.audio.codeccontext.AudioCodecContext.channels.

void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, uint64_t channel_layout)

Referenced by: av.audio.layout.AudioLayout.name.

uint64_t av_channel_layout_extract_channel(uint64_t channel_layout, int index)

Referenced by: av.audio.layout.AudioChannel.__cinit__.

const char *av_get_channel_name(uint64_t channel)

Referenced by: av.audio.layout.AudioChannel.name.

const char *av_get_channel_description(uint64_t channel)
AV_CH_LAYOUT_MONO
AV_CH_LAYOUT_STEREO

Referenced by: av.container.output.OutputContainer.add_stream().

AV_CH_LAYOUT_2POINT1
AV_CH_LAYOUT_4POINT0
AV_CH_LAYOUT_5POINT0_BACK
AV_CH_LAYOUT_5POINT1_BACK
AV_CH_LAYOUT_6POINT1
AV_CH_LAYOUT_7POINT1

libavutil/dict.h

struct AVDictionary
void av_dict_free(AVDictionary **m)

Referenced by: av.container.input.InputContainer.__cinit__, av.dictionary._Dictionary.__dealloc__.

struct AVDictionaryEntry
AV_DICT_IGNORE_SUFFIX

Referenced by: av.dictionary._Dictionary.__iter__().

AVDictionaryEntry *av_dict_get(const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags)

Referenced by: av.dictionary._Dictionary.__getitem__(), av.dictionary._Dictionary.__iter__().

int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags)

Referenced by: av.dictionary._Dictionary.__delitem__(), av.dictionary._Dictionary.__setitem__().

int av_dict_count(const AVDictionary *m)

Referenced by: av.dictionary._Dictionary.__len__().

int av_dict_copy(AVDictionary **dst, const AVDictionary *src, int flags)

Referenced by: av.container.input.InputContainer.__cinit__.

libavutil/error.h

ENOMEM
EAGAIN
AVERROR_BSF_NOT_FOUND
AVERROR_BUG
AVERROR_BUFFER_TOO_SMALL
AVERROR_DECODER_NOT_FOUND
AVERROR_DEMUXER_NOT_FOUND
AVERROR_ENCODER_NOT_FOUND
AVERROR_EOF
AVERROR_EXIT
AVERROR_EXTERNAL
AVERROR_FILTER_NOT_FOUND
AVERROR_INVALIDDATA
AVERROR_MUXER_NOT_FOUND
AVERROR_OPTION_NOT_FOUND
AVERROR_PATCHWELCOME
AVERROR_PROTOCOL_NOT_FOUND
AVERROR_UNKNOWN
AVERROR_EXPERIMENTAL
AVERROR_INPUT_CHANGED
AVERROR_OUTPUT_CHANGED
AVERROR_HTTP_BAD_REQUEST
AVERROR_HTTP_UNAUTHORIZED
AVERROR_HTTP_FORBIDDEN
AVERROR_HTTP_NOT_FOUND
AVERROR_HTTP_OTHER_4XX
AVERROR_HTTP_SERVER_ERROR
AVERROR_NOMEM
AVERROR()
AV_ERROR_MAX_STRING_SIZE
int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
av_err2str()

libavutil/frame.h

AVFrame *av_frame_alloc(void)

Referenced by: av.frame.Frame.__cinit__.

void av_frame_free(AVFrame **frame)

Referenced by: av.frame.Frame.__dealloc__.

int av_frame_ref(AVFrame *dst, const AVFrame *src)
AVFrame *av_frame_clone(const AVFrame *src)
void av_frame_unref(AVFrame *frame)
void av_frame_move_ref(AVFrame *dst, AVFrame *src)
int av_frame_get_buffer(AVFrame *frame, int align)
int av_frame_is_writable(AVFrame *frame)
int av_frame_make_writable(AVFrame *frame)
int av_frame_copy(AVFrame *dst, const AVFrame *src)
int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
AVFrameSideData *av_frame_get_side_data(const AVFrame *frame, enum AVFrameSideDataType type)

libavutil/imgutils.h

int av_image_alloc(uint8_t *pointers[4], int linesizes[4], int w, int h, enum AVPixelFormat pix_fmt, int align)

libavutil/log.h

struct AVClass
AVClassCategory category
int parent_log_context_offset
void av_log(void *avcl, int level, const char *fmt, ...)
void av_log_default_callback(void *avcl, int level, const char *fmt, va_list vl)

Referenced by: av.logging.restore_default_callback().

void av_log_set_callback(void(*callback)

Referenced by: av.logging.restore_default_callback().

libavutil/motion_vector.h

struct AVMotionVector

Referenced by: av.sidedata.motionvectors._MotionVectors.__init__.

int32_t source
uint8_t w
uint8_t h
int16_t src_x
int16_t src_y
int16_t dst_x
int16_t dst_y
uint64_t flags
int32_t motion_x
int32_t motion_y
uint16_t motion_scale

libavutil/opt.h

struct AVOption_default_val
int64_t i64
double dbl
AVRational q
struct AVOption
AVOptionType type
int offset
AVOption_default_val default_val
double min
double max
int flags

libavutil/pixdesc.h

struct AVComponentDescriptor
int plane
int step
int offset
int shift
int depth
struct AVPixFmtDescriptor
uint8_t nb_components
uint8_t log2_chroma_w
uint8_t log2_chroma_h
uint8_t flags
av_pix_fmt_desc_get()
av_pix_fmt_desc_next()
av_get_pix_fmt_name()
av_get_pix_fmt()
av_get_bits_per_pixel()

Referenced by: av.video.format.VideoFormat.bits_per_pixel.

av_get_padded_bits_per_pixel()

Referenced by: av.video.format.VideoFormat.padded_bits_per_pixel.

libavutil/rational.h

int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max)

Referenced by: av.video.codeccontext.VideoCodecContext.display_aspect_ratio.

libavutil/samplefmt.h

enum AVSampleFormat av_get_sample_fmt(const char *name)

Referenced by: av.audio.format.AudioFormat.__cinit__.

const char *av_get_sample_fmt_name(enum AVSampleFormat sample_fmt)

Referenced by: av.audio.format.AudioFormat.name.

int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt)

Referenced by: av.audio.format.AudioFormat.bits, av.audio.format.AudioFormat.bytes.

int av_sample_fmt_is_planar(enum AVSampleFormat sample_fmt)

Referenced by: av.audio.format.AudioFormat.is_packed, av.audio.format.AudioFormat.is_planar.

enum AVSampleFormat av_get_packed_sample_fmt(enum AVSampleFormat sample_fmt)

Referenced by: av.audio.format.AudioFormat.packed.

enum AVSampleFormat av_get_planar_sample_fmt(enum AVSampleFormat sample_fmt)

Referenced by: av.audio.format.AudioFormat.planar.

int av_samples_alloc(uint8_t **audio_data, int *linesize, int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int align)
int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int align)
int av_samples_fill_arrays(uint8_t **audio_data, int *linesize, const uint8_t *buf, int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int align)
int av_samples_set_silence(uint8_t **audio_data, int offset, int nb_samples, int nb_channels, enum AVSampleFormat sample_fmt)

libswresample/swresample.h

unsigned swresample_version(void)
const char *swresample_configuration(void)
const char *swresample_license(void)
struct SwrContext
struct SwrContext *swr_alloc_set_opts(struct SwrContext *s, int64_t out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate, int64_t in_ch_layout, enum AVSampleFormat in_sample_fmt, int in_sample_rate, int log_offset, void *log_ctx)
int swr_convert(struct SwrContext *s, uint8_t **out, int out_count, const uint8_t **in, int in_count)
int64_t swr_get_delay(struct SwrContext *s, int64_t base)
struct SwrContext *swr_alloc(void)
int swr_init(struct SwrContext *s)
void swr_free(struct SwrContext **s)
void swr_close(struct SwrContext *s)

libswscale/swscale.h

swscale_version()
const char *swscale_configuration(void)
const char *swscale_license(void)
struct SwsContext
struct SwsFilter
SWS_FAST_BILINEAR
SWS_BILINEAR
SWS_BICUBIC
SWS_X
SWS_POINT
SWS_AREA
SWS_BICUBLIN
SWS_GAUSS
SWS_SINC
SWS_LANCZOS
SWS_SPLINE
SWS_CS_ITU709
SWS_CS_FCC
SWS_CS_ITU601
SWS_CS_ITU624
SWS_CS_SMPTE170M
SWS_CS_SMPTE240M
SWS_CS_DEFAULT
struct SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, const double *param)
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const dst[], const int dstStride[])
void sws_freeContext(struct SwsContext *swsContext)

Referenced by: av.video.reformatter.VideoReformatter.__dealloc__.

struct SwsContext *sws_getCachedContext(struct SwsContext *context, int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, const double *param)
const int *sws_getCoefficients(int colorspace)
int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, int *srcRange, int **table, int *dstRange, int *brightness, int *contrast, int *saturation)
int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], int srcRange, const int table[4], int dstRange, int brightness, int contrast, int saturation)

stdarg.h

struct va_list