LMMS
Loading...
Searching...
No Matches
format.h
Go to the documentation of this file.
1/* libFLAC - Free Lossless Audio Codec library
2 * Copyright (C) 2000-2009 Josh Coalson
3 * Copyright (C) 2011-2014 Xiph.Org Foundation
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * - Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * - Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 *
16 * - Neither the name of the Xiph.org Foundation nor the names of its
17 * contributors may be used to endorse or promote products derived from
18 * this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#ifndef FLAC__FORMAT_H
34#define FLAC__FORMAT_H
35
36#include "export.h"
37#include "ordinals.h"
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
53
85
86
87/*
88 Most of the values described in this file are defined by the FLAC
89 format specification. There is nothing to tune here.
90*/
91
93#define FLAC__MAX_METADATA_TYPE_CODE (126u)
94
96#define FLAC__MIN_BLOCK_SIZE (16u)
97
99#define FLAC__MAX_BLOCK_SIZE (65535u)
100
103#define FLAC__SUBSET_MAX_BLOCK_SIZE_48000HZ (4608u)
104
106#define FLAC__MAX_CHANNELS (8u)
107
109#define FLAC__MIN_BITS_PER_SAMPLE (4u)
110
112#define FLAC__MAX_BITS_PER_SAMPLE (32u)
113
122#define FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE (24u)
123
128#define FLAC__MAX_SAMPLE_RATE (655350u)
129
131#define FLAC__MAX_LPC_ORDER (32u)
132
135#define FLAC__SUBSET_MAX_LPC_ORDER_48000HZ (12u)
136
140#define FLAC__MIN_QLP_COEFF_PRECISION (5u)
141
145#define FLAC__MAX_QLP_COEFF_PRECISION (15u)
146
148#define FLAC__MAX_FIXED_ORDER (4u)
149
151#define FLAC__MAX_RICE_PARTITION_ORDER (15u)
152
154#define FLAC__SUBSET_MAX_RICE_PARTITION_ORDER (8u)
155
162extern FLAC_API const char *FLAC__VERSION_STRING;
163
168extern FLAC_API const char *FLAC__VENDOR_STRING;
169
171extern FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4]; /* = "fLaC" */
172
176extern FLAC_API const unsigned FLAC__STREAM_SYNC; /* = 0x664C6143 */
177
179extern FLAC_API const unsigned FLAC__STREAM_SYNC_LEN; /* = 32 bits */
180
182#define FLAC__STREAM_SYNC_LENGTH (4u)
183
184
185/*****************************************************************************
186 *
187 * Subframe structures
188 *
189 *****************************************************************************/
190
191/*****************************************************************************/
192
203
209extern FLAC_API const char * const FLAC__EntropyCodingMethodTypeString[];
210
211
214typedef struct {
215
216 unsigned *parameters;
218
219 unsigned *raw_bits;
223
230
242
247
252
261
263
264/*****************************************************************************/
265
273
279extern FLAC_API const char * const FLAC__SubframeTypeString[];
280
281
287
288
291typedef struct {
294
295
311
312
337
339extern FLAC_API const unsigned FLAC__SUBFRAME_LPC_QLP_SHIFT_LEN;
340
341
354
362extern FLAC_API const unsigned FLAC__SUBFRAME_ZERO_PAD_LEN;
363extern FLAC_API const unsigned FLAC__SUBFRAME_TYPE_LEN;
364extern FLAC_API const unsigned FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN;
365
370
371/*****************************************************************************/
372
373
374/*****************************************************************************
375 *
376 * Frame structures
377 *
378 *****************************************************************************/
379
387
393extern FLAC_API const char * const FLAC__ChannelAssignmentString[];
394
400
406extern FLAC_API const char * const FLAC__FrameNumberTypeString[];
407
408
445
446extern FLAC_API const unsigned FLAC__FRAME_HEADER_SYNC;
447extern FLAC_API const unsigned FLAC__FRAME_HEADER_SYNC_LEN;
448extern FLAC_API const unsigned FLAC__FRAME_HEADER_RESERVED_LEN;
450extern FLAC_API const unsigned FLAC__FRAME_HEADER_BLOCK_SIZE_LEN;
451extern FLAC_API const unsigned FLAC__FRAME_HEADER_SAMPLE_RATE_LEN;
454extern FLAC_API const unsigned FLAC__FRAME_HEADER_ZERO_PAD_LEN;
455extern FLAC_API const unsigned FLAC__FRAME_HEADER_CRC_LEN;
456
457
460typedef struct {
467
468extern FLAC_API const unsigned FLAC__FRAME_FOOTER_CRC_LEN;
469
470
478
479/*****************************************************************************/
480
481
482/*****************************************************************************
483 *
484 * Meta-data structures
485 *
486 *****************************************************************************/
487
518
524extern FLAC_API const char * const FLAC__MetadataTypeString[];
525
526
538
548
550#define FLAC__STREAM_METADATA_STREAMINFO_LENGTH (34u)
551
554typedef struct {
555 int dummy;
561
562
569
571
585
589
591#define FLAC__STREAM_METADATA_SEEKPOINT_LENGTH (18u)
592
598
599
616
617
628
630
631
639
641
642
656
660
661
689
697
698
723
729
730
756
763extern FLAC_API const char * const FLAC__StreamMetadata_Picture_TypeString[];
764
812
821
822
830
831
859
860extern FLAC_API const unsigned FLAC__STREAM_METADATA_IS_LAST_LEN;
861extern FLAC_API const unsigned FLAC__STREAM_METADATA_TYPE_LEN;
862extern FLAC_API const unsigned FLAC__STREAM_METADATA_LENGTH_LEN;
863
865#define FLAC__STREAM_METADATA_HEADER_LENGTH (4u)
866
867/*****************************************************************************/
868
869
870/*****************************************************************************
871 *
872 * Utility functions
873 *
874 *****************************************************************************/
875
884
895FLAC_API FLAC__bool FLAC__format_blocksize_is_subset(unsigned blocksize, unsigned sample_rate);
896
907
921
937
954
966
980
999FLAC_API FLAC__bool FLAC__format_cuesheet_is_legal(const FLAC__StreamMetadata_CueSheet *cue_sheet, FLAC__bool check_cd_da_subset, const char **violation);
1000
1018
1019/* \} */
1020
1021#ifdef __cplusplus
1022}
1023#endif
1024
1025#endif
static PuglViewHint int value
Definition pugl.h:1708
static const char * name
Definition pugl.h:1582
#define FLAC_API
Definition export.h:73
FLAC_API const unsigned FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN
Definition format.c:72
FLAC_API FLAC__bool FLAC__format_seektable_is_legal(const FLAC__StreamMetadata_SeekTable *seek_table)
Definition format.c:233
FLAC__StreamMetadata_VorbisComment vorbis_comment
Definition format.h:851
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_TOTAL_SAMPLES_LEN
Definition format.c:61
FLAC_API const unsigned FLAC__FRAME_HEADER_BLOCKING_STRATEGY_LEN
Definition format.c:109
unsigned * parameters
Definition format.h:216
FLAC_API const unsigned FLAC__SUBFRAME_LPC_QLP_SHIFT_LEN
Definition format.c:134
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2_ESCAPE_PARAMETER
Definition format.c:126
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MIN_FRAME_SIZE_LEN
Definition format.c:56
FLAC__StreamMetadata_SeekPoint * points
Definition format.h:614
unsigned order
Definition format.h:319
FLAC__int32 warmup[FLAC__MAX_FIXED_ORDER]
Definition format.h:305
unsigned max_blocksize
Definition format.h:530
FLAC__EntropyCodingMethod entropy_coding_method
Definition format.h:299
FLAC__uint32 depth
Definition format.h:797
FLAC_API const unsigned FLAC__FRAME_HEADER_ZERO_PAD_LEN
Definition format.c:114
FLAC_API const unsigned FLAC__SUBFRAME_ZERO_PAD_LEN
Definition format.c:136
unsigned sample_rate
Definition format.h:532
unsigned num_points
Definition format.h:613
unsigned channels
Definition format.h:533
FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_name_is_legal(const char *name)
Definition format.c:348
FLAC__StreamMetadata_CueSheet_Index * indices
Definition format.h:685
#define FLAC__MAX_LPC_ORDER
Definition format.h:131
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_ESCAPE_PARAMETER
Definition format.c:125
FLAC__uint32 width
Definition format.h:791
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MIN_BLOCK_SIZE_LEN
Definition format.c:54
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_RESERVED_LEN
Definition format.c:84
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_PARAMETER_LEN
Definition format.c:121
FLAC_API const unsigned FLAC__SUBFRAME_TYPE_LEN
Definition format.c:137
FLAC_API const char * FLAC__VERSION_STRING
Definition format.c:46
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_INDEX_NUMBER_LEN
Definition format.c:76
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_TYPE_LEN
Definition format.c:119
FLAC_API const unsigned FLAC__SUBFRAME_LPC_QLP_COEFF_PRECISION_LEN
Definition format.c:133
FLAC__SubframeType type
Definition format.h:345
unsigned order
Definition format.h:235
FLAC__SubframeType
Definition format.h:267
FLAC__StreamMetadata_Padding padding
Definition format.h:848
FLAC__StreamMetadata_Picture picture
Definition format.h:853
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_TYPE_LEN
Definition format.c:82
FLAC__uint64 total_samples
Definition format.h:535
unsigned frame_samples
Definition format.h:582
FLAC__Subframe_LPC lpc
Definition format.h:349
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_OFFSET_LEN
Definition format.c:79
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_NUMBER_LEN
Definition format.c:80
FLAC__Subframe_Constant constant
Definition format.h:347
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN
Definition format.c:87
const FLAC__EntropyCodingMethod_PartitionedRiceContents * contents
Definition format.h:238
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_DATA_LENGTH_LEN
Definition format.c:100
FLAC_API const unsigned FLAC__FRAME_HEADER_BLOCK_SIZE_LEN
Definition format.c:110
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_NUM_INDICES_LEN
Definition format.c:85
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MD5SUM_LEN
Definition format.c:62
FLAC_API const unsigned FLAC__STREAM_METADATA_TYPE_LEN
Definition format.c:103
FLAC_API const FLAC__uint64 FLAC__STREAM_METADATA_SEEKPOINT_PLACEHOLDER
Definition format.c:70
FLAC__MetadataType type
Definition format.h:835
FLAC__StreamMetadata_SeekTable seek_table
Definition format.h:850
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_COLORS_LEN
Definition format.c:99
unsigned length
Definition format.h:843
FLAC__uint64 offset
Definition format.h:667
FLAC__EntropyCodingMethod_PartitionedRice partitioned_rice
Definition format.h:258
FLAC__byte number
Definition format.h:670
FLAC__uint64 lead_in
Definition format.h:710
#define FLAC__MAX_CHANNELS
Definition format.h:106
char isrc[13]
Definition format.h:673
FLAC__uint64 sample_number
Definition format.h:434
FLAC_API const unsigned FLAC__STREAM_METADATA_LENGTH_LEN
Definition format.c:104
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_WIDTH_LEN
Definition format.c:96
unsigned min_framesize
Definition format.h:531
int dummy
Definition format.h:555
FLAC_API const unsigned FLAC__STREAM_METADATA_IS_LAST_LEN
Definition format.c:102
FLAC__Subframe subframes[FLAC__MAX_CHANNELS]
Definition format.h:475
FLAC_API const char *const FLAC__ChannelAssignmentString[]
Definition format.c:152
FLAC_API const unsigned FLAC__SUBFRAME_TYPE_VERBATIM_BYTE_ALIGNED_MASK
Definition format.c:141
unsigned channels
Definition format.h:418
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_LEAD_IN_LEN
Definition format.c:88
FLAC__byte * description
Definition format.h:784
FLAC__StreamMetadata_CueSheet_Track * tracks
Definition format.h:719
FLAC__byte num_indices
Definition format.h:682
FLAC__uint64 stream_offset
Definition format.h:578
unsigned qlp_coeff_precision
Definition format.h:322
#define FLAC__MAX_METADATA_TYPE_CODE
Definition format.h:93
FLAC__Subframe_Fixed fixed
Definition format.h:348
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_INDEX_OFFSET_LEN
Definition format.c:75
FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_is_legal(const FLAC__byte *entry, unsigned length)
Definition format.c:381
FLAC__StreamMetadata_CueSheet cue_sheet
Definition format.h:852
unsigned num_tracks
Definition format.h:716
const FLAC__int32 * data
Definition format.h:292
FLAC__bool is_cd
Definition format.h:713
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_TYPE_LEN
Definition format.c:93
FLAC__uint32 num_comments
Definition format.h:636
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MAX_BLOCK_SIZE_LEN
Definition format.c:55
FLAC_API const unsigned FLAC__FRAME_HEADER_RESERVED_LEN
Definition format.c:108
FLAC_API const unsigned FLAC__STREAM_SYNC_LEN
Definition format.c:52
FLAC__byte number
Definition format.h:653
unsigned order
Definition format.h:302
FLAC__uint32 height
Definition format.h:794
char media_catalog_number[129]
Definition format.h:704
FLAC__byte * entry
Definition format.h:626
FLAC__ChannelAssignment
Definition format.h:381
FLAC_API const char *const FLAC__FrameNumberTypeString[]
Definition format.c:159
FLAC_API const unsigned FLAC__FRAME_HEADER_CHANNEL_ASSIGNMENT_LEN
Definition format.c:112
FLAC__FrameNumberType number_type
Definition format.h:427
FLAC__StreamMetadata_VorbisComment_Entry vendor_string
Definition format.h:635
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_RESERVED_LEN
Definition format.c:90
FLAC__StreamMetadata_StreamInfo stream_info
Definition format.h:847
unsigned type
Definition format.h:676
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_BITS_PER_SAMPLE_LEN
Definition format.c:60
FLAC_API const unsigned FLAC__FRAME_HEADER_CRC_LEN
Definition format.c:115
FLAC_API const unsigned FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN
Definition format.c:138
unsigned max_framesize
Definition format.h:531
FLAC_API const unsigned FLAC__STREAM_METADATA_APPLICATION_ID_LEN
Definition format.c:64
FLAC_API const unsigned FLAC__STREAM_METADATA_SEEKPOINT_SAMPLE_NUMBER_LEN
Definition format.c:66
FLAC__FrameNumberType
Definition format.h:396
unsigned * raw_bits
Definition format.h:219
FLAC__int32 warmup[FLAC__MAX_LPC_ORDER]
Definition format.h:331
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2_PARAMETER_LEN
Definition format.c:122
FLAC__EntropyCodingMethodType
Definition format.h:194
FLAC__uint64 sample_number
Definition format.h:575
unsigned wasted_bits
Definition format.h:352
FLAC__byte * data
Definition format.h:567
FLAC__uint8 crc
Definition format.h:439
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_ORDER_LEN
Definition format.c:120
FLAC_API FLAC__bool FLAC__format_sample_rate_is_subset(unsigned sample_rate)
Definition format.c:217
FLAC__ChannelAssignment channel_assignment
Definition format.h:421
char * mime_type
Definition format.h:773
FLAC_API const unsigned FLAC__STREAM_SYNC
Definition format.c:51
FLAC__byte * data
Definition format.h:808
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MAX_FRAME_SIZE_LEN
Definition format.c:57
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_INDEX_RESERVED_LEN
Definition format.c:77
FLAC__uint32 length
Definition format.h:625
FLAC_API const unsigned FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN
Definition format.c:73
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_PRE_EMPHASIS_LEN
Definition format.c:83
FLAC__uint32 frame_number
Definition format.h:433
FLAC__byte * data
Definition format.h:828
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_HEIGHT_LEN
Definition format.c:97
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_DESCRIPTION_LENGTH_LEN
Definition format.c:95
FLAC__StreamMetadata_VorbisComment_Entry * comments
Definition format.h:637
unsigned pre_emphasis
Definition format.h:679
const FLAC__int32 * residual
Definition format.h:308
FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4]
Definition format.c:50
unsigned capacity_by_order
Definition format.h:224
FLAC_API const char *const FLAC__SubframeTypeString[]
Definition format.c:145
#define FLAC__MAX_FIXED_ORDER
Definition format.h:148
FLAC__uint16 crc
Definition format.h:461
FLAC__EntropyCodingMethodType type
Definition format.h:256
FLAC_API const char * FLAC__VENDOR_STRING
Definition format.c:48
FLAC__uint64 offset
Definition format.h:648
FLAC__StreamMetadata_Unknown unknown
Definition format.h:854
FLAC_API const unsigned FLAC__STREAM_METADATA_SEEKPOINT_STREAM_OFFSET_LEN
Definition format.c:67
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_TRACK_ISRC_LEN
Definition format.c:81
FLAC_API const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_RAW_LEN
Definition format.c:123
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_NUM_TRACKS_LEN
Definition format.c:91
FLAC_API const unsigned FLAC__SUBFRAME_TYPE_LPC_BYTE_ALIGNED_MASK
Definition format.c:143
FLAC__MetadataType
Definition format.h:489
FLAC__byte md5sum[16]
Definition format.h:536
const FLAC__int32 * residual
Definition format.h:334
FLAC__uint32 data_length
Definition format.h:805
FLAC_API const unsigned FLAC__STREAM_METADATA_CUESHEET_IS_CD_LEN
Definition format.c:89
unsigned sample_rate
Definition format.h:415
FLAC_API FLAC__bool FLAC__format_blocksize_is_subset(unsigned blocksize, unsigned sample_rate)
Definition format.c:207
unsigned blocksize
Definition format.h:412
FLAC__int32 qlp_coeff[FLAC__MAX_LPC_ORDER]
Definition format.h:328
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_SAMPLE_RATE_LEN
Definition format.c:58
FLAC_API unsigned FLAC__format_seektable_sort(FLAC__StreamMetadata_SeekTable *seek_table)
Definition format.c:269
FLAC_API const unsigned FLAC__FRAME_FOOTER_CRC_LEN
Definition format.c:117
unsigned min_blocksize
Definition format.h:530
FLAC__EntropyCodingMethod entropy_coding_method
Definition format.h:316
FLAC_API const unsigned FLAC__SUBFRAME_TYPE_CONSTANT_BYTE_ALIGNED_MASK
Definition format.c:140
FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN
Definition format.c:59
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN
Definition format.c:94
FLAC__StreamMetadata_Picture_Type type
Definition format.h:770
FLAC_API const char *const FLAC__StreamMetadata_Picture_TypeString[]
Definition format.c:174
FLAC_API const unsigned FLAC__STREAM_METADATA_SEEKPOINT_FRAME_SAMPLES_LEN
Definition format.c:68
FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_value_is_legal(const FLAC__byte *value, unsigned length)
Definition format.c:357
unsigned bits_per_sample
Definition format.h:424
FLAC__FrameHeader header
Definition format.h:474
FLAC_API const unsigned FLAC__FRAME_HEADER_BITS_PER_SAMPLE_LEN
Definition format.c:113
FLAC__Subframe_Verbatim verbatim
Definition format.h:350
FLAC__FrameFooter footer
Definition format.h:476
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:407
FLAC_API FLAC__bool FLAC__format_sample_rate_is_valid(unsigned sample_rate)
Definition format.c:198
int quantization_level
Definition format.h:325
FLAC__bool is_last
Definition format.h:840
FLAC__StreamMetadata_Application application
Definition format.h:849
FLAC__uint32 colors
Definition format.h:800
FLAC__int32 value
Definition format.h:285
FLAC_API const char *const FLAC__MetadataTypeString[]
Definition format.c:164
FLAC_API const unsigned FLAC__STREAM_METADATA_PICTURE_DEPTH_LEN
Definition format.c:98
FLAC_API const unsigned FLAC__SUBFRAME_TYPE_FIXED_BYTE_ALIGNED_MASK
Definition format.c:142
FLAC_API const char *const FLAC__EntropyCodingMethodTypeString[]
Definition format.c:128
FLAC__StreamMetadata_Picture_Type
Definition format.h:732
unsigned bits_per_sample
Definition format.h:534
FLAC_API const unsigned FLAC__FRAME_HEADER_SYNC
Definition format.c:106
FLAC_API const unsigned FLAC__FRAME_HEADER_SYNC_LEN
Definition format.c:107
FLAC_API FLAC__bool FLAC__format_picture_is_legal(const FLAC__StreamMetadata_Picture *picture, const char **violation)
Definition format.c:486
FLAC_API const unsigned FLAC__FRAME_HEADER_SAMPLE_RATE_LEN
Definition format.c:111
@ FLAC__SUBFRAME_TYPE_LPC
Definition format.h:271
@ FLAC__SUBFRAME_TYPE_FIXED
Definition format.h:270
@ FLAC__SUBFRAME_TYPE_VERBATIM
Definition format.h:269
@ FLAC__SUBFRAME_TYPE_CONSTANT
Definition format.h:268
@ FLAC__CHANNEL_ASSIGNMENT_LEFT_SIDE
Definition format.h:383
@ FLAC__CHANNEL_ASSIGNMENT_INDEPENDENT
Definition format.h:382
@ FLAC__CHANNEL_ASSIGNMENT_MID_SIDE
Definition format.h:385
@ FLAC__CHANNEL_ASSIGNMENT_RIGHT_SIDE
Definition format.h:384
@ FLAC__FRAME_NUMBER_TYPE_FRAME_NUMBER
Definition format.h:397
@ FLAC__FRAME_NUMBER_TYPE_SAMPLE_NUMBER
Definition format.h:398
@ FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2
Definition format.h:199
@ FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE
Definition format.h:195
@ FLAC__METADATA_TYPE_CUESHEET
Definition format.h:506
@ FLAC__MAX_METADATA_TYPE
Definition format.h:515
@ FLAC__METADATA_TYPE_APPLICATION
Definition format.h:497
@ FLAC__METADATA_TYPE_SEEKTABLE
Definition format.h:500
@ FLAC__METADATA_TYPE_PADDING
Definition format.h:494
@ FLAC__METADATA_TYPE_PICTURE
Definition format.h:509
@ FLAC__METADATA_TYPE_UNDEFINED
Definition format.h:512
@ FLAC__METADATA_TYPE_STREAMINFO
Definition format.h:491
@ FLAC__METADATA_TYPE_VORBIS_COMMENT
Definition format.h:503
@ FLAC__STREAM_METADATA_PICTURE_TYPE_LEAD_ARTIST
Definition format.h:740
@ FLAC__STREAM_METADATA_PICTURE_TYPE_PUBLISHER_LOGOTYPE
Definition format.h:753
@ FLAC__STREAM_METADATA_PICTURE_TYPE_FRONT_COVER
Definition format.h:736
@ FLAC__STREAM_METADATA_PICTURE_TYPE_ARTIST
Definition format.h:741
@ FLAC__STREAM_METADATA_PICTURE_TYPE_DURING_PERFORMANCE
Definition format.h:748
@ FLAC__STREAM_METADATA_PICTURE_TYPE_COMPOSER
Definition format.h:744
@ FLAC__STREAM_METADATA_PICTURE_TYPE_FILE_ICON_STANDARD
Definition format.h:734
@ FLAC__STREAM_METADATA_PICTURE_TYPE_BAND_LOGOTYPE
Definition format.h:752
@ FLAC__STREAM_METADATA_PICTURE_TYPE_VIDEO_SCREEN_CAPTURE
Definition format.h:749
@ FLAC__STREAM_METADATA_PICTURE_TYPE_BAND
Definition format.h:743
@ FLAC__STREAM_METADATA_PICTURE_TYPE_LYRICIST
Definition format.h:745
@ FLAC__STREAM_METADATA_PICTURE_TYPE_ILLUSTRATION
Definition format.h:751
@ FLAC__STREAM_METADATA_PICTURE_TYPE_DURING_RECORDING
Definition format.h:747
@ FLAC__STREAM_METADATA_PICTURE_TYPE_BACK_COVER
Definition format.h:737
@ FLAC__STREAM_METADATA_PICTURE_TYPE_FILE_ICON
Definition format.h:735
@ FLAC__STREAM_METADATA_PICTURE_TYPE_FISH
Definition format.h:750
@ FLAC__STREAM_METADATA_PICTURE_TYPE_RECORDING_LOCATION
Definition format.h:746
@ FLAC__STREAM_METADATA_PICTURE_TYPE_MEDIA
Definition format.h:739
@ FLAC__STREAM_METADATA_PICTURE_TYPE_LEAFLET_PAGE
Definition format.h:738
@ FLAC__STREAM_METADATA_PICTURE_TYPE_OTHER
Definition format.h:733
@ FLAC__STREAM_METADATA_PICTURE_TYPE_CONDUCTOR
Definition format.h:742
@ FLAC__STREAM_METADATA_PICTURE_TYPE_UNDEFINED
Definition format.h:754
JSAMPIMAGE data
Definition jpeglib.h:945
uint16_t FLAC__uint16
Definition ordinals.h:64
int32_t FLAC__int32
Definition ordinals.h:62
FLAC__uint8 FLAC__byte
Definition ordinals.h:72
int FLAC__bool
Definition ordinals.h:70
uint32_t FLAC__uint32
Definition ordinals.h:65
uint64_t FLAC__uint64
Definition ordinals.h:66
uint8_t FLAC__uint8
Definition ordinals.h:59
png_uint_32 length
Definition png.c:2247
Definition format.h:255
Definition format.h:411
Definition format.h:473
Definition format.h:565
Definition format.h:703
Definition format.h:554
Definition format.h:769
Definition format.h:574
Definition format.h:612
Definition format.h:529
Definition format.h:827
Definition format.h:624
Definition format.h:634
Definition format.h:834
Definition format.h:284
Definition format.h:298
Definition format.h:315
Definition format.h:291
Definition format.h:344