Home
last modified time | relevance | path

Searched refs:rshift (Results 1 – 19 of 19) sorted by relevance

/external/opencv/otherlibs/highgui/
Dgrfmt_jpeg2000.cpp272 int rshift = cvRound(log(maxval/256.)/log(2.)); in ReadComponent8u() local
273 int lshift = MAX(0, -rshift); in ReadComponent8u()
274 rshift = MAX(0, rshift); in ReadComponent8u()
275 int delta = (rshift > 0 ? 1 << (rshift - 1) : 0) + offset; in ReadComponent8u()
293 int pix = ((pix_row[x] + delta) >> rshift) << lshift; in ReadComponent8u()
300 int pix = ((pix_row[j] + delta) >> rshift) << lshift; in ReadComponent8u()
306 int pix = ((pix_row[j] + delta) >> rshift) << lshift; in ReadComponent8u()
334 int rshift = cvRound(log(maxval/65536.)/log(2.)); in ReadComponent16u() local
335 int lshift = MAX(0, -rshift); in ReadComponent16u()
336 rshift = MAX(0, rshift); in ReadComponent16u()
[all …]
/external/libopus/silk/fixed/
Dresidual_energy_FIX.c48 opus_int offset, i, j, rshift, lz1, lz2; in silk_residual_energy_FIX() local
69 … silk_sum_sqr_shift( &nrgs[ i * ( MAX_NB_SUBFR >> 1 ) + j ], &rshift, LPC_res_ptr, subfr_length ); in silk_residual_energy_FIX()
72 nrgsQ[ i * ( MAX_NB_SUBFR >> 1 ) + j ] = -rshift; in silk_residual_energy_FIX()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Ddecode_plc.c45 WebRtc_Word16 rshift ) in plc_filterma_Fast() argument
51 lim = WEBRTC_SPL_LSHIFT_W32( (WebRtc_Word32)1, 15 + rshift )-1; in plc_filterma_Fast()
68 o = WEBRTC_SPL_ADD_SAT_W32( o, WEBRTC_SPL_LSHIFT_W32( 1, (rshift-1) ) ); in plc_filterma_Fast()
74 o = WEBRTC_SPL_RSHIFT_W32( o, rshift ); in plc_filterma_Fast()
275 WebRtc_Word16 noise1, rshift; in WebRtcIsacfix_DecodePlcImpl() local
508 rshift = 0; in WebRtcIsacfix_DecodePlcImpl()
512 rshift++; in WebRtcIsacfix_DecodePlcImpl()
518 PITCH_MAX_LAG + 10 - NOISE_FILTER_LEN + i], rshift); in WebRtcIsacfix_DecodePlcImpl()
532 (WebRtc_Word32)Vector_Word16_Extended_2[i], rshift ); in WebRtcIsacfix_DecodePlcImpl()
/external/llvm/test/CodeGen/X86/
Dx86-64-double-shifts-var.ll40 ;uint64_t rshift(uint64_t a, uint64_t b, int c)
45 define i64 @rshift(i64 %a, i64 %b, i32 %c) nounwind readnone {
/external/libvncserver/libvncserver/
Dcursor.c570 int rmax, rshift; in rfbShowCursor() local
579 rshift = s->serverFormat.redShift; in rfbShowCursor()
583 rmask = (rmax << rshift); in rfbShowCursor()
632 rdst = (dval & rmask) >> rshift; /* fb */ in rfbShowCursor()
636 rsrc = (sval & rmask) >> rshift; /* richcursor */ in rfbShowCursor()
651 val |= (rdst << rshift); in rfbShowCursor()
/external/libopus/celt/
Dvq.c259 int rshift; in alg_quant() local
262 rshift = 1+celt_ilog2(K-pulsesLeft+i+1); in alg_quant()
272 Rxy = EXTRACT16(SHR32(ADD32(xy, EXTEND32(X[j])),rshift)); in alg_quant()
/external/openfst/src/include/fst/
Dpair-weight.h93 const int rshift = CHAR_BIT * sizeof(size_t) - 5; in Hash() local
94 return h1 << lshift ^ h1 >> rshift ^ h2; in Hash()
Dencode.h100 const int rshift = CHAR_BIT * sizeof(size_t) - 5; in operator() local
102 hash = hash << lshift ^ hash >> rshift ^ x->olabel; in operator()
104 hash = hash << lshift ^ hash >> rshift ^ x->weight.Hash(); in operator()
Dsigned-log-weight.h102 const int rshift = CHAR_BIT * sizeof(size_t) - 5; in Hash() local
103 return h1 << lshift ^ h1 >> rshift ^ h2; in Hash()
Dcompose-filter.h128 const int rshift = CHAR_BIT * sizeof(size_t) - 5; in Hash() local
129 return h1 << lshift ^ h1 >> rshift ^ h2; in Hash()
Ddeterminize.h301 int rshift = CHAR_BIT * sizeof(size_t) - lshift; in operator() local
303 hash ^= n << lshift ^ n >> rshift ^ element.weight.Hash(); in operator()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_pack.py450 rshift = depth - src_channel.size
451 value = '(%s) >> %u' % (value, rshift)
/external/mesa3d/src/mesa/drivers/x11/
DxmesaP.h93 GLint rshift, gshift, bshift;/* Pixel color component shifts */ member
Dxm_api.c430 v->rshift = 0; in setup_truecolor()
433 v->rshift++; in setup_truecolor()
483 v->RtoPixel[i] = (r >> (8-rBits)) << v->rshift; in setup_truecolor()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_conv.c228 unsigned rshift = n; in lp_build_clamped_float_to_unsigned_norm() local
254 lp_build_const_int_vec(gallivm, src_type, rshift), in lp_build_clamped_float_to_unsigned_norm()
/external/llvm/lib/Target/R600/
DAMDGPUInstructions.td591 (i32 (and (i32 (srl i32:$src, i32:$rshift)), IMMZeroBasedBitfieldMask:$mask)),
592 (BFE $src, $rshift, (MOV (i32 (IMMPopCount $mask))))
/external/libyuv/files/source/
Drow_common.cc451 int ashift, int rshift, int gshift, int bshift) { in YuvPixel() argument
458 (r << rshift) | in YuvPixel()
/external/valgrind/VEX/priv/
Dguest_arm64_toIR.c7952 UInt rshift = laneBits - shift; in math_QSHL_IMM() local
7953 vassert(rshift >= 1 && rshift < laneBits); in math_QSHL_IMM()
7954 assign(*qDiff1, binop(mkVecSHRN(size), mkexpr(src), mkU8(rshift))); in math_QSHL_IMM()
7971 UInt rshift = laneBits - 1 - shift; in math_QSHL_IMM() local
7972 vassert(rshift >= 0 && rshift < laneBits-1); in math_QSHL_IMM()
7975 assign(*qDiff1, binop(mkVecSHRN(size), mkexpr(src), mkU8(rshift))); in math_QSHL_IMM()
7981 mkU8(rshift))); in math_QSHL_IMM()
8001 UInt rshift = laneBits - shift; in math_QSHL_IMM() local
8002 vassert(rshift >= 1 && rshift < laneBits); in math_QSHL_IMM()
8003 assign(*qDiff1, binop(mkVecSHRN(size), mkexpr(src), mkU8(rshift))); in math_QSHL_IMM()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/evalexception/media/
DMochiKit.packed.js221 },rshift:function(a,b){ method