Searched refs:source_bps (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/plugin_common/ |
H A D | dither.h | 26 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 D | dither.c | 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) argument 62 FLAC__ASSERT(source_bps < 32); 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 119 FLAC__ASSERT(source_bps < 32); 121 FLAC__ASSERT(target_bps <= source_bps); 122 FLAC__ASSERT((source_bps & 7) == 0); 125 if(source_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/include/share/ |
H A D | replaygain_synthesis.h | 49 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 D | replaygain_synthesis.c | 304 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 380 * source_bps. We want to normalize it to [-1.0, 1.0) so instead 382 * 'scale' by 1/(2^(source_bps-1)) 384 const double multi_scale = scale / (double)(1u << (source_bps-1)); 399 FLAC__ASSERT(source_bps >= 4); 401 FLAC__ASSERT(source_bps <= 32);
|
Completed in 47 milliseconds