/external/flac/libFLAC/include/private/ |
window.h | 54 void FLAC__window_bartlett(FLAC__real *window, const FLAC__int32 L); 55 void FLAC__window_bartlett_hann(FLAC__real *window, const FLAC__int32 L); 56 void FLAC__window_blackman(FLAC__real *window, const FLAC__int32 L); 57 void FLAC__window_blackman_harris_4term_92db_sidelobe(FLAC__real *window, const FLAC__int32 L); 58 void FLAC__window_connes(FLAC__real *window, const FLAC__int32 L); 59 void FLAC__window_flattop(FLAC__real *window, const FLAC__int32 L); 60 void FLAC__window_gauss(FLAC__real *window, const FLAC__int32 L, const FLAC__real stddev); /* 0.0 < stddev <= 0.5 */ 61 void FLAC__window_hamming(FLAC__real *window, const FLAC__int32 L); 62 void FLAC__window_hann(FLAC__real *window, const FLAC__int32 L); 63 void FLAC__window_kaiser_bessel(FLAC__real *window, const FLAC__int32 L) [all...] |
lpc.h | 57 void FLAC__lpc_window_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], unsigned data_len); 123 * must be less than 32 (sizeof(FLAC__int32)*8). 139 int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift); 154 void FLAC__lpc_compute_residual_from_qlp_coefficients(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]); 155 void FLAC__lpc_compute_residual_from_qlp_coefficients_wide(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]); 159 void FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC (…) [all...] |
fixed.h | 57 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 58 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 62 unsigned FLAC__fixed_compute_best_predictor_intrin_sse2(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER + 1]); 63 unsigned FLAC__fixed_compute_best_predictor_wide_intrin_sse2(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER + 1]); 66 unsigned FLAC__fixed_compute_best_predictor_intrin_ssse3(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 67 unsigned FLAC__fixed_compute_best_predictor_wide_intrin_ssse3(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER + 1]); 71 unsigned FLAC__fixed_compute_best_predictor_asm_ia32_mmx_cmov(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 75 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 76 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 90 void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[]) [all...] |
stream_encoder.h | 51 extern void FLAC__precompute_partition_info_sums_intrin_sse2(const FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[], 56 extern void FLAC__precompute_partition_info_sums_intrin_ssse3(const FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[], 61 extern void FLAC__precompute_partition_info_sums_intrin_avx2(const FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[],
|
md5.h | 34 FLAC__int32 *p32; 48 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample);
|
memory.h | 49 FLAC__bool FLAC__memory_alloc_aligned_int32_array(size_t elements, FLAC__int32 **unaligned_pointer, FLAC__int32 **aligned_pointer);
|
bitwriter.h | 84 FLAC__bool FLAC__bitwriter_write_raw_int32(FLAC__BitWriter *bw, FLAC__int32 val, unsigned bits); 89 unsigned FLAC__bitwriter_rice_bits(FLAC__int32 val, unsigned parameter); 94 FLAC__bool FLAC__bitwriter_write_rice_signed(FLAC__BitWriter *bw, FLAC__int32 val, unsigned parameter); 95 FLAC__bool FLAC__bitwriter_write_rice_signed_block(FLAC__BitWriter *bw, const FLAC__int32 *vals, unsigned nvals, unsigned parameter);
|
float.h | 64 typedef FLAC__int32 FLAC__fixedpoint;
|
bitreader.h | 76 FLAC__bool FLAC__bitreader_read_raw_int32(FLAC__BitReader *br, FLAC__int32 *val, unsigned bits);
|
/external/flac/libFLAC/ |
window.c | 46 void FLAC__window_bartlett(FLAC__real *window, const FLAC__int32 L) 48 const FLAC__int32 N = L - 1; 49 FLAC__int32 n; 65 void FLAC__window_bartlett_hann(FLAC__real *window, const FLAC__int32 L) 67 const FLAC__int32 N = L - 1; 68 FLAC__int32 n; 74 void FLAC__window_blackman(FLAC__real *window, const FLAC__int32 L) 76 const FLAC__int32 N = L - 1; 77 FLAC__int32 n; 84 void FLAC__window_blackman_harris_4term_92db_sidelobe(FLAC__real *window, const FLAC__int32 L [all...] |
fixed.c | 217 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]) 219 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]) 222 FLAC__int32 last_error_0 = data[-1]; 223 FLAC__int32 last_error_1 = data[-1] - data[-2]; 224 FLAC__int32 last_error_2 = last_error_1 - (data[-2] - data[-3]); 225 FLAC__int32 last_error_3 = last_error_2 - (data[-2] - 2*data[-3] + data[-4]); 226 FLAC__int32 error, save; 275 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]) 277 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]) 280 FLAC__int32 last_error_0 = data[-1] [all...] |
lpc.c | 67 void FLAC__lpc_window_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], unsigned data_len) 167 int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift) 171 FLAC__int32 qmax, qmin; 211 FLAC__int32 q; 237 FLAC__int32 q; 268 void FLAC__lpc_compute_residual_from_qlp_coefficients(const FLAC__int32 * flac_restrict data, unsigned data_len, const FLAC__int32 * flac_restrict qlp_coeff, unsigned order, int lp_quantization, FLAC__int32 * flac_restrict residual) 273 FLAC__int32 sum; 274 const FLAC__int32 *history [all...] |
memory.c | 62 FLAC__bool FLAC__memory_alloc_aligned_int32_array(size_t elements, FLAC__int32 **unaligned_pointer, FLAC__int32 **aligned_pointer) 64 FLAC__int32 *pu; /* unaligned pointer */ 66 FLAC__int32 *pa; /* aligned pointer */
|
stream_encoder.c | 81 FLAC__int32 *data[FLAC__MAX_CHANNELS]; 148 const FLAC__int32 integer_signal[], 151 FLAC__int32 *residual[2], 166 const FLAC__int32 signal, 174 const FLAC__int32 signal[], 175 FLAC__int32 residual[], 194 const FLAC__int32 signal[], 195 FLAC__int32 residual[], 216 const FLAC__int32 signal[], 224 const FLAC__int32 residual[] [all...] |
stream_decoder.c | 102 static FLAC__bool read_residual_partitioned_rice_(FLAC__StreamDecoder *decoder, unsigned predictor_order, unsigned partition_order, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents, FLAC__int32 *residual, FLAC__bool is_extended); 109 static FLAC__StreamDecoderWriteStatus write_audio_frame_to_client_(FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[]); 140 void (*local_lpc_restore_signal)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]); 142 void (*local_lpc_restore_signal_64bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]); 144 void (*local_lpc_restore_signal_16bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]) [all...] |
bitwriter.c | 344 inline FLAC__bool FLAC__bitwriter_write_raw_int32(FLAC__BitWriter *bw, FLAC__int32 val, unsigned bits) 404 unsigned FLAC__bitwriter_rice_bits(FLAC__int32 val, unsigned parameter) 480 FLAC__bool FLAC__bitwriter_write_rice_signed(FLAC__BitWriter *bw, FLAC__int32 val, unsigned parameter) 506 FLAC__bool FLAC__bitwriter_write_rice_signed_block(FLAC__BitWriter *bw, const FLAC__int32 *vals, unsigned nvals, unsigned parameter) 842 extern FLAC__bool FLAC__bitwriter_write_raw_int32(FLAC__BitWriter *bw, FLAC__int32 val, unsigned bits);
|
stream_encoder_framing.c | 44 static FLAC__bool add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[], const unsigned residual_samples, const unsigned predictor_order, const unsigned rice_parameters[], const unsigned raw_bits[], const unsigned partition_order, const FLAC__bool is_extended); 462 const FLAC__int32 *signal = subframe->data; 493 FLAC__bool add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[], const unsigned residual_samples, const unsigned predictor_order, const unsigned rice_parameters[], const unsigned raw_bits[], const unsigned partition_order, const FLAC__bool is_extended)
|
md5.c | 274 static void format_input_(FLAC__multibyte *mbuf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) 278 FLAC__int32 *buf32 = mbuf->p32; 279 FLAC__int32 a_word; 491 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
|
/external/flac/include/FLAC/ |
ordinals.h | 46 typedef __int32 FLAC__int32; 62 typedef int32_t FLAC__int32;
|
format.h | 285 FLAC__int32 value; /**< The constant signal value. */ 292 const FLAC__int32 *data; /**< A pointer to verbatim signal. */ 305 FLAC__int32 warmup[FLAC__MAX_FIXED_ORDER]; 308 const FLAC__int32 *residual; 328 FLAC__int32 qlp_coeff[FLAC__MAX_LPC_ORDER]; 331 FLAC__int32 warmup[FLAC__MAX_LPC_ORDER]; 334 const FLAC__int32 *residual; [all...] |
stream_encoder.h | [all...] |
stream_decoder.h | 683 typedef FLAC__StreamDecoderWriteStatus (*FLAC__StreamDecoderWriteCallback)(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); [all...] |
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
SoftFlacEncoder.h | 89 FLAC__int32* mInputBufferPcm32;
|
SoftFlacEncoder.cpp | 76 mInputBufferPcm32 = (FLAC__int32*) malloc(sizeof(FLAC__int32) * 2 * kMaxNumSamplesPerFrame); 343 mInputBufferPcm32[i] = (FLAC__int32) pcm16[i];
|
/frameworks/av/media/libstagefright/ |
FLACExtractor.cpp | 142 const FLAC__int32 * const *mWriteBuffer; 165 const FLAC__Frame *frame, const FLAC__int32 * const buffer[]); 191 const FLAC__Frame *frame, const FLAC__int32 * const buffer[], 246 const FLAC__int32 * const buffer[], void *client_data) 320 const FLAC__Frame *frame, const FLAC__int32 * const buffer[])
|