24 #ifndef AVCODEC_INTERNAL_H
25 #define AVCODEC_INTERNAL_H
65 #if FF_API_OLD_DECODE_AUDIO
110 #define FF_MAX_EXTRADATA_SIZE ((1 << 28) - FF_INPUT_BUFFER_PADDING_SIZE)
int avpriv_unlock_avformat(void)
int buffer_count
internal buffer count used by default get/release/reget_buffer().
InternalBuffer * buffer
internal buffers used by default get/release/reget_buffer().
AVHWAccel * ff_find_hwaccel(enum CodecID codec_id, enum PixelFormat pix_fmt)
Return the hardware accelerated codec for codec codec_id and pixel format pix_fmt.
uint8_t * base[AV_NUM_DATA_POINTERS]
struct InternalBuffer InternalBuffer
int is_copy
Whether the parent AVCodecContext is a copy of the context which had init() called on it...
#define AV_NUM_DATA_POINTERS
int avpriv_lock_avformat(void)
int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame)
int ff_alloc_packet(AVPacket *avpkt, int size)
Check AVPacket size and/or allocate data.
uint8_t * data[AV_NUM_DATA_POINTERS]
main external API structure.
struct AVCodecInternal AVCodecInternal
unsigned int avpriv_toupper4(unsigned int x)
int ff_is_hwaccel_pix_fmt(enum PixelFormat pix_fmt)
Determine whether pix_fmt is a hardware accelerated format.
CodecID
Identify the syntax and semantics of the bitstream.
static const struct @46 tab
TwinVQ codebooks.
int linesize[AV_NUM_DATA_POINTERS]
int ff_match_2uint16(const uint16_t(*tab)[2], int size, int a, int b)
Return the index into tab at which {a,b} match elements {[0],[1]} of tab.