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.container.input.InputContainer.duration(), av.codec.context.CodecContext.parse(), av.frame.Frame.pts(), av.container.input.InputContainer.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 AVProfile
int profile
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 bits_per_coded_sample
int global_quality
int compression_level
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 pkt_timebase
AVRational time_base
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
AVColorRange color_range
AVColorPrimaries color_primaries
AVColorTransferCharacteristic color_trc
AVColorSpace colorspace
AVSampleFormat sample_fmt
int sample_rate
AVChannelLayout ch_layout
int frame_size
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.container.input.InputContainer.__cinit__, av.container.output.OutputContainer.add_data_stream(), av.container.output.OutputContainer.add_stream(), av.container.output.OutputContainer.add_stream_from_template(), av.codec.context.CodecContext.create().

void avcodec_free_context(AVCodecContext **avctx)

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

const AVClass *avcodec_get_class(void)
const AVCodec *avcodec_find_decoder(enum AVCodecID id)

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

const AVCodec *avcodec_find_encoder(enum AVCodecID id)

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

const AVCodec *avcodec_find_decoder_by_name(const char *name)

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

const AVCodec *avcodec_find_encoder_by_name(const char *name)

Referenced by: av.codec.codec.Codec.__cinit__, av.container.output.OutputContainer.add_data_stream().

const AVCodec *av_codec_iterate(void **opaque)

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

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)

Referenced by: av.container.output.OutputContainer.default_audio_codec(), av.container.output.OutputContainer.default_subtitle_codec(), av.container.output.OutputContainer.default_video_codec().

const char *av_get_profile_name(const AVCodec *codec, int profile)
int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options)
AV_NUM_DATA_POINTERS
struct AVPacketSideData
size_t size
AVPacketSideDataType type
struct AVFrameSideData
AVFrameSideDataType type
int size
struct AVFrame
int format
AVPictureType pict_type
int width
int height
int nb_side_data
int nb_samples
int sample_rate
AVChannelLayout ch_layout
int64_t pts
int64_t pkt_dts
int pkt_size
int flags
int decode_error_flags
AVColorRange color_range
AVColorPrimaries color_primaries
AVColorTransferCharacteristic color_trc
AVColorSpace colorspace
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.container.output.OutputContainer.__cinit__.

void av_packet_free(AVPacket **pkt)

Referenced by: av.container.output.OutputContainer.__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, const 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)

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

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().

av_parser_change()
av_parser_close()

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

struct AVCodecParameters
AVMediaType codec_type
AVCodecID codec_id
int avcodec_parameters_copy(AVCodecParameters *dst, const AVCodecParameters *src)

Referenced by: av.bitstream.BitStreamFilterContext.__cinit__.

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

Referenced by: av.container.output.OutputContainer.add_data_stream(), av.container.output.OutputContainer.add_stream(), av.container.output.OutputContainer.add_stream_from_template().

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

Referenced by: av.bitstream.BitStreamFilterContext.__cinit__, av.container.output.OutputContainer.add_stream_from_template().

libavcodec/bsf.h

struct AVBitStreamFilter
struct AVCodecParameters
struct AVBSFContext
const AVBitStreamFilter *av_bsf_get_by_name(const char *name)
int av_bsf_list_parse_str(const char *str, AVBSFContext **bsf)

Referenced by: av.bitstream.BitStreamFilterContext.__cinit__.

int av_bsf_init(AVBSFContext *ctx)

Referenced by: av.bitstream.BitStreamFilterContext.__cinit__.

void av_bsf_free(AVBSFContext **ctx)

Referenced by: av.bitstream.BitStreamFilterContext.__dealloc__.

const AVBitStreamFilter *av_bsf_iterate(void **opaque)
int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt)
int av_bsf_receive_packet(AVBSFContext *ctx, AVPacket *pkt)
void av_bsf_flush(AVBSFContext *ctx)

libavcodec/codec.h

struct AVCodecTag

libavcodec/codec_id.h

enum AVCodecID av_codec_get_id(const struct AVCodecTag *const *tags, unsigned int tag)

libavdevice/avdevice.h

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

libavfilter/avfilter.h

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)
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().

pyav_get_num_pads()
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()

libavfilter/buffersink.h

int av_buffersink_get_frame(AVFilterContext *ctx, AVFrame *frame)

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

