Searched refs:target_bps (Results 1 - 5 of 5) sorted by relevance

/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.c57 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) argument
63 FLAC__ASSERT(target_bps <= 24);
64 FLAC__ASSERT(target_bps <= source_bps);
73 output = sample + (1L << (source_bps - target_bps - 1));
75 scalebits = source_bps - target_bps;
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) argument
115 const unsigned bytes_per_sample = target_bps / 8;
120 FLAC__ASSERT(target_bps <= 24);
121 FLAC__ASSERT(target_bps <= source_bps);
123 FLAC__ASSERT((target_bps
189 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) argument
[all...]
/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) argument
376 const FLAC__int32 conv_factor = conv_factors_[target_bps];
377 const FLAC__int64 hard_clip_factor = hard_clip_factors_[target_bps];
390 const unsigned bytes_per_sample = target_bps / 8;
396 const FLAC__uint32 twiggle = 1u << (target_bps - 1);
400 FLAC__ASSERT(target_bps >= 4);
402 FLAC__ASSERT(target_bps < 32);
403 FLAC__ASSERT((target_bps & 7) == 0);
434 switch(target_bps) {
447 switch(target_bps) {
[all...]
/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/plugin_winamp2/
H A Din_flac.c220 const unsigned target_bps = stream_data_.output_bits_per_sample; local
222 const unsigned fact = channels * (target_bps/8);
249 do_vis(sample_buffer_, channels, target_bps, mod_.outMod->GetWrittenTime(), n);
252 bytes = mod_.dsp_dosamples((short*)sample_buffer_, n, target_bps, channels, sample_rate) * fact;

Completed in 80 milliseconds