|
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) |
|
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) |
|
attribute_deprecated void | avcodec_register_all (void) |
|
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 attribute_deprecated AVClass * | avcodec_get_frame_class (void) |
|
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...
|
|
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...
|
|
int | avcodec_default_get_buffer2 (AVCodecContext *s, AVFrame *frame, int flags) |
| The default callback for AVCodecContext.get_buffer2(). More...
|
|
int | avcodec_default_get_encode_buffer (AVCodecContext *s, AVPacket *pkt, int flags) |
| The default callback for AVCodecContext.get_encode_buffer(). 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...
|
|
attribute_deprecated 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) |
|
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...
|
|
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...
|
|
attribute_deprecated int | avcodec_get_pix_fmt_loss (enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha) |
|
attribute_deprecated 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 codec 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 attribute_deprecated AVBitStreamFilter * | av_bsf_next (void **opaque) |
|
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...
|
|
int | avcodec_is_open (AVCodecContext *s) |
|
AVCPBProperties * | av_cpb_properties_alloc (size_t *size) |
| Allocate a CPB properties structure and initialize its fields to default values. More...
|
|