/external/libavc/common/ |
D | ih264_trans_macros.h | 107 #define QUANT_H264(x,y,w,z,shft) (shft = ABS(x),\ argument 108 shft *= y,\ 109 shft += z,\ 110 shft = shft>>w,\ 111 shft = SIGNXY(shft,x)) 113 #define IQUANT_H264(x,y,wscal,w,shft) (shft = x, \ argument 114 shft *=y, \ 115 shft *=wscal, \ 116 shft = shft<<w) 118 #define IQUANT_lev_H264(x,y,wscal,add_f,w,shft) (shft = x, \ argument [all …]
|
D | ih264_weighted_pred.c | 381 WORD32 shft, ofst; in ih264_weighted_bi_pred_luma() local 389 shft = log_wd + 1; in ih264_weighted_bi_pred_luma() 390 ofst = (1 << log_wd) + (ofst << shft); in ih264_weighted_bi_pred_luma() 399 *pu1_dst = CLIP_U8((wt1 * (*pu1_src1) + wt2 * (*pu1_src2) + ofst) >> shft); in ih264_weighted_bi_pred_luma() 460 WORD32 shft; in ih264_weighted_bi_pred_chroma() local 477 shft = log_wd + 1; in ih264_weighted_bi_pred_chroma() 478 ofst_u = (1 << log_wd) + (ofst_u << shft); in ih264_weighted_bi_pred_chroma() 479 ofst_v = (1 << log_wd) + (ofst_v << shft); in ih264_weighted_bi_pred_chroma() 485 *pu1_dst = CLIP_U8((wt1_u * (*pu1_src1) + wt2_u * (*pu1_src2) + ofst_u) >> shft); in ih264_weighted_bi_pred_chroma() 489 *pu1_dst = CLIP_U8((wt1_v * (*pu1_src1) + wt2_v * (*pu1_src2) + ofst_v) >> shft); in ih264_weighted_bi_pred_chroma()
|
/external/libopus/silk/ |
D | sum_sqr_shift.c | 43 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/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | cb_mem_energy_calc.c | 36 int16_t shft; in WebRtcIlbcfix_CbMemEnergyCalc() local 59 shft = (int16_t)WebRtcSpl_NormW32(energy); in WebRtcIlbcfix_CbMemEnergyCalc() 60 *eSh_ptr++ = shft; in WebRtcIlbcfix_CbMemEnergyCalc() 62 tmp = energy << shft; in WebRtcIlbcfix_CbMemEnergyCalc()
|
/external/libhevc/common/arm/ |
D | ihevc_intra_pred_chroma_mode_3_to_9.s | 214 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 …]
|
D | ihevc_intra_pred_filters_chroma_mode_11_to_17.s | 328 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 …]
|
D | ihevc_intra_pred_luma_mode_3_to_9.s | 217 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 …]
|
D | ihevc_intra_pred_filters_luma_mode_11_to_17.s | 327 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/pdfium/third_party/libtiff/ |
D | tif_luv.c | 188 int shft; in LogL16Decode() local 213 for (shft = 2*8; (shft -= 8) >= 0; ) { in LogL16Decode() 217 b = (int16)(*bp++ << shft); in LogL16Decode() 224 tp[i++] |= (int16)*bp++ << shft; in LogL16Decode() 310 int shft; in LogLuvDecode32() local 336 for (shft = 4*8; (shft -= 8) >= 0; ) { in LogLuvDecode32() 340 b = (uint32)*bp++ << shft; in LogLuvDecode32() 347 tp[i++] |= (uint32)*bp++ << shft; in LogLuvDecode32() 417 int shft; in LogL16Encode() local 442 for (shft = 2*8; (shft -= 8) >= 0; ) in LogL16Encode() [all …]
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_luv.c | 188 int shft; in LogL16Decode() local 213 for (shft = 2*8; (shft -= 8) >= 0; ) { in LogL16Decode() 217 b = (int16)(*bp++ << shft); in LogL16Decode() 224 tp[i++] |= (int16)*bp++ << shft; in LogL16Decode() 310 int shft; in LogLuvDecode32() local 336 for (shft = 4*8; (shft -= 8) >= 0; ) { in LogLuvDecode32() 340 b = (uint32)*bp++ << shft; in LogLuvDecode32() 347 tp[i++] |= (uint32)*bp++ << shft; in LogLuvDecode32() 411 int shft; in LogL16Encode() local 436 for (shft = 2*8; (shft -= 8) >= 0; ) in LogL16Encode() [all …]
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jidctfst.c | 147 #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))
|
D | jpegint.h | 284 #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
|
D | fpdfapi_jcphuff.c | 79 #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/opencv3/3rdparty/libjpeg/ |
D | jidctfst.c | 147 #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))
|
D | jpegint.h | 283 #define RIGHT_SHIFT(x,shft) \ argument 285 (shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \ 286 (shift_temp >> (shft))) 289 #define RIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
|
D | jcarith.c | 105 #define IRIGHT_SHIFT(x,shft) \ argument 107 (ishift_temp >> (shft)) | ((~0) << (16-(shft))) : \ 108 (ishift_temp >> (shft))) 111 #define IRIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
|
/external/libjpeg-turbo/ |
D | jpegint.h | 294 #define RIGHT_SHIFT(x,shft) \ argument 296 (shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \ 297 (shift_temp >> (shft))) 300 #define RIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
|
D | jidctfst.c | 147 #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))
|
D | jcphuff.c | 81 #define IRIGHT_SHIFT(x,shft) \ argument 83 (ishift_temp >> (shft)) | ((~0) << (16-(shft))) : \ 84 (ishift_temp >> (shft))) 87 #define IRIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
|
D | jcarith.c | 107 #define IRIGHT_SHIFT(x,shft) \ argument 109 (ishift_temp >> (shft)) | ((~0) << (16-(shft))) : \ 110 (ishift_temp >> (shft))) 113 #define IRIGHT_SHIFT(x,shft) ((x) >> (shft)) argument
|
/external/libavc/common/x86/ |
D | ih264_weighted_pred_sse42.c | 838 WORD32 round_val, shft; in ih264_weighted_bi_pred_luma_sse42() local 843 shft = log_wd + 1; in ih264_weighted_bi_pred_luma_sse42() 896 y1_0_8x16b = _mm_srai_epi16(y1_0_8x16b, shft); in ih264_weighted_bi_pred_luma_sse42() 897 y1_2_8x16b = _mm_srai_epi16(y1_2_8x16b, shft); in ih264_weighted_bi_pred_luma_sse42() 972 y1_0_8x16b = _mm_srai_epi16(y1_0_8x16b, shft); in ih264_weighted_bi_pred_luma_sse42() 973 y1_1_8x16b = _mm_srai_epi16(y1_1_8x16b, shft); in ih264_weighted_bi_pred_luma_sse42() 974 y1_2_8x16b = _mm_srai_epi16(y1_2_8x16b, shft); in ih264_weighted_bi_pred_luma_sse42() 975 y1_3_8x16b = _mm_srai_epi16(y1_3_8x16b, shft); in ih264_weighted_bi_pred_luma_sse42() 1044 y1_0L_8x16b = _mm_srai_epi16(y1_0L_8x16b, shft); in ih264_weighted_bi_pred_luma_sse42() 1045 y1_0H_8x16b = _mm_srai_epi16(y1_0H_8x16b, shft); in ih264_weighted_bi_pred_luma_sse42() [all …]
|
/external/libedit/src/ |
D | vis.c | 267 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/libavc/common/arm/ |
D | ih264_resi_trans_quant_a9.s | 148 vshl.s16 d12, d10, #1 @U_SHIFT(x2,1,shft) 149 vshl.s16 d13, d11, #1 @U_SHIFT(x3,1,shft) 153 vadd.s16 d15, d13, d10 @x5 = U_SHIFT(x3,1,shft) + x2; 154 vsub.s16 d17, d11, d12 @x7 = x3 - U_SHIFT(x2,1,shft); 169 vshl.s16 d22, d20, #1 @U_SHIFT(x2,1,shft) 170 vshl.s16 d23, d21, #1 @U_SHIFT(x3,1,shft) 176 vadd.s16 d25, d23, d20 @x6 = U_SHIFT(x3,1,shft) + x2; 177 vsub.s16 d27, d21, d22 @x8 = x3 - U_SHIFT(x2,1,shft); 343 vshl.s16 d12, d10, #1 @U_SHIFT(x2,1,shft) 344 vshl.s16 d13, d11, #1 @U_SHIFT(x3,1,shft) [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | entropy_coding.c | 385 int16_t dither1_Q7, dither2_Q7, dither_gain_Q14, shft; in GenerateDitherQ7() local 403 shft = (int16_t)(WEBRTC_SPL_RSHIFT_U32(seed, 25) & 15); in GenerateDitherQ7() 404 if (shft < 5) in GenerateDitherQ7() 410 else if (shft < 10) in GenerateDitherQ7() 438 shft = (int16_t)(WEBRTC_SPL_RSHIFT_U32(seed, 25) & 1); /* either 0 or 1 */ in GenerateDitherQ7() 440 bufQ7[k + shft] = (int16_t)((dither_gain_Q14 * dither1_Q7 + 8192) >> 14); in GenerateDitherQ7() 441 bufQ7[k + 1 - shft] = 0; in GenerateDitherQ7() 1678 int16_t shft; in WebRtcIsacfix_DecodePitchLag() local 1688 shft = -1; // StepSize=2.0; in WebRtcIsacfix_DecodePitchLag() 1696 shft = 0; // StepSize=1.0; in WebRtcIsacfix_DecodePitchLag() [all …]
|
D | lpc_masking_model.c | 568 int shft; in WebRtcIsacfix_GetLpcCoef() local 879 shft = 16 - sh; in WebRtcIsacfix_GetLpcCoef() 880 tmp16a = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32c, -shft); // Q(ssh-shft) (denominator) in WebRtcIsacfix_GetLpcCoef() 883 sh = ssh-shft-7; in WebRtcIsacfix_GetLpcCoef() 928 shft = 16 - sh; in WebRtcIsacfix_GetLpcCoef() 929 tmp16a = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32c, -shft); // Q(ssh-shft) (denominator) in WebRtcIsacfix_GetLpcCoef() 932 sh = ssh-shft-7; in WebRtcIsacfix_GetLpcCoef()
|