Home
last modified time | relevance | path

Searched refs:FLAC__uint32 (Results 1 – 23 of 23) sorted by relevance

/external/flac/libFLAC/
Dbitwriter.c52 #define FLAC__WORD_ALL_ONES ((FLAC__uint32)0xffffffff)
305 inline FLAC__bool FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter *bw, FLAC__uint32 val, unsigned … in FLAC__bitwriter_write_raw_uint32()
350 return FLAC__bitwriter_write_raw_uint32(bw, (FLAC__uint32)val, bits); in FLAC__bitwriter_write_raw_int32()
358 FLAC__bitwriter_write_raw_uint32(bw, (FLAC__uint32)(val>>32), bits-32) && in FLAC__bitwriter_write_raw_uint64()
359 FLAC__bitwriter_write_raw_uint32(bw, (FLAC__uint32)val, 32); in FLAC__bitwriter_write_raw_uint64()
362 return FLAC__bitwriter_write_raw_uint32(bw, (FLAC__uint32)val, bits); in FLAC__bitwriter_write_raw_uint64()
365 inline FLAC__bool FLAC__bitwriter_write_raw_uint32_little_endian(FLAC__BitWriter *bw, FLAC__uint32 in FLAC__bitwriter_write_raw_uint32_little_endian()
387 if(!FLAC__bitwriter_write_raw_uint32(bw, (FLAC__uint32)(vals[i]), 8)) in FLAC__bitwriter_write_byte_block()
406 FLAC__uint32 uval; in FLAC__bitwriter_rice_bits()
483 FLAC__uint32 uval, pattern; in FLAC__bitwriter_write_rice_signed()
[all …]
Dfloat.c51 static const FLAC__uint32 log2_lookup[][LOG2_LOOKUP_PRECISION] = {
269 FLAC__uint32 FLAC__fixedpoint_log2(FLAC__uint32 x, unsigned fracbits, unsigned precision) in FLAC__fixedpoint_log2()
271 const FLAC__uint32 ONE = (1u << fracbits); in FLAC__fixedpoint_log2()
272 const FLAC__uint32 *table = log2_lookup[fracbits >> 2]; in FLAC__fixedpoint_log2()
285 FLAC__uint32 y = 0; in FLAC__fixedpoint_log2()
286 FLAC__uint32 z = x >> 1, k = 1; in FLAC__fixedpoint_log2()
Dcpu.c166 FLAC__uint32 flags_eax, flags_ebx, flags_ecx, flags_edx; in FLAC__cpu_info()
171 FLAC__uint32 flags_ecx, flags_edx; in FLAC__cpu_info()
292 FLAC__uint32 buff[128]; in FLAC__cpu_info()
294 FLAC__uint32 old_val, new_val; in FLAC__cpu_info()
326 FLAC__uint32 ecr = FLAC__cpu_xgetbv_x86(); in FLAC__cpu_info()
351 FLAC__uint32 flags_eax, flags_ebx, flags_ecx, flags_edx; in FLAC__cpu_info()
384 FLAC__uint32 ecr = FLAC__cpu_xgetbv_x86(); in FLAC__cpu_info()
414 FLAC__uint32 FLAC__cpu_have_cpuid_x86(void) in FLAC__cpu_have_cpuid_x86()
420 FLAC__uint32 flags1, flags2; in FLAC__cpu_have_cpuid_x86()
449 void FLAC__cpu_info_x86(FLAC__uint32 level, FLAC__uint32 *eax, FLAC__uint32 *ebx, FLAC__uint32 *ecx… in FLAC__cpu_info_x86()
[all …]
Dbitreader.c53 #define FLAC__WORD_ALL_ONES ((FLAC__uint32)0xffffffff)
340 FLAC__bool FLAC__bitreader_read_raw_uint32(FLAC__BitReader *br, FLAC__uint32 *val, unsigned bits) in FLAC__bitreader_read_raw_uint32()
422 if(!FLAC__bitreader_read_raw_uint32(br, (FLAC__uint32*)val, bits)) in FLAC__bitreader_read_raw_int32()
432 FLAC__uint32 hi, lo; in FLAC__bitreader_read_raw_uint64()
451 inline FLAC__bool FLAC__bitreader_read_uint32_little_endian(FLAC__BitReader *br, FLAC__uint32 *val) in FLAC__bitreader_read_uint32_little_endian()
453 FLAC__uint32 x8, x32 = 0; in FLAC__bitreader_read_uint32_little_endian()
488 FLAC__uint32 x; in FLAC__bitreader_skip_bits_no_crc()
513 FLAC__uint32 x; in FLAC__bitreader_skip_byte_block_aligned_no_crc()
548 FLAC__uint32 x; in FLAC__bitreader_read_byte_block_aligned_no_crc()
685 FLAC__uint32 lsbs = 0, msbs = 0; in FLAC__bitreader_read_rice_signed()
[all …]
Dmemory.c91 …__memory_alloc_aligned_uint32_array(size_t elements, FLAC__uint32 **unaligned_pointer, FLAC__uint3… in FLAC__memory_alloc_aligned_uint32_array()
93 FLAC__uint32 *pu; /* unaligned pointer */ in FLAC__memory_alloc_aligned_uint32_array()
95 FLAC__uint32 *pa; /* aligned pointer */ in FLAC__memory_alloc_aligned_uint32_array()
Dfixed.c57 static FLAC__fixedpoint local__compute_rbps_integerized(FLAC__uint32 err, FLAC__uint32 n) in local__compute_rbps_integerized()
59 FLAC__uint32 rbps; in local__compute_rbps_integerized()
92 rbps = (FLAC__uint32)err; in local__compute_rbps_integerized()
136 static FLAC__fixedpoint local__compute_rbps_wide_integerized(FLAC__uint64 err, FLAC__uint32 n) in local__compute_rbps_wide_integerized()
138 FLAC__uint32 rbps; in local__compute_rbps_wide_integerized()
171 rbps = (FLAC__uint32)err; in local__compute_rbps_wide_integerized()
227FLAC__uint32 total_error_0 = 0, total_error_1 = 0, total_error_2 = 0, total_error_3 = 0, total_err… in FLAC__fixed_compute_best_predictor()
Dmd5.c54 static void FLAC__MD5Transform(FLAC__uint32 buf[4], FLAC__uint32 const in[16]) in FLAC__MD5Transform()
56 register FLAC__uint32 a, b, c, d; in FLAC__MD5Transform()
139 static void byteSwap(FLAC__uint32 *buf, unsigned words) in byteSwap()
141 register FLAC__uint32 x; in byteSwap()
148 static void byteSwapX16(FLAC__uint32 *buf) in byteSwapX16()
150 register FLAC__uint32 x; in byteSwapX16()
180 FLAC__uint32 t; in FLAC__MD5Update()
Dstream_decoder.c152 FLAC__uint32 fixed_block_size, next_fixed_block_size;
1346 FLAC__uint32 x; in find_metadata_()
1354 x = (FLAC__uint32)decoder->private_->lookahead; in find_metadata_()
1412 FLAC__uint32 i, x, type, length; in read_metadata_()
1586 FLAC__uint32 x; in read_metadata_streaminfo_()
1657 FLAC__uint32 i, x; in read_metadata_seektable_()
1699 FLAC__uint32 i; in read_metadata_vorbiscomment_()
1796 FLAC__uint32 i, j, x; in read_metadata_cuesheet_()
1879 FLAC__uint32 x; in read_metadata_picture_()
1947 FLAC__uint32 x; in skip_id3v2_tag_()
[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);
85 static FLAC__uint32 unpack_uint32_(FLAC__byte *b, unsigned bytes);
86 static FLAC__uint32 unpack_uint32_little_endian_(FLAC__byte *b, unsigned bytes);
1987 void pack_uint32_(FLAC__uint32 val, FLAC__byte *b, unsigned bytes) in pack_uint32_()
1999 void pack_uint32_little_endian_(FLAC__uint32 val, FLAC__byte *b, unsigned bytes) in pack_uint32_little_endian_()
2021 FLAC__uint32 unpack_uint32_(FLAC__byte *b, unsigned bytes) in unpack_uint32_()
2023 FLAC__uint32 ret = 0; in unpack_uint32_()
2027 ret = (ret << 8) | (FLAC__uint32)(*b++); in unpack_uint32_()
2032 FLAC__uint32 unpack_uint32_little_endian_(FLAC__byte *b, unsigned bytes) in unpack_uint32_little_endian_()
[all …]
Dmetadata_object.c1688 static FLAC__uint32 cddb_add_digits_(FLAC__uint32 x) in cddb_add_digits_()
1690 FLAC__uint32 n = 0; in cddb_add_digits_()
1699 FLAC_API FLAC__uint32 FLAC__metadata_object_cuesheet_calculate_cddb_id(const FLAC__StreamMetadata *… in FLAC__metadata_object_cuesheet_calculate_cddb_id()
1712 FLAC__uint32 i, length, sum = 0; in FLAC__metadata_object_cuesheet_calculate_cddb_id()
1714 sum += cddb_add_digits_((FLAC__uint32)(get_index_01_offset_(cs, i) / 44100)); in FLAC__metadata_object_cuesheet_calculate_cddb_id()
1715 …length = (FLAC__uint32)((cs->tracks[cs->num_tracks-1].offset+cs->lead_in) / 44100) - (FLAC__uint32 in FLAC__metadata_object_cuesheet_calculate_cddb_id()
1717 return (sum % 0xFF) << 24 | length << 8 | (FLAC__uint32)(cs->num_tracks-1); in FLAC__metadata_object_cuesheet_calculate_cddb_id()
1785 …ject_picture_set_data(FLAC__StreamMetadata *object, FLAC__byte *data, FLAC__uint32 length, FLAC__b… in FLAC__metadata_object_picture_set_data()
Dstream_encoder.c3978 FLAC__uint32 abs_residual_partition_sum; in precompute_partition_info_sums_()
4034 FLAC__uint32 rmax; in precompute_partition_info_escapes_()
4088 partition_bits += ( (FLAC__uint32)((residual[i]<<1)^(residual[i]>>31)) >> rice_parameter ); in count_rice_bits_in_partition_()
4230 FLAC__uint32 k2, mean2 = (FLAC__uint32) mean;
/external/flac/libFLAC/include/private/
Dcpu.h162 FLAC__uint32 FLAC__cpu_have_cpuid_asm_ia32(void);
163 void FLAC__cpu_info_asm_ia32(FLAC__uint32 *flags_edx, FLAC__uint32 *flags_ecx);
166 FLAC__uint32 FLAC__cpu_have_cpuid_x86(void);
167 void FLAC__cpu_info_x86(FLAC__uint32 level, FLAC__uint32 *eax, FLAC__uint32 *ebx, FLAC__uin…
168 FLAC__uint32 FLAC__cpu_xgetbv_x86(void);
Dbitmath.h75 static inline unsigned int FLAC__clz_uint32(FLAC__uint32 v) in FLAC__clz_uint32()
97 static inline unsigned int FLAC__clz2_uint32(FLAC__uint32 v) in FLAC__clz2_uint32()
127 static inline unsigned FLAC__bitmath_ilog2(FLAC__uint32 v) in FLAC__bitmath_ilog2()
139 return sizeof(FLAC__uint32) * CHAR_BIT - 1 - FLAC__clz_uint32(v); in FLAC__bitmath_ilog2()
Dmd5.h38 FLAC__uint32 in[16];
39 FLAC__uint32 buf[4];
40 FLAC__uint32 bytes[2];
Dbitreader.h75 FLAC__bool FLAC__bitreader_read_raw_uint32(FLAC__BitReader *br, FLAC__uint32 *val, unsigned bits);
78 FLAC__bool FLAC__bitreader_read_uint32_little_endian(FLAC__BitReader *br, FLAC__uint32 *val); /*onl…
89 FLAC__bool FLAC__bitreader_read_utf8_uint32(FLAC__BitReader *br, FLAC__uint32 *val, FLAC__byte *raw…
Dbitwriter.h83 FLAC__bool FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter *bw, FLAC__uint32 val, unsigned bits);
86 FLAC__bool FLAC__bitwriter_write_raw_uint32_little_endian(FLAC__BitWriter *bw, FLAC__uint32 val); /…
100 FLAC__bool FLAC__bitwriter_write_utf8_uint32(FLAC__BitWriter *bw, FLAC__uint32 val);
Dfloat.h94 FLAC__uint32 FLAC__fixedpoint_log2(FLAC__uint32 x, unsigned fracbits, unsigned precision);
Dmemory.h50 …__memory_alloc_aligned_uint32_array(size_t elements, FLAC__uint32 **unaligned_pointer, FLAC__uint3…
/external/flac/include/FLAC/
Dformat.h433 FLAC__uint32 frame_number;
625 FLAC__uint32 length;
636 FLAC__uint32 num_comments;
791 FLAC__uint32 width;
794 FLAC__uint32 height;
797 FLAC__uint32 depth;
800 FLAC__uint32 colors;
805 FLAC__uint32 data_length;
Dordinals.h49 typedef unsigned __int32 FLAC__uint32; typedef
65 typedef uint32_t FLAC__uint32; typedef
Dmetadata.h2085 FLAC_API FLAC__uint32 FLAC__metadata_object_cuesheet_calculate_cddb_id(const FLAC__StreamMetadata *…
2155 …ject_picture_set_data(FLAC__StreamMetadata *object, FLAC__byte *data, FLAC__uint32 length, FLAC__b…
/external/flac/libFLAC/ia32/
Dcpu_asm.nasm45 ; FLAC__uint32 FLAC__cpu_have_cpuid_asm_ia32()
70 ; void FLAC__cpu_info_asm_ia32(FLAC__uint32 *flags_edx, FLAC__uint32 *flags_ecx)
Dfixed_asm.nasm50 ; FLAC__uint32 total_error_0 = 0, total_error_1 = 0, total_error_2 = 0, total_error_3 = 0, total_e…