Home
last modified time | relevance | path

Searched refs:denshift (Results 1 – 3 of 3) sorted by relevance

/third_party/libsnd/src/ALAC/
Ddp_enc.c43 init_coefs (int16_t * coefs, uint32_t denshift, int32_t numPairs) in init_coefs() argument
46 int32_t den = 1 << denshift ; in init_coefs()
73 …t32_t * pc1, int32_t num, int16_t * coefs, int32_t numactive, uint32_t chanbits, uint32_t denshift) in pc_block() argument
84 int32_t denhalf = 1 << (denshift - 1) ; in pc_block()
133 sum1 = (denhalf - a0 * b0 - a1 * b1 - a2 * b2 - a3 * b3) >> denshift ; in pc_block()
145 del0 -= (4 - 3) * ((sgn * b3) >> denshift) ; in pc_block()
151 del0 -= (4 - 2) * ((sgn * b2) >> denshift) ; in pc_block()
157 del0 -= (4 - 1) * ((sgn * b1) >> denshift) ; in pc_block()
168 del0 -= (4 - 3) * ((sgn * b3) >> denshift) ; in pc_block()
174 del0 -= (4 - 2) * ((sgn * b2) >> denshift) ; in pc_block()
[all …]
Ddp_dec.c53 …t32_t * out, int32_t num, int16_t * coefs, int32_t numactive, uint32_t chanbits, uint32_t denshift) in unpc_block() argument
62 int32_t denhalf = 1 << (denshift - 1) ; in unpc_block()
126 sum1 = (denhalf - ia0 * ib0 - ia1 * ib1 - ia2 * ib2 - ia3 * ib3) >> denshift ; in unpc_block()
139 del0 -= (4 - 3) * ((sgn * ib3) >> denshift) ; in unpc_block()
145 del0 -= (4 - 2) * ((sgn * ib2) >> denshift) ; in unpc_block()
151 del0 -= (4 - 1) * ((sgn * ib1) >> denshift) ; in unpc_block()
162 del0 -= (4 - 3) * ((sgn * ib3) >> denshift) ; in unpc_block()
168 del0 -= (4 - 2) * ((sgn * ib2) >> denshift) ; in unpc_block()
174 del0 -= (4 - 1) * ((sgn * ib1) >> denshift) ; in unpc_block()
220 - a4 * b4 - a5 * b5 - a6 * b6 - a7 * b7) >> denshift ; in unpc_block()
[all …]
Ddplib.h49 void init_coefs (int16_t * coefs, uint32_t denshift, int32_t numPairs) ;
54 …32_t * pc, int32_t num, int16_t * coefs, int32_t numactive, uint32_t chanbits, uint32_t denshift) ;
55 …2_t * out, int32_t num, int16_t * coefs, int32_t numactive, uint32_t chanbits, uint32_t denshift) ;