|
FFmpeg
4.4.6
|
TAK (Tom's lossless Audio Kompressor) decoder/demuxer common functions. More...
Go to the source code of this file.
Data Structures | |
| struct | TAKStreamInfo |
Enumerations | |
| enum | TAKCodecType { TAK_CODEC_MONO_STEREO = 2 , TAK_CODEC_MULTICHANNEL = 4 } |
| enum | TAKMetaDataType { TAK_METADATA_END = 0 , TAK_METADATA_STREAMINFO , TAK_METADATA_SEEKTABLE , TAK_METADATA_SIMPLE_WAVE_DATA , TAK_METADATA_ENCODER , TAK_METADATA_PADDING , TAK_METADATA_MD5 , TAK_METADATA_LAST_FRAME } |
| enum | TAKFrameSizeType { TAK_FST_94ms = 0 , TAK_FST_125ms , TAK_FST_188ms , TAK_FST_250ms , TAK_FST_4096 , TAK_FST_8192 , TAK_FST_16384 , TAK_FST_512 , TAK_FST_1024 , TAK_FST_2048 } |
Functions | |
| int | ff_tak_check_crc (const uint8_t *buf, unsigned int buf_size) |
| int | avpriv_tak_parse_streaminfo (TAKStreamInfo *s, const uint8_t *buf, int size) |
| Parse the Streaminfo metadata block. More... | |
| void | ff_tak_parse_streaminfo (TAKStreamInfo *s, GetBitContext *gb) |
| int | ff_tak_decode_frame_header (AVCodecContext *avctx, GetBitContext *gb, TAKStreamInfo *s, int log_level_offset) |
| Validate and decode a frame header. More... | |
TAK (Tom's lossless Audio Kompressor) decoder/demuxer common functions.
Definition in file tak.h.
| #define TAK_MAX_CHANNELS (1 << TAK_FORMAT_CHANNEL_BITS) |
| #define TAK_MIN_FRAME_HEADER_BITS |
| #define TAK_MIN_FRAME_HEADER_LAST_BITS |
| #define TAK_ENCODER_BITS |
| #define TAK_SIZE_BITS |
| #define TAK_FORMAT_BITS |
| #define TAK_STREAMINFO_BITS |
| #define TAK_MAX_FRAME_HEADER_BITS |
| #define TAK_STREAMINFO_BYTES ((TAK_STREAMINFO_BITS + 7) / 8) |
| #define TAK_MAX_FRAME_HEADER_BYTES ((TAK_MAX_FRAME_HEADER_BITS + 7) / 8) |
| #define TAK_MIN_FRAME_HEADER_BYTES ((TAK_MIN_FRAME_HEADER_BITS + 7) / 8) |
| enum TAKCodecType |
| enum TAKMetaDataType |
| enum TAKFrameSizeType |
Definition at line 77 of file tak.c.
Referenced by tak_decode_frame(), and tak_parse().
| int avpriv_tak_parse_streaminfo | ( | TAKStreamInfo * | s, |
| const uint8_t * | buf, | ||
| int | size | ||
| ) |
Parse the Streaminfo metadata block.
| [out] | s | storage for parsed information |
| [in] | buf | input buffer |
| [in] | size | size of input buffer in bytes |
Definition at line 128 of file tak.c.
Referenced by tak_read_header().
| void ff_tak_parse_streaminfo | ( | TAKStreamInfo * | s, |
| GetBitContext * | gb | ||
| ) |
Definition at line 93 of file tak.c.
Referenced by avpriv_tak_parse_streaminfo(), and ff_tak_decode_frame_header().
| int ff_tak_decode_frame_header | ( | AVCodecContext * | avctx, |
| GetBitContext * | gb, | ||
| TAKStreamInfo * | s, | ||
| int | log_level_offset | ||
| ) |
Validate and decode a frame header.
| avctx | AVCodecContext to use as av_log() context | |
| [in] | gb | GetBitContext from which to read frame header |
| [out] | s | frame information |
| log_level_offset | log level offset, can be used to silence error messages. |
Definition at line 141 of file tak.c.
Referenced by tak_decode_frame(), and tak_parse().