Searched refs:exp_lut (Results 1 – 3 of 3) sorted by relevance
/third_party/gstreamer/gstplugins_good/gst/law/ |
D | mulaw-conversion.c | 37 static const gint16 exp_lut[256] = { in mulaw_encode() local 74 exponent = exp_lut[(sample >> 7) & 0xFF]; in mulaw_encode() 104 static const gint16 exp_lut[8] = in mulaw_decode() local 117 linear = exp_lut[exponent] + (mantissa << (exponent + 3)); in mulaw_decode()
|
/third_party/libsnd/tests/ |
D | alaw_test.c | 175 { static int exp_lut [128] = in alaw_encode() local 206 { exponent = exp_lut [(sample >> 8) & 0x7F] ; in alaw_encode() 220 { static int exp_lut [8] = { 0, 264, 528, 1056, 2112, 4224, 8448, 16896 } ; in alaw_decode() local 229 sample = exp_lut [exponent] + (mantissa << (exponent + 3)) ; in alaw_decode()
|
D | ulaw_test.c | 189 { static int exp_lut [256] = in ulaw_encode() local 220 exponent = exp_lut [(sample >> 7) & 0xFF] ; in ulaw_encode() 246 { static int exp_lut [8] = { 0, 132, 396, 924, 1980, 4092, 8316, 16764 } ; in ulaw_decode() local 253 sample = exp_lut [exponent] + (mantissa << (exponent + 3)) ; in ulaw_decode()
|