Searched defs:shift (Results 226 - 250 of 713) sorted by relevance

1234567891011>>

/external/libopus/celt/
H A Dentenc.c215 int shift; local
218 shift=EC_SYM_BITS-_nbits;
219 mask=((1<<_nbits)-1)<<shift;
222 _this->buf[0]=(unsigned char)((_this->buf[0]&~mask)|_val<<shift);
226 _this->rem=(_this->rem&~mask)|_val<<shift;
231 (opus_uint32)_val<<(EC_CODE_SHIFT+shift);
H A Dmdct.c67 int shift; local
85 for (shift=0;shift<=maxshift;shift++)
120 const opus_val16 *window, int overlap, int shift, int stride, int arch)
126 const kiss_fft_state *st = l->kfft[shift];
140 for (i=0;i<shift;i++)
243 const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride, int arch)
252 for (i=0;i<shift;i++)
267 const opus_int16 * OPUS_RESTRICT bitrev = l->kfft[shift]
119 clt_mdct_forward_c(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar * OPUS_RESTRICT out, const opus_val16 *window, int overlap, int shift, int stride, int arch) argument
242 clt_mdct_backward_c(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar * OPUS_RESTRICT out, const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride, int arch) argument
[all...]
/external/libopus/celt/mips/
H A Dmdct_mipsr1.h61 const opus_val16 *window, int overlap, int shift, int stride, int arch)
67 const kiss_fft_state *st = l->kfft[shift];
83 for (i=0;i<shift;i++)
187 const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride, int arch)
197 for (i=0;i<shift;i++)
212 const opus_int16 * OPUS_RESTRICT bitrev = l->kfft[shift]->bitrev;
229 opus_fft_impl(l->kfft[shift], (kiss_fft_cpx*)(out+(overlap>>1)));
60 clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar * OPUS_RESTRICT out, const opus_val16 *window, int overlap, int shift, int stride, int arch) argument
186 clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar * OPUS_RESTRICT out, const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride, int arch) argument
/external/libopus/silk/fixed/mips/
H A Dnoise_shape_analysis_FIX_mipsr1.h157 opus_int shift, slope_part, flat_part; local
162 shift = slope_part;
163 silk_memcpy( x_windowed + shift, x_ptr + shift, flat_part * sizeof(opus_int16) );
164 shift += flat_part;
165 silk_apply_sine_window( x_windowed + shift, x_ptr + shift, 2, slope_part );
/external/libopus/silk/fixed/
H A Dnoise_shape_analysis_FIX.c250 opus_int shift, slope_part, flat_part; local
255 shift = slope_part;
256 silk_memcpy( x_windowed + shift, x_ptr + shift, flat_part * sizeof(opus_int16) );
257 shift += flat_part;
258 silk_apply_sine_window( x_windowed + shift, x_ptr + shift, 2, slope_part );
/external/libopus/silk/float/
H A Dnoise_shape_analysis_FLP.c239 opus_int shift, slope_part, flat_part; local
244 shift = slope_part;
245 silk_memcpy( x_windowed + shift, x_ptr + shift, flat_part * sizeof(silk_float) );
246 shift += flat_part;
247 silk_apply_sine_window_FLP( x_windowed + shift, x_ptr + shift, 2, slope_part );
/external/libunwind/include/
H A Ddwarf_i.h298 unw_word_t val = 0, shift = 0; local
307 val |= ((unw_word_t) byte & 0x7f) << shift;
308 shift += 7;
323 unw_word_t val = 0, shift = 0; local
332 val |= ((unw_word_t) byte & 0x7f) << shift;
333 shift += 7;
337 if (shift < 8 * sizeof (unw_word_t) && (byte & 0x40) != 0)
339 val |= ((unw_word_t) -1) << shift;
/external/libunwind/src/arm/
H A DGex_tables.c219 uint8_t byte, shift = 0; local
223 offset |= (byte & 0x7f) << shift;
224 shift += 7;
/external/libunwind/src/ia64/
H A Dunwind_decoder.h90 unsigned shift = 0; local
97 result |= (byte & 0x7f) << shift;
100 shift += 7;
/external/libvncserver/libvncclient/
H A Dzrle.c300 int i,j,shift, local
314 for(i=x,shift=8-bpp; i<x+w; i++) {
315 ((CARDBPP*)client->frameBuffer)[j+i] = palette[((*buffer)>>shift)&mask];
316 shift-=bpp;
317 if(shift<0) {
318 shift=8-bpp;
322 if(shift<8-bpp)
/external/libvpx/libvpx/vp8/encoder/
H A Dvp8_quantize.c162 static void invert_quant(int improved_quant, short *quant, short *shift, argument
171 *shift = l;
172 /* use multiplication and constant shift by 16 */
173 *shift = 1 << (16 - *shift);
176 *shift = 0;
177 /* use multiplication and constant shift by 16 */
178 *shift = 1 << (16 - *shift);
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_detokenize.c49 const int shift = vpx_norm[*range]; local
50 *range <<= shift; local
51 *value <<= shift; local
52 *count -= shift;
58 const int shift = vpx_norm[*range]; local
59 *range <<= shift; local
60 *value <<= shift; local
61 *count -= shift;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_quantize.c191 static void invert_quant(int16_t *quant, int16_t *shift, int d) { argument
198 *shift = 1 << (16 - l);
/external/libxaac/decoder/
H A Dixheaacd_basic_ops16.h91 static PLATFORM_INLINE WORD16 ixheaacd_shl16(WORD16 op1, WORD16 shift) { argument
94 var_out = (WORD16)(op1 << shift);
98 static PLATFORM_INLINE WORD16 ixheaacd_shl16_sat(WORD16 op1, WORD16 shift) { argument
102 if (shift > 15) {
103 shift = 15;
105 temp = (WORD32)(op1 << shift);
110 static PLATFORM_INLINE WORD16 ixheaacd_shr16(WORD16 op1, WORD16 shift) { argument
113 var_out = ((WORD16)(op1 >> shift));
117 static PLATFORM_INLINE WORD16 shl16_dir(WORD16 op1, WORD16 shift) { argument
119 if (shift >
127 shr16_dir(WORD16 op1, WORD16 shift) argument
138 shl16_dir_sat(WORD16 op1, WORD16 shift) argument
148 ixheaacd_shr16_dir_sat(WORD16 op1, WORD16 shift) argument
[all...]
H A Dixheaacd_basic_ops40.h377 WORD8 shift) {
382 result = (WORD32)(temp_result >> shift);
376 ixheaacd_mul32_sh(WORD32 a, WORD32 b, WORD8 shift) argument
H A Dixheaacd_basic_ops_arr.h45 static PLATFORM_INLINE VOID shl32_arr(WORD32 *word32_arr, WORD16 shift, argument
50 word32_arr[i] = ixheaacd_shl32(word32_arr[i], shift);
56 static PLATFORM_INLINE VOID ixheaacd_shr32_arr(WORD32 *word32_arr, WORD16 shift, argument
61 *word32_arr = ixheaacd_shr32(*word32_arr, shift);
68 static PLATFORM_INLINE VOID shl32_arr_dir(WORD32 *word32_arr, WORD16 shift, argument
73 word32_arr[i] = ixheaacd_shl32_dir(word32_arr[i], shift);
79 static PLATFORM_INLINE VOID shr32_arr_dir(WORD32 *word32_arr, WORD16 shift, argument
84 word32_arr[i] = ixheaacd_shr32_dir(word32_arr[i], shift);
90 static PLATFORM_INLINE VOID shl32_arr_dir_sat(WORD32 *word32_arr, WORD16 shift, argument
95 word32_arr[i] = ixheaacd_shl32_dir_sat(word32_arr[i], shift);
101 shr32_arr_dir_sat(WORD32 *word32_arr, WORD16 shift, WORD32 n) argument
112 ixheaacd_shl32_arr_sat(WORD32 *word32_arr, WORD16 shift, WORD32 n) argument
124 shl16_arr(WORD16 *word16_arr, WORD16 shift, WORD32 n) argument
135 ixheaacd_shr16_arr(WORD16 *word16_arr, WORD16 shift, WORD32 n) argument
147 shl16_arr_dir(WORD16 *word16_arr, WORD16 shift, WORD32 n) argument
158 shr16_arr_dir(WORD16 *word16_arr, WORD16 shift, WORD32 n) argument
169 shl16_arr_dir_sat(WORD16 *word16_arr, WORD16 shift, WORD32 n) argument
180 shr16_arr_dir_sat(WORD16 *word16_arr, WORD16 shift, WORD32 n) argument
191 shl16_arr_sat(WORD16 *word16_arr, WORD16 shift, WORD32 n) argument
202 shl3216_arr(WORD32 *word32_arr, WORD16 *word16_arr, WORD16 shift, WORD32 n) argument
[all...]
H A Dixheaacd_pns_js_thumb.c74 VOID ixheaacd_gen_rand_vec(WORD32 scale, WORD shift, WORD32 *ptr_spec_coef, argument
96 shift = shift - (nrg_scale >> 1);
106 shift);
H A Dixheaacd_tns.c190 WORD32 shift; local
255 shift = stop - 1;
260 shift = start;
271 ixheaacd_tns_ar_filter_usac(&ptr_spec[shift], size, inc, lpc_coeff,
288 ixheaacd_tns_ar_filter_usac(&ptr_spec[shift], size, inc, lpc_coeff,
/external/libxkbcommon/xkbcommon/test/
H A Dstate.c254 xkb_mod_index_t caps, shift, ctrl; local
263 shift = xkb_keymap_mod_get_index(keymap, XKB_MOD_NAME_SHIFT);
264 assert(shift != XKB_MOD_INVALID);
281 assert(base_mods == (1U << shift));
303 xkb_mod_index_t caps, shift, num, alt, mod1, mod2; local
310 shift = xkb_keymap_mod_get_index(keymap, XKB_MOD_NAME_SHIFT);
311 assert(shift != XKB_MOD_INVALID);
326 changed = xkb_state_update_mask(state, (1 << caps), 0, (1 << shift), 0, 0, 0);
330 ((1u << caps) | (1u << shift)));
335 (1u << shift));
382 xkb_mod_index_t alt, shift, caps, ctrl, mod5; local
492 xkb_mod_index_t caps, shift; local
[all...]
/external/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp198 int shift = 0; local
205 shift = 1;
215 shift = 2;
223 if (Val % (1 << shift))
226 return createRegOperand(SRegClassID, Val >> shift);
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_float.c66 * and shift the result to mantissa_start.
83 LLVMValueRef i32_qnanbit, shift, res; local
212 shift = lp_build_const_int_vec(gallivm, i32_type, 8 - exponent_bits);
214 sign = lp_build_shr(&u32_bld, sign, shift);
218 /* shift to final position */
220 shift = lp_build_const_int_vec(gallivm, i32_type, 23 - exponent_start);
221 res = lp_build_shr(&i32_bld, res, shift);
224 shift = lp_build_const_int_vec(gallivm, i32_type, exponent_start - 23);
225 res = lp_build_shl(&i32_bld, res, shift);
291 LLVMValueRef wasinfnan, tmp, res, shift, maskab local
429 LLVMValueRef shift, mask; local
466 LLVMValueRef shift, scale, bias, exp; local
[all...]
H A Dlp_bld_format_yuv.c88 * Avoid shift with per-element count.
106 LLVMValueRef shift; local
108 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, 16), "");
109 shift = LLVMBuildAdd(builder, shift, lp_build_const_int_vec(gallivm, type, 8), "");
111 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, -16), "");
112 shift = LLVMBuildAdd(builder, shift, lp_build_const_int_vec(gallivm, type, 16), "");
114 *y = LLVMBuildLShr(builder, packed, shift, "");
172 * Avoid shift wit
189 LLVMValueRef shift; local
[all...]
H A Dlp_bld_logic.c341 LLVMValueRef shift = LLVMConstInt(bld->int_elem_type, bld->type.width - 1, 0); local
342 shift = lp_build_broadcast(bld->gallivm, bld->int_vec_type, shift);
343 mask = LLVMBuildLShr(builder, mask, shift, "");
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog_emit.c538 int shift = 3 - emit.current_node; local
541 code->code_addr[shift + i] = code->code_addr[i];
542 for(i = 0; i < shift; ++i)
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_pixelformat.c56 } shift; member in struct:stw_pf_color_info
170 pfi->pfd.cRedShift = color->shift.red;
172 pfi->pfd.cGreenShift = color->shift.green;
174 pfi->pfd.cBlueShift = color->shift.blue;
176 pfi->pfd.cAlphaShift = color->shift.alpha;

Completed in 427 milliseconds

1234567891011>>