Home
last modified time | relevance | path

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

12

/external/flac/libFLAC/
Dmd5.c181 static void FLAC__MD5Update(FLAC__MD5Context *ctx, FLAC__byte const *buf, unsigned len) in FLAC__MD5Update()
193 memcpy((FLAC__byte *)ctx->in + 64 - t, buf, len); in FLAC__MD5Update()
197 memcpy((FLAC__byte *)ctx->in + 64 - t, buf, t); in FLAC__MD5Update()
238 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *ctx) in FLAC__MD5Final()
241 FLAC__byte *p = (FLAC__byte *)ctx->in + count; in FLAC__MD5Final()
253 p = (FLAC__byte *)ctx->in; in FLAC__MD5Final()
277 static void format_input_(FLAC__byte *buf, const FLAC__int32 * const signal[], unsigned channels, u… in format_input_()
281 register FLAC__byte *buf_ = buf; in format_input_()
302 *buf_++ = (FLAC__byte)a_word; a_word >>= 8; in format_input_()
303 *buf_++ = (FLAC__byte)a_word; in format_input_()
[all …]
Dcrc.c40 FLAC__byte const FLAC__crc8_table[256] = {
113 void FLAC__crc8_update(const FLAC__byte data, FLAC__uint8 *crc) in FLAC__crc8_update()
118 void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 *crc) in FLAC__crc8_update_block()
124 FLAC__uint8 FLAC__crc8(const FLAC__byte *data, unsigned len) in FLAC__crc8()
134 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()
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";
Dbitreader.c212 FLAC__byte *target; in bitreader_read_from_client_()
230 target = ((FLAC__byte*)(br->buffer+br->words)) + br->bytes; in bitreader_read_from_client_()
641 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()
653 *val++ = (FLAC__byte)x; in FLAC__bitreader_read_byte_block_aligned_no_crc()
663 val[0] = (FLAC__byte)(word >> 24); in FLAC__bitreader_read_byte_block_aligned_no_crc()
664 val[1] = (FLAC__byte)(word >> 16); in FLAC__bitreader_read_byte_block_aligned_no_crc()
665 val[2] = (FLAC__byte)(word >> 8); in FLAC__bitreader_read_byte_block_aligned_no_crc()
666 val[3] = (FLAC__byte)word; in FLAC__bitreader_read_byte_block_aligned_no_crc()
668 val[0] = (FLAC__byte)(word >> 56); in FLAC__bitreader_read_byte_block_aligned_no_crc()
669 val[1] = (FLAC__byte)(word >> 48); in FLAC__bitreader_read_byte_block_aligned_no_crc()
[all …]
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.c109 const FLAC__byte *data;
154 static FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte b…
314 …erReadStatus verify_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
319 …oderReadStatus file_read_callback_(const FLAC__StreamEncoder *encoder, FLAC__byte buffer[], size_t…
322 …eStatus file_write_callback_(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t…
2390 const FLAC__byte *buffer; in write_bitbuffer_()
2435 FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte buffer[]… in write_frame_()
2527 FLAC__byte b[max(6, FLAC__STREAM_METADATA_SEEKPOINT_LENGTH)]; in update_metadata_()
2587 b[0] = ((FLAC__byte)(bps-1) << 4) | (FLAC__byte)((samples >> 32) & 0x0F); in update_metadata_()
2588 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.c69 FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' };
316 static FLaC__INLINE unsigned utf8len_(const FLAC__byte *utf8) in utf8len_()
366 FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_value_is_legal(const FLAC__byte *value, unsign… in FLAC__format_vorbiscomment_entry_value_is_legal()
377 const FLAC__byte *end = value + length; in FLAC__format_vorbiscomment_entry_value_is_legal()
390 FLAC_API FLAC__bool FLAC__format_vorbiscomment_entry_is_legal(const FLAC__byte *entry, unsigned len… in FLAC__format_vorbiscomment_entry_is_legal()
392 const FLAC__byte *s, *end; in FLAC__format_vorbiscomment_entry_is_legal()
498 FLAC__byte *b; in FLAC__format_picture_is_legal()
Dstream_decoder.c97 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 …adStatus read_callback_ogg_aspect_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
130 static FLAC__OggDecoderAspectReadStatus read_callback_proxy_(const void *void_decoder, FLAC__byte b…
138 …oderReadStatus file_read_callback_(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
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 …]
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()
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()
Dstream_encoder_framing.c127 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)FLAC__VENDOR_STRING, vendor_string_len… in FLAC__add_metadata_block()
140 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.cue_sheet.media_catalog… in FLAC__add_metadata_block()
158 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)track->isrc, FLAC__STREAM_METADATA_CUE… in FLAC__add_metadata_block()
188 …if(!FLAC__bitwriter_write_byte_block(bw, (const FLAC__byte*)metadata->data.picture.mime_type, len)) in FLAC__add_metadata_block()
222 FLAC__byte crc; in FLAC__frame_add_header()
Dbitwriter.c236 const FLAC__byte *buffer; in FLAC__bitwriter_get_write_crc16()
249 FLAC__bool FLAC__bitwriter_get_write_crc8(FLAC__BitWriter *bw, FLAC__byte *crc) in FLAC__bitwriter_get_write_crc8()
251 const FLAC__byte *buffer; in FLAC__bitwriter_get_write_crc8()
274 FLAC__bool FLAC__bitwriter_get_buffer(FLAC__BitWriter *bw, const FLAC__byte **buffer, size_t *bytes) in FLAC__bitwriter_get_buffer()
289 *buffer = (FLAC__byte*)bw->buffer; in FLAC__bitwriter_get_buffer()
416 FLaC__INLINE FLAC__bool FLAC__bitwriter_write_byte_block(FLAC__BitWriter *bw, const FLAC__byte vals… in FLAC__bitwriter_write_byte_block()
/external/flac/libFLAC/include/private/
Dcrc.h41 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);
Dbitreader.h45 typedef FLAC__bool (*FLAC__BitReaderReadCallback)(FLAC__byte buffer[], size_t *bytes, void *client_…
80 FLAC__bool FLAC__bitreader_read_byte_block_aligned_no_crc(FLAC__BitReader *br, FLAC__byte *val, uns…
95 FLAC__bool FLAC__bitreader_read_utf8_uint32(FLAC__BitReader *br, FLAC__uint32 *val, FLAC__byte *raw…
96 FLAC__bool FLAC__bitreader_read_utf8_uint64(FLAC__BitReader *br, FLAC__uint64 *val, FLAC__byte *raw…
Dogg_mapping.h42 extern const FLAC__byte FLAC__OGG_MAPPING_FIRST_HEADER_PACKET_TYPE; /* = 0x7f */
47 extern const FLAC__byte * const FLAC__OGG_MAPPING_MAGIC; /* = "FLAC" */
Dbitwriter.h60 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 …
Dmd5.h35 FLAC__byte *internal_buf;
40 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *context);
Dogg_encoder_aspect.h59 …(*FLAC__OggEncoderAspectWriteCallbackProxy)(const void *encoder, const FLAC__byte buffer[], size_t…
61 …er_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t…
Dogg_decoder_aspect.h75 …Status (*FLAC__OggDecoderAspectReadCallbackProxy)(const void *decoder, FLAC__byte buffer[], size_t…
77 …g_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t…
/external/flac/include/FLAC/
Dformat.h170 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 …]
Dmetadata.h236 …, FLAC__StreamMetadata_Picture_Type type, const char *mime_type, const FLAC__byte *description, un…
530 …tadata_simple_iterator_get_application_id(FLAC__Metadata_SimpleIterator *iterator, FLAC__byte *id);
1375 …AC__metadata_object_application_set_data(FLAC__StreamMetadata *object, FLAC__byte *data, unsigned …
2129 …_metadata_object_picture_set_description(FLAC__StreamMetadata *object, FLAC__byte *description, FL…
2154 FLAC_API FLAC__bool FLAC__metadata_object_picture_set_data(FLAC__StreamMetadata *object, FLAC__byte
Dstream_decoder.h516 …(*FLAC__StreamDecoderReadCallback)(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t…
826 …eam_decoder_set_metadata_respond_application(FLAC__StreamDecoder *decoder, const FLAC__byte id[4]);
867 …ream_decoder_set_metadata_ignore_application(FLAC__StreamDecoder *decoder, const FLAC__byte id[4]);
Dordinals.h67 typedef FLAC__uint8 FLAC__byte; typedef

12