Home
last modified time | relevance | path

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

123

/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/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dvalue.c54 value->rshift = 0; in yasm_value_initialize()
72 value->rshift = 0; in yasm_value_init_sym()
89 value->rshift = orig->rshift; in yasm_value_init_copy()
350 if ((shamt + value->rshift) > YASM_VALUE_RSHIFT_MAX) in value_finalize_scan()
354 value->rshift += shamt; in value_finalize_scan()
602 if (value->rshift > 0) { in yasm_value_get_intnum()
604 yasm_intnum_create_uint((unsigned long)value->rshift); in yasm_value_get_intnum()
704 if (value->rshift > 0) { in yasm_value_output_basic()
706 yasm_intnum_create_uint((unsigned long)value->rshift); in yasm_value_output_basic()
721 if (value->seg_of || value->rshift || value->curpos_rel || value->ip_rel in yasm_value_output_basic()
[all …]
Dintnum.c782 size_t rshift = shift < 0 ? (size_t)(-shift) : 0; in yasm_intnum_get_sized() local
790 if (warn<0 && !yasm_intnum_check_size(intn, valsize, rshift, 1)) in yasm_intnum_get_sized()
794 if (warn>0 && !yasm_intnum_check_size(intn, valsize, rshift, 2)) in yasm_intnum_get_sized()
809 if (warn && rshift > 0) { in yasm_intnum_get_sized()
811 BitVector_Move_Left(conv_bv, (N_int)(BITVECT_NATIVE_SIZE-rshift)); in yasm_intnum_get_sized()
818 if (rshift > 0) { in yasm_intnum_get_sized()
820 while (rshift-- > 0) in yasm_intnum_get_sized()
840 yasm_intnum_check_size(const yasm_intnum *intn, size_t size, size_t rshift, in yasm_intnum_check_size() argument
847 if (rshift > 0) { in yasm_intnum_check_size()
858 if (rshift > 0) { in yasm_intnum_check_size()
[all …]
Dintnum.h265 size_t rshift, int rangetype);
Dcoretype.h145 unsigned int rshift : 7; member
/external/chromium_org/third_party/opus/src/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/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/chromium_org/third_party/smhasher/src/
DBitvec.h91 inline void rshift ( void * blob, int len, int c ) in rshift() function
117 inline void rshift ( T & blob, int c ) in rshift() function
131 template<> inline void rshift ( uint32_t & blob, int c ) { blob >>= c; } in rshift() function
132 template<> inline void rshift ( uint64_t & blob, int c ) { blob >>= c; } in rshift() function
DTypes.h345 rshift(&t.bytes[0],sizeof(bytes),c);
359 rshift(&bytes[0],sizeof(bytes),c);
/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/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
Ddecode_plc.c45 int16_t rshift ) in plc_filterma_Fast() argument
51 lim = WEBRTC_SPL_LSHIFT_W32( (int32_t)1, 15 + rshift )-1; in plc_filterma_Fast()
68 o = WebRtcSpl_AddSatW32(o, 1 << (rshift - 1)); in plc_filterma_Fast()
74 o = WEBRTC_SPL_RSHIFT_W32( o, rshift ); in plc_filterma_Fast()
275 int16_t 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 (int32_t)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/qemu/android/skin/
Dwindow.c152 uint32_t rshift, uint32_t gshift, uint32_t bshift, uint32_t amask) in rgb565_to_rgba32() argument
157 return (r8 << rshift) | (g8 << gshift) | (b8 << bshift) | amask; in rgb565_to_rgba32()
164 uint32_t rshift, uint32_t gshift, uint32_t bshift, uint32_t amask) in xbgr_to_rgba32() argument
169 return (r8 << rshift) | (g8 << gshift) | (b8 << bshift) | amask; in xbgr_to_rgba32()
398 uint32_t rshift = surface->format->Rshift; in display_redraw_rect16() local
415 dst[xx] = rgb565_to_rgba32(src[xx], rshift, gshift, bshift, amask); in display_redraw_rect16()
432 dst[0] = rgb565_to_rgba32(((uint16_t*)src)[0], rshift, gshift, bshift, amask); in display_redraw_rect16()
450 dst[0] = rgb565_to_rgba32(src[0], rshift, gshift, bshift, amask); in display_redraw_rect16()
468 dst[0] = rgb565_to_rgba32(((uint16_t*)src)[0], rshift, gshift, bshift, amask); in display_redraw_rect16()
492 uint32_t rshift = surface->format->Rshift; in display_redraw_rect32() local
[all …]
Dscaler.c160 uint32_t rshift = dst_surface->format->Rshift; in skin_scaler_scale() local
175 line[x] = (r << rshift) | (g << gshift) | (b << bshift) | in skin_scaler_scale()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dproduct-weight.h76 int rshift = sizeof(ssize_t) - 5; in Hash() local
77 return h1 << lshift ^ h1 >> rshift ^ h2; in Hash()
Dencode.h85 int rshift = sizeof(size_t) - lshift; in operator() local
87 if (encode_flags_ & kEncodeLabels) hash ^= x->olabel >> rshift; in operator()
/external/chromium_org/third_party/opus/src/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/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()
/external/srec/srec/cfront/
Dsp_fft.c76 static PINLINE asr_int32_t rshift(asr_int32_t x, int i) in rshift() function
674 data[i] = rshift(data[i], -scale); in do_real_fft_magsq()
731 data[i] = rshift(data[i], -s); in do_real_fft_magsq()
/external/qemu/include/ui/
Dconsole.h132 uint8_t rshift, gshift, bshift, ashift; member
256 if (surface->pf.bits_per_pixel == 32 && surface->pf.rshift == 0) in is_surface_bgr()
/external/qemu/ui/
Dconsole.c1681 pf.rshift = 0; in qemu_different_endianness_pixelformat()
1698 pf.rshift = 8; in qemu_different_endianness_pixelformat()
1732 pf.rshift = 10; in qemu_default_pixelformat()
1746 pf.rshift = 11; in qemu_default_pixelformat()
1760 pf.rshift = 16; in qemu_default_pixelformat()
1775 pf.rshift = 16; in qemu_default_pixelformat()

123