|
attribute_deprecated AVRational | av_codec_get_pkt_timebase (const AVCodecContext *avctx) |
| Accessors for some AVCodecContext fields. More...
|
|
attribute_deprecated void | av_codec_set_pkt_timebase (AVCodecContext *avctx, AVRational val) |
|
const attribute_deprecated AVCodecDescriptor * | av_codec_get_codec_descriptor (const AVCodecContext *avctx) |
|
attribute_deprecated void | av_codec_set_codec_descriptor (AVCodecContext *avctx, const AVCodecDescriptor *desc) |
|
attribute_deprecated unsigned | av_codec_get_codec_properties (const AVCodecContext *avctx) |
|
attribute_deprecated int | av_codec_get_lowres (const AVCodecContext *avctx) |
|
attribute_deprecated void | av_codec_set_lowres (AVCodecContext *avctx, int val) |
|
attribute_deprecated int | av_codec_get_seek_preroll (const AVCodecContext *avctx) |
|
attribute_deprecated void | av_codec_set_seek_preroll (AVCodecContext *avctx, int val) |
|
attribute_deprecated uint16_t * | av_codec_get_chroma_intra_matrix (const AVCodecContext *avctx) |
|
attribute_deprecated void | av_codec_set_chroma_intra_matrix (AVCodecContext *avctx, uint16_t *val) |
|
attribute_deprecated int | av_codec_get_max_lowres (const AVCodec *codec) |
|
const AVCodecHWConfig * | avcodec_get_hw_config (const AVCodec *codec, int index) |
| Retrieve supported hardware configurations for a codec. More...
|
|
const AVCodec * | av_codec_iterate (void **opaque) |
| Iterate over all registered codecs. More...
|
|
attribute_deprecated AVCodec * | av_codec_next (const AVCodec *c) |
| If c is NULL, returns the first registered codec, if c is non-NULL, returns the next registered codec after c, or NULL if c is the last one. More...
|
|
unsigned | avcodec_version (void) |
| Return the LIBAVCODEC_VERSION_INT constant. More...
|
|
const char * | avcodec_configuration (void) |
| Return the libavcodec build-time configuration. More...
|
|
const char * | avcodec_license (void) |
| Return the libavcodec license. More...
|
|
attribute_deprecated void | avcodec_register (AVCodec *codec) |
| Register the codec codec and initialize libavcodec. More...
|
|
attribute_deprecated void | avcodec_register_all (void) |
| Register all the codecs, parsers and bitstream filters which were enabled at configuration time. More...
|
|
AVCodecContext * | avcodec_alloc_context3 (const AVCodec *codec) |
| Allocate an AVCodecContext and set its fields to default values. More...
|
|
void | avcodec_free_context (AVCodecContext **avctx) |
| Free the codec context and everything associated with it and write NULL to the provided pointer. More...
|
|
int | avcodec_get_context_defaults3 (AVCodecContext *s, const AVCodec *codec) |
|
const AVClass * | avcodec_get_class (void) |
| Get the AVClass for AVCodecContext. More...
|
|
const AVClass * | avcodec_get_frame_class (void) |
| Get the AVClass for AVFrame. More...
|
|
const AVClass * | avcodec_get_subtitle_rect_class (void) |
| Get the AVClass for AVSubtitleRect. More...
|
|
attribute_deprecated int | avcodec_copy_context (AVCodecContext *dest, const AVCodecContext *src) |
| Copy the settings of the source AVCodecContext into the destination AVCodecContext. More...
|
|
AVCodecParameters * | avcodec_parameters_alloc (void) |
| Allocate a new AVCodecParameters and set its fields to default values (unknown/invalid/0). More...
|
|
void | avcodec_parameters_free (AVCodecParameters **par) |
| Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied pointer. More...
|
|
int | avcodec_parameters_copy (AVCodecParameters *dst, const AVCodecParameters *src) |
| Copy the contents of src to dst. More...
|
|
int | avcodec_parameters_from_context (AVCodecParameters *par, const AVCodecContext *codec) |
| Fill the parameters struct based on the values from the supplied codec context. More...
|
|
int | avcodec_parameters_to_context (AVCodecContext *codec, const AVCodecParameters *par) |
| Fill the codec context based on the values from the supplied codec parameters. More...
|
|
int | avcodec_open2 (AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options) |
| Initialize the AVCodecContext to use the given AVCodec. More...
|
|
int | avcodec_close (AVCodecContext *avctx) |
| Close a given AVCodecContext and free all the data associated with it (but not the AVCodecContext itself). More...
|
|
void | avsubtitle_free (AVSubtitle *sub) |
| Free all allocated data in the given subtitle struct. More...
|
|
AVPacket * | av_packet_alloc (void) |
| Allocate an AVPacket and set its fields to default values. More...
|
|
AVPacket * | av_packet_clone (const AVPacket *src) |
| Create a new packet that references the same data as src. More...
|
|
void | av_packet_free (AVPacket **pkt) |
| Free the packet, if the packet is reference counted, it will be unreferenced first. More...
|
|
void | av_init_packet (AVPacket *pkt) |
| Initialize optional fields of a packet with default values. More...
|
|
int | av_new_packet (AVPacket *pkt, int size) |
| Allocate the payload of a packet and initialize its fields with default values. More...
|
|
void | av_shrink_packet (AVPacket *pkt, int size) |
| Reduce packet size, correctly zeroing padding. More...
|
|
int | av_grow_packet (AVPacket *pkt, int grow_by) |
| Increase packet size, correctly zeroing padding. More...
|
|
int | av_packet_from_data (AVPacket *pkt, uint8_t *data, int size) |
| Initialize a reference-counted packet from av_malloc()ed data. More...
|
|
attribute_deprecated int | av_dup_packet (AVPacket *pkt) |
|
attribute_deprecated int | av_copy_packet (AVPacket *dst, const AVPacket *src) |
| Copy packet, including contents. More...
|
|
attribute_deprecated int | av_copy_packet_side_data (AVPacket *dst, const AVPacket *src) |
| Copy packet side data. More...
|
|
attribute_deprecated void | av_free_packet (AVPacket *pkt) |
| Free a packet. More...
|
|
uint8_t * | av_packet_new_side_data (AVPacket *pkt, enum AVPacketSideDataType type, int size) |
| Allocate new information of a packet. More...
|
|
int | av_packet_add_side_data (AVPacket *pkt, enum AVPacketSideDataType type, uint8_t *data, size_t size) |
| Wrap an existing array as a packet side data. More...
|
|
int | av_packet_shrink_side_data (AVPacket *pkt, enum AVPacketSideDataType type, int size) |
| Shrink the already allocated side data buffer. More...
|
|
uint8_t * | av_packet_get_side_data (const AVPacket *pkt, enum AVPacketSideDataType type, int *size) |
| Get side information from packet. More...
|
|
attribute_deprecated int | av_packet_merge_side_data (AVPacket *pkt) |
|
attribute_deprecated int | av_packet_split_side_data (AVPacket *pkt) |
|
const char * | av_packet_side_data_name (enum AVPacketSideDataType type) |
|
uint8_t * | av_packet_pack_dictionary (AVDictionary *dict, int *size) |
| Pack a dictionary for use in side_data. More...
|
|
int | av_packet_unpack_dictionary (const uint8_t *data, int size, AVDictionary **dict) |
| Unpack a dictionary from side_data. More...
|
|
void | av_packet_free_side_data (AVPacket *pkt) |
| Convenience function to free all the side data stored. More...
|
|
int | av_packet_ref (AVPacket *dst, const AVPacket *src) |
| Setup a new reference to the data described by a given packet. More...
|
|
void | av_packet_unref (AVPacket *pkt) |
| Wipe the packet. More...
|
|
void | av_packet_move_ref (AVPacket *dst, AVPacket *src) |
| Move every field in src to dst and reset src. More...
|
|
int | av_packet_copy_props (AVPacket *dst, const AVPacket *src) |
| Copy only "properties" fields from src to dst. More...
|
|
int | av_packet_make_refcounted (AVPacket *pkt) |
| Ensure the data described by a given packet is reference counted. More...
|
|
int | av_packet_make_writable (AVPacket *pkt) |
| Create a writable reference for the data described by a given packet, avoiding data copy if possible. More...
|
|
void | av_packet_rescale_ts (AVPacket *pkt, AVRational tb_src, AVRational tb_dst) |
| Convert valid timing fields (timestamps / durations) in a packet from one timebase to another. More...
|
|
AVCodec * | avcodec_find_decoder (enum AVCodecID id) |
| Find a registered decoder with a matching codec ID. More...
|
|
AVCodec * | avcodec_find_decoder_by_name (const char *name) |
| Find a registered decoder with the specified name. More...
|
|
int | avcodec_default_get_buffer2 (AVCodecContext *s, AVFrame *frame, int flags) |
| The default callback for AVCodecContext.get_buffer2(). More...
|
|
void | avcodec_align_dimensions (AVCodecContext *s, int *width, int *height) |
| Modify width and height values so that they will result in a memory buffer that is acceptable for the codec if you do not use any horizontal padding. More...
|
|
void | avcodec_align_dimensions2 (AVCodecContext *s, int *width, int *height, int linesize_align[AV_NUM_DATA_POINTERS]) |
| Modify width and height values so that they will result in a memory buffer that is acceptable for the codec if you also ensure that all line sizes are a multiple of the respective linesize_align[i]. More...
|
|
int | avcodec_enum_to_chroma_pos (int *xpos, int *ypos, enum AVChromaLocation pos) |
| Converts AVChromaLocation to swscale x/y chroma position. More...
|
|
enum AVChromaLocation | avcodec_chroma_pos_to_enum (int xpos, int ypos) |
| Converts swscale x/y chroma position to AVChromaLocation. More...
|
|
attribute_deprecated int | avcodec_decode_audio4 (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, const AVPacket *avpkt) |
| Decode the audio frame of size avpkt->size from avpkt->data into frame. More...
|
|
attribute_deprecated int | avcodec_decode_video2 (AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, const AVPacket *avpkt) |
| Decode the video frame of size avpkt->size from avpkt->data into picture. More...
|
|
int | avcodec_decode_subtitle2 (AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, AVPacket *avpkt) |
| Decode a subtitle message. More...
|
|
int | avcodec_send_packet (AVCodecContext *avctx, const AVPacket *avpkt) |
| Supply raw packet data as input to a decoder. More...
|
|
int | avcodec_receive_frame (AVCodecContext *avctx, AVFrame *frame) |
| Return decoded output data from a decoder. More...
|
|
int | avcodec_send_frame (AVCodecContext *avctx, const AVFrame *frame) |
| Supply a raw video or audio frame to the encoder. More...
|
|
int | avcodec_receive_packet (AVCodecContext *avctx, AVPacket *avpkt) |
| Read encoded data from the encoder. More...
|
|
int | avcodec_get_hw_frames_parameters (AVCodecContext *avctx, AVBufferRef *device_ref, enum AVPixelFormat hw_pix_fmt, AVBufferRef **out_frames_ref) |
| Create and return a AVHWFramesContext with values adequate for hardware decoding. More...
|
|
const AVCodecParser * | av_parser_iterate (void **opaque) |
| Iterate over all registered codec parsers. More...
|
|
attribute_deprecated AVCodecParser * | av_parser_next (const AVCodecParser *c) |
|
attribute_deprecated void | av_register_codec_parser (AVCodecParser *parser) |
|
AVCodecParserContext * | av_parser_init (int codec_id) |
|
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) |
| Parse a packet. More...
|
|
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) |
|
AVCodec * | avcodec_find_encoder (enum AVCodecID id) |
| Find a registered encoder with a matching codec ID. More...
|
|
AVCodec * | avcodec_find_encoder_by_name (const char *name) |
| Find a registered encoder with the specified name. More...
|
|
attribute_deprecated int | avcodec_encode_audio2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
| Encode a frame of audio. More...
|
|
attribute_deprecated int | avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
| Encode a frame of video. More...
|
|
int | avcodec_encode_subtitle (AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub) |
|
attribute_deprecated int | avpicture_alloc (AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height) |
|
attribute_deprecated void | avpicture_free (AVPicture *picture) |
|
attribute_deprecated int | avpicture_fill (AVPicture *picture, const uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height) |
|
attribute_deprecated int | avpicture_layout (const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height, unsigned char *dest, int dest_size) |
|
attribute_deprecated int | avpicture_get_size (enum AVPixelFormat pix_fmt, int width, int height) |
|
attribute_deprecated void | av_picture_copy (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height) |
|
attribute_deprecated int | av_picture_crop (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int top_band, int left_band) |
|
attribute_deprecated int | av_picture_pad (AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, int padtop, int padbottom, int padleft, int padright, int *color) |
|
attribute_deprecated void | avcodec_get_chroma_sub_sample (enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift) |
|
unsigned int | avcodec_pix_fmt_to_codec_tag (enum AVPixelFormat pix_fmt) |
| Return a value representing the fourCC code associated to the pixel format pix_fmt, or 0 if no associated fourCC code can be found. More...
|
|
int | avcodec_get_pix_fmt_loss (enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha) |
|
enum AVPixelFormat | avcodec_find_best_pix_fmt_of_list (const enum AVPixelFormat *pix_fmt_list, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) |
| Find the best pixel format to convert to given a certain source pixel format. More...
|
|
enum AVPixelFormat | avcodec_find_best_pix_fmt_of_2 (enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) |
|
attribute_deprecated enum AVPixelFormat | avcodec_find_best_pix_fmt2 (enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) |
|
enum AVPixelFormat | avcodec_default_get_format (struct AVCodecContext *s, const enum AVPixelFormat *fmt) |
|
attribute_deprecated size_t | av_get_codec_tag_string (char *buf, size_t buf_size, unsigned int codec_tag) |
| Put a string representing the codec tag codec_tag in buf. More...
|
|
void | avcodec_string (char *buf, int buf_size, AVCodecContext *enc, int encode) |
|
const char * | av_get_profile_name (const AVCodec *codec, int profile) |
| Return a name for the specified profile, if available. More...
|
|
const char * | avcodec_profile_name (enum AVCodecID codec_id, int profile) |
| Return a name for the specified profile, if available. More...
|
|
int | avcodec_default_execute (AVCodecContext *c, int(*func)(AVCodecContext *c2, void *arg2), void *arg, int *ret, int count, int size) |
|
int | avcodec_default_execute2 (AVCodecContext *c, int(*func)(AVCodecContext *c2, void *arg2, int, int), void *arg, int *ret, int count) |
|
int | avcodec_fill_audio_frame (AVFrame *frame, int nb_channels, enum AVSampleFormat sample_fmt, const uint8_t *buf, int buf_size, int align) |
| Fill AVFrame audio data and linesize pointers. More...
|
|
void | avcodec_flush_buffers (AVCodecContext *avctx) |
| Reset the internal decoder state / flush internal buffers. More...
|
|
int | av_get_bits_per_sample (enum AVCodecID codec_id) |
| Return codec bits per sample. More...
|
|
enum AVCodecID | av_get_pcm_codec (enum AVSampleFormat fmt, int be) |
| Return the PCM codec associated with a sample format. More...
|
|
int | av_get_exact_bits_per_sample (enum AVCodecID codec_id) |
| Return codec bits per sample. More...
|
|
int | av_get_audio_frame_duration (AVCodecContext *avctx, int frame_bytes) |
| Return audio frame duration. More...
|
|
int | av_get_audio_frame_duration2 (AVCodecParameters *par, int frame_bytes) |
| This function is the same as av_get_audio_frame_duration(), except it works with AVCodecParameters instead of an AVCodecContext. More...
|
|
attribute_deprecated void | av_register_bitstream_filter (AVBitStreamFilter *bsf) |
|
attribute_deprecated AVBitStreamFilterContext * | av_bitstream_filter_init (const char *name) |
|
attribute_deprecated int | av_bitstream_filter_filter (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe) |
|
attribute_deprecated void | av_bitstream_filter_close (AVBitStreamFilterContext *bsf) |
|
const attribute_deprecated AVBitStreamFilter * | av_bitstream_filter_next (const AVBitStreamFilter *f) |
|
const AVBitStreamFilter * | av_bsf_get_by_name (const char *name) |
|
const AVBitStreamFilter * | av_bsf_iterate (void **opaque) |
| Iterate over all registered bitstream filters. More...
|
|
const attribute_deprecated AVBitStreamFilter * | av_bsf_next (void **opaque) |
|
int | av_bsf_alloc (const AVBitStreamFilter *filter, AVBSFContext **ctx) |
| Allocate a context for a given bitstream filter. More...
|
|
int | av_bsf_init (AVBSFContext *ctx) |
| Prepare the filter for use, after all the parameters and options have been set. More...
|
|
int | av_bsf_send_packet (AVBSFContext *ctx, AVPacket *pkt) |
| Submit a packet for filtering. More...
|
|
int | av_bsf_receive_packet (AVBSFContext *ctx, AVPacket *pkt) |
| Retrieve a filtered packet. More...
|
|
void | av_bsf_flush (AVBSFContext *ctx) |
| Reset the internal bitstream filter state / flush internal buffers. More...
|
|
void | av_bsf_free (AVBSFContext **ctx) |
| Free a bitstream filter context and everything associated with it; write NULL into the supplied pointer. More...
|
|
const AVClass * | av_bsf_get_class (void) |
| Get the AVClass for AVBSFContext. More...
|
|
AVBSFList * | av_bsf_list_alloc (void) |
| Allocate empty list of bitstream filters. More...
|
|
void | av_bsf_list_free (AVBSFList **lst) |
| Free list of bitstream filters. More...
|
|
int | av_bsf_list_append (AVBSFList *lst, AVBSFContext *bsf) |
| Append bitstream filter to the list of bitstream filters. More...
|
|
int | av_bsf_list_append2 (AVBSFList *lst, const char *bsf_name, AVDictionary **options) |
| Construct new bitstream filter context given it's name and options and append it to the list of bitstream filters. More...
|
|
int | av_bsf_list_finalize (AVBSFList **lst, AVBSFContext **bsf) |
| Finalize list of bitstream filters. More...
|
|
int | av_bsf_list_parse_str (const char *str, AVBSFContext **bsf) |
| Parse string describing list of bitstream filters and create single AVBSFContext describing the whole chain of bitstream filters. More...
|
|
int | av_bsf_get_null_filter (AVBSFContext **bsf) |
| Get null/pass-through bitstream filter. More...
|
|
void | av_fast_padded_malloc (void *ptr, unsigned int *size, size_t min_size) |
| Same behaviour av_fast_malloc but the buffer has additional AV_INPUT_BUFFER_PADDING_SIZE at the end which will always be 0. More...
|
|
void | av_fast_padded_mallocz (void *ptr, unsigned int *size, size_t min_size) |
| Same behaviour av_fast_padded_malloc except that buffer will always be 0-initialized after call. More...
|
|
unsigned int | av_xiphlacing (unsigned char *s, unsigned int v) |
| Encode extradata length to a buffer. More...
|
|
attribute_deprecated void | av_register_hwaccel (AVHWAccel *hwaccel) |
| Register the hardware accelerator hwaccel. More...
|
|
attribute_deprecated AVHWAccel * | av_hwaccel_next (const AVHWAccel *hwaccel) |
| If hwaccel is NULL, returns the first registered hardware accelerator, if hwaccel is non-NULL, returns the next registered hardware accelerator after hwaccel, or NULL if hwaccel is the last one. More...
|
|
attribute_deprecated int | av_lockmgr_register (int(*cb)(void **mutex, enum AVLockOp op)) |
| Register a user provided lock manager supporting the operations specified by AVLockOp. More...
|
|
enum AVMediaType | avcodec_get_type (enum AVCodecID codec_id) |
| Get the type of the given codec. More...
|
|
const char * | avcodec_get_name (enum AVCodecID id) |
| Get the name of a codec. More...
|
|
int | avcodec_is_open (AVCodecContext *s) |
|
int | av_codec_is_encoder (const AVCodec *codec) |
|
int | av_codec_is_decoder (const AVCodec *codec) |
|
const AVCodecDescriptor * | avcodec_descriptor_get (enum AVCodecID id) |
|
const AVCodecDescriptor * | avcodec_descriptor_next (const AVCodecDescriptor *prev) |
| Iterate over all codec descriptors known to libavcodec. More...
|
|
const AVCodecDescriptor * | avcodec_descriptor_get_by_name (const char *name) |
|
AVCPBProperties * | av_cpb_properties_alloc (size_t *size) |
| Allocate a CPB properties structure and initialize its fields to default values. More...
|
|