Searched defs:shift (Results 26 - 50 of 657) sorted by relevance

1234567891011>>

/external/deqp/framework/delibs/debase/
H A DdeInt32.c131 int shift = deClz32(a); local
132 deUint32 normalized = (deUint32)a << shift; /* Highest bit is always 1. */
154 *exp = 31 - shift;
/external/fio/lib/
H A Dieee754.c14 int shift; local
32 shift = 0;
35 shift++;
39 shift--;
47 exp = shift + ((1 << (expbits - 1)) - 1); // shift + bias
56 long long shift; local
70 shift = ((i >> significandbits) & ((1LL << expbits) - 1)) - bias;
71 while (shift > 0) {
73 shift
[all...]
/external/icu/icu4c/source/layout/
H A DDeviceTables.cpp33 le_uint16 shift = 16 - (bits * (fieldIndex + 1)); local
34 le_uint16 field = (word >> shift) & fieldMasks[format];
/external/libhevc/decoder/
H A Dihevcd_itrans_recon_dc.c94 WORD32 add, shift; local
102 shift = IT_SHIFT_STAGE_1;
103 add = 1 << (shift - 1);
104 dc_value = CLIP_S16((quant_out * 64 + add) >> shift);
105 shift = IT_SHIFT_STAGE_2;
106 add = 1 << (shift - 1);
107 dc_value = CLIP_S16((dc_value * 64 + add) >> shift);
124 WORD32 add, shift; local
133 shift = IT_SHIFT_STAGE_1;
134 add = 1 << (shift
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_systemdependent.h68 const int shift = (1 << i); local
69 const unsigned int x = value >> shift;
72 log += shift;
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_reader.c40 int shift = BD_VALUE_SIZE - CHAR_BIT - (count + CHAR_BIT); local
43 const int x = shift + CHAR_BIT - bits_left;
51 while (shift >= loop_end) {
53 value |= (BD_VALUE)*buffer++ << shift;
54 shift -= CHAR_BIT;
/external/skia/src/core/
H A DSkBitmap_scroll.cpp26 int shift = this->bytesPerPixel() >> 1; local
83 src -= dx << shift;
86 dst += dx << shift;
96 width <<= shift; // now width is the number of bytes to move per line local
/external/speex/libspeex/
H A Dlpc.c138 int shift, ac_shift; local
143 shift = 8;
144 while (shift && ac0<0x40000000)
146 shift--;
162 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift));
/external/srec/srec/cfront/
H A Dsh_down.h35 static PINLINE int fixed_point_convert(float xx, int shift);
36 static PINLINE int shift_up_inline(int value, unsigned int shift);
37 static PINLINE int shift_down_inline(int value, unsigned int shift);
42 static PINLINE int shift_up_inline(int value, unsigned int shift) argument
47 ASSERT(shift > 0);
53 retval = temp << shift;
64 static PINLINE int shift_down_inline(int value, unsigned int shift) argument
67 if (shift-- == 0)
70 return (((value >> shift) + 1) >> 1);
72 return (-((((-value) >> shift)
75 fixed_point_convert(float xx, int shift) argument
[all...]
/external/stlport/test/unit/
H A Dtransform_test.cpp34 static char shift( char c ) { function in class:TransformTest
77 transform( s.begin(), s.end(), s.begin(), shift );
/external/vixl/src/
H A Dutils-vixl.cc121 int shift = 1 << i; local
122 value = ((value >> shift) & kMasks[i]) + (value & kMasks[i]);
/external/chromium_org/chrome/browser/extensions/
H A Dapp_icon_loader_impl.cc109 const color_utils::HSL shift = {-1, 0, 0.6}; local
110 image = gfx::ImageSkiaOperations::CreateHSLShiftedImage(image, shift);
/external/chromium_org/chrome/test/base/
H A Dinteractive_test_utils.h34 // Makes focus shift to the given View without clicking it.
53 bool shift,
63 bool shift,
74 bool shift,
95 bool shift,
107 bool shift,
115 if (!SendKeyPressSync(browser, key, control, shift, alt, command))
103 SendKeyPressAndWaitWithDetails( const Browser* browser, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, int type, const content::NotificationSource& source, const content::Details<U>& details) argument
/external/chromium_org/third_party/libpng/
H A Dpngwtran.c66 &(png_ptr->shift));
138 int shift, v; local
144 shift = 6;
151 v |= (value << shift);
152 if (shift == 0)
154 shift = 6;
160 shift -= 2;
163 if (shift != 6)
170 int shift, v; local
176 shift
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/
H A Ddboolhuff.c43 int shift = VP8_BD_VALUE_SIZE - CHAR_BIT - (count + CHAR_BIT); local
46 int x = (int)(shift + CHAR_BIT - bits_left);
64 while(shift >= loop_end)
67 value |= (VP8_BD_VALUE)*bufptr << shift;
70 shift -= CHAR_BIT;
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_reader.c47 int shift = BD_VALUE_SIZE - CHAR_BIT - (count + CHAR_BIT); local
51 const int x = (int)(shift + CHAR_BIT - bits_left);
66 while (shift >= loop_end) {
68 value |= (BD_VALUE)*buffer++ << shift;
69 shift -= CHAR_BIT;
/external/chromium_org/third_party/libwebp/utils/
H A Dbit_reader_inl.h141 const int shift = kVP8Log2Range[range]; local
143 br->bits_ -= shift;
150 // simplified version of VP8GetBit() for prob=0x80 (note shift is always 1 here)
H A Dutils.h104 const int shift = (1 << i); local
105 const uint32_t x = value >> shift;
108 log += shift;
/external/chromium_org/third_party/opus/src/celt/
H A Dkiss_fft.h85 int shift; member in struct:kiss_fft_state
/external/chromium_org/third_party/skia/src/core/
H A DSkFloatBits.cpp84 // apply the sign before we right-shift
123 // apply the sign before we right-shift
153 // apply the sign before we right-shift
179 int shift = EXP_BIAS; local
190 shift += bias;
195 shift -= zeros;
200 SkASSERT(shift >= 0 && shift <= 255);
203 data.fSignBitInt = (sign << 31) | (shift << 23) | (value & ~MATISSA_MAGIC_BIG);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dstate_search.c38 int16_t scale, shift; local
106 shift=4;
108 shift=9;
113 iLBCenc_inst->state_short_len, (int16_t)(shift-scaleRes));
/external/chromium_org/tools/relocation_packer/src/
H A Dsleb128.cc71 size_t shift = 0; local
77 value |= (static_cast<ELF::Sxword>(byte & 127) << shift);
78 shift += 7;
82 // Sign extend if value is -ve and we did not shift all of it.
83 if (shift < size && (byte & 64))
84 value |= -(static_cast<ELF::Sxword>(1) << shift);
/external/chromium_org/v8/src/base/
H A Dbits.h107 inline uint32_t RotateRight32(uint32_t value, uint32_t shift) { argument
108 if (shift == 0) return value;
109 return (value >> shift) | (value << (32 - shift));
113 inline uint64_t RotateRight64(uint64_t value, uint64_t shift) { argument
114 if (shift == 0) return value;
115 return (value >> shift) | (value << (64 - shift));
/external/iproute2/include/linux/tc_act/
H A Dtc_pedit.h23 __u32 shift; member in struct:tc_pedit_key
/external/iproute2/tc/
H A Df_tcindex.c21 " [ shift SHIFT ]\n");
67 else if (!strcmp(*argv,"shift")) {
68 int shift; local
71 shift = strtoul(*argv,&end,0);
76 addattr_l(n,4096,TCA_TCINDEX_SHIFT,&shift,
77 sizeof(shift));
149 int shift; local
151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift))
153 shift = *(int *) RTA_DATA(tb[TCA_TCINDEX_SHIFT]);
154 fprintf(f,"shift
[all...]

Completed in 674 milliseconds

1234567891011>>