Home
last modified time | relevance | path

Searched refs:FLAC__byte (Results 1 – 25 of 28) sorted by relevance

12

/external/flac/include/FLAC/
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 *data;
[all …]
Dmetadata.h237 …, FLAC__StreamMetadata_Picture_Type type, const char *mime_type, const FLAC__byte *description, un…
531 …tadata_simple_iterator_get_application_id(FLAC__Metadata_SimpleIterator *iterator, FLAC__byte *id);
1376 …AC__metadata_object_application_set_data(FLAC__StreamMetadata *object, FLAC__byte *data, unsigned …
2130 …_metadata_object_picture_set_description(FLAC__StreamMetadata *object, FLAC__byte *description, FL…
2155 FLAC_API FLAC__bool FLAC__metadata_object_picture_set_data(FLAC__StreamMetadata *object, FLAC__byte
Dstream_decoder.h517 …(*FLAC__StreamDecoderReadCallback)(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
827 …eam_decoder_set_metadata_respond_application(FLAC__StreamDecoder *decoder, const FLAC__byte id[4]);
868 …ream_decoder_set_metadata_ignore_application(FLAC__StreamDecoder *decoder, const FLAC__byte id[4]);
/external/flac/libFLAC/include/private/
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);
Dbitreader.h46 typedef FLAC__bool (*FLAC__BitReaderReadCallback)(FLAC__byte buffer[], size_t *bytes, void *client_…
81 FLAC__bool FLAC__bitreader_read_byte_block_aligned_no_crc(FLAC__BitReader *br, FLAC__byte *val, uns…
89 FLAC__bool FLAC__bitreader_read_utf8_uint32(FLAC__BitReader *br, FLAC__uint32 *val, FLAC__byte *raw…
90 FLAC__bool FLAC__bitreader_read_utf8_uint64(FLAC__BitReader *br, FLAC__uint64 *val, FLAC__byte *raw…
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 …
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" */
Dmd5.h32 FLAC__byte *p8;
46 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *context);
Dogg_encoder_aspect.h60 …(*FLAC__OggEncoderAspectWriteCallbackProxy)(const void *encoder, const FLAC__byte buffer[], size_t…
62 …er_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t…
Dogg_decoder_aspect.h76 …Status (*FLAC__OggDecoderAspectReadCallbackProxy)(const void *decoder, FLAC__byte buffer[], size_t…
78 …g_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t…
/external/flac/libFLAC/
Dcrc.c41 FLAC__byte const FLAC__crc8_table[256] = {
114 void FLAC__crc8_update(const FLAC__byte data, FLAC__uint8 *crc) in FLAC__crc8_update()
119 void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 *crc) in FLAC__crc8_update_block()
125 FLAC__uint8 FLAC__crc8(const FLAC__byte *data, unsigned len) in FLAC__crc8()
135 unsigned FLAC__crc16(const FLAC__byte *data, unsigned len) in FLAC__crc16()
Dogg_encoder_aspect.c42 static const FLAC__byte FLAC__OGG_MAPPING_VERSION_MAJOR = 1;
43 static const FLAC__byte FLAC__OGG_MAPPING_VERSION_MINOR = 0;
112 …er_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
126 FLAC__byte synthetic_first_packet_body[ in FLAC__ogg_encoder_aspect_write_callback_wrapper()
141 FLAC__byte *b = synthetic_first_packet_body; in FLAC__ogg_encoder_aspect_write_callback_wrapper()
163 *b = (FLAC__byte)(aspect->num_metadata >> 8); in FLAC__ogg_encoder_aspect_write_callback_wrapper()
165 *b = (FLAC__byte)(aspect->num_metadata); in FLAC__ogg_encoder_aspect_write_callback_wrapper()
Dbitreader.c150 FLAC__byte *target; in bitreader_read_from_client_()
168 target = ((FLAC__byte*)(br->buffer+br->words)) + br->bytes; in bitreader_read_from_client_()
574 FLAC__bool FLAC__bitreader_read_byte_block_aligned_no_crc(FLAC__BitReader *br, FLAC__byte *val, uns… in FLAC__bitreader_read_byte_block_aligned_no_crc()
586 *val++ = (FLAC__byte)x; in FLAC__bitreader_read_byte_block_aligned_no_crc()
596 val[0] = (FLAC__byte)(word >> 24); in FLAC__bitreader_read_byte_block_aligned_no_crc()
597 val[1] = (FLAC__byte)(word >> 16); in FLAC__bitreader_read_byte_block_aligned_no_crc()
598 val[2] = (FLAC__byte)(word >> 8); in FLAC__bitreader_read_byte_block_aligned_no_crc()
599 val[3] = (FLAC__byte)word; in FLAC__bitreader_read_byte_block_aligned_no_crc()
601 val[0] = (FLAC__byte)(word >> 56); in FLAC__bitreader_read_byte_block_aligned_no_crc()
602 val[1] = (FLAC__byte)(word >> 48); in FLAC__bitreader_read_byte_block_aligned_no_crc()
[all …]
Dmd5.c178 static void FLAC__MD5Update(FLAC__MD5Context *ctx, FLAC__byte const *buf, unsigned len) in FLAC__MD5Update()
190 memcpy((FLAC__byte *)ctx->in + 64 - t, buf, len); in FLAC__MD5Update()
194 memcpy((FLAC__byte *)ctx->in + 64 - t, buf, t); in FLAC__MD5Update()
235 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *ctx) in FLAC__MD5Final()
238 FLAC__byte *p = (FLAC__byte *)ctx->in + count; in FLAC__MD5Final()
250 p = (FLAC__byte *)ctx->in; in FLAC__MD5Final()
276 FLAC__byte *buf_ = mbuf->p8; in format_input_()
384 *buf_++ = (FLAC__byte)a_word; a_word >>= 8; in format_input_()
385 *buf_++ = (FLAC__byte)a_word; a_word >>= 8; in format_input_()
386 *buf_++ = (FLAC__byte)a_word; in format_input_()
[all …]
Dogg_mapping.c41 const FLAC__byte FLAC__OGG_MAPPING_FIRST_HEADER_PACKET_TYPE = 0x7f;
43 const FLAC__byte * const FLAC__OGG_MAPPING_MAGIC = (const FLAC__byte * const)"FLAC";
Dstream_encoder.c91 const FLAC__byte *data;
138 static FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte b…
298 …erReadStatus verify_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
303 …oderReadStatus file_read_callback_(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t…
306 …eStatus file_write_callback_(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t…
2564 const FLAC__byte *buffer; in write_bitbuffer_()
2609 FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte buffer[]… in write_frame_()
2705 FLAC__byte b[flac_max(6u, FLAC__STREAM_METADATA_SEEKPOINT_LENGTH)]; in update_metadata_()
2765 b[0] = ((FLAC__byte)(bps-1) << 4) | (FLAC__byte)((samples >> 32) & 0x0F); in update_metadata_()
2766 b[1] = (FLAC__byte)((samples >> 24) & 0xFF); in update_metadata_()
[all …]
Dmetadata_object.c65 static FLAC__bool copy_bytes_(FLAC__byte **to, const FLAC__byte *from, unsigned bytes) in copy_bytes_()
69 FLAC__byte *x; in copy_bytes_()
83 static FLAC__bool free_copy_bytes_(FLAC__byte **to, const FLAC__byte *from, unsigned bytes)
85 FLAC__byte *copy;
99 static FLAC__bool ensure_null_terminated_(FLAC__byte **entry, unsigned length) in ensure_null_terminated_()
101 FLAC__byte *x = safe_realloc_add_2op_(*entry, length, /*+*/1); in ensure_null_terminated_()
136 FLAC__byte *x; in copy_vcentry_()
251 FLAC__byte *save; in vorbiscomment_set_entry_()
278 if (!ensure_null_terminated_((FLAC__byte**)(&src->entry), src->length)) in vorbiscomment_set_entry_()
465 …if (!copy_bytes_(&object->data.vorbis_comment.vendor_string.entry, (const FLAC__byte*)FLAC__VENDOR… in FLAC__metadata_object_new()
[all …]
Dmetadata_iterators.c65 static void pack_uint32_(FLAC__uint32 val, FLAC__byte *b, unsigned bytes);
66 static void pack_uint32_little_endian_(FLAC__uint32 val, FLAC__byte *b, unsigned bytes);
67 static void pack_uint64_(FLAC__uint64 val, FLAC__byte *b, unsigned bytes);
68 static FLAC__uint32 unpack_uint32_(FLAC__byte *b, unsigned bytes);
69 static FLAC__uint32 unpack_uint32_little_endian_(FLAC__byte *b, unsigned bytes);
70 static FLAC__uint64 unpack_uint64_(FLAC__byte *b, unsigned bytes);
268 …, FLAC__StreamMetadata_Picture_Type type, const char *mime_type, const FLAC__byte *description, un… in FLAC__metadata_get_picture()
600 …etadata_simple_iterator_get_application_id(FLAC__Metadata_SimpleIterator *iterator, FLAC__byte *id) in FLAC__metadata_simple_iterator_get_application_id()
1264 …ReadStatus chain_read_ogg_read_cb_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t… in chain_read_ogg_read_cb_()
1269 *bytes = chain->read_cb(buffer, sizeof(FLAC__byte), *bytes, chain->handle); in chain_read_ogg_read_cb_()
[all …]
Dformat.c52 FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' };
312 static unsigned utf8len_(const FLAC__byte *utf8) in utf8len_()
362 FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_value_is_legal(const FLAC__byte *value, unsign… in FLAC__format_vorbiscomment_entry_value_is_legal()
373 const FLAC__byte *end = value + length; in FLAC__format_vorbiscomment_entry_value_is_legal()
386 FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_is_legal(const FLAC__byte *entry, unsigned len… in FLAC__format_vorbiscomment_entry_is_legal()
388 const FLAC__byte *s, *end; in FLAC__format_vorbiscomment_entry_is_legal()
494 FLAC__byte *b; in FLAC__format_picture_is_legal()
Dstream_decoder.c68 static const FLAC__byte ID3V2_TAG_[3] = { 'I', 'D', '3' };
79 static FLAC__bool has_id_filtered_(FLAC__StreamDecoder *decoder, FLAC__byte *id);
98 static FLAC__bool read_callback_(FLAC__byte buffer[], size_t *bytes, void *client_data);
100 …adStatus read_callback_ogg_aspect_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
101 static FLAC__OggDecoderAspectReadStatus read_callback_proxy_(const void *void_decoder, FLAC__byte b…
109 …oderReadStatus file_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
150 FLAC__byte *metadata_filter_ids;
155 FLAC__byte header_warmup[2]; /* contains the sync code and reserved bits */
156 FLAC__byte lookahead; /* temp storage when we need to look ahead one byte in the stream */
163 FLAC__byte computed_md5sum[16]; /* this is the sum we computed from the decoded data */
[all …]
Dogg_decoder_aspect.c103 …g_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t… in FLAC__ogg_decoder_aspect_read_callback_wrapper()
163 const FLAC__byte *b = aspect->working_packet.packet; in FLAC__ogg_decoder_aspect_read_callback_wrapper()
220 switch(read_callback(decoder, (FLAC__byte*)oggbuf, &ogg_bytes_read, client_data)) { in FLAC__ogg_decoder_aspect_read_callback_wrapper()
Dbitwriter.c218 const FLAC__byte *buffer; in FLAC__bitwriter_get_write_crc16()
231 FLAC__bool FLAC__bitwriter_get_write_crc8(FLAC__BitWriter *bw, FLAC__byte *crc) in FLAC__bitwriter_get_write_crc8()
233 const FLAC__byte *buffer; in FLAC__bitwriter_get_write_crc8()
256 FLAC__bool FLAC__bitwriter_get_buffer(FLAC__BitWriter *bw, const FLAC__byte **buffer, size_t *bytes) in FLAC__bitwriter_get_buffer()
271 *buffer = (FLAC__byte*)bw->buffer; in FLAC__bitwriter_get_buffer()
409 inline FLAC__bool FLAC__bitwriter_write_byte_block(FLAC__BitWriter *bw, const FLAC__byte vals[], un… in FLAC__bitwriter_write_byte_block()
881 extern FLAC__bool FLAC__bitwriter_write_byte_block(FLAC__BitWriter *bw, const FLAC__byte vals[], un…
Dstream_encoder_framing.c128 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)FLAC__VENDOR_STRING, vendor_string_len… in FLAC__add_metadata_block()
141 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.cue_sheet.media_catalog… in FLAC__add_metadata_block()
159 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)track->isrc, FLAC__STREAM_METADATA_CUE… in FLAC__add_metadata_block()
189 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.picture.mime_type, len)) in FLAC__add_metadata_block()
223 FLAC__byte crc; in FLAC__frame_add_header()
Dogg_helper.c45 static FLAC__bool full_read_(FLAC__StreamEncoder *encoder, FLAC__byte *buffer, size_t bytes, FLAC__… in full_read_()
99 FLAC__byte crc[4]; in simple_ogg_page__get_at()
/external/flac/include/share/grabbag/
Dreplaygain.h39 extern const FLAC__byte * const GRABBAG__REPLAYGAIN_TAG_REFERENCE_LOUDNESS; /* = "REPLAYGAIN_REFERE…
40 extern const FLAC__byte * const GRABBAG__REPLAYGAIN_TAG_TITLE_GAIN; /* = "REPLAYGAIN_TRACK_GAIN" */
41 extern const FLAC__byte * const GRABBAG__REPLAYGAIN_TAG_TITLE_PEAK; /* = "REPLAYGAIN_TRACK_PEAK" */
42 extern const FLAC__byte * const GRABBAG__REPLAYGAIN_TAG_ALBUM_GAIN; /* = "REPLAYGAIN_ALBUM_GAIN" */
43 extern const FLAC__byte * const GRABBAG__REPLAYGAIN_TAG_ALBUM_PEAK; /* = "REPLAYGAIN_ALBUM_PEAK" */

12