Home
last modified time | relevance | path

Searched defs:shift (Results 1 – 25 of 3474) sorted by relevance

12345678910>>...139

/aosp_15_r20/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
H A DConversion.java570 final int shift = i * 32 + dstPos; in intArrayToLong() local
603 final int shift = i * 16 + dstPos; in shortArrayToLong() local
636 final int shift = i * 16 + dstPos; in shortArrayToInt() local
669 final int shift = i * 8 + dstPos; in byteArrayToLong() local
702 final int shift = i * 8 + dstPos; in byteArrayToInt() local
735 final int shift = i * 8 + dstPos; in byteArrayToShort() local
766 final int shift = i * 4 + dstPos; in hexToLong() local
796 final int shift = i * 4 + dstPos; in hexToInt() local
827 final int shift = i * 4 + dstPos; in hexToShort() local
858 final int shift = i * 4 + dstPos; in hexToByte() local
[all …]
/aosp_15_r20/external/libopus/silk/
H A DSigProc_FIX.h522 #define silk_LSHIFT8(a, shift) ((opus_int8)((opus_uint8)(a)<<(shift))) /* shif… argument
523 #define silk_LSHIFT16(a, shift) ((opus_int16)((opus_uint16)(a)<<(shift))) /* shif… argument
524 #define silk_LSHIFT32(a, shift) ((opus_int32)((opus_uint32)(a)<<(shift))) /* shif… argument
525 #define silk_LSHIFT64(a, shift) ((opus_int64)((opus_uint64)(a)<<(shift))) /* shif… argument
526 #define silk_LSHIFT(a, shift) silk_LSHIFT32(a, shift) /* shif… argument
528 #define silk_RSHIFT8(a, shift) ((a)>>(shift)) /* shif… argument
529 #define silk_RSHIFT16(a, shift) ((a)>>(shift)) /* shif… argument
530 #define silk_RSHIFT32(a, shift) ((a)>>(shift)) /* shif… argument
531 #define silk_RSHIFT64(a, shift) ((a)>>(shift)) /* shif… argument
532 #define silk_RSHIFT(a, shift) silk_RSHIFT32(a, shift) /* shif… argument
[all …]
H A DMacroCount.h323 static OPUS_INLINE opus_int8 silk_LSHIFT8(opus_int8 a, opus_int32 shift){ in silk_LSHIFT8()
330 static OPUS_INLINE opus_int16 silk_LSHIFT16(opus_int16 a, opus_int32 shift){ in silk_LSHIFT16()
337 static OPUS_INLINE opus_int32 silk_LSHIFT32(opus_int32 a, opus_int32 shift){ in silk_LSHIFT32()
344 static OPUS_INLINE opus_int64 silk_LSHIFT64(opus_int64 a, opus_int shift){ in silk_LSHIFT64()
350 static OPUS_INLINE opus_int32 silk_LSHIFT_ovflw(opus_int32 a, opus_int32 shift){ in silk_LSHIFT_ovflw()
356 static OPUS_INLINE opus_uint32 silk_LSHIFT_uint(opus_uint32 a, opus_int32 shift){ in silk_LSHIFT_uint()
364 static OPUS_INLINE opus_int8 silk_RSHIFT8(opus_int8 a, opus_int32 shift){ in silk_RSHIFT8()
369 static OPUS_INLINE opus_int16 silk_RSHIFT16(opus_int16 a, opus_int32 shift){ in silk_RSHIFT16()
374 static OPUS_INLINE opus_int32 silk_RSHIFT32(opus_int32 a, opus_int32 shift){ in silk_RSHIFT32()
379 static OPUS_INLINE opus_int64 silk_RSHIFT64(opus_int64 a, opus_int64 shift){ in silk_RSHIFT64()
[all …]
H A DMacroDebug.h540 static OPUS_INLINE opus_int8 silk_LSHIFT8_(opus_int8 a, opus_int32 shift, char *file, int line){ in silk_LSHIFT8_()
559 static OPUS_INLINE opus_int16 silk_LSHIFT16_(opus_int16 a, opus_int32 shift, char *file, int line){ in silk_LSHIFT16_()
578 static OPUS_INLINE opus_int32 silk_LSHIFT32_(opus_int32 a, opus_int32 shift, char *file, int line){ in silk_LSHIFT32_()
597 static OPUS_INLINE opus_int64 silk_LSHIFT64_(opus_int64 a, opus_int shift, char *file, int line){ in silk_LSHIFT64_()
616 static OPUS_INLINE opus_int32 silk_LSHIFT_ovflw_(opus_int32 a, opus_int32 shift, char *file, int li… in silk_LSHIFT_ovflw_()
629 static OPUS_INLINE opus_uint32 silk_LSHIFT_uint_(opus_uint32 a, opus_int32 shift, char *file, int l… in silk_LSHIFT_uint_()
644 static OPUS_INLINE opus_int8 silk_RSHIFT8_(opus_int8 a, opus_int32 shift, char *file, int line){ in silk_RSHIFT8_()
657 static OPUS_INLINE opus_int16 silk_RSHIFT16_(opus_int16 a, opus_int32 shift, char *file, int line){ in silk_RSHIFT16_()
670 static OPUS_INLINE opus_int32 silk_RSHIFT32_(opus_int32 a, opus_int32 shift, char *file, int line){ in silk_RSHIFT32_()
683 static OPUS_INLINE opus_int64 silk_RSHIFT64_(opus_int64 a, opus_int64 shift, char *file, int line){ in silk_RSHIFT64_()
[all …]
/aosp_15_r20/external/XNNPACK/test/
H A Ds16-vlshift.cc66 TEST(S16_VLSHIFT__NEON_X8, shift) { in TEST() argument
68 for (uint32_t shift = 0; shift < 16; shift++) { in TEST() local
124 TEST(S16_VLSHIFT__NEON_X16, shift) { in TEST() argument
126 for (uint32_t shift = 0; shift < 16; shift++) { in TEST() local
182 TEST(S16_VLSHIFT__NEON_X24, shift) { in TEST() argument
184 for (uint32_t shift = 0; shift < 16; shift++) { in TEST() local
240 TEST(S16_VLSHIFT__NEON_X32, shift) { in TEST() argument
242 for (uint32_t shift = 0; shift < 16; shift++) { in TEST() local
276 TEST(S16_VLSHIFT__SCALAR_X1, shift) { in TEST() argument
277 for (uint32_t shift = 0; shift < 16; shift++) { in TEST() local
[all …]
H A Ds16-window.cc648 TEST(S16_WINDOW__NEON_X8, shift) { in TEST() argument
650 for (uint32_t shift = 0; shift < 32; shift++) { in TEST() local
729 TEST(S16_WINDOW__NEON_X16, shift) { in TEST() argument
731 for (uint32_t shift = 0; shift < 32; shift++) { in TEST() local
810 TEST(S16_WINDOW__NEON_X24, shift) { in TEST() argument
812 for (uint32_t shift = 0; shift < 32; shift++) { in TEST() local
891 TEST(S16_WINDOW__NEON_X32, shift) { in TEST() argument
893 for (uint32_t shift = 0; shift < 32; shift++) { in TEST() local
947 TEST(S16_WINDOW__SCALAR_X1, shift) { in TEST() argument
948 for (uint32_t shift = 0; shift < 32; shift++) { in TEST() local
[all …]
/aosp_15_r20/external/libhevc/decoder/
H A Dihevcd_boundary_strength.c315 WORD32 shift; in ihevcd_ctb_boundary_strength_islice() local
328 WORD32 shift; in ihevcd_ctb_boundary_strength_islice() local
601 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
614 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
635 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
648 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
663 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
679 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
745 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
761 WORD32 shift; in ihevcd_ctb_boundary_strength_pbslice() local
[all …]
/aosp_15_r20/external/libaom/av1/encoder/x86/
H A Dhighbd_fwd_txfm_sse4.c85 int shift) { in load_buffer_4x4()
252 const int8_t *shift = av1_fwd_txfm_shift_ls[TX_4X4]; in av1_fwd_txfm2d_4x4_sse4_1() local
376 int shift) { in load_buffer_8x8()
460 static inline void col_txfm_8x8_rounding(__m128i *in, int shift) { in col_txfm_8x8_rounding()
498 static inline void col_txfm_4x8_rounding(__m128i *in, int shift) { in col_txfm_4x8_rounding()
899 const int8_t *shift = av1_fwd_txfm_shift_ls[TX_8X8]; in av1_fwd_txfm2d_8x8_sse4_1() local
1070 int shift) { in load_buffer_16x16()
1115 int shift) { in load_buffer_8x16()
1133 int shift) { in load_buffer_8x4()
1151 int shift) { in load_buffer_16x4()
[all …]
/aosp_15_r20/external/speex/libspeexdsp/
H A Dfixed_generic.h45 #define SHR16(a,shift) ((a) >> (shift)) argument
46 #define SHL16(a,shift) ((a) << (shift)) argument
47 #define SHR32(a,shift) ((a) >> (shift)) argument
48 #define SHL32(a,shift) ((a) << (shift)) argument
49 #define PSHR16(a,shift) (SHR16((a)+((1<<((shift))>>1)),shift)) argument
50 #define PSHR32(a,shift) (SHR32((a)+((EXTEND32(1)<<((shift))>>1)),shift)) argument
51 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) argument
55 #define SATURATE32PSHR(x,shift,a) (((x)>=(SHL32(a,shift))) ? (a) : \ argument
59 #define SHR(a,shift) ((a) >> (shift)) argument
60 #define SHL(a,shift) ((spx_word32_t)(a) << (shift)) argument
[all …]
H A Darch.h159 #define SHR16(a,shift) (a) argument
160 #define SHL16(a,shift) (a) argument
161 #define SHR32(a,shift) (a) argument
162 #define SHL32(a,shift) (a) argument
163 #define PSHR16(a,shift) (a) argument
164 #define PSHR32(a,shift) (a) argument
165 #define VSHR32(a,shift) (a) argument
168 #define SATURATE32PSHR(x,shift,a) (x) argument
170 #define PSHR(a,shift) (a) argument
171 #define SHR(a,shift) (a) argument
[all …]
H A Dfixed_debug.h103 #define SHR16(a, shift) _SHR16(a, shift, __FILE__, __LINE__) argument
104 static inline short _SHR16(int a, int shift, char *file, int line) in _SHR16()
117 #define SHL16(a, shift) _SHL16(a, shift, __FILE__, __LINE__) argument
118 static inline short _SHL16(int a, int shift, char *file, int line) in _SHL16()
132 static inline int SHR32(long long a, int shift) in SHR32()
147 static inline int SHL32(long long a, int shift) in SHL32()
163 #define PSHR16(a,shift) (SHR16(ADD16((a),((1<<((shift))>>1))),shift)) argument
164 #define PSHR32(a,shift) (SHR32(ADD32((a),((EXTEND32(1)<<((shift))>>1))),shift)) argument
165 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) argument
/aosp_15_r20/external/libchrome/base/
H A Dbits_unittest.cc68 for (uint8_t shift = 0; shift <= 7; shift++) { in TEST() local
78 for (uint16_t shift = 0; shift <= 15; shift++) { in TEST() local
88 for (uint32_t shift = 0; shift <= 31; shift++) { in TEST() local
97 for (uint8_t shift = 0; shift <= 7; shift++) { in TEST() local
106 for (uint16_t shift = 0; shift <= 15; shift++) { in TEST() local
115 for (uint32_t shift = 0; shift <= 31; shift++) { in TEST() local
126 for (uint64_t shift = 0; shift <= 63; shift++) { in TEST() local
135 for (uint64_t shift = 0; shift <= 31; shift++) { in TEST() local
/aosp_15_r20/external/libaom/aom_dsp/x86/
H A Dblend_mask_sse4.h30 int shift) { in blend_a64_d16_mask_w4_sse41()
48 int shift) { in blend_a64_d16_mask_w8_sse41()
68 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw0_subh0_w4_sse4_1()
87 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw0_subh0_w8_sse4_1()
105 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw1_subh1_w4_sse4_1()
130 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw1_subh1_w8_sse4_1()
155 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw1_subh0_w4_sse4_1()
177 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw1_subh0_w8_sse4_1()
198 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw0_subh1_w4_sse4_1()
220 const __m128i *round_offset, int shift) { in aom_lowbd_blend_a64_d16_mask_subw0_subh1_w8_sse4_1()
/aosp_15_r20/external/libopus/celt/
H A Dfixed_generic.h91 #define SHR16(a,shift) ((a) >> (shift)) argument
93 #define SHL16(a,shift) ((opus_int16)((opus_uint16)(a)<<(shift))) argument
95 #define SHR32(a,shift) ((a) >> (shift)) argument
97 #define SHL32(a,shift) ((opus_int32)((opus_uint32)(a)<<(shift))) argument
100 #define PSHR32(a,shift) (SHR32((a)+((EXTEND32(1)<<((shift))>>1)),shift)) argument
102 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) argument
105 #define SHR(a,shift) ((a) >> (shift)) argument
106 #define SHL(a,shift) SHL32(a,shift) argument
107 #define PSHR(a,shift) (SHR((a)+((EXTEND32(1)<<((shift))>>1)),shift)) argument
H A Darch.h227 #define SHR16(a,shift) (a) argument
228 #define SHL16(a,shift) (a) argument
229 #define SHR32(a,shift) (a) argument
230 #define SHL32(a,shift) (a) argument
231 #define PSHR32(a,shift) (a) argument
232 #define VSHR32(a,shift) (a) argument
234 #define PSHR(a,shift) (a) argument
235 #define SHR(a,shift) (a) argument
236 #define SHL(a,shift) (a) argument
240 #define ROUND16(a,shift) (a) argument
[all …]
/aosp_15_r20/external/libxaac/common/
H A Dixheaac_basic_ops16.h91 static PLATFORM_INLINE WORD16 ixheaac_shl16(WORD16 op1, WORD16 shift) { in ixheaac_shl16()
98 static PLATFORM_INLINE WORD16 ixheaac_shl16_sat(WORD16 op1, WORD16 shift) { in ixheaac_shl16_sat()
110 static PLATFORM_INLINE WORD16 ixheaac_shr16(WORD16 op1, WORD16 shift) { in ixheaac_shr16()
117 static PLATFORM_INLINE WORD16 ixheaac_shl16_dir(WORD16 op1, WORD16 shift) { in ixheaac_shl16_dir()
127 static PLATFORM_INLINE WORD16 ixheaac_shr16_dir(WORD16 op1, WORD16 shift) { in ixheaac_shr16_dir()
138 static PLATFORM_INLINE WORD16 ixheaac_shl16_dir_sat(WORD16 op1, WORD16 shift) { in ixheaac_shl16_dir_sat()
148 static PLATFORM_INLINE WORD16 ixheaac_shr16_dir_sat(WORD16 op1, WORD16 shift) { in ixheaac_shr16_dir_sat()
/aosp_15_r20/external/rnnoise/src/
H A Darch.h197 #define SHR16(a,shift) (a) argument
198 #define SHL16(a,shift) (a) argument
199 #define SHR32(a,shift) (a) argument
200 #define SHL32(a,shift) (a) argument
201 #define PSHR32(a,shift) (a) argument
202 #define VSHR32(a,shift) (a) argument
204 #define PSHR(a,shift) (a) argument
205 #define SHR(a,shift) (a) argument
206 #define SHL(a,shift) (a) argument
210 #define ROUND16(a,shift) (a) argument
[all …]
/aosp_15_r20/external/webp/src/dsp/
H A Drescaler_msa.c27 #define CALC_MULT_FIX_16(in0, in1, in2, in3, scale, shift, dst) do { \ argument
47 #define CALC_MULT_FIX_4(in0, scale, shift, dst) do { \ argument
60 #define CALC_MULT_FIX1_16(in0, in1, in2, in3, fyscale, shift, \ argument
78 #define CALC_MULT_FIX1_4(in0, scale, shift, dst) do { \ argument
87 #define CALC_MULT_FIX2_16(in0, in1, in2, in3, mult, scale, shift, \ argument
102 #define CALC_MULT_FIX2_4(in0, in1, mult, scale, shift, dst) do { \ argument
121 const v4u32 shift = (v4u32)__msa_fill_w(WEBP_RESCALER_RFIX); in ExportRowExpand_0() local
183 const v4u32 shift = (v4u32)__msa_fill_w(WEBP_RESCALER_RFIX); in ExportRowExpand_1() local
/aosp_15_r20/external/pytorch/benchmarks/fastrnns/
H A Dscratch.py5 def fn(x, scale, shift): argument
10 def recurrent(x, scale, shift): argument
19 shift = torch.randn(2, 2, device="cuda", requires_grad=True) variable
31 def recurrent_scaleshift(x, scale, shift): argument
40 shift = torch.randn(2, 2, device="cuda", requires_grad=True) variable
/aosp_15_r20/libcore/ojluni/src/main/java/java/lang/
H A DInteger.java368 private static String toUnsignedString0(int val, int shift) { in toUnsignedString0()
403 static void formatUnsignedInt(int val, int shift, char[] buf, int offset, int len) { in formatUnsignedInt()
412 val >>>= shift; in formatUnsignedInt() local
426 private static void formatUnsignedInt(int val, int shift, byte[] buf, int len) { in formatUnsignedInt()
432 val >>>= shift; in formatUnsignedInt() local
437 static void formatUnsignedInt(int val, int shift, byte[] buf, int offset, int len) { in formatUnsignedInt()
443 val >>>= shift; in formatUnsignedInt() local
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/lang/
DInteger.java368 private static String toUnsignedString0(int val, int shift) { in toUnsignedString0()
403 static void formatUnsignedInt(int val, int shift, char[] buf, int offset, int len) { in formatUnsignedInt()
412 val >>>= shift; in formatUnsignedInt() local
426 private static void formatUnsignedInt(int val, int shift, byte[] buf, int len) { in formatUnsignedInt()
432 val >>>= shift; in formatUnsignedInt() local
437 static void formatUnsignedInt(int val, int shift, byte[] buf, int offset, int len) { in formatUnsignedInt()
443 val >>>= shift; in formatUnsignedInt() local
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/3/libcore/ojluni/src/main/java/java/lang/
DInteger.java368 private static String toUnsignedString0(int val, int shift) { in toUnsignedString0()
403 static void formatUnsignedInt(int val, int shift, char[] buf, int offset, int len) { in formatUnsignedInt()
412 val >>>= shift; in formatUnsignedInt() local
426 private static void formatUnsignedInt(int val, int shift, byte[] buf, int len) { in formatUnsignedInt()
432 val >>>= shift; in formatUnsignedInt() local
437 static void formatUnsignedInt(int val, int shift, byte[] buf, int offset, int len) { in formatUnsignedInt()
443 val >>>= shift; in formatUnsignedInt() local
/aosp_15_r20/external/libdav1d/src/
H A Dwarpmv.c69 static inline int resolve_divisor_32(const unsigned d, int *const shift) { in resolve_divisor_32()
88 int shift; in dav1d_get_shear_params() local
102 static int resolve_divisor_64(const uint64_t d, int *const shift) { in resolve_divisor_64()
114 const int idet, const int shift) in get_mult_shift_ndiag()
124 const int idet, const int shift) in get_mult_shift_diag()
186 int shift, idet = apply_sign64(resolve_divisor_64(llabs(det), &shift), det); in dav1d_find_affine_int() local
/aosp_15_r20/external/libhevc/common/
H A Dihevc_resi_trans.c109 WORD32 add, shift; in ihevc_resi_trans_4x4_ttype1() local
244 WORD32 add, shift; in ihevc_resi_trans_4x4() local
339 WORD32 add, shift; in ihevc_resi_trans_4x4_16bit() local
463 WORD32 add, shift; in ihevc_resi_trans_8x8() local
600 WORD32 add, shift; in ihevc_resi_trans_8x8_16bit() local
768 WORD32 add, shift; in ihevc_resi_trans_16x16() local
922 WORD32 add, shift; in ihevc_resi_trans_16x16_16bit() local
1108 WORD32 add, shift; in ihevc_resi_trans_32x32() local
1305 WORD32 add, shift; in ihevc_resi_trans_32x32_16bit() local
/aosp_15_r20/external/ComputeLibrary/tests/validation/fixtures/
H A DDepthConvertLayerFixture.h49 …rShape shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift, QuantizationI… in setup()
83 …et(const TensorShape &shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift) in compute_target()
112 …ce(const TensorShape &shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift) in compute_reference()
134 …oid setup(TensorShape shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift) in setup()
146 …rShape shape, DataType dt_in, DataType dt_out, ConvertPolicy policy, uint32_t shift, QuantizationI… in setup()

12345678910>>...139