33 #ifndef FLAC__FORMAT_H 34 #define FLAC__FORMAT_H 93 #define FLAC__MAX_METADATA_TYPE_CODE (126u) 96 #define FLAC__MIN_BLOCK_SIZE (16u) 99 #define FLAC__MAX_BLOCK_SIZE (65535u) 103 #define FLAC__SUBSET_MAX_BLOCK_SIZE_48000HZ (4608u) 106 #define FLAC__MAX_CHANNELS (8u) 109 #define FLAC__MIN_BITS_PER_SAMPLE (4u) 112 #define FLAC__MAX_BITS_PER_SAMPLE (32u) 122 #define FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE (24u) 128 #define FLAC__MAX_SAMPLE_RATE (655350u) 131 #define FLAC__MAX_LPC_ORDER (32u) 135 #define FLAC__SUBSET_MAX_LPC_ORDER_48000HZ (12u) 140 #define FLAC__MIN_QLP_COEFF_PRECISION (5u) 145 #define FLAC__MAX_QLP_COEFF_PRECISION (15u) 148 #define FLAC__MAX_FIXED_ORDER (4u) 151 #define FLAC__MAX_RICE_PARTITION_ORDER (15u) 154 #define FLAC__SUBSET_MAX_RICE_PARTITION_ORDER (8u) 182 #define FLAC__STREAM_SYNC_LENGTH (4u) 550 #define FLAC__STREAM_METADATA_STREAMINFO_LENGTH (34u) 591 #define FLAC__STREAM_METADATA_SEEKPOINT_LENGTH (18u) 704 char media_catalog_number[129];
865 #define FLAC__STREAM_METADATA_HEADER_LENGTH (4u) unsigned qlp_coeff_precision
Definition: format.h:322
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_TYPE_LEN
Definition: format.c:130
FLAC__EntropyCodingMethodType
Definition: format.h:194
FLAC_API const char *const FLAC__EntropyCodingMethodTypeString[]
Definition: format.c:139
FLAC__FrameNumberType
Definition: format.h:396
static char * number(char *str, long num, int base, int size, int precision, int type)
Definition: kprintf.c:42
FLAC_API FLAC__bool FLAC__format_cuesheet_is_legal(const FLAC__StreamMetadata_CueSheet *cue_sheet, FLAC__bool check_cd_da_subset, const char **violation)
Definition: format.c:421
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN
Definition: format.c:70
GLuint const GLchar * name
Definition: glext.h:6671
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MIN_BLOCK_SIZE_LEN
Definition: format.c:65
FLAC__uint32 depth
Definition: format.h:797
FLAC_API const unsigned FLAC__SUBFRAME_LPC_QLP_COEFF_PRECISION_LEN
Definition: format.c:144
FLAC__byte * description
Definition: format.h:784
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_TOTAL_SAMPLES_LEN
Definition: format.c:72
FLAC__byte * data
Definition: format.h:808
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MAX_BLOCK_SIZE_LEN
Definition: format.c:66
unsigned sample_rate
Definition: format.h:532
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_SAMPLE_RATE_LEN
Definition: format.c:69
unsigned order
Definition: format.h:302
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_RESERVED_LEN
Definition: format.c:95
FLAC_API FLAC__bool FLAC__format_seektable_is_legal(const FLAC__StreamMetadata_SeekTable *seek_table)
Definition: format.c:244
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_NUMBER_LEN
Definition: format.c:91
unsigned capacity_by_order
Definition: format.h:224
FLAC_API const unsigned FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN
Definition: format.c:84
FLAC_API const unsigned FLAC__FRAME_HEADER_BLOCK_SIZE_LEN
Definition: format.c:121
FLAC__StreamMetadata_Picture_Type type
Definition: format.h:770
FLAC__EntropyCodingMethod entropy_coding_method
Definition: format.h:299
FLAC__Subframe_Constant constant
Definition: format.h:347
FLAC__uint16 crc
Definition: format.h:461
FLAC__byte * entry
Definition: format.h:626
FLAC__StreamMetadata_CueSheet cue_sheet
Definition: format.h:852
FLAC__FrameHeader header
Definition: format.h:474
unsigned min_framesize
Definition: format.h:531
uint32_t FLAC__uint32
Definition: ordinals.h:65
FLAC__uint64 offset
Definition: format.h:667
unsigned blocksize
Definition: format.h:412
FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4]
Definition: format.c:61
FLAC_API const unsigned FLAC__FRAME_HEADER_SAMPLE_RATE_LEN
Definition: format.c:122
FLAC__StreamMetadata_Picture_Type
Definition: format.h:732
FLAC__FrameFooter footer
Definition: format.h:476
FLAC_API FLAC__bool FLAC__format_sample_rate_is_valid(unsigned sample_rate)
Definition: format.c:209
FLAC__bool is_last
Definition: format.h:840
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MD5SUM_LEN
Definition: format.c:73
unsigned num_tracks
Definition: format.h:716
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MAX_FRAME_SIZE_LEN
Definition: format.c:68
FLAC_API const unsigned FLAC__FRAME_HEADER_BLOCKING_STRATEGY_LEN
Definition: format.c:120
FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_is_legal(const FLAC__byte *entry, unsigned length)
Definition: format.c:395
unsigned channels
Definition: format.h:533
FLAC_API const unsigned FLAC__SUBFRAME_TYPE_FIXED_BYTE_ALIGNED_MASK
Definition: format.c:153
This module contains #defines and symbols for exporting function calls, and providing version informa...
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_DEPTH_LEN
Definition: format.c:109
unsigned wasted_bits
Definition: format.h:352
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2_ESCAPE_PARAMETER
Definition: format.c:137
FLAC_API const unsigned FLAC__FRAME_HEADER_BITS_PER_SAMPLE_LEN
Definition: format.c:124
#define FLAC__MAX_METADATA_TYPE_CODE
Definition: format.h:93
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_INDEX_OFFSET_LEN
Definition: format.c:86
FLAC_API FLAC__bool FLAC__format_picture_is_legal(const FLAC__StreamMetadata_Picture *picture, const char **violation)
Definition: format.c:500
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_NUM_INDICES_LEN
Definition: format.c:96
FLAC_API const unsigned FLAC__FRAME_HEADER_SYNC
Definition: format.c:117
int dummy
Definition: format.h:555
FLAC__uint64 offset
Definition: format.h:648
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_TYPE_LEN
Definition: format.c:104
int32_t FLAC__int32
Definition: ordinals.h:62
FLAC_API unsigned FLAC__format_seektable_sort(FLAC__StreamMetadata_SeekTable *seek_table)
Definition: format.c:280
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:6303
FLAC_API const char *const FLAC__StreamMetadata_Picture_TypeString[]
Definition: format.c:185
#define FLAC__MAX_FIXED_ORDER
Definition: format.h:148
#define FLAC__MAX_CHANNELS
Definition: format.h:106
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_OFFSET_LEN
Definition: format.c:90
FLAC__uint32 length
Definition: format.h:625
FLAC_API const char * FLAC__VENDOR_STRING
Definition: format.c:58
FLAC__uint64 sample_number
Definition: format.h:575
FLAC__StreamMetadata_Padding padding
Definition: format.h:848
FLAC_API const char *const FLAC__SubframeTypeString[]
Definition: format.c:156
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_INDEX_NUMBER_LEN
Definition: format.c:87
FLAC__StreamMetadata_VorbisComment vorbis_comment
Definition: format.h:851
FLAC__Subframe_LPC lpc
Definition: format.h:349
FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_name_is_legal(const char *name)
Definition: format.c:362
FLAC__EntropyCodingMethod entropy_coding_method
Definition: format.h:316
FLAC_API const unsigned FLAC__STREAM_METADATA_SEEKPOINT_STREAM_OFFSET_LEN
Definition: format.c:78
FLAC_API const unsigned FLAC__FRAME_HEADER_CHANNEL_ASSIGNMENT_LEN
Definition: format.c:123
unsigned frame_samples
Definition: format.h:582
FLAC_API const unsigned FLAC__STREAM_METADATA_APPLICATION_ID_LEN
Definition: format.c:75
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_NUM_TRACKS_LEN
Definition: format.c:102
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN
Definition: format.c:98
FLAC__StreamMetadata_VorbisComment_Entry * comments
Definition: format.h:637
FLAC_API const char *const FLAC__FrameNumberTypeString[]
Definition: format.c:170
FLAC_API const unsigned FLAC__FRAME_HEADER_ZERO_PAD_LEN
Definition: format.c:125
unsigned num_points
Definition: format.h:613
FLAC__bool is_cd
Definition: format.h:713
FLAC__StreamMetadata_SeekTable seek_table
Definition: format.h:850
FLAC__Subframe_Verbatim verbatim
Definition: format.h:350
FLAC_API const unsigned FLAC__FRAME_HEADER_SYNC_LEN
Definition: format.c:118
FLAC__StreamMetadata_StreamInfo stream_info
Definition: format.h:847
int quantization_level
Definition: format.h:325
unsigned order
Definition: format.h:319
FLAC__StreamMetadata_CueSheet_Index * indices
Definition: format.h:685
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_LEAD_IN_LEN
Definition: format.c:99
FLAC__uint8 FLAC__byte
Definition: ordinals.h:72
FLAC_API const unsigned FLAC__SUBFRAME_TYPE_VERBATIM_BYTE_ALIGNED_MASK
Definition: format.c:152
FLAC__StreamMetadata_Picture picture
Definition: format.h:853
unsigned min_blocksize
Definition: format.h:530
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_ORDER_LEN
Definition: format.c:131
unsigned type
Definition: format.h:676
FLAC_API const FLAC__uint64 FLAC__STREAM_METADATA_SEEKPOINT_PLACEHOLDER
Definition: format.c:81
unsigned length
Definition: format.h:843
FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_value_is_legal(const FLAC__byte *value, unsigned length)
Definition: format.c:371
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_PRE_EMPHASIS_LEN
Definition: format.c:94
FLAC_API const unsigned FLAC__SUBFRAME_TYPE_LEN
Definition: format.c:148
FLAC__SubframeType
Definition: format.h:267
FLAC__byte number
Definition: format.h:653
FLAC_API const unsigned FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN
Definition: format.c:149
unsigned sample_rate
Definition: ffmpeg_core.c:181
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_RESERVED_LEN
Definition: format.c:101
FLAC__uint8 crc
Definition: format.h:439
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_ISRC_LEN
Definition: format.c:92
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_INDEX_RESERVED_LEN
Definition: format.c:88
FLAC__uint32 height
Definition: format.h:794
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_DATA_LENGTH_LEN
Definition: format.c:111
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_BITS_PER_SAMPLE_LEN
Definition: format.c:71
FLAC__StreamMetadata_SeekPoint * points
Definition: format.h:614
FLAC__MetadataType
Definition: format.h:489
#define FLAC_API
Definition: export.h:73
FLAC_API const unsigned FLAC__SUBFRAME_ZERO_PAD_LEN
Definition: format.c:147
FLAC_API const char *const FLAC__ChannelAssignmentString[]
Definition: format.c:163
FLAC__SubframeType type
Definition: format.h:345
FLAC_API const unsigned FLAC__SUBFRAME_TYPE_LPC_BYTE_ALIGNED_MASK
Definition: format.c:154
FLAC__uint64 sample_number
Definition: format.h:434
uint64_t FLAC__uint64
Definition: ordinals.h:66
const FLAC__int32 * residual
Definition: format.h:334
FLAC_API const char * FLAC__VERSION_STRING
Definition: format.c:56
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2_PARAMETER_LEN
Definition: format.c:133
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_WIDTH_LEN
Definition: format.c:107
FLAC_API const unsigned FLAC__STREAM_METADATA_SEEKPOINT_FRAME_SAMPLES_LEN
Definition: format.c:79
FLAC__MetadataType type
Definition: format.h:835
unsigned order
Definition: format.h:235
uint16_t FLAC__uint16
Definition: ordinals.h:64
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_HEIGHT_LEN
Definition: format.c:108
FLAC__StreamMetadata_Unknown unknown
Definition: format.h:854
FLAC__byte num_indices
Definition: format.h:682
FLAC__ChannelAssignment
Definition: format.h:381
unsigned bits_per_sample
Definition: format.h:534
FLAC__uint32 data_length
Definition: format.h:805
FLAC_API const unsigned FLAC__FRAME_HEADER_RESERVED_LEN
Definition: format.c:119
unsigned * raw_bits
Definition: format.h:219
#define FLAC__MAX_LPC_ORDER
Definition: format.h:131
FLAC__StreamMetadata_CueSheet_Track * tracks
Definition: format.h:719
uint8_t FLAC__uint8
Definition: ordinals.h:59
FLAC_API FLAC__bool FLAC__format_sample_rate_is_subset(unsigned sample_rate)
Definition: format.c:228
FLAC_API const unsigned FLAC__STREAM_METADATA_LENGTH_LEN
Definition: format.c:115
char * mime_type
Definition: format.h:773
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MIN_FRAME_SIZE_LEN
Definition: format.c:67
FLAC_API const unsigned FLAC__STREAM_METADATA_SEEKPOINT_SAMPLE_NUMBER_LEN
Definition: format.c:77
FLAC__StreamMetadata_VorbisComment_Entry vendor_string
Definition: format.h:635
FLAC__uint64 stream_offset
Definition: format.h:578
const FLAC__int32 * residual
Definition: format.h:308
FLAC_API const unsigned FLAC__SUBFRAME_LPC_QLP_SHIFT_LEN
Definition: format.c:145
FLAC_API const unsigned FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN
Definition: format.c:83
FLAC__FrameNumberType number_type
Definition: format.h:427
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_DESCRIPTION_LENGTH_LEN
Definition: format.c:106
unsigned sample_rate
Definition: format.h:415
const FLAC__int32 * data
Definition: format.h:292
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_RAW_LEN
Definition: format.c:134
FLAC__uint64 lead_in
Definition: format.h:710
FLAC__byte * data
Definition: format.h:567
int FLAC__bool
Definition: ordinals.h:70
FLAC_API const char *const FLAC__MetadataTypeString[]
Definition: format.c:175
FLAC__uint32 frame_number
Definition: format.h:433
GLsizei const GLfloat * value
Definition: glext.h:6709
FLAC__uint32 width
Definition: format.h:791
FLAC__EntropyCodingMethodType type
Definition: format.h:256
unsigned bits_per_sample
Definition: format.h:424
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN
Definition: format.c:105
unsigned channels
Definition: format.h:418
FLAC_API const unsigned FLAC__STREAM_METADATA_IS_LAST_LEN
Definition: format.c:113
FLAC_API const unsigned FLAC__SUBFRAME_TYPE_CONSTANT_BYTE_ALIGNED_MASK
Definition: format.c:151
FLAC_API const unsigned FLAC__STREAM_SYNC
Definition: format.c:62
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_PARAMETER_LEN
Definition: format.c:132
FLAC__ChannelAssignment channel_assignment
Definition: format.h:421
unsigned pre_emphasis
Definition: format.h:679
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_ESCAPE_PARAMETER
Definition: format.c:136
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_COLORS_LEN
Definition: format.c:110
FLAC_API FLAC__bool FLAC__format_blocksize_is_subset(unsigned blocksize, unsigned sample_rate)
Definition: format.c:218
FLAC__uint64 total_samples
Definition: format.h:535
const FLAC__EntropyCodingMethod_PartitionedRiceContents * contents
Definition: format.h:238
unsigned * parameters
Definition: format.h:216
FLAC__uint32 colors
Definition: format.h:800
FLAC_API const unsigned FLAC__FRAME_FOOTER_CRC_LEN
Definition: format.c:128
GLenum GLuint GLenum GLsizei length
Definition: glext.h:6233
FLAC__StreamMetadata_Application application
Definition: format.h:849
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_IS_CD_LEN
Definition: format.c:100
FLAC__byte * data
Definition: format.h:828
FLAC__int32 value
Definition: format.h:285
FLAC__Subframe_Fixed fixed
Definition: format.h:348
FLAC__EntropyCodingMethod_PartitionedRice partitioned_rice
Definition: format.h:258
FLAC__byte number
Definition: format.h:670
FLAC_API const unsigned FLAC__FRAME_HEADER_CRC_LEN
Definition: format.c:126
FLAC_API const unsigned FLAC__STREAM_METADATA_TYPE_LEN
Definition: format.c:114
FLAC__uint32 num_comments
Definition: format.h:636
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_TYPE_LEN
Definition: format.c:93
FLAC_API const unsigned FLAC__STREAM_SYNC_LEN
Definition: format.c:63