Home
last modified time | relevance | path

Searched refs:arith_shift_left (Results 1 – 25 of 30) sorted by relevance

12

/third_party/libsnd/src/ALAC/
Dmatrix_dec.c77 out [0] = arith_shift_left (l, 16) ; in unmix16()
78 out [1] = arith_shift_left (r, 16) ; in unmix16()
112 out [0] = arith_shift_left (l, 12) ; in unmix20()
113 out [1] = arith_shift_left (r, 12) ; in unmix20()
122 out [0] = arith_shift_left (u [j], 12) ; in unmix20()
123 out [1] = arith_shift_left (v [j], 12) ; in unmix20()
150 l = arith_shift_left (l, shift) | (uint32_t) shiftUV [k + 0] ; in unmix24()
151 r = arith_shift_left (r, shift) | (uint32_t) shiftUV [k + 1] ; in unmix24()
153 out [0] = arith_shift_left (l, 8) ; in unmix24()
154 out [1] = arith_shift_left (r, 8) ; in unmix24()
[all …]
Ddp_dec.c100 out [j] = arith_shift_left (del, chanshift) >> chanshift ; in unpc_block()
135 out [j] = arith_shift_left (del, chanshift) >> chanshift ; in unpc_block()
229 out [j] = arith_shift_left (del, chanshift) >> chanshift ; in unpc_block()
Ddp_enc.c110 pc1 [j] = arith_shift_left (del, chanshift) >> chanshift ; in pc_block()
138 del = arith_shift_left (del, chanshift) >> chanshift ; in pc_block()
231 del = arith_shift_left (del, chanshift) >> chanshift ; in pc_block()
Dshift.h29 arith_shift_left (int32_t x, int shift) in arith_shift_left() function
Dalac_decoder.c286 val = arith_shift_left (val, 16) >> shift ; in alac_decode()
312 out32 [j] = arith_shift_left (p->mMixBufferU [i], 16) ; in alac_decode()
/third_party/libsnd/tests/
Dpcm_test.def6 short_func = "arith_shift_left (k * ((k % 2) ? 1 : -1), 8)" ;
7 int_func = "arith_shift_left (k * ((k % 2) ? 1 : -1), 24)" ;
15 int_func = "arith_shift_left (k * ((k % 2) ? 3 : -3), 16)" ;
23 int_func = "arith_shift_left (k * ((k % 2) ? 3333 : -3333), 8)" ;
Ddwvw_test.c67 bit_mask = arith_shift_left (-1, 32 - bit_width) ; in dwvw_test()
82 write_buf [k] = bit_mask & (arith_shift_left (rand (), 11) ^ (rand () >> 11)) ; in dwvw_test()
Dutils.tpl85 arith_shift_left (int32_t x, int shift)
87 } /* arith_shift_left */
/third_party/libsnd/src/GSM610/
Dpreprocess.c53 SO = arith_shift_left (SASR_W (*s, 3), 2) ; in Gsm_Preprocess()
77 L_s2 = arith_shift_left (L_s2, 15) ; in Gsm_Preprocess()
82 lsp = L_z2 - arith_shift_left ((int32_t) msp, 15) ; /* gsm_L_sub (L_z2,(msp<<15)) ; */ in Gsm_Preprocess()
Drpe.c319 temp = arith_shift_left (xM [i], temp1) ; in APCM_quantization()
362 temp = arith_shift_left (temp, 12) ; /* 16 bit signed */ in APCM_inverse_quantization()
Dgsm610_priv.h305 arith_shift_left (int32_t x, int shift) in arith_shift_left() function
Dshort_term.c49 temp1 = arith_shift_left (GSM_ADD (*LARc++, MIC), 10) ; \ in Decoding_of_the_coded_Log_Area_Ratios()
/third_party/libsnd/src/G72x/
Dg721.c111 update (4, y, arith_shift_left (_witab [i], 5), _fitab [i], dq, sr, dqsez, state_ptr) ; in g721_encoder()
150 update (4, y, arith_shift_left (_witab [i], 5), _fitab [i], dq, sr, dqsez, state_ptr) ; in g721_decoder()
153 return arith_shift_left (sr, 2) ; in g721_decoder()
Dg72x_priv.h118 arith_shift_left (int x, int shift) in arith_shift_left() function
Dg723_40.c151 return arith_shift_left (sr, 2) ; /* sr was of 14-bit dynamic range */ in g723_40_decoder()
Dg723_24.c137 return arith_shift_left (sr, 2) ; /* sr was of 14-bit dynamic range */ in g723_24_decoder()
/third_party/libsnd/src/
Dxi.c975 dest [k] = arith_shift_left (last_val, 8) ; in dsc2s_array()
978 pxi->last_16 = arith_shift_left (last_val, 8) ; in dsc2s_array()
990 dest [k] = arith_shift_left (last_val, 24) ; in dsc2i_array()
993 pxi->last_16 = arith_shift_left (last_val, 8) ; in dsc2i_array()
1008 pxi->last_16 = arith_shift_left (last_val, 8) ; in dsc2f_array()
1023 pxi->last_16 = arith_shift_left (last_val, 8) ; in dsc2d_array()
1042 pxi->last_16 = arith_shift_left (last_val, 8) ; in s2dsc_array()
1058 pxi->last_16 = arith_shift_left (last_val, 8) ; in i2dsc_array()
1074 pxi->last_16 = arith_shift_left (last_val, 8) ; in f2dsc_array()
1090 pxi->last_16 = arith_shift_left (last_val, 8) ; in d2dsc_array()
[all …]
Ddwvw.c347 ptr [count] = arith_shift_left (sample, 32 - pdwvw->bit_width) ; in dwvw_decode_data()
388 pdwvw->bits = arith_shift_left (pdwvw->bits, 8) ; in dwvw_decode_load_bits()
432 …pdwvw->bits = arith_shift_left (pdwvw->bits, new_bits) | (data & (arith_shift_left (1, new_bits) -… in dwvw_encode_store_bits()
574 iptr [k] = arith_shift_left (ptr [total + k], 16) ; in dwvw_write_s()
Dima_oki_adpcm.c66 state->mask = arith_shift_left (~0, 4) ; in ima_oki_adpcm_init()
Davr.c128 switch (arith_shift_left (hdr.rez, 16) + (hdr.sign & 1)) in avr_read_header()
Dsds.c457 { sample = arith_shift_left (ucptr [k], 25) + arith_shift_left (ucptr [k + 1], 18) ; in sds_2byte_read()
913 iptr [k] = arith_shift_left (ptr [total + k], 16) ; in sds_write_s()
Dvox_adpcm.c192 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in vox_read_i()
Dg72x.c271 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in g72x_read_i()
Dpcm.c337 { dest [i] = arith_shift_left ((int) src [i], 24) ; in sc2i_array()
344 { dest [i] = arith_shift_left (((int) src [i]) - 128, 24) ; in uc2i_array()
354 dest [i] = arith_shift_left (value, 16) ; in bes2i_array()
364 dest [i] = arith_shift_left (value, 16) ; in les2i_array()
Dgsm610.c308 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in gsm610_read_i()

12