|
FFmpeg
|
FLAC (Free Lossless Audio Codec) common stuff. More...
#include "libavutil/intreadwrite.h"Go to the source code of this file.
Macros | |
| #define | FLAC_STREAMINFO_SIZE 34 |
| #define | FLAC_MAX_CHANNELS 8 |
| #define | FLAC_MIN_BLOCKSIZE 16 |
| #define | FLAC_MAX_BLOCKSIZE 65535 |
| #define | FLAC_MIN_FRAME_SIZE 10 |
Enumerations | |
| enum | { FLAC_CHMODE_INDEPENDENT = 0 , FLAC_CHMODE_LEFT_SIDE = 1 , FLAC_CHMODE_RIGHT_SIDE = 2 , FLAC_CHMODE_MID_SIDE = 3 } |
| enum | { FLAC_METADATA_TYPE_STREAMINFO = 0 , FLAC_METADATA_TYPE_PADDING , FLAC_METADATA_TYPE_APPLICATION , FLAC_METADATA_TYPE_SEEKTABLE , FLAC_METADATA_TYPE_VORBIS_COMMENT , FLAC_METADATA_TYPE_CUESHEET , FLAC_METADATA_TYPE_PICTURE , FLAC_METADATA_TYPE_INVALID = 127 } |
Functions | |
| static av_always_inline void | flac_parse_block_header (const uint8_t *block_header, int *last, int *type, int *size) |
| Parse the metadata block parameters from the header. | |
FLAC (Free Lossless Audio Codec) common stuff.
Definition in file flac.h.
| #define FLAC_STREAMINFO_SIZE 34 |
Definition at line 32 of file flac.h.
Referenced by ff_flac_is_extradata_valid(), ff_flac_parse_streaminfo(), ff_flac_write_header(), flac_decoder_config(), flac_encode_init(), flac_header(), flac_probe(), flac_read_header(), flac_write_audio_packet(), flac_write_trailer(), mov_read_dfla(), mov_write_dfla_tag(), ogg_build_flac_headers(), parse_streaminfo(), read_kuki_chunk(), and write_streaminfo().
| #define FLAC_MAX_CHANNELS 8 |
Definition at line 33 of file flac.h.
Referenced by ff_flac_decode_frame_header(), flac_encode_init(), raw_flac_probe(), and write_frame_header().
| #define FLAC_MIN_BLOCKSIZE 16 |
Definition at line 34 of file flac.h.
Referenced by ff_flac_parse_streaminfo(), and flac_encode_init().
| #define FLAC_MAX_BLOCKSIZE 65535 |
Definition at line 35 of file flac.h.
Referenced by calc_rice_params(), decode_frame(), and flac_encode_init().
| #define FLAC_MIN_FRAME_SIZE 10 |
Definition at line 36 of file flac.h.
Referenced by flac_decode_frame().
| anonymous enum |
| anonymous enum |
|
static |
Parse the metadata block parameters from the header.
| [in] | block_header | header data, at least 4 bytes |
| [out] | last | indicator for last metadata block |
| [out] | type | metadata block type |
| [out] | size | metadata block size |
Definition at line 63 of file flac.h.
Referenced by flac_read_header(), get_metadata_size(), mov_read_dfla(), parse_streaminfo(), and read_kuki_chunk().