Wrapped C Types and Functions¶
libavcodec/avcodec.pyav.h¶
-
unsigned
avcodec_version(void)¶
-
const char *
avcodec_configuration(void)¶
-
const char *
avcodec_license(void)¶
-
AV_NOPTS_VALUE¶ Referenced by:
av.frame.Frame.dts,av.packet.Packet.duration,av.frame.Frame.pts,av.stream.Stream.start_time,av.frame.Frame.time.
-
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.
-
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
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¶
-
static int
get_buffer(AVCodecContext *avctx, SVQ3Frame *pic)¶ Todo
get_bufferis deprecated for get_buffer2 in newer versions of FFmpeg.
-
release_buffer()¶
-
AVMediaType
-
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__.
-
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
-
AVCodecID
-
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 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
AVFrame¶ -
-
int
format¶
-
int
key_frame¶
-
AVPictureType
pict_type¶
-
int
interlaced_frame¶
-
int
width¶
-
int
height¶
-
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¶
-
int
-
avcodec_alloc_frame()¶
-
struct
AVPacket¶ -
-
int64_t
pts¶
-
int64_t
dts¶
-
int
size¶
-
int
stream_index¶
-
int
flags¶
-
int
duration¶
-
int64_t
pos¶
-
int64_t
-
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()¶
-
void
av_init_packet(AVPacket *pkt)¶ Referenced by:
av.packet.Packet.__cinit__,av.container.output.OutputContainer.mux_one().
-
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_unref(AVPacket *pkt)¶ Referenced by:
av.packet.Packet.__dealloc__.
-
struct
AVSubtitle¶ -
-
uint16_t
format¶
-
uint32_t
start_display_time¶
-
uint32_t
end_display_time¶
-
int
num_rects¶
-
int64_t
pts¶
-
uint16_t
-
int
avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, AVPacket *avpkt)¶
-
int
avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub)¶
-
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¶
-
attribute_deprecated AVCodecParser *
av_parser_next(const AVCodecParser *c)¶
-
struct
AVCodecParserContext¶
-
AVCodecParserContext *
av_parser_init(int codec_id)¶ 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)¶
-
void
av_parser_close(AVCodecParserContext *s)¶ Referenced by:
av.codec.context.CodecContext.__dealloc__.
-
pyav_get_available_codecs()¶
libavdevice/avdevice.h¶
-
unsigned
avdevice_version(void)¶
-
const char *
avdevice_configuration(void)¶
-
const char *
avdevice_license(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¶
-
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)¶
-
int
avfilter_link(AVFilterContext *src, unsigned srcpad, AVFilterContext *dst, unsigned dstpad)¶ 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().
-
const AVFilter *
avfilter_get_by_name(const char *name)¶ Referenced by:
av.filter.filter.Filter.__cinit__.
-
struct
AVFilterLink¶
-
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)¶
-
struct
AVFilterLink -
AVMediaType
Type¶
-
int
w¶
-
int
h¶
-
AVRational
sample_aspect_ratio¶
-
uint64_t
channel_layout¶
-
int
sample_rate¶
-
int
format¶
-
AVRational
time_base¶
-
AVMediaType
-
pyav_get_available_filters()¶
libavfilter/buffersink.h¶
-
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)¶
-
INT64_MIN¶
-
AV_TIME_BASE¶
-
AVSEEK_FLAG_BACKWARD¶
-
AVSEEK_FLAG_BYTE¶
-
AVSEEK_FLAG_ANY¶
-
AVSEEK_FLAG_FRAME¶
-
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
sample_aspect_ratio¶
-
int
-
AVIO_FLAG_DIRECT¶
-
AVIO_SEEKABLE_NORMAL¶ Referenced by:
av.container.core.ContainerProxy.__init__.
-
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.core.ContainerProxy.__init__.
-
AVInputFormat *
av_probe_input_format(AVProbeData *pd, int is_opened)¶
-
struct
AVOutputFormat¶ -
-
AVCodecID
video_codec¶
-
AVCodecID
audio_codec¶
-
AVCodecID
subtitle_codec¶
-
int
flags¶
-
AVCodecID
-
AVFMT_NOFILE¶ Referenced by:
av.container.output.OutputContainer.close().
-
AVFMT_NEEDNUMBER¶
-
AVFMT_RAWPICTURE¶
-
AVFMT_GLOBALHEADER¶ Referenced by:
av.container.output.OutputContainer.add_stream().
-
AVFMT_NOTIMESTAMPS¶
-
AVFMT_VARIABLE_FPS¶
-
AVFMT_NODIMENSIONS¶
-
AVFMT_NOSTREAMS¶
-
AVFMT_ALLOW_FLUSH¶
-
AVFMT_TS_NONSTRICT¶
-
AVFMT_FLAG_CUSTOM_IO¶
-
AVFMT_FLAG_GENPTS¶ Referenced by:
av.container.core.ContainerProxy.__init__.
-
int
av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt, const char *url, void *logctx, unsigned int offset, unsigned int max_probe_size)¶
-
AVInputFormat *
av_find_input_format(const char *short_name)¶ Referenced by:
av.format.ContainerFormat.__cinit__.
-
struct
AVFormatContext¶ -
-
int
nb_streams¶
-
char
filename¶
-
int64_t
start_time¶
-
int64_t
duration¶
-
int
bit_rate¶
-
int
flags¶
-
int64_t
max_analyze_duration¶
-
int
-
AVFormatContext *
avformat_alloc_context(void)¶ Referenced by:
av.container.core.ContainerProxy.__init__.
-
int
avformat_open_input(AVFormatContext **ps, const char *url, AVInputFormat *fmt, AVDictionary **options)¶ Referenced by:
av.container.core.ContainerProxy.__init__.
-
void
avformat_close_input(AVFormatContext **s)¶ Referenced by:
av.container.core.ContainerProxy.__dealloc__.
-
av_warn_unused_result int
avformat_write_header(AVFormatContext *s, AVDictionary **options)¶
-
int
av_write_trailer(AVFormatContext *s)¶ Referenced by:
av.container.output.OutputContainer.close().
-
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 *filename, int flags)¶
-
int64_t
avio_size(AVIOContext *s)¶ Referenced by:
av.container.input.InputContainer.size.
-
AVOutputFormat *
av_guess_format(const char *short_name, const char *filename, const char *mime_type)¶ Referenced by:
av.container.core.ContainerProxy.__init__.
-
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)¶ Referenced by:
av.container.output.OutputContainer.close().
-
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, AVOutputFormat *oformat, const char *format, const char *filename)¶ Referenced by:
av.container.core.ContainerProxy.__init__.
-
void
avformat_free_context(AVFormatContext *s)¶ Referenced by:
av.container.core.ContainerProxy.__dealloc__.
-
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)¶
-
int
avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)¶
-
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)¶
-
AV_ERROR_MAX_STRING_SIZE¶
-
AVERROR_EOF¶
-
AVERROR_NOMEM¶
-
ENOMEM¶
-
EAGAIN¶
-
M_PI¶
-
AVERROR()¶
-
int
av_strerror(int errnum, char *errbuf, size_t errbuf_size)¶
-
av_err2str()¶
-
void *
av_malloc(size_t size)¶ Referenced by:
av.container.core.ContainerProxy.__init__.
-
void *
av_calloc(size_t nmemb, size_t size)¶
-
void
av_freep(void *ptr)¶ Referenced by:
av.audio.frame.AudioFrame.__dealloc__.
-
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)¶
-
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)¶
-
int
av_opt_set_int(void *obj, const char *name, int64_t val, int search_flags)¶
-
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/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__.
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¶
-
void
av_log(void *avcl, int level, const char *fmt, ...)¶
-
void
av_log_set_callback(void(*callback)¶
libavutil/opt.h¶
libavutil/pixdesc.h¶
-
struct
AVPixFmtDescriptor¶ -
-
uint8_t
nb_components¶
-
uint8_t
log2_chroma_w¶
-
uint8_t
log2_chroma_h¶
-
uint8_t
flags¶
-
uint8_t
-
const AVPixFmtDescriptor *
av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)¶
-
const AVPixFmtDescriptor *
av_pix_fmt_desc_next(const AVPixFmtDescriptor *prev)¶
-
const char *
av_get_pix_fmt_name(enum AVPixelFormat pix_fmt)¶
-
enum AVPixelFormat
av_get_pix_fmt(const char *name)¶ Referenced by:
av.video.codeccontext.VideoCodecContext.pix_fmt.
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)¶ Referenced by:
av.audio.resampler.AudioResampler.__dealloc__.
-
void
swr_close(struct SwrContext *s)¶ Referenced by:
av.audio.resampler.AudioResampler.__dealloc__.
libswscale/swscale.h¶
-
unsigned
swscale_version(void)¶
-
const char *
swscale_configuration(void)¶
-
const char *
swscale_license(void)¶
-
struct
SwsContext¶
-
struct
SwsFilter¶
-
SWS_BILINEAR¶
-
SWS_BICUBIC¶
-
SWS_CS_ITU709¶ Referenced by:
av.video.frame.VideoFrame.reformat().
-
SWS_CS_FCC¶ Referenced by:
av.video.frame.VideoFrame.reformat().
-
SWS_CS_ITU601¶ Referenced by:
av.video.frame.VideoFrame.reformat().
-
SWS_CS_ITU624¶
-
SWS_CS_SMPTE170M¶ Referenced by:
av.video.frame.VideoFrame.reformat().
-
SWS_CS_SMPTE240M¶ Referenced by:
av.video.frame.VideoFrame.reformat().
-
SWS_CS_DEFAULT¶ Referenced by:
av.video.frame.VideoFrame.reformat().
-
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)¶