/external/libhevc/common/ |
H A D | ihevc_chroma_itrans_recon_8x8.c | 92 * @param[in] shift 93 * Output shift 121 WORD32 shift; local 137 shift = IT_SHIFT_STAGE_1; 138 add = 1 << (shift - 1); 182 CLIP_S16(((e[k] + o[k] + add) >> shift)); 184 CLIP_S16(((e[3 - k] - o[3 - k] + add) >> shift)); 195 shift = IT_SHIFT_STAGE_2; 196 add = 1 << (shift - 1); 223 CLIP_S16(((e[k] + o[k] + add) >> shift)); [all...] |
H A D | ihevc_chroma_itrans_recon_16x16.c | 93 * @param[in] shift 94 * Output shift 123 WORD32 shift; local 145 shift = IT_SHIFT_STAGE_1; 146 add = 1 << (shift - 1); 187 CLIP_S16(((e[k] + o[k] + add) >> shift)); 189 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); 200 shift = IT_SHIFT_STAGE_2; 201 add = 1 << (shift - 1); 237 CLIP_S16(((e[k] + o[k] + add) >> shift)); [all...] |
H A D | ihevc_itrans_recon_16x16.c | 84 * @param[in] shift 85 * Output shift 113 WORD32 shift; local 135 shift = IT_SHIFT_STAGE_1; 136 add = 1 << (shift - 1); 177 CLIP_S16(((e[k] + o[k] + add) >> shift)); 179 CLIP_S16(((e[7 - k] - o[7 - k] + add) >> shift)); 190 shift = IT_SHIFT_STAGE_2; 191 add = 1 << (shift - 1); 228 CLIP_S16(((e[k] + o[k] + add) >> shift)); [all...] |
/external/libopus/silk/ |
H A D | MacroCount.h | 331 static OPUS_INLINE opus_int8 silk_LSHIFT8(opus_int8 a, opus_int32 shift){ argument 334 ret = a << shift; 338 static OPUS_INLINE opus_int16 silk_LSHIFT16(opus_int16 a, opus_int32 shift){ argument 341 ret = a << shift; 345 static OPUS_INLINE opus_int32 silk_LSHIFT32(opus_int32 a, opus_int32 shift){ argument 348 ret = a << shift; 352 static OPUS_INLINE opus_int64 silk_LSHIFT64(opus_int64 a, opus_int shift){ argument 354 return a << shift; 358 static OPUS_INLINE opus_int32 silk_LSHIFT_ovflw(opus_int32 a, opus_int32 shift){ argument 360 return a << shift; 364 silk_LSHIFT_uint(opus_uint32 a, opus_int32 shift) argument 372 silk_RSHIFT8(opus_int8 a, opus_int32 shift) argument 377 silk_RSHIFT16(opus_int16 a, opus_int32 shift) argument 382 silk_RSHIFT32(opus_int32 a, opus_int32 shift) argument 387 silk_RSHIFT64(opus_int64 a, opus_int64 shift) argument 393 silk_RSHIFT_uint(opus_uint32 a, opus_int32 shift) argument 399 silk_ADD_LSHIFT(opus_int32 a, opus_int32 b, opus_int32 shift) argument 406 silk_ADD_LSHIFT32(opus_int32 a, opus_int32 b, opus_int32 shift) argument 413 silk_ADD_LSHIFT_uint(opus_uint32 a, opus_uint32 b, opus_int32 shift) argument 420 silk_ADD_RSHIFT(opus_int32 a, opus_int32 b, opus_int32 shift) argument 427 silk_ADD_RSHIFT32(opus_int32 a, opus_int32 b, opus_int32 shift) argument 434 silk_ADD_RSHIFT_uint(opus_uint32 a, opus_uint32 b, opus_int32 shift) argument 441 silk_SUB_LSHIFT32(opus_int32 a, opus_int32 b, opus_int32 shift) argument 448 silk_SUB_RSHIFT32(opus_int32 a, opus_int32 b, opus_int32 shift) argument 456 silk_RSHIFT_ROUND(opus_int32 a, opus_int32 shift) argument 464 silk_RSHIFT_ROUND64(opus_int64 a, opus_int32 shift) argument [all...] |
/external/speex/libspeex/ |
H A D | arch.h | 165 #define SHR16(a,shift) (a) 166 #define SHL16(a,shift) (a) 167 #define SHR32(a,shift) (a) 168 #define SHL32(a,shift) (a) 169 #define PSHR16(a,shift) (a) 170 #define PSHR32(a,shift) (a) 171 #define VSHR32(a,shift) (a) 174 #define SATURATE32PSHR(x,shift,a) (x) 176 #define PSHR(a,shift) (a) 177 #define SHR(a,shift) ( [all...] |
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkMath.h | 56 * Computes (numer1 << shift) / denom in full 64 intermediate precision. 60 int32_t SkDivBits(int32_t numer, int32_t denom, int shift); 185 * Return a*b/((1 << shift) - 1), rounding any fractional bits. 186 * Only valid if a and b are unsigned and <= 32767 and shift is > 0 and <= 8 188 static inline unsigned SkMul16ShiftRound(U16CPU a, U16CPU b, int shift) { argument 191 SkASSERT(shift > 0 && shift <= 8); 192 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1)); 193 return (prod + (prod >> shift)) >> shift; [all...] |
/external/chromium_org/third_party/skia/src/image/ |
H A D | SkSurface_Raster.cpp | 44 int shift = 0; local 47 shift = 0; 50 shift = 1; 53 shift = 2; 63 uint64_t minRB = (uint64_t)info.width() << shift; 68 size_t alignedRowBytes = rowBytes >> shift << shift;
|
/external/libhevc/common/arm/ |
H A D | ihevc_inter_pred_chroma_vert_w16inp.s | 153 vqshrn.s32 d0,q0,#6 @right shift 154 vqshrn.s32 d30,q4,#6 @right shift 155 vqrshrun.s16 d0,q0,#6 @rounding shift 156 vqrshrun.s16 d30,q15,#6 @rounding shift 204 vqshrn.s32 d30,q15,#6 @right shift 213 vqrshrun.s16 d30,q15,#6 @rounding shift 214 vqshrn.s32 d28,q14,#6 @right shift 226 vqshrn.s32 d26,q13,#6 @right shift 228 vqrshrun.s16 d28,q14,#6 @rounding shift 240 vqshrn.s32 d24,q12,#6 @right shift [all...] |
H A D | ihevc_weighted_pred_neon_intr.c | 60 * dst = ( (src + lvl_shift) * wgt0 + (1 << (shift - 1)) ) >> shift + 84 * @param[in] shift 88 * added before shift and offset 110 WORD32 shift, 125 WORD32 tmp_shift = 0 - shift; 130 WORD32 tmp_lvl_shift = lvl_shift * wgt0 + (off0 << shift); 131 tmp_lvl_shift += (1 << (shift - 1)); 191 * dst = ( (src + lvl_shift) * wgt0 + (1 << (shift - 1)) ) >> shift 104 ihevc_weighted_pred_uni_neonintr(WORD16 *pi2_src, UWORD8 *pu1_dst, WORD32 src_strd, WORD32 dst_strd, WORD32 wgt0, WORD32 off0, WORD32 shift, WORD32 lvl_shift, WORD32 ht, WORD32 wd) argument 235 ihevc_weighted_pred_chroma_uni_neonintr(WORD16 *pi2_src, UWORD8 *pu1_dst, WORD32 src_strd, WORD32 dst_strd, WORD32 wgt0_cb, WORD32 wgt0_cr, WORD32 off0_cb, WORD32 off0_cr, WORD32 shift, WORD32 lvl_shift, WORD32 ht, WORD32 wd) argument 395 ihevc_weighted_pred_bi_neonintr(WORD16 *pi2_src1, WORD16 *pi2_src2, UWORD8 *pu1_dst, WORD32 src_strd1, WORD32 src_strd2, WORD32 dst_strd, WORD32 wgt0, WORD32 off0, WORD32 wgt1, WORD32 off1, WORD32 shift, WORD32 lvl_shift1, WORD32 lvl_shift2, WORD32 ht, WORD32 wd) argument 560 ihevc_weighted_pred_chroma_bi_neonintr(WORD16 *pi2_src1, WORD16 *pi2_src2, UWORD8 *pu1_dst, WORD32 src_strd1, WORD32 src_strd2, WORD32 dst_strd, WORD32 wgt0_cb, WORD32 wgt0_cr, WORD32 off0_cb, WORD32 off0_cr, WORD32 wgt1_cb, WORD32 wgt1_cr, WORD32 off1_cb, WORD32 off1_cr, WORD32 shift, WORD32 lvl_shift1, WORD32 lvl_shift2, WORD32 ht, WORD32 wd) argument 760 WORD32 shift; local 909 WORD32 shift; local [all...] |
/external/skia/include/core/ |
H A D | SkMath.h | 56 * Computes (numer1 << shift) / denom in full 64 intermediate precision. 60 int32_t SkDivBits(int32_t numer, int32_t denom, int shift); 185 * Return a*b/((1 << shift) - 1), rounding any fractional bits. 186 * Only valid if a and b are unsigned and <= 32767 and shift is > 0 and <= 8 188 static inline unsigned SkMul16ShiftRound(U16CPU a, U16CPU b, int shift) { argument 191 SkASSERT(shift > 0 && shift <= 8); 192 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1)); 193 return (prod + (prod >> shift)) >> shift; [all...] |
/external/skia/src/image/ |
H A D | SkSurface_Raster.cpp | 42 int shift = 0; local 45 shift = 0; 48 shift = 1; 51 shift = 2; 61 uint64_t minRB = (uint64_t)info.fWidth << shift; 66 size_t alignedRowBytes = rowBytes >> shift << shift;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | pixeltransfer.c | 192 * 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...] |
/external/mesa3d/src/mesa/main/ |
H A D | pixeltransfer.c | 192 * 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...] |
/external/chromium_org/third_party/leveldatabase/src/util/ |
H A D | coding.cc | 116 for (uint32_t shift = 0; shift <= 28 && p < limit; shift += 7) { 121 result |= ((byte & 127) << shift); 123 result |= (byte << shift); 145 for (uint32_t shift = 0; shift <= 63 && p < limit; shift += 7) { 150 result |= ((byte & 127) << shift); 152 result |= (byte << shift); [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
H A D | arch.h | 156 #define SHR16(a,shift) (a) 157 #define SHL16(a,shift) (a) 158 #define SHR32(a,shift) (a) 159 #define SHL32(a,shift) (a) 160 #define PSHR32(a,shift) (a) 161 #define VSHR32(a,shift) (a) 163 #define PSHR(a,shift) (a) 164 #define SHR(a,shift) (a) 165 #define SHL(a,shift) (a) 169 #define ROUND16(a,shift) ( [all...] |
/external/chromium_org/third_party/speex/libspeex/ |
H A D | arch.h | 165 #define SHR16(a,shift) (a) 166 #define SHL16(a,shift) (a) 167 #define SHR32(a,shift) (a) 168 #define SHL32(a,shift) (a) 169 #define PSHR16(a,shift) (a) 170 #define PSHR32(a,shift) (a) 171 #define VSHR32(a,shift) (a) 175 #define PSHR(a,shift) (a) 176 #define SHR(a,shift) (a) 177 #define SHL(a,shift) ( [all...] |
/external/libopus/celt/ |
H A D | arch.h | 156 #define SHR16(a,shift) (a) 157 #define SHL16(a,shift) (a) 158 #define SHR32(a,shift) (a) 159 #define SHL32(a,shift) (a) 160 #define PSHR32(a,shift) (a) 161 #define VSHR32(a,shift) (a) 163 #define PSHR(a,shift) (a) 164 #define SHR(a,shift) (a) 165 #define SHL(a,shift) (a) 169 #define ROUND16(a,shift) ( [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_tile_soa.py | 122 shift = 0; 129 if shift: 130 value = '(%s >> %u)' % (value, shift) 131 if shift + width < format.block_size(): 135 shift += width 184 shift = 0 203 term = "((%s) << %d)" % (value, shift) 210 shift = shift + width 269 shift [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_tile_soa.py | 122 shift = 0; 129 if shift: 130 value = '(%s >> %u)' % (value, shift) 131 if shift + width < format.block_size(): 135 shift += width 184 shift = 0 203 term = "((%s) << %d)" % (value, shift) 210 shift = shift + width 269 shift [all...] |
/external/qemu/audio/ |
H A D | wavaudio.c | 69 samples = INT_MAX >> hw->info.shift; 72 samples = bytes >> hw->info.shift; 84 dst = advance (wav->pcm_buf, rpos << hw->info.shift); 87 if (fwrite (dst, convert_samples << hw->info.shift, 1, wav->f) != 1) { 89 convert_samples << hw->info.shift, strerror (errno)); 154 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); 157 hw->samples << hw->info.shift); 188 uint32_t datalen = wav->total_samples << hw->info.shift; 242 int shift = 0; local 245 result = result | (p[0] << shift); [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
H A D | keyboard_overlay.css | 80 .keyboard-overlay-key.is-shortcut.modifier-shift { 96 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl { 100 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-alt { 108 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl.modifier-alt { 117 .keyboard-overlay-key.pressed.is-shift { 121 .keyboard-overlay-key.pressed.is-shift.modifier-ctrl { 125 .keyboard-overlay-key.pressed.is-shift.modifier-alt { 129 .keyboard-overlay-key.pressed.is-shift.modifier-ctrl.modifier-alt { 137 .keyboard-overlay-key.pressed.is-ctrl.modifier-shift { 145 .keyboard-overlay-key.pressed.is-ctrl.modifier-shift [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkEdge.h | 88 int SkEdge::setLine(const SkPoint& p0, const SkPoint& p1, int shift) { 93 x0 = SkScalarRoundToFDot6(p0.fX, shift); 94 y0 = SkScalarRoundToFDot6(p0.fY, shift); 95 x1 = SkScalarRoundToFDot6(p1.fX, shift); 96 y1 = SkScalarRoundToFDot6(p1.fY, shift); 98 float scale = float(1 << (shift + 6));
|
/external/chromium_org/third_party/skia/tests/ |
H A D | PathCoverageTest.cpp | 50 int shift = 30 - SkCLZ(distance); local 52 shift &= ~(shift>>31); 53 if (shift > MAX_COEFF_SHIFT) { 54 shift = MAX_COEFF_SHIFT; 56 return 1 << shift;
|
/external/skia/tests/ |
H A D | PathCoverageTest.cpp | 50 int shift = 30 - SkCLZ(distance); local 52 shift &= ~(shift>>31); 53 if (shift > MAX_COEFF_SHIFT) { 54 shift = MAX_COEFF_SHIFT; 56 return 1 << shift;
|
/external/chromium_org/third_party/libwebp/utils/ |
H A D | utils.h | 104 const int shift = (1 << i); local 105 const uint32_t x = value >> shift; 108 log += shift;
|