void av_buffersink_set_frame_size(AVFilterContext *ctx, unsigned frame_size)

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

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
const AVInputFormat *av_probe_input_format(const AVProbeData *pd, int is_opened)
struct AVOutputFormat
AVCodecID video_codec
AVCodecID audio_codec
AVCodecID subtitle_codec
int flags
int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id, int std_compliance)

Referenced by: av.container.output.OutputContainer.add_data_stream(), av.container.output.OutputContainer.add_stream(), av.container.output.OutputContainer.add_stream_from_template(), av.container.output.OutputContainer.supported_codecs().

int av_probe_input_buffer(AVIOContext *pb, const AVInputFormat **fmt, const char *url, void *logctx, unsigned int offset, unsigned int max_probe_size)
int av_find_best_stream(AVFormatContext *ic, enum AVMediaType type, int wanted_stream_nb, int related_stream, const struct AVCodec **decoder_ret, int flags)
const 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, const 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().

const 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_data_stream(), av.container.output.OutputContainer.add_stream(), av.container.output.OutputContainer.add_stream_from_template(), av.container.output.OutputContainer.supported_codecs().

void avio_flush(AVIOContext *s)
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 struct AVCodec *c)

Referenced by: av.container.output.OutputContainer.add_data_stream(), av.container.output.OutputContainer.add_stream(), av.container.output.OutputContainer.add_stream_from_template().

int avformat_alloc_output_context2(AVFormatContext **avctx, const 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, struct AVFrame *frame)
AVRational av_guess_sample_aspect_ratio(AVFormatContext *format, AVStream *stream, struct 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 *const *data, int nb_samples)
int av_audio_fifo_read(AVAudioFifo *af, void *const *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

const char *av_version_info(void)
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 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.video.frame.VideoFrame._image_fill_pointers_numpy(), 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/buffer.h

AVBufferRef * av_buffer_create(uint8_t *data, size_t size, void(*free)
void av_buffer_unref(AVBufferRef **buf)

Referenced by: av.frame.Frame.opaque().

struct AVBufferRef

libavutil/channel_layout.h

av_get_channel_layout()
av_get_channel_layout_nb_channels()
av_get_default_channel_layout()
av_channel_layout_extract_channel()
av_get_channel_name()
av_get_channel_description()
AV_CH_LAYOUT_MONO
AV_CH_LAYOUT_STEREO
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
struct AVChannelCustom
AVChannel id
struct AVChannelLayout
AVChannelOrder order
int nb_channels
uint64_t mask
void av_channel_layout_default(AVChannelLayout *ch_layout, int nb_channels)

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

int av_channel_layout_from_mask(AVChannelLayout *channel_layout, uint64_t mask)
int av_channel_layout_from_string(AVChannelLayout *channel_layout, const char *str)

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

void av_channel_layout_uninit(AVChannelLayout *channel_layout)
int av_channel_layout_copy(AVChannelLayout *dst, const AVChannelLayout *src)
int av_channel_layout_describe(const AVChannelLayout *channel_layout, char *buf, size_t buf_size)

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

int av_channel_name(char *buf, size_t buf_size, enum AVChannel channel)

Referenced by: av.audio.layout.AudioLayout.channels().

int av_channel_description(char *buf, size_t buf_size, enum AVChannel channel)

Referenced by: av.audio.layout.AudioLayout.channels().

enum AVChannel av_channel_layout_channel_from_index(const AVChannelLayout *channel_layout, unsigned int idx)

Referenced by: av.audio.layout.AudioLayout.channels().

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)

Referenced by: av.frame.Frame.make_writable().

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)
int av_image_fill_pointers(uint8_t *data[4], enum AVPixelFormat pix_fmt, int height, uint8_t *ptr, const int linesizes[4])

Referenced by: av.video.frame.VideoFrame._image_fill_pointers_numpy().

int av_image_fill_linesizes(int linesizes[4], enum AVPixelFormat pix_fmt, int width)

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(), av.logging.set_level().

void av_log_set_level(int level)

Referenced by: av.logging.set_libav_level().

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 *const *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
swr_alloc_set_opts()
int swr_convert(struct SwrContext *s, uint8_t *const *out, int out_count, const uint8_t *const *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
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(SwsContext *c, const uint8_t *const srcSlice[], const int srcStride[], int srcSliceY, int srcSliceH, uint8_t *const dst[], const int dstStride[])
void sws_freeContext(SwsContext *swsContext)

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

SwsContext *sws_getCachedContext(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(SwsContext *c, int **inv_table, int *srcRange, int **table, int *dstRange, int *brightness, int *contrast, int *saturation)
int sws_setColorspaceDetails(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