Searched refs:FLAC__int32 (Results 1 - 25 of 54) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/include/private/
H A Dlpc.h55 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 *dat
[all...]
H A Dwindow.h53 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
[all...]
H A Dfixed.h55 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[]);
H A Dmemory.h48 FLAC__bool FLAC__memory_alloc_aligned_int32_array(unsigned elements, FLAC__int32 **unaligned_pointer, FLAC__int32 **aligned_pointer);
H A Dmd5.h42 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample);
H A Dbitwriter.h83 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);
H A Dfloat.h63 typedef FLAC__int32 FLAC__fixedpoint;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/
H A Dwindow.c49 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
[all...]
H A Dfixed.c224 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_
[all...]
H A Dlpc.c56 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 *dat
[all...]
H A Dmemory.c74 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);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/plugin_common/
H A Ddither.h26 size_t FLAC__plugin_common__pack_pcm_signed_big_endian(FLAC__byte *data, const FLAC__int32 * const input[], unsigned wide_samples, unsigned channels, unsigned source_bps, unsigned target_bps);
27 size_t FLAC__plugin_common__pack_pcm_signed_little_endian(FLAC__byte *data, const FLAC__int32 * const input[], unsigned wide_samples, unsigned channels, unsigned source_bps, unsigned target_bps);
H A Ddither.c53 FLAC__int32 error[3];
54 FLAC__int32 random;
57 static FLaC__INLINE FLAC__int32 linear_dither(unsigned source_bps, unsigned target_bps, FLAC__int32 sample, dither_state *dither, const FLAC__int32 MIN, const FLAC__int32 MAX)
60 FLAC__int32 output, mask, random;
79 random = (FLAC__int32)prng(dither->random);
108 size_t FLAC__plugin_common__pack_pcm_signed_big_endian(FLAC__byte *data, const FLAC__int32 * const input[], unsigned wide_samples, unsigned channels, unsigned source_bps, unsigned target_bps)
112 FLAC__int32 sampl
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/include/FLAC/
H A Dordinals.h44 typedef __int32 FLAC__int32; typedef
51 typedef long FLAC__int32; typedef
58 typedef int32_t FLAC__int32; typedef
H A Dformat.h284 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;
H A Dstream_encoder.h1235 FLAC_API void FLAC__stream_encoder_get_verify_decoder_error_stats(const FLAC__StreamEncoder *encoder, FLAC__uint64 *absolute_sample, unsigned *frame_number, unsigned *channel, unsigned *sample, FLAC__int32 *expected, FLAC__int32 *got);
1728 FLAC_API FLAC__bool FLAC__stream_encoder_process(FLAC__StreamEncoder *encoder, const FLAC__int32 * const buffer[], unsigned samples);
1760 FLAC_API FLAC__bool FLAC__stream_encoder_process_interleaved(FLAC__StreamEncoder *encoder, const FLAC__int32 buffer[], unsigned samples);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/include/share/
H A Dreplaygain_synthesis.h49 size_t FLAC__replaygain_synthesis__apply_gain(FLAC__byte *data_out, FLAC__bool little_endian_data_out, FLAC__bool unsigned_data_out, const FLAC__int32 * const input[], unsigned wide_samples, unsigned channels, const unsigned source_bps, const unsigned target_bps, const double scale, const FLAC__bool hard_limit, FLAC__bool do_dithering, DitherContext *dither_context);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/share/replaygain_synthesis/
H A Dreplaygain_synthesis.c304 size_t FLAC__replaygain_synthesis__apply_gain(FLAC__byte *data_out, FLAC__bool little_endian_data_out, FLAC__bool unsigned_data_out, const FLAC__int32 * const input[], unsigned wide_samples, unsigned channels, const unsigned source_bps, const unsigned target_bps, const double scale, const FLAC__bool hard_limit, FLAC__bool do_dithering, DitherContext *dither_context)
306 static const FLAC__int32 conv_factors_[33] = {
376 const FLAC__int32 conv_factor = conv_factors_[target_bps];
388 const FLAC__int32 *input_;
394 FLAC__int32 val32;
395 FLAC__int32 uval32;
423 val32 = (FLAC__int32)val64;
425 val32 = (FLAC__int32)(-(hard_clip_factor+1));
427 val32 = (FLAC__int32)hard_clip_factor;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/test_streams/
H A Dmain.c48 static FLAC__bool write_little_endian(FILE *f, FLAC__int32 x, size_t bytes)
81 static FLAC__bool write_little_endian_int24(FILE *f, FLAC__int32 x)
98 static FLAC__bool write_little_endian_int32(FILE *f, FLAC__int32 x)
104 static FLAC__bool write_big_endian(FILE *f, FLAC__int32 x, size_t bytes)
147 static FLAC__bool write_big_endian_int24(FILE *f, FLAC__int32 x)
165 static FLAC__bool write_big_endian_int32(FILE *f, FLAC__int32 x)
374 FLAC__int32 x = pattern[p] > 0? 8388607 : -8388608;
506 const FLAC__int32 full_scale = 0x7fffff;
518 FLAC__int32 v = (FLAC__int32)(va
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/examples/cpp/encode/file/
H A Dmain.cpp48 static FLAC__int32 pcm[READSIZE/*samples*/ * 2/*channels*/];
49 static FLAC__int32 *pcm_[2] = { pcm, pcm+READSIZE };
142 /* convert the packed little-endian 16-bit PCM samples from WAVE into an interleaved FLAC__int32 buffer for libFLAC */
146 pcm[i] = (FLAC__int32)(((FLAC__int16)(FLAC__int8)buffer[2*i+1] << 8) | (FLAC__int16)buffer[2*i]);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/test_libs_common/
H A Dfile_utils_flac.c72 FLAC__int32 samples[1024];
123 for(i = 0; i < sizeof(samples) / sizeof(FLAC__int32); i++)
127 n = min(length, sizeof(samples) / sizeof(FLAC__int32));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/test_libFLAC/
H A Dencoders.c158 FLAC__int32 samples[1024];
159 FLAC__int32 *samples_array[1];
332 FLAC__int32 expected;
333 FLAC__int32 got;
462 for(i = 0; i < sizeof(samples) / sizeof(FLAC__int32); i++)
466 if(!FLAC__stream_encoder_process(encoder, (const FLAC__int32 * const *)samples_array, sizeof(samples) / sizeof(FLAC__int32)))
471 if(!FLAC__stream_encoder_process_interleaved(encoder, samples, sizeof(samples) / sizeof(FLAC__int32)))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/include/FLAC++/
H A Dencoder.h153 virtual void get_verify_decoder_error_stats(FLAC__uint64 *absolute_sample, unsigned *frame_number, unsigned *channel, unsigned *sample, FLAC__int32 *expected, FLAC__int32 *got); ///< See FLAC__stream_encoder_get_verify_decoder_error_stats()
177 virtual bool process(const FLAC__int32 * const buffer[], unsigned samples); ///< See FLAC__stream_encoder_process()
178 virtual bool process_interleaved(const FLAC__int32 buffer[], unsigned samples); ///< See FLAC__stream_encoder_process_interleaved()
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/include/share/grabbag/
H A Dreplaygain.h49 FLAC__bool grabbag__replaygain_analyze(const FLAC__int32 * const input[], FLAC__bool is_stereo, unsigned bps, unsigned samples);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/test_libFLAC++/
H A Dencoders.cpp187 FLAC__int32 samples[1024];
188 FLAC__int32 *samples_array[1] = { samples };
361 FLAC__int32 expected;
362 FLAC__int32 got;
491 for(i = 0; i < sizeof(samples) / sizeof(FLAC__int32); i++)
495 if(!encoder->process(samples_array, sizeof(samples) / sizeof(FLAC__int32)))
500 if(!encoder->process_interleaved(samples, sizeof(samples) / sizeof(FLAC__int32)))

Completed in 213 milliseconds

123