Searched refs:FLAC__byte (Results 1 - 25 of 26) sorted by relevance

12

/external/flac/libFLAC/
H A Dogg_mapping.c40 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";
H A Dogg_encoder_aspect.c41 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);
H A Dbitreader.c125 FLAC__byte *target;
143 target = ((FLAC__byte*)(br->buffer+br->words)) + br->bytes;
546 FLAC__bool FLAC__bitreader_read_byte_block_aligned_no_crc(FLAC__BitReader *br, FLAC__byte *val, unsigned nvals)
558 *val++ = (FLAC__byte)x;
568 val[0] = (FLAC__byte)(word >> 24);
569 val[1] = (FLAC__byte)(word >> 16);
570 val[2] = (FLAC__byte)(word >> 8);
571 val[3] = (FLAC__byte)word;
573 val[0] = (FLAC__byte)(word >> 56);
574 val[1] = (FLAC__byte)(wor
[all...]
H A Dmd5.c178 static void FLAC__MD5Update(FLAC__MD5Context *ctx, FLAC__byte const *buf, unsigned len)
190 memcpy((FLAC__byte *)ctx->in + 64 - t, buf, len);
194 memcpy((FLAC__byte *)ctx->in + 64 - t, buf, t);
235 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *ctx)
238 FLAC__byte *p = (FLAC__byte *)ctx->in + count;
250 p = (FLAC__byte *)ctx->in;
276 FLAC__byte *buf_ = mbuf->p8;
384 *buf_++ = (FLAC__byte)a_word; a_word >>= 8;
385 *buf_++ = (FLAC__byte)a_wor
[all...]
H A Dogg_decoder_aspect.c105 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)) {
H A Dformat.c51 FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' };
308 static unsigned utf8len_(const FLAC__byte *utf8)
358 FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_value_is_legal(const FLAC__byte *value, unsigned length)
369 const FLAC__byte *end = value + length;
382 FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_is_legal(const FLAC__byte *entry, unsigned length)
384 const FLAC__byte *s, *end;
490 FLAC__byte *b;
H A Dcrc.c41 FLAC__byte const FLAC__crc8_table[256] = {
114 void FLAC__crc8_update(const FLAC__byte data, FLAC__uint8 *crc)
119 void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 *crc)
125 FLAC__uint8 FLAC__crc8(const FLAC__byte *data, unsigned len)
135 unsigned FLAC__crc16(const FLAC__byte *data, unsigned len)
H A Dstream_encoder.c87 const FLAC__byte *data;
134 static FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, FLAC__bool is_last_block);
294 static FLAC__StreamDecoderReadStatus verify_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
299 static FLAC__StreamEncoderReadStatus file_read_callback_(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
302 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);
2571 const FLAC__byte *buffer;
2616 FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, FLAC__bool is_last_block)
2712 FLAC__byte b[flac_max(6u, FLAC__STREAM_METADATA_SEEKPOINT_LENGTH)];
2772 b[0] = ((FLAC__byte)(bps-1) << 4) | (FLAC__byte)((sample
[all...]
H A Dmetadata_iterators.c82 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), *byte
[all...]
H A Dmetadata_object.c59 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
[all...]
H A Dogg_helper.c44 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];
H A Dstream_decoder.c74 static const FLAC__byte ID3V2_TAG_[3] = { 'I', 'D', '3' };
85 static FLAC__bool has_id_filtered_(FLAC__StreamDecoder *decoder, FLAC__byte *id);
104 static FLAC__bool read_callback_(FLAC__byte buffer[], size_t *bytes, void *client_data);
106 static FLAC__StreamDecoderReadStatus read_callback_ogg_aspect_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes);
107 static FLAC__OggDecoderAspectReadStatus read_callback_proxy_(const void *void_decoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
115 static FLAC__StreamDecoderReadStatus file_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
158 FLAC__byte *metadata_filter_ids;
163 FLAC__byte header_warmup[2]; /* contains the sync code and reserved bits */
164 FLAC__byte lookahead; /* temp storage when we need to look ahead one byte in the stream */
171 FLAC__byte computed_md5su
[all...]
H A Dstream_encoder_framing.c123 if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)FLAC__VENDOR_STRING, vendor_string_length))
136 if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.cue_sheet.media_catalog_number, FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN/8))
154 if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)track->isrc, FLAC__STREAM_METADATA_CUESHEET_TRACK_ISRC_LEN/8))
184 if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.picture.mime_type, len))
218 FLAC__byte crc;
/external/flac/libFLAC/include/private/
H A Dogg_mapping.h43 extern const FLAC__byte FLAC__OGG_MAPPING_FIRST_HEADER_PACKET_TYPE; /* = 0x7f */
48 extern const FLAC__byte * const FLAC__OGG_MAPPING_MAGIC; /* = "FLAC" */
H A Dcrc.h42 extern FLAC__byte const FLAC__crc8_table[256];
44 void FLAC__crc8_update(const FLAC__byte data, FLAC__uint8 *crc);
45 void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 *crc);
46 FLAC__uint8 FLAC__crc8(const FLAC__byte *data, unsigned len);
60 unsigned FLAC__crc16(const FLAC__byte *data, unsigned len);
H A Dmd5.h32 FLAC__byte *p8;
46 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *context);
H A Dogg_decoder_aspect.h76 typedef FLAC__OggDecoderAspectReadStatus (*FLAC__OggDecoderAspectReadCallbackProxy)(const void *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
78 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);
H A Dogg_encoder_aspect.h60 typedef FLAC__StreamEncoderWriteStatus (*FLAC__OggEncoderAspectWriteCallbackProxy)(const void *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data);
62 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);
H A Dbitreader.h46 typedef FLAC__bool (*FLAC__BitReaderReadCallback)(FLAC__byte buffer[], size_t *bytes, void *client_data);
81 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! */
89 FLAC__bool FLAC__bitreader_read_utf8_uint32(FLAC__BitReader *br, FLAC__uint32 *val, FLAC__byte *raw, unsigned *rawlen);
90 FLAC__bool FLAC__bitreader_read_utf8_uint64(FLAC__BitReader *br, FLAC__uint64 *val, FLAC__byte *raw, unsigned *rawlen);
H A Dbitwriter.h61 FLAC__bool FLAC__bitwriter_get_write_crc8(FLAC__BitWriter *bw, FLAC__byte *crc);
76 FLAC__bool FLAC__bitwriter_get_buffer(FLAC__BitWriter *bw, const FLAC__byte **buffer, size_t *bytes);
87 FLAC__bool FLAC__bitwriter_write_byte_block(FLAC__BitWriter *bw, const FLAC__byte vals[], unsigned nvals);
/external/flac/include/FLAC/
H A Dformat.h171 extern FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4]; /* = "fLaC" */
536 FLAC__byte md5sum[16];
566 FLAC__byte id[4];
567 FLAC__byte *data;
626 FLAC__byte *entry;
653 FLAC__byte number;
670 FLAC__byte number;
682 FLAC__byte num_indices;
784 FLAC__byte *description;
808 FLAC__byte *dat
[all...]
H A Dordinals.h72 typedef FLAC__uint8 FLAC__byte; typedef
H A Dmetadata.h237 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);
531 FLAC_API FLAC__bool FLAC__metadata_simple_iterator_get_application_id(FLAC__Metadata_SimpleIterator *iterator, FLAC__byte *id);
1376 FLAC_API FLAC__bool FLAC__metadata_object_application_set_data(FLAC__StreamMetadata *object, FLAC__byte *data, unsigned length, FLAC__bool copy);
2130 FLAC_API FLAC__bool FLAC__metadata_object_picture_set_description(FLAC__StreamMetadata *object, FLAC__byte *description, FLAC__bool copy);
2155 FLAC_API FLAC__bool FLAC__metadata_object_picture_set_data(FLAC__StreamMetadata *object, FLAC__byte *data, FLAC__uint32 length, FLAC__bool copy);
H A Dstream_decoder.h481 * FLAC__StreamDecoderReadStatus read_cb(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data)
485 * *bytes = fread(buffer, sizeof(FLAC__byte), *bytes, file);
517 typedef FLAC__StreamDecoderReadStatus (*FLAC__StreamDecoderReadCallback)(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
827 FLAC_API FLAC__bool FLAC__stream_decoder_set_metadata_respond_application(FLAC__StreamDecoder *decoder, const FLAC__byte id[4]);
868 FLAC_API FLAC__bool FLAC__stream_decoder_set_metadata_ignore_application(FLAC__StreamDecoder *decoder, const FLAC__byte id[4]);
H A Dstream_encoder.h485 * FLAC__StreamEncoderReadStatus read_cb(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t *bytes, void *client_data)
489 * *bytes = fread(buffer, sizeof(FLAC__byte), *bytes, file);
519 typedef FLAC__StreamEncoderReadStatus (*FLAC__StreamEncoderReadCallback)(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t *bytes, void *client_data);
557 typedef FLAC__StreamEncoderWriteStatus (*FLAC__StreamEncoderWriteCallback)(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data);

Completed in 183 milliseconds

12