Home
last modified time | relevance | path

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

12

/external/libavc/common/
Dih264_trans_macros.h107 #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 …]
Dih264_weighted_pred.c381 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/
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/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/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/libavc/common/x86/
Dih264_weighted_pred_sse42.c838 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 …]
Dih264_luma_intra_pred_filters_ssse3.c1009 WORD32 shft = 2; in ih264_intra_pred_luma_8x8_mode_dc_ssse3() local
1019 shft++; in ih264_intra_pred_luma_8x8_mode_dc_ssse3()
1028 shft++; in ih264_intra_pred_luma_8x8_mode_dc_ssse3()
1032 dc_val = dc_val >> shft; in ih264_intra_pred_luma_8x8_mode_dc_ssse3()
1898 WORD32 shft; in ih264_intra_pred_luma_16x16_mode_dc_ssse3() local
1902 shft = 3; in ih264_intra_pred_luma_16x16_mode_dc_ssse3()
1915 shft++; in ih264_intra_pred_luma_16x16_mode_dc_ssse3()
1929 shft++; in ih264_intra_pred_luma_16x16_mode_dc_ssse3()
1934 dc_val = dc_val >> shft; in ih264_intra_pred_luma_16x16_mode_dc_ssse3()
/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/libavc/common/arm/
Dih264_resi_trans_quant_a9.s148 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/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/webrtc/src/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()
/external/libavc/encoder/x86/
Dih264e_intra_modes_eval_ssse3.c551 WORD32 shft = 1, dcval = 0; in ih264e_evaluate_intra_4x4_modes_ssse3() local
561 shft ++; in ih264e_evaluate_intra_4x4_modes_ssse3()
567 shft++; in ih264e_evaluate_intra_4x4_modes_ssse3()
573 dcval = dcval >> shft; in ih264e_evaluate_intra_4x4_modes_ssse3()
/external/valgrind/helgrind/
Dlibhb_core.c996 Word bix, shft, mask, prep; in write_twobit_array() local
999 shft = 2 * (ix & 3); /* 0, 2, 4 or 6 */ in write_twobit_array()
1000 mask = 3 << shft; in write_twobit_array()
1001 prep = b2 << shft; in write_twobit_array()
1007 Word bix, shft; in read_twobit_array() local
1010 shft = 2 * (ix & 3); /* 0, 2, 4 or 6 */ in read_twobit_array()
1011 return (arr[bix] >> shft) & 3; in read_twobit_array()

12