Home
last modified time | relevance | path

Searched refs:shft (Results 1 – 25 of 28) sorted by relevance

12

/external/libopus/silk/
Dsum_sqr_shift.c43 opus_int i, shft; in silk_sum_sqr_shift() local
47 shft = 0; in silk_sum_sqr_shift()
55 shft = 2; in silk_sum_sqr_shift()
62 nrg = (opus_int32)silk_ADD_RSHIFT_uint( nrg, (opus_uint32)nrg_tmp, shft ); in silk_sum_sqr_shift()
66 shft += 2; in silk_sum_sqr_shift()
72 nrg = (opus_int32)silk_ADD_RSHIFT_uint( nrg, nrg_tmp, shft ); in silk_sum_sqr_shift()
78 shft += 2; in silk_sum_sqr_shift()
82 *shift = shft; in silk_sum_sqr_shift()
/external/chromium_org/third_party/opus/src/silk/
Dsum_sqr_shift.c43 opus_int i, shft; in silk_sum_sqr_shift() local
47 shft = 0; in silk_sum_sqr_shift()
55 shft = 2; in silk_sum_sqr_shift()
62 nrg = (opus_int32)silk_ADD_RSHIFT_uint( nrg, (opus_uint32)nrg_tmp, shft ); in silk_sum_sqr_shift()
66 shft += 2; in silk_sum_sqr_shift()
72 nrg = (opus_int32)silk_ADD_RSHIFT_uint( nrg, nrg_tmp, shft ); in silk_sum_sqr_shift()
78 shft += 2; in silk_sum_sqr_shift()
82 *shift = shft; in silk_sum_sqr_shift()
/external/jpeg/
Dmips_jidctfst.c149 #define IRIGHT_SHIFT(x,shft) \ argument
151 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \
152 (ishift_temp >> (shft)))
155 #define IRIGHT_SHIFT(x,shft) ((x) >> (shft))
Djidctfst.c147 #define IRIGHT_SHIFT(x,shft) \ argument
149 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \
150 (ishift_temp >> (shft)))
153 #define IRIGHT_SHIFT(x,shft) ((x) >> (shft))
Djpegint.h314 #define RIGHT_SHIFT(x,shft) \ argument
316 (shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \
317 (shift_temp >> (shft)))
320 #define RIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
Djcphuff.c79 #define IRIGHT_SHIFT(x,shft) \ argument
81 (ishift_temp >> (shft)) | ((~0) << (16-(shft))) : \
82 (ishift_temp >> (shft)))
85 #define IRIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
Dcb_mem_energy_calc.c35 int16_t j,shft; in WebRtcIlbcfix_CbMemEnergyCalc() local
59 shft = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyCalc()
60 *eSh_ptr++ = shft; in WebRtcIlbcfix_CbMemEnergyCalc()
62 tmp = WEBRTC_SPL_LSHIFT_W32(energy, shft); in WebRtcIlbcfix_CbMemEnergyCalc()
/external/libhevc/common/arm/
Dihevc_intra_pred_chroma_mode_3_to_9.s214 vrshrn.i16 d24, q12, #5 @round shft (row 0)
225 vrshrn.i16 d22, q11, #5 @round shft (row 1)
236 vrshrn.i16 d20, q10, #5 @round shft (row 2)
247 vrshrn.i16 d18, q9, #5 @round shft (row 3)
260 vrshrn.i16 d24, q12, #5 @round shft (row 4)
271 vrshrn.i16 d22, q11, #5 @round shft (row 5)
282 vrshrn.i16 d20, q10, #5 @round shft (row 6)
283 vrshrn.i16 d18, q9, #5 @round shft (row 7)
342 vrshrn.i16 d22, q11, #5 @round shft (row 5)
370 vrshrn.i16 d20, q10, #5 @(from previous loop)round shft (row 6)
[all …]
Dihevc_intra_pred_luma_mode_3_to_9.s217 vrshrn.i16 d24, q12, #5 @round shft (row 0)
228 vrshrn.i16 d22, q11, #5 @round shft (row 1)
239 vrshrn.i16 d20, q10, #5 @round shft (row 2)
250 vrshrn.i16 d18, q9, #5 @round shft (row 3)
261 vrshrn.i16 d24, q12, #5 @round shft (row 4)
272 vrshrn.i16 d22, q11, #5 @round shft (row 5)
283 vrshrn.i16 d20, q10, #5 @round shft (row 6)
284 vrshrn.i16 d18, q9, #5 @round shft (row 7)
340 vrshrn.i16 d22, q11, #5 @round shft (row 5)
362 vrshrn.i16 d20, q10, #5 @(from previous loop)round shft (row 6)
[all …]
Dihevc_intra_pred_filters_chroma_mode_11_to_17.s328 vrshrn.i16 d24, q12, #5 @round shft (row 0)
339 vrshrn.i16 d22, q11, #5 @round shft (row 1)
350 vrshrn.i16 d20, q10, #5 @round shft (row 2)
361 vrshrn.i16 d18, q9, #5 @round shft (row 3)
374 vrshrn.i16 d24, q12, #5 @round shft (row 4)
385 vrshrn.i16 d22, q11, #5 @round shft (row 5)
396 vrshrn.i16 d20, q10, #5 @round shft (row 6)
397 vrshrn.i16 d18, q9, #5 @round shft (row 7)
459 vrshrn.i16 d24, q11, #5 @round shft (row 5)
488 vrshrn.i16 d20, q10, #5 @(from previous loop)round shft (row 6)
[all …]
Dihevc_intra_pred_filters_luma_mode_11_to_17.s327 vrshrn.i16 d24, q12, #5 @round shft (row 0)
338 vrshrn.i16 d22, q11, #5 @round shft (row 1)
349 vrshrn.i16 d20, q10, #5 @round shft (row 2)
360 vrshrn.i16 d18, q9, #5 @round shft (row 3)
371 vrshrn.i16 d24, q12, #5 @round shft (row 4)
382 vrshrn.i16 d22, q11, #5 @round shft (row 5)
393 vrshrn.i16 d20, q10, #5 @round shft (row 6)
394 vrshrn.i16 d18, q9, #5 @round shft (row 7)
450 vrshrn.i16 d24, q11, #5 @round shft (row 5)
471 vrshrn.i16 d20, q10, #5 @(from previous loop)round shft (row 6)
[all …]
/external/qemu/distrib/jpeg-6b/
Djidctfst.c147 #define IRIGHT_SHIFT(x,shft) \ argument
149 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \
150 (ishift_temp >> (shft)))
153 #define IRIGHT_SHIFT(x,shft) ((x) >> (shft))
Djpegint.h314 #define RIGHT_SHIFT(x,shft) \ argument
316 (shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \
317 (shift_temp >> (shft)))
320 #define RIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
Djcphuff.c79 #define IRIGHT_SHIFT(x,shft) \ argument
81 (ishift_temp >> (shft)) | ((~0) << (16-(shft))) : \
82 (ishift_temp >> (shft)))
85 #define IRIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jidctfst.c148 #define IRIGHT_SHIFT(x,shft) \ argument
150 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \
151 (ishift_temp >> (shft)))
154 #define IRIGHT_SHIFT(x,shft) ((x) >> (shft))
Djpegint.h284 #define RIGHT_SHIFT(x,shft) \ argument
286 (shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \
287 (shift_temp >> (shft)))
290 #define RIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
Dfpdfapi_jcphuff.c80 #define IRIGHT_SHIFT(x,shft) \ argument
82 (ishift_temp >> (shft)) | ((~0) << (16-(shft))) : \
83 (ishift_temp >> (shft)))
86 #define IRIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
/external/libedit/src/
Dvis.c267 int iswextra, i, shft; in do_svis() local
280 shft = i * NBBY; in do_svis()
281 bmsk = (uint64_t)0xffLL << shft; in do_svis()
285 (uint64_t)(c & bmsk) >> shft), in do_svis()
358 int clen = 0, cerr = 0, error = -1, i, shft; in istrsenvisx() local
494 shft = i * NBBY; in istrsenvisx()
495 bmsk = (uint64_t)0xffLL << shft; in istrsenvisx()
500 shft); in istrsenvisx()
/external/pdfium/core/include/thirdparties/libjpeg/
Djpegint.h284 #define RIGHT_SHIFT(x,shft) \ argument
286 (shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \
287 (shift_temp >> (shft)))
290 #define RIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.c392 int16_t dither1_Q7, dither2_Q7, dither_gain_Q14, shft; in GenerateDitherQ7() local
410 shft = (int16_t)(WEBRTC_SPL_RSHIFT_U32(seed, 25) & 15); in GenerateDitherQ7()
411 if (shft < 5) in GenerateDitherQ7()
417 else if (shft < 10) in GenerateDitherQ7()
445 shft = (int16_t)(WEBRTC_SPL_RSHIFT_U32(seed, 25) & 1); /* either 0 or 1 */ in GenerateDitherQ7()
447 …bufQ7[k + shft] = (int16_t)WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(dither_gain_Q14, dither1_Q7) + 819… in GenerateDitherQ7()
448 bufQ7[k + 1 - shft] = 0; in GenerateDitherQ7()
1684 int16_t shft,tmp16a,tmp16c; in WebRtcIsacfix_DecodePitchLag() local
1694 shft = -1; // StepSize=2.0; in WebRtcIsacfix_DecodePitchLag()
1702 shft = 0; // StepSize=1.0; in WebRtcIsacfix_DecodePitchLag()
[all …]
Dlpc_masking_model.c580 int shft; in WebRtcIsacfix_GetLpcCoef() local
889 shft = 16 - sh; in WebRtcIsacfix_GetLpcCoef()
890 tmp16a = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32c, -shft); // Q(ssh-shft) (denominator) in WebRtcIsacfix_GetLpcCoef()
893 sh = ssh-shft-7; in WebRtcIsacfix_GetLpcCoef()
939 shft = 16 - sh; in WebRtcIsacfix_GetLpcCoef()
940 tmp16a = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32c, -shft); // Q(ssh-shft) (denominator) in WebRtcIsacfix_GetLpcCoef()
943 sh = ssh-shft-7; in WebRtcIsacfix_GetLpcCoef()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.c358 WebRtc_Word16 dither1_Q7, dither2_Q7, dither_gain_Q14, shft; in GenerateDitherQ7() local
376 shft = (WebRtc_Word16)(WEBRTC_SPL_RSHIFT_U32(seed, 25) & 15); in GenerateDitherQ7()
377 if (shft < 5) in GenerateDitherQ7()
383 else if (shft < 10) in GenerateDitherQ7()
411 shft = (WebRtc_Word16)(WEBRTC_SPL_RSHIFT_U32(seed, 25) & 1); /* either 0 or 1 */ in GenerateDitherQ7()
413 …bufQ7[k + shft] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(dither_gain_Q14, dither1_Q7)… in GenerateDitherQ7()
414 bufQ7[k + 1 - shft] = 0; in GenerateDitherQ7()
1687 WebRtc_Word16 shft,tmp16a,tmp16c; in WebRtcIsacfix_DecodePitchLag() local
1697 shft = -1; // StepSize=2.0; in WebRtcIsacfix_DecodePitchLag()
1705 shft = 0; // StepSize=1.0; in WebRtcIsacfix_DecodePitchLag()
[all …]
Dlpc_masking_model.c580 int shft; in WebRtcIsacfix_GetLpcCoef() local
887 shft = 16 - sh; in WebRtcIsacfix_GetLpcCoef()
888 tmp16a = (WebRtc_Word16) WEBRTC_SPL_SHIFT_W32(tmp32c, -shft); // Q(ssh-shft) (denominator) in WebRtcIsacfix_GetLpcCoef()
891 sh = ssh-shft-7; in WebRtcIsacfix_GetLpcCoef()
937 shft = 16 - sh; in WebRtcIsacfix_GetLpcCoef()
938 tmp16a = (WebRtc_Word16) WEBRTC_SPL_SHIFT_W32(tmp32c, -shft); // Q(ssh-shft) (denominator) in WebRtcIsacfix_GetLpcCoef()
941 sh = ssh-shft-7; in WebRtcIsacfix_GetLpcCoef()
/external/llvm/test/CodeGen/X86/
D2008-05-12-tailmerge-5.ll27 %shft = lshr i64 %str.1, 8 ; <i64> [#uses=2]
29 %byte4 = trunc i64 %shft to i8 ; <i8> [#uses=1]
31 %shft5 = lshr i64 %shft, 8 ; <i64> [#uses=2]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.c179 int k, shft; in GenerateDitherQ7Lb() local
198 shft = (seed >> 25) & 15; in GenerateDitherQ7Lb()
199 if (shft < 5) { in GenerateDitherQ7Lb()
203 } else if (shft < 10) { in GenerateDitherQ7Lb()
225 shft = (seed >> 25) & 1; /* Either 0 or 1 */ in GenerateDitherQ7Lb()
227 bufQ7[k + shft] = (((dither_gain_Q14 * dither1_Q7) + 8192) >> 14); in GenerateDitherQ7Lb()
228 bufQ7[k + 1 - shft] = 0; in GenerateDitherQ7Lb()

12