Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:FLAC__byte

97 static FLAC__byte ID3V2_TAG_[3] = { 'I', 'D', '3' };
108 static FLAC__bool has_id_filtered_(FLAC__StreamDecoder *decoder, FLAC__byte *id);
127 static FLAC__bool read_callback_(FLAC__byte buffer[], size_t *bytes, void *client_data);
129 static FLAC__StreamDecoderReadStatus read_callback_ogg_aspect_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes);
130 static FLAC__OggDecoderAspectReadStatus read_callback_proxy_(const void *void_decoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
138 static FLAC__StreamDecoderReadStatus file_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
184 FLAC__byte *metadata_filter_ids;
189 FLAC__byte header_warmup[2]; /* contains the sync code and reserved bits */
190 FLAC__byte lookahead; /* temp storage when we need to look ahead one byte in the stream */
199 FLAC__byte computed_md5sum[16]; /* this is the sum we computed from the decoded data */
313 if(0 == (decoder->private_->metadata_filter_ids = (FLAC__byte*)malloc((FLAC__STREAM_METADATA_APPLICATION_ID_LEN/8) * decoder->private_->metadata_filter_ids_capacity))) {
777 FLAC_API FLAC__bool FLAC__stream_decoder_set_metadata_respond_application(FLAC__StreamDecoder *decoder, const FLAC__byte id[4])
792 if(0 == (decoder->private_->metadata_filter_ids = (FLAC__byte*)safe_realloc_mul_2op_(decoder->private_->metadata_filter_ids, decoder->private_->metadata_filter_ids_capacity, /*times*/2))) {
836 FLAC_API FLAC__bool FLAC__stream_decoder_set_metadata_ignore_application(FLAC__StreamDecoder *decoder, const FLAC__byte id[4])
851 if(0 == (decoder->private_->metadata_filter_ids = (FLAC__byte*)safe_realloc_mul_2op_(decoder->private_->metadata_filter_ids, decoder->private_->metadata_filter_ids_capacity, /*times*/2))) {
1358 FLAC__bool has_id_filtered_(FLAC__StreamDecoder *decoder, FLAC__byte *id)
1406 decoder->private_->header_warmup[0] = (FLAC__byte)x;
1413 decoder->private_->lookahead = (FLAC__byte)x;
1417 decoder->private_->header_warmup[1] = (FLAC__byte)x;
1506 if(0 == (block.data.application.data = (FLAC__byte*)malloc(real_length))) {
1534 if(0 == (block.data.unknown.data = (FLAC__byte*)malloc(real_length))) {
1727 if(0 == (obj->vendor_string.entry = (FLAC__byte*)safe_malloc_add_2op_(obj->vendor_string.length, /*+*/1))) {
1754 if(0 == (obj->comments[i].entry = (FLAC__byte*)safe_malloc_add_2op_(obj->comments[i].length, /*+*/1))) {
1782 if(!FLAC__bitreader_read_byte_block_aligned_no_crc(decoder->private_->input, (FLAC__byte*)obj->media_catalog_number, FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN/8))
1811 track->number = (FLAC__byte)x;
1814 if(!FLAC__bitreader_read_byte_block_aligned_no_crc(decoder->private_->input, (FLAC__byte*)track->isrc, FLAC__STREAM_METADATA_CUESHEET_TRACK_ISRC_LEN/8))
1830 track->num_indices = (FLAC__byte)x;
1844 index->number = (FLAC__byte)x;
1875 if(!FLAC__bitreader_read_byte_block_aligned_no_crc(decoder->private_->input, (FLAC__byte*)obj->mime_type, x))
1883 if(0 == (obj->description = (FLAC__byte*)safe_malloc_add_2op_(x, /*+*/1))) {
1912 if(0 == (obj->data = (FLAC__byte*)safe_malloc_(obj->data_length))) {
1976 decoder->private_->header_warmup[0] = (FLAC__byte)x;
1983 decoder->private_->lookahead = (FLAC__byte)x;
1987 decoder->private_->header_warmup[1] = (FLAC__byte)x;
2151 FLAC__byte crc8, raw_header[16]; /* MAGIC NUMBER based on the maximum frame header size, including CRC */
2193 decoder->private_->lookahead = (FLAC__byte)x;
2199 raw_header[raw_header_len++] = (FLAC__byte)x;
2380 raw_header[raw_header_len++] = (FLAC__byte)x;
2385 raw_header[raw_header_len++] = (FLAC__byte)_x;
2394 raw_header[raw_header_len++] = (FLAC__byte)x;
2399 raw_header[raw_header_len++] = (FLAC__byte)_x;
2413 crc8 = (FLAC__byte)x;
2792 FLAC__bool read_callback_(FLAC__byte buffer[], size_t *bytes, void *client_data)
2873 FLAC__StreamDecoderReadStatus read_callback_ogg_aspect_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes)
2899 FLAC__OggDecoderAspectReadStatus read_callback_proxy_(const void *void_decoder, FLAC__byte buffer[], size_t *bytes, void *client_data)
3331 FLAC__StreamDecoderReadStatus file_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data)
3336 *bytes = fread(buffer, sizeof(FLAC__byte), *bytes, decoder->private_->file);