/external/flac/libFLAC/ |
ogg_mapping.c | 40 const FLAC__byte FLAC__OGG_MAPPING_FIRST_HEADER_PACKET_TYPE = 0x7f; 42 const FLAC__byte * const FLAC__OGG_MAPPING_MAGIC = (const FLAC__byte * const)"FLAC";
|
md5.c | 181 static void FLAC__MD5Update(FLAC__MD5Context *ctx, FLAC__byte const *buf, unsigned len) 193 memcpy((FLAC__byte *)ctx->in + 64 - t, buf, len); 197 memcpy((FLAC__byte *)ctx->in + 64 - t, buf, t); 238 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *ctx) 241 FLAC__byte *p = (FLAC__byte *)ctx->in + count; 253 p = (FLAC__byte *)ctx->in; 277 static void format_input_(FLAC__byte *buf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) 281 register FLAC__byte *buf_ = buf; 302 *buf_++ = (FLAC__byte)a_word; a_word >>= 8 [all...] |
ogg_encoder_aspect.c | 41 static const FLAC__byte FLAC__OGG_MAPPING_VERSION_MAJOR = 1; 42 static const FLAC__byte FLAC__OGG_MAPPING_VERSION_MINOR = 0; 111 FLAC__StreamEncoderWriteStatus FLAC__ogg_encoder_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder, void *client_data) 125 FLAC__byte synthetic_first_packet_body[ 140 FLAC__byte *b = synthetic_first_packet_body; 162 *b = (FLAC__byte)(aspect->num_metadata >> 8); 164 *b = (FLAC__byte)(aspect->num_metadata);
|
bitreader.c | 212 FLAC__byte *target; 230 target = ((FLAC__byte*)(br->buffer+br->words)) + br->bytes; 641 FLAC__bool FLAC__bitreader_read_byte_block_aligned_no_crc(FLAC__BitReader *br, FLAC__byte *val, unsigned nvals) 653 *val++ = (FLAC__byte)x; 663 val[0] = (FLAC__byte)(word >> 24); 664 val[1] = (FLAC__byte)(word >> 16); 665 val[2] = (FLAC__byte)(word >> 8); 666 val[3] = (FLAC__byte)word; 668 val[0] = (FLAC__byte)(word >> 56); 669 val[1] = (FLAC__byte)(word >> 48) [all...] |
ogg_decoder_aspect.c | 105 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data) 165 const FLAC__byte *b = aspect->working_packet.packet; 222 switch(read_callback(decoder, (FLAC__byte*)oggbuf, &ogg_bytes_read, client_data)) {
|
format.c | 69 FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' }; 316 static FLaC__INLINE unsigned utf8len_(const FLAC__byte *utf8) 366 FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_value_is_legal(const FLAC__byte *value, unsigned length) 377 const FLAC__byte *end = value + length; 390 FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_is_legal(const FLAC__byte *entry, unsigned length) 392 const FLAC__byte *s, *end; 498 FLAC__byte *b;
|
crc.c | 40 FLAC__byte const FLAC__crc8_table[256] = { 113 void FLAC__crc8_update(const FLAC__byte data, FLAC__uint8 *crc) 118 void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 *crc) 124 FLAC__uint8 FLAC__crc8(const FLAC__byte *data, unsigned len) 134 unsigned FLAC__crc16(const FLAC__byte *data, unsigned len)
|
stream_encoder.c | 109 const FLAC__byte *data; 154 static FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, FLAC__bool is_last_block); 314 static FLAC__StreamDecoderReadStatus verify_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data); 319 static FLAC__StreamEncoderReadStatus file_read_callback_(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t *bytes, void *client_data); 322 static FLAC__StreamEncoderWriteStatus file_write_callback_(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data); [all...] |
metadata_iterators.c | 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) [all...] |
metadata_object.c | 59 static FLAC__bool copy_bytes_(FLAC__byte **to, const FLAC__byte *from, unsigned bytes) 63 FLAC__byte *x; 64 if(0 == (x = (FLAC__byte*)safe_malloc_(bytes))) 79 static FLAC__bool free_copy_bytes_(FLAC__byte **to, const FLAC__byte *from, unsigned bytes) 81 FLAC__byte *copy; 96 static FLAC__bool ensure_null_terminated_(FLAC__byte **entry, unsigned length) 98 FLAC__byte *x = (FLAC__byte*)safe_realloc_add_2op_(*entry, length, /*+*/1) [all...] |
ogg_helper.c | 44 static FLAC__bool full_read_(FLAC__StreamEncoder *encoder, FLAC__byte *buffer, size_t bytes, FLAC__StreamEncoderReadCallback read_callback, void *client_data) 98 FLAC__byte crc[4];
|
stream_decoder.c | 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 * [all...] |
/external/flac/libFLAC/include/private/ |
ogg_mapping.h | 42 extern const FLAC__byte FLAC__OGG_MAPPING_FIRST_HEADER_PACKET_TYPE; /* = 0x7f */ 47 extern const FLAC__byte * const FLAC__OGG_MAPPING_MAGIC; /* = "FLAC" */
|
crc.h | 41 extern FLAC__byte const FLAC__crc8_table[256]; 43 void FLAC__crc8_update(const FLAC__byte data, FLAC__uint8 *crc); 44 void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 *crc); 45 FLAC__uint8 FLAC__crc8(const FLAC__byte *data, unsigned len); 59 unsigned FLAC__crc16(const FLAC__byte *data, unsigned len);
|
md5.h | 35 FLAC__byte *internal_buf; 40 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *context);
|
ogg_decoder_aspect.h | 75 typedef FLAC__OggDecoderAspectReadStatus (*FLAC__OggDecoderAspectReadCallbackProxy)(const void *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data); 77 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data);
|
ogg_encoder_aspect.h | 59 typedef FLAC__StreamEncoderWriteStatus (*FLAC__OggEncoderAspectWriteCallbackProxy)(const void *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data); 61 FLAC__StreamEncoderWriteStatus FLAC__ogg_encoder_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder, void *client_data);
|
bitreader.h | 45 typedef FLAC__bool (*FLAC__BitReaderReadCallback)(FLAC__byte buffer[], size_t *bytes, void *client_data); 80 FLAC__bool FLAC__bitreader_read_byte_block_aligned_no_crc(FLAC__BitReader *br, FLAC__byte *val, unsigned nvals); /* WATCHOUT: does not CRC the read data! */ 95 FLAC__bool FLAC__bitreader_read_utf8_uint32(FLAC__BitReader *br, FLAC__uint32 *val, FLAC__byte *raw, unsigned *rawlen); 96 FLAC__bool FLAC__bitreader_read_utf8_uint64(FLAC__BitReader *br, FLAC__uint64 *val, FLAC__byte *raw, unsigned *rawlen);
|
bitwriter.h | 60 FLAC__bool FLAC__bitwriter_get_write_crc8(FLAC__BitWriter *bw, FLAC__byte *crc); 75 FLAC__bool FLAC__bitwriter_get_buffer(FLAC__BitWriter *bw, const FLAC__byte **buffer, size_t *bytes); 86 FLAC__bool FLAC__bitwriter_write_byte_block(FLAC__BitWriter *bw, const FLAC__byte vals[], unsigned nvals);
|
/external/flac/include/FLAC/ |
format.h | 170 extern FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4]; /* = "fLaC" */ 533 FLAC__byte md5sum[16]; 563 FLAC__byte id[4]; 564 FLAC__byte *data; 623 FLAC__byte *entry; 650 FLAC__byte number; 667 FLAC__byte number; 679 FLAC__byte num_indices; 781 FLAC__byte *description; 805 FLAC__byte *data [all...] |
ordinals.h | 67 typedef FLAC__uint8 FLAC__byte;
|
metadata.h | 236 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); 530 FLAC_API FLAC__bool FLAC__metadata_simple_iterator_get_application_id(FLAC__Metadata_SimpleIterator *iterator, FLAC__byte *id); [all...] |
stream_decoder.h | 480 * FLAC__StreamDecoderReadStatus read_cb(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data) 484 * *bytes = fread(buffer, sizeof(FLAC__byte), *bytes, file); 516 typedef FLAC__StreamDecoderReadStatus (*FLAC__StreamDecoderReadCallback)(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data); [all...] |
stream_encoder.h | 484 * FLAC__StreamEncoderReadStatus read_cb(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t *bytes, void *client_data) 488 * *bytes = fread(buffer, sizeof(FLAC__byte), *bytes, file); 518 typedef FLAC__StreamEncoderReadStatus (*FLAC__StreamEncoderReadCallback)(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t *bytes, void *client_data); 556 typedef FLAC__StreamEncoderWriteStatus (*FLAC__StreamEncoderWriteCallback)(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data); [all...] |
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
SoftFlacEncoder.h | 79 const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], 83 const FLAC__byte buffer[],
|