Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:FLAC__byte

82 static void pack_uint32_(FLAC__uint32 val, FLAC__byte *b, unsigned bytes);
83 static void pack_uint32_little_endian_(FLAC__uint32 val, FLAC__byte *b, unsigned bytes);
84 static void pack_uint64_(FLAC__uint64 val, FLAC__byte *b, unsigned bytes);
85 static FLAC__uint32 unpack_uint32_(FLAC__byte *b, unsigned bytes);
86 static FLAC__uint32 unpack_uint32_little_endian_(FLAC__byte *b, unsigned bytes);
87 static FLAC__uint64 unpack_uint64_(FLAC__byte *b, unsigned bytes);
285 FLAC_API FLAC__bool FLAC__metadata_get_picture(const char *filename, FLAC__StreamMetadata **picture, FLAC__StreamMetadata_Picture_Type type, const char *mime_type, const FLAC__byte *description, unsigned max_width, unsigned max_height, unsigned max_depth, unsigned max_colors)
617 FLAC_API FLAC__bool FLAC__metadata_simple_iterator_get_application_id(FLAC__Metadata_SimpleIterator *iterator, FLAC__byte *id)
1258 static FLAC__StreamDecoderReadStatus chain_read_ogg_read_cb_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data)
1263 *bytes = chain->read_cb(buffer, sizeof(FLAC__byte), *bytes, chain->handle);
1987 void pack_uint32_(FLAC__uint32 val, FLAC__byte *b, unsigned bytes)
1994 *(--b) = (FLAC__byte)(val & 0xff);
1999 void pack_uint32_little_endian_(FLAC__uint32 val, FLAC__byte *b, unsigned bytes)
2004 *(b++) = (FLAC__byte)(val & 0xff);
2009 void pack_uint64_(FLAC__uint64 val, FLAC__byte *b, unsigned bytes)
2016 *(--b) = (FLAC__byte)(val & 0xff);
2021 FLAC__uint32 unpack_uint32_(FLAC__byte *b, unsigned bytes)
2032 FLAC__uint32 unpack_uint32_little_endian_(FLAC__byte *b, unsigned bytes)
2045 FLAC__uint64 unpack_uint64_(FLAC__byte *b, unsigned bytes)
2081 FLAC__byte raw_header[FLAC__STREAM_METADATA_HEADER_LENGTH];
2122 FLAC__byte buffer[FLAC__STREAM_METADATA_STREAMINFO_LENGTH], *b;
2172 if(0 == (block->data = (FLAC__byte*)malloc(block_length)))
2185 FLAC__byte buffer[FLAC__STREAM_METADATA_SEEKPOINT_LENGTH];
2211 FLAC__byte buffer[4]; /* magic number is asserted below */
2226 if(0 == (entry->entry = (FLAC__byte*)safe_malloc_add_2op_(entry->length, /*+*/1)))
2243 FLAC__byte buffer[4]; /* magic number is asserted below */
2271 FLAC__byte buffer[32]; /* asserted below that this is big enough */
2287 track->number = (FLAC__byte)unpack_uint32_(buffer, len);
2307 track->num_indices = (FLAC__byte)unpack_uint32_(buffer, len);
2326 track->indices[i].number = (FLAC__byte)unpack_uint32_(buffer, len);
2341 FLAC__byte buffer[1024]; /* MSVC needs a constant expression so we put a magic number and assert */
2383 static FLAC__Metadata_SimpleIteratorStatus read_metadata_block_data_picture_cstring_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Read read_cb, FLAC__byte **data, FLAC__uint32 *length, FLAC__uint32 length_len)
2385 FLAC__byte buffer[sizeof(FLAC__uint32)];
2401 if(0 == (*data = (FLAC__byte*)safe_malloc_add_2op_(*length, /*+*/1)))
2417 FLAC__byte buffer[4]; /* asserted below that this is big enough */
2432 if((status = read_metadata_block_data_picture_cstring_cb_(handle, read_cb, (FLAC__byte**)(&(block->mime_type)), &len, FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN)) != FLAC__METADATA_SIMPLE_ITERATOR_STATUS_OK)
2475 if(0 == (block->data = (FLAC__byte*)malloc(block_length)))
2515 FLAC__byte buffer[FLAC__STREAM_METADATA_HEADER_LENGTH];
2519 buffer[0] = (block->is_last? 0x80 : 0) | (FLAC__byte)block->type;
2554 FLAC__byte buffer[FLAC__STREAM_METADATA_STREAMINFO_LENGTH];
2569 buffer[13] = (FLAC__byte)(((bps1 & 0x0f) << 4) | ((block->total_samples >> 32) & 0x0f));
2582 FLAC__byte buffer[1024];
2618 FLAC__byte buffer[FLAC__STREAM_METADATA_SEEKPOINT_LENGTH];
2637 FLAC__byte buffer[4]; /* magic number is asserted below */
2665 FLAC__byte buffer[1024]; /* asserted below that this is big enough */
2760 FLAC__byte buffer[4]; /* magic number is asserted below */
2980 FLAC__byte buffer[4];
3076 FLAC__byte x;
3134 FLAC__byte buffer[8192];
3156 FLAC__byte buffer[8192];
3178 FLAC__byte buffer[8192];
3198 FLAC__byte buffer[8192];