37     if (!memcmp(p->
buf, 
"tBaK", 4))
 
   91             if (
avio_read(pb, buffer, size - 3) != size - 3) {
 
  120             for (i = 0; i < 16; i++)
 
  185         size = 
FFMIN(left, 1024);
 
#define AVERROR_INVALIDDATA
Invalid data found when processing input. 
 
static unsigned int get_bits(GetBitContext *s, int n)
Read 1-25 bits. 
 
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext. 
 
int64_t avio_skip(AVIOContext *s, int64_t offset)
Skip given number of bytes forward. 
 
enum AVStreamParseType need_parsing
 
uint8_t * extradata
some codecs need / can use extradata like Huffman tables. 
 
AVStream * avformat_new_stream(AVFormatContext *s, const AVCodec *c)
Add a new stream to a media file. 
 
#define AVERROR_EOF
End of file. 
 
#define AV_LOG_VERBOSE
Detailed information. 
 
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext. 
 
int bits_per_coded_sample
bits per sample/pixel from the demuxer (needed for huffyuv). 
 
int avio_read(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf. 
 
static uint64_t get_bits64(GetBitContext *s, int n)
Read 0-64 bits. 
 
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered. 
 
#define AV_EF_EXPLODE
abort decoding on minor error detection 
 
unsigned int avio_rl32(AVIOContext *s)
 
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
 
int64_t ff_ape_parse_tag(AVFormatContext *s)
Read and parse an APE tag. 
 
uint64_t channel_layout
Audio channel layout. 
 
int avio_r8(AVIOContext *s)
 
AVCodecContext * codec
Codec context associated with this stream. 
 
unsigned char * buf
Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero. 
 
#define FF_INPUT_BUFFER_PADDING_SIZE
Required number of additionally allocated bytes at the end of the input bitstream for decoding...
 
void ffio_init_checksum(AVIOContext *s, unsigned long(*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), unsigned long checksum)
 
int seekable
A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable. 
 
unsigned int avio_rb24(AVIOContext *s)
 
uint32_t av_crc(const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t length)
Calculate the CRC of a block. 
 
#define TAK_LAST_FRAME_SIZE_BITS
 
static int read_header(FFV1Context *f)
 
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
 
enum AVMediaType codec_type
 
int sample_rate
samples per second 
 
AVIOContext * pb
I/O context. 
 
static int init_get_bits8(GetBitContext *s, const uint8_t *buffer, int byte_size)
Initialize GetBitContext. 
 
void avpriv_tak_parse_streaminfo(GetBitContext *gb, TAKStreamInfo *s)
Parse the Streaminfo metadata block. 
 
TAK (Tom's lossless Audio Kompressor) decoder/demuxer common functions. 
 
unsigned long ffio_get_checksum(AVIOContext *s)
 
This structure contains the data a format has to probe a file. 
 
static unsigned int get_bits_long(GetBitContext *s, int n)
Read 0-32 bits. 
 
int64_t duration
Decoding: duration of the stream, in stream time base. 
 
const AVCRC * av_crc_get_table(AVCRCId crc_id)
Get an initialized standard CRC table. 
 
int64_t start_time
Decoding: pts of the first frame of the stream in presentation order, in stream time base...
 
int error_recognition
Error recognition; higher values will detect more errors but may misdetect some more or less valid pa...
 
int channels
number of audio channels 
 
void * priv_data
Format private data. 
 
int avio_feof(AVIOContext *s)
feof() equivalent for AVIOContext. 
 
#define TAK_ENCODER_VERSION_BITS
 
unsigned int avio_rl24(AVIOContext *s)
 
#define TAK_LAST_FRAME_POS_BITS
 
#define MKTAG(a, b, c, d)
 
This structure stores compressed data.