/external/flac/libFLAC/include/private/ |
lpc.h | 55 void FLAC__lpc_window_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], unsigned data_len); 109 * must be less than 32 (sizeof(FLAC__int32)*8). 125 int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift); 140 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[]); 141 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[]); 145 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...] |
window.h | 53 void FLAC__window_bartlett(FLAC__real *window, const FLAC__int32 L); 54 void FLAC__window_bartlett_hann(FLAC__real *window, const FLAC__int32 L); 55 void FLAC__window_blackman(FLAC__real *window, const FLAC__int32 L); 56 void FLAC__window_blackman_harris_4term_92db_sidelobe(FLAC__real *window, const FLAC__int32 L); 57 void FLAC__window_connes(FLAC__real *window, const FLAC__int32 L); 58 void FLAC__window_flattop(FLAC__real *window, const FLAC__int32 L); 59 void FLAC__window_gauss(FLAC__real *window, const FLAC__int32 L, const FLAC__real stddev); /* 0.0 < stddev <= 0.5 */ 60 void FLAC__window_hamming(FLAC__real *window, const FLAC__int32 L); 61 void FLAC__window_hann(FLAC__real *window, const FLAC__int32 L); 62 void FLAC__window_kaiser_bessel(FLAC__real *window, const FLAC__int32 L) [all...] |
fixed.h | 55 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 59 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]); 63 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]); 65 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 66 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]); 80 void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[]); 95 void FLAC__fixed_restore_signal(const FLAC__int32 residual[], unsigned data_len, unsigned order, FLAC__int32 data[]);
|
memory.h | 48 FLAC__bool FLAC__memory_alloc_aligned_int32_array(unsigned elements, FLAC__int32 **unaligned_pointer, FLAC__int32 **aligned_pointer);
|
md5.h | 42 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample);
|
bitwriter.h | 83 FLAC__bool FLAC__bitwriter_write_raw_int32(FLAC__BitWriter *bw, FLAC__int32 val, unsigned bits); 88 unsigned FLAC__bitwriter_rice_bits(FLAC__int32 val, unsigned parameter); 93 FLAC__bool FLAC__bitwriter_write_rice_signed(FLAC__BitWriter *bw, FLAC__int32 val, unsigned parameter); 94 FLAC__bool FLAC__bitwriter_write_rice_signed_block(FLAC__BitWriter *bw, const FLAC__int32 *vals, unsigned nvals, unsigned parameter);
|
float.h | 63 typedef FLAC__int32 FLAC__fixedpoint;
|
bitreader.h | 75 FLAC__bool FLAC__bitreader_read_raw_int32(FLAC__BitReader *br, FLAC__int32 *val, unsigned bits);
|
/external/flac/libFLAC/ |
window.c | 49 void FLAC__window_bartlett(FLAC__real *window, const FLAC__int32 L) 51 const FLAC__int32 N = L - 1; 52 FLAC__int32 n; 68 void FLAC__window_bartlett_hann(FLAC__real *window, const FLAC__int32 L) 70 const FLAC__int32 N = L - 1; 71 FLAC__int32 n; 77 void FLAC__window_blackman(FLAC__real *window, const FLAC__int32 L) 79 const FLAC__int32 N = L - 1; 80 FLAC__int32 n; 87 void FLAC__window_blackman_harris_4term_92db_sidelobe(FLAC__real *window, const FLAC__int32 L [all...] |
fixed.c | 224 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]) 226 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]) 229 FLAC__int32 last_error_0 = data[-1]; 230 FLAC__int32 last_error_1 = data[-1] - data[-2]; 231 FLAC__int32 last_error_2 = last_error_1 - (data[-2] - data[-3]); 232 FLAC__int32 last_error_3 = last_error_2 - (data[-2] - 2*data[-3] + data[-4]); 233 FLAC__int32 error, save; 282 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]) 284 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]) 287 FLAC__int32 last_error_0 = data[-1] [all...] |
lpc.c | 56 void FLAC__lpc_window_data(const FLAC__int32 in[], const FLAC__real window[], FLAC__real out[], unsigned data_len) 156 int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift) 160 FLAC__int32 qmax, qmin; 200 FLAC__int32 q; 205 q = (FLAC__int32)(error + 0.5); 207 q = (FLAC__int32)(error - 0.5); 232 FLAC__int32 q; 240 q = (FLAC__int32)(error + 0.5); 242 q = (FLAC__int32)(error - 0.5); 265 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 (…) [all...] |
memory.c | 74 FLAC__bool FLAC__memory_alloc_aligned_int32_array(unsigned elements, FLAC__int32 **unaligned_pointer, FLAC__int32 **aligned_pointer) 76 FLAC__int32 *pu; /* unaligned pointer */ 78 FLAC__int32 *pa; /* aligned pointer */ 90 pu = (FLAC__int32*)FLAC__memory_alloc_aligned(sizeof(*pu) * (size_t)elements, &u.pv);
|
stream_encoder.c | 103 FLAC__int32 *data[FLAC__MAX_CHANNELS]; 168 const FLAC__int32 integer_signal[], 171 FLAC__int32 *residual[2], 186 const FLAC__int32 signal, 194 const FLAC__int32 signal[], 195 FLAC__int32 residual[], 214 const FLAC__int32 signal[], 215 FLAC__int32 residual[], 236 const FLAC__int32 signal[], 244 const FLAC__int32 residual[] [all...] |
stream_decoder.c | 125 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); 132 static FLAC__StreamDecoderWriteStatus write_audio_frame_to_client_(FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[]); 163 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[]); 165 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[]); 167 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...] |
md5.c | 277 static void format_input_(FLAC__byte *buf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) 280 register FLAC__int32 a_word; 287 memcpy(buf_, signal[0], sizeof(FLAC__int32) * samples); 398 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
|
stream_encoder_framing.c | 48 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); 466 const FLAC__int32 *signal = subframe->data; 497 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)
|
bitwriter.c | 379 FLaC__INLINE FLAC__bool FLAC__bitwriter_write_raw_int32(FLAC__BitWriter *bw, FLAC__int32 val, unsigned bits) 439 unsigned FLAC__bitwriter_rice_bits(FLAC__int32 val, unsigned parameter) 515 FLAC__bool FLAC__bitwriter_write_rice_signed(FLAC__BitWriter *bw, FLAC__int32 val, unsigned parameter) 541 FLAC__bool FLAC__bitwriter_write_rice_signed_block(FLAC__BitWriter *bw, const FLAC__int32 *vals, unsigned nvals, unsigned parameter)
|
bitreader.c | 514 FLAC__bool FLAC__bitreader_read_raw_int32(FLAC__BitReader *br, FLAC__int32 *val, unsigned bits) [all...] |
/external/flac/include/FLAC/ |
ordinals.h | 44 typedef __int32 FLAC__int32; 51 typedef long FLAC__int32; 58 typedef int32_t FLAC__int32;
|
format.h | 284 FLAC__int32 value; /**< The constant signal value. */ 291 const FLAC__int32 *data; /**< A pointer to verbatim signal. */ 304 FLAC__int32 warmup[FLAC__MAX_FIXED_ORDER]; 307 const FLAC__int32 *residual; 327 FLAC__int32 qlp_coeff[FLAC__MAX_LPC_ORDER]; 330 FLAC__int32 warmup[FLAC__MAX_LPC_ORDER]; 333 const FLAC__int32 *residual; [all...] |
stream_encoder.h | [all...] |
stream_decoder.h | 682 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 | 88 FLAC__int32* mInputBufferPcm32;
|
SoftFlacEncoder.cpp | 70 mInputBufferPcm32 = (FLAC__int32*) malloc(sizeof(FLAC__int32) * 2 * kMaxNumSamplesPerFrame); 276 if (inHeader->nFilledLen > kMaxNumSamplesPerFrame * sizeof(FLAC__int32) * 2) { 294 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[])
|