Home
last modified time | relevance | path

Searched refs:FLAC__byte (Results 1 – 25 of 26) 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]);
Dordinals.h72 typedef FLAC__uint8 FLAC__byte; typedef
/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…
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" */
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 …
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.c41 static const FLAC__byte FLAC__OGG_MAPPING_VERSION_MAJOR = 1;
42 static const FLAC__byte FLAC__OGG_MAPPING_VERSION_MINOR = 0;
111 …er_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
125 FLAC__byte synthetic_first_packet_body[ in FLAC__ogg_encoder_aspect_write_callback_wrapper()
140 FLAC__byte *b = synthetic_first_packet_body; in FLAC__ogg_encoder_aspect_write_callback_wrapper()
162 *b = (FLAC__byte)(aspect->num_metadata >> 8); in FLAC__ogg_encoder_aspect_write_callback_wrapper()
164 *b = (FLAC__byte)(aspect->num_metadata); in FLAC__ogg_encoder_aspect_write_callback_wrapper()
Dbitreader.c125 FLAC__byte *target; in bitreader_read_from_client_()
143 target = ((FLAC__byte*)(br->buffer+br->words)) + br->bytes; in bitreader_read_from_client_()
546 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()
558 *val++ = (FLAC__byte)x; in FLAC__bitreader_read_byte_block_aligned_no_crc()
568 val[0] = (FLAC__byte)(word >> 24); in FLAC__bitreader_read_byte_block_aligned_no_crc()
569 val[1] = (FLAC__byte)(word >> 16); in FLAC__bitreader_read_byte_block_aligned_no_crc()
570 val[2] = (FLAC__byte)(word >> 8); in FLAC__bitreader_read_byte_block_aligned_no_crc()
571 val[3] = (FLAC__byte)word; in FLAC__bitreader_read_byte_block_aligned_no_crc()
573 val[0] = (FLAC__byte)(word >> 56); in FLAC__bitreader_read_byte_block_aligned_no_crc()
574 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.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";
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__StreamMetadata_Picture_Type type, const char *mime_type, const FLAC__byte *description, un… in FLAC__metadata_get_picture()
617 …etadata_simple_iterator_get_application_id(FLAC__Metadata_SimpleIterator *iterator, FLAC__byte *id) in FLAC__metadata_simple_iterator_get_application_id()
1258 …ReadStatus chain_read_ogg_read_cb_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t… in chain_read_ogg_read_cb_()
1263 *bytes = chain->read_cb(buffer, sizeof(FLAC__byte), *bytes, chain->handle); in chain_read_ogg_read_cb_()
[all …]
Dstream_encoder.c87 const FLAC__byte *data;
134 static FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte b…
294 …erReadStatus verify_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
299 …oderReadStatus file_read_callback_(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t…
302 …eStatus file_write_callback_(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t…
2571 const FLAC__byte *buffer; in write_bitbuffer_()
2616 FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte buffer[]… in write_frame_()
2712 FLAC__byte b[flac_max(6u, FLAC__STREAM_METADATA_SEEKPOINT_LENGTH)]; in update_metadata_()
2772 b[0] = ((FLAC__byte)(bps-1) << 4) | (FLAC__byte)((samples >> 32) & 0x0F); in update_metadata_()
2773 b[1] = (FLAC__byte)((samples >> 24) & 0xFF); in update_metadata_()
[all …]
Dmetadata_object.c59 static FLAC__bool copy_bytes_(FLAC__byte **to, const FLAC__byte *from, unsigned bytes) in copy_bytes_()
63 FLAC__byte *x; in copy_bytes_()
64 if(0 == (x = (FLAC__byte*)safe_malloc_(bytes))) in copy_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) in ensure_null_terminated_()
98 FLAC__byte *x = (FLAC__byte*)safe_realloc_add_2op_(*entry, length, /*+*/1); in ensure_null_terminated_()
134 FLAC__byte *x; in copy_vcentry_()
136 if(0 == (x = (FLAC__byte*)safe_malloc_add_2op_(from->length, /*+*/1))) in copy_vcentry_()
251 FLAC__byte *save; in vorbiscomment_set_entry_()
[all …]
Dformat.c51 FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' };
308 static unsigned utf8len_(const FLAC__byte *utf8) in utf8len_()
358 FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_value_is_legal(const FLAC__byte *value, unsign… in FLAC__format_vorbiscomment_entry_value_is_legal()
369 const FLAC__byte *end = value + length; in FLAC__format_vorbiscomment_entry_value_is_legal()
382 FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_is_legal(const FLAC__byte *entry, unsigned len… in FLAC__format_vorbiscomment_entry_is_legal()
384 const FLAC__byte *s, *end; in FLAC__format_vorbiscomment_entry_is_legal()
490 FLAC__byte *b; in FLAC__format_picture_is_legal()
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 …adStatus read_callback_ogg_aspect_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
107 static FLAC__OggDecoderAspectReadStatus read_callback_proxy_(const void *void_decoder, FLAC__byte b…
115 …oderReadStatus file_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
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_md5sum[16]; /* this is the sum we computed from the decoded data */
[all …]
Dogg_decoder_aspect.c105 …g_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t… in FLAC__ogg_decoder_aspect_read_callback_wrapper()
165 const FLAC__byte *b = aspect->working_packet.packet; in FLAC__ogg_decoder_aspect_read_callback_wrapper()
222 switch(read_callback(decoder, (FLAC__byte*)oggbuf, &ogg_bytes_read, client_data)) { in FLAC__ogg_decoder_aspect_read_callback_wrapper()
Dbitwriter.c201 const FLAC__byte *buffer; in FLAC__bitwriter_get_write_crc16()
214 FLAC__bool FLAC__bitwriter_get_write_crc8(FLAC__BitWriter *bw, FLAC__byte *crc) in FLAC__bitwriter_get_write_crc8()
216 const FLAC__byte *buffer; in FLAC__bitwriter_get_write_crc8()
239 FLAC__bool FLAC__bitwriter_get_buffer(FLAC__BitWriter *bw, const FLAC__byte **buffer, size_t *bytes) in FLAC__bitwriter_get_buffer()
254 *buffer = (FLAC__byte*)bw->buffer; in FLAC__bitwriter_get_buffer()
381 inline FLAC__bool FLAC__bitwriter_write_byte_block(FLAC__BitWriter *bw, const FLAC__byte vals[], un… in FLAC__bitwriter_write_byte_block()
843 extern FLAC__bool FLAC__bitwriter_write_byte_block(FLAC__BitWriter *bw, const FLAC__byte vals[], un…
Dstream_encoder_framing.c123 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)FLAC__VENDOR_STRING, vendor_string_len… in FLAC__add_metadata_block()
136 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.cue_sheet.media_catalog… in FLAC__add_metadata_block()
154 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)track->isrc, FLAC__STREAM_METADATA_CUE… in FLAC__add_metadata_block()
184 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.picture.mime_type, len)) in FLAC__add_metadata_block()
218 FLAC__byte crc; in FLAC__frame_add_header()
Dogg_helper.c44 static FLAC__bool full_read_(FLAC__StreamEncoder *encoder, FLAC__byte *buffer, size_t bytes, FLAC__… in full_read_()
98 FLAC__byte crc[4]; in simple_ogg_page__get_at()

12