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

1234567891011>>

/external/iproute2/tc/
H A Dem_meta.c33 " META_ID := id [ shift SHIFT ] [ mask MASK ]\n" \
36 " meta(indev shift 1 eq \"ppp\")\n" \
312 if (!bstrcmp(a, "shift")) {
313 unsigned long shift; local
321 shift = bstrtoul(a);
322 if (shift == ULONG_MAX) {
323 PARSE_ERR(a, "meta: invalid shift, must " \
328 obj->shift = (__u8) shift;
478 if (obj->shift)
[all...]
H A Dm_pedit.c43 "\t\tATC:= at <atval> offmask <maskval> shift <shiftval>\n "
46 "\t\tNOTE: shiftval is a is a shift value\n "
139 sel->keys[hwm].shift = tkey->shift;
382 /* [at <someval> offmask <maskval> shift <shiftval>] */
385 __u32 atv=0,offmask=0x0,shift=0; local
400 if (get_u32(&shift, *argv, 0))
402 tkey->shift = shift;
/external/libhevc/decoder/
H A Dihevcd_deblk.c237 WORD32 shift = 0; local
240 * shift = (col & ((MAX_CTB_SIZE >> log2_ctb_size) - 1)) << (log2_ctb_size - 1);
245 shift = (col & 1) << (log2_ctb_size - 1);
248 u4_bs = (pu4_vert_bs[0] >> shift) << 2;
254 UWORD32 u4_top_bs = (*pu4_vert_bs_top) >> (shift + (1 << (log2_ctb_size - 1)) - 2);
377 WORD32 shift = 0; local
380 * shift = (row & (MAX_CTB_SIZE / ctb_size - 1)) * ctb_size / 2;
385 shift = (row & 1) << (log2_ctb_size - 1);
388 u4_bs = (pu4_horz_bs[0] >> shift) << 2;
396 UWORD32 u4_left_bs = (*pu4_horz_bs_left) >> (shift
[all...]
/external/libnl/lib/route/cls/
H A Du32.c428 int shift = 24 - 8 * (off & 3); local
430 return rtnl_u32_add_key(cls, htonl((uint32_t)val << shift),
431 htonl((uint32_t)mask << shift),
447 int shift = ((off & 3) == 0 ? 16 : 0); local
451 return rtnl_u32_add_key(cls, htonl((uint32_t)val << shift),
452 htonl((uint32_t)mask << shift),
/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 Dkiss_fft.c564 st->shift = 0;
565 while (nfft<<st->shift != base->nfft && st->shift < 32)
566 st->shift++;
567 if (st->shift>=32)
572 st->shift = -1;
601 if (cfg->shift < 0)
616 int shift; local
618 /* st->shift can be -1 */
619 shift
675 int shift; local
[all...]
/external/libopus/silk/fixed/
H A Dnoise_shape_analysis_FIX.c267 opus_int shift, slope_part, flat_part; local
272 shift = slope_part;
273 silk_memcpy( x_windowed + shift, x_ptr + shift, flat_part * sizeof(opus_int16) );
274 shift += flat_part;
275 silk_apply_sine_window( x_windowed + shift, x_ptr + shift, 2, slope_part );
/external/libopus/silk/float/
H A Dnoise_shape_analysis_FLP.c232 opus_int shift, slope_part, flat_part; local
237 shift = slope_part;
238 silk_memcpy( x_windowed + shift, x_ptr + shift, flat_part * sizeof(silk_float) );
239 shift += flat_part;
240 silk_apply_sine_window_FLP( x_windowed + shift, x_ptr + shift, 2, slope_part );
/external/libsepol/src/
H A Davtab.c304 uint32_t shift = 0; local
313 shift++;
315 if (shift > 2)
316 shift = shift - 2;
317 nslot = 1 << shift;
/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.c225 uint8_t byte, shift = 0; local
229 offset |= (byte & 0x7f) << shift;
230 shift += 7;
/external/libunwind/src/ia64/
H A Dunwind_decoder.h90 unsigned shift = 0; local
97 result |= (byte & 0x7f) << shift;
100 shift += 7;
/external/libvorbis/lib/
H A Denvelope.c356 void _ve_envelope_shift(envelope_lookup *e,long shift){ argument
359 int smallshift=shift/e->searchstep;
368 totalshift+=shift;
371 e->current-=shift;
373 e->curmark-=shift;
374 e->cursor-=shift;
H A Dlsp.c157 int qexp=0,shift; local
164 if(!(shift=MLOOP_1[(pi|qi)>>25]))
165 if(!(shift=MLOOP_2[(pi|qi)>>19]))
166 shift=MLOOP_3[(pi|qi)>>16];
167 qi=(qi>>shift)*labs(ilsp[j-1]-wi);
168 pi=(pi>>shift)*labs(ilsp[j]-wi);
169 qexp+=shift;
171 if(!(shift=MLOOP_1[(pi|qi)>>25]))
172 if(!(shift=MLOOP_2[(pi|qi)>>19]))
173 shift
188 pi>>=shift; local
189 qi>>=shift; local
205 pi>>=shift; local
206 qi>>=shift; local
[all...]
/external/libvpx/libvpx/test/
H A Dintrapred_test.cc99 int sum = 0, shift = BlockSizeLog2Min1() + mbptr_->up_available + local
107 expected = (sum + (1 << (shift - 1))) >> shift;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_quantize.c143 static void invert_quant(int16_t *quant, int16_t *shift, int d) { argument
151 *shift = 1 << (16 - l);
/external/linux-tools-perf/perf-3.12.0/arch/hexagon/lib/
H A Dmemcpy.S180 #define shift R8 /* used to work a shifter to extract bytes */ define
258 shift = asl(prolog, #3); define
284 shiftb = and(shift, #8);
311 ifbyte = tstbit(shift,#3);
317 shiftb = and(shift, #16);
318 ifhword = tstbit(shift,#4);
323 ifword = tstbit(shift,#5);
/external/lldb/source/Plugins/Process/Utility/
H A DARMUtils.h31 //assert(0 && "Invalid shift type");
82 //assert(0 && "Invalid shift type");
283 static uint32_t ror(uint32_t val, uint32_t N, uint32_t shift) argument
285 uint32_t m = shift % N;
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos.c161 unsigned shift; local
192 shift = 0;
212 shifts[i] = lp_build_const_int32(gallivm, shift);
223 shift += bits;
275 unsigned shift; local
301 shift = 0;
315 shifts[i] = lp_build_const_int32(gallivm, shift);
325 shift += bits;
H A Dlp_bld_format_yuv.c82 * Avoid shift with per-element count.
100 LLVMValueRef shift; local
101 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, 16), "");
102 shift = LLVMBuildAdd(builder, shift, lp_build_const_int_vec(gallivm, type, 8), "");
103 *y = LLVMBuildLShr(builder, packed, shift, "");
150 * Avoid shift with per-element count.
167 LLVMValueRef shift; local
168 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, 16), "");
169 *y = LLVMBuildLShr(builder, packed, shift, "");
[all...]
H A Dlp_bld_swizzle.c229 int shift = shifts[channel][i]; local
232 shift = -shift;
235 if(shift > 0)
236 tmp = LLVMBuildLShr(builder, a, lp_build_const_int_vec(bld->gallivm, type4, shift*type.width), "");
237 if(shift < 0)
238 tmp = LLVMBuildShl(builder, a, lp_build_const_int_vec(bld->gallivm, type4, -shift*type.width), "");
360 int shift; local
385 * Mask and shift the channels, trying to group as many channels in the
386 * same shift a
[all...]
/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
167 pfi->pfd.cRedShift = color->shift.red;
169 pfi->pfd.cGreenShift = color->shift.green;
171 pfi->pfd.cBlueShift = color->shift.blue;
173 pfi->pfd.cAlphaShift = color->shift.alpha;
/external/mesa3d/src/mesa/main/
H A Dpixeltransfer.c192 * Apply color index shift and offset to an array of pixels.
198 GLint shift = ctx->Pixel.IndexShift; local
201 if (shift > 0) {
203 indexes[i] = (indexes[i] << shift) + offset;
206 else if (shift < 0) {
207 shift = -shift;
209 indexes[i] = (indexes[i] >> shift) + offset;
222 * Apply color index shift, offset and table lookup to an array
245 * Apply stencil index shift, offse
254 GLint shift = ctx->Pixel.IndexShift; local
[all...]
H A Dtexenv.c352 GLuint shift; local
355 shift = 0;
358 shift = 1;
361 shift = 2;
371 if (texUnit->Combine.ScaleShiftRGB == shift)
374 texUnit->Combine.ScaleShiftRGB = shift;
377 if (texUnit->Combine.ScaleShiftA == shift)
380 texUnit->Combine.ScaleShiftA = shift;

Completed in 1333 milliseconds

1234567891011>>