Searched refs:ABS (Results 1 - 25 of 76) sorted by relevance

1234

/external/libavc/encoder/arm/
H A Dime_platform_macros.h45 sad += ABS(src[0]-est[0]) + \
46 ABS(src[1]-est[1]) + \
47 ABS(src[2]-est[2]) + \
48 ABS(src[3]-est[3])
/external/libavc/encoder/armv8/
H A Dime_platform_macros.h45 sad += ABS(src[0]-est[0]) + \
46 ABS(src[1]-est[1]) + \
47 ABS(src[2]-est[2]) + \
48 ABS(src[3]-est[3])
/external/libavc/encoder/mips/
H A Dime_platform_macros.h46 sad += ABS(src[0]-est[0]) + \
47 ABS(src[1]-est[1]) + \
48 ABS(src[2]-est[2]) + \
49 ABS(src[3]-est[3])
/external/libavc/encoder/x86/
H A Dime_platform_macros.h46 sad += ABS(src[0]-est[0]) + \
47 ABS(src[1]-est[1]) + \
48 ABS(src[2]-est[2]) + \
49 ABS(src[3]-est[3])
/external/llvm/test/MC/AsmParser/
H A Ddefsym.s19 # CHECK: 00000007 *ABS* 00000000 a
20 # CHECK: 0000000b *ABS* 00000000
/external/mesa3d/src/gallium/tests/graw/fragment-shader/
H A Dfrag-abs.sh11 ABS OUT[0], TEMP[0]
H A Dfrag-lrp.sh8 ABS TEMP[0], IN[0]
H A Dfrag-tempx.sh12 ABS OUT[0], TEMPX[0][1]
/external/mesa3d/src/gallium/tests/graw/vertex-shader/
H A Dvert-abs.sh12 ABS OUT[0], TEMP[0]
H A Dvert-lrp.sh10 ABS TEMP[0], IN[0]
/external/libavc/encoder/
H A Dime_distortion_metrics.c146 pi4_sad[0] += ABS(diff);
149 pi4_sad[1] += ABS(diff);
152 pi4_sad[2] += ABS(diff);
155 pi4_sad[3] += ABS(diff);
158 pi4_sad[4] += ABS(diff);
161 pi4_sad[5] += ABS(diff);
164 pi4_sad[6] += ABS(diff);
167 pi4_sad[7] += ABS(diff);
244 pi4_sad[0] += ABS(diff);
247 pi4_sad[1] += ABS(dif
[all...]
H A Dime_macros.h37 #define ABS(x) ((x) < 0 ? (-(x)) : (x)) macro
H A Dih264e_deblk.c261 u4_top_flag = (ABS((i16_pMvl0_x - i16_qMvl0_x)) >= 4)
262 | (ABS((i16_pMvl0_y - i16_qMvl0_y)) >= 4);
278 u4_top_flag = (ABS((i16_pMvl0_x - i16_qMvl0_x)) >= 4)
279 | (ABS((i16_pMvl0_y - i16_qMvl0_y)) >= 4)
280 | (ABS((i16_pMvl1_x - i16_qMvl1_x)) >= 4)
281 | (ABS((i16_pMvl1_y - i16_qMvl1_y)) >= 4);
308 u4_left_flag = (ABS((i16_pMvl0_x - i16_qMvl0_x)) >= 4)
309 | (ABS((i16_pMvl0_y - i16_qMvl0_y)) >= 4);
325 u4_left_flag = (ABS((i16_pMvl0_x - i16_qMvl0_x)) >= 4)
326 | (ABS((i16_pMvl0_
[all...]
H A Dih264e_intra_modes_eval.c1570 i4_sad_horz += ABS(val - pu1_src_temp[j]);
1590 i4_sad_vert += ABS(pu1_ngbr_pels_i16[17 + j] - pu1_src_temp[j]);
1611 i4_sad_dc += ABS(u4_dcval - pu1_src_temp[j]);
1777 i4_sad[HORZ_I4x4] += ABS(pu1_src_temp[0] - u1_pred_val)
1778 + ABS(pu1_src_temp[1] - u1_pred_val)
1779 + ABS(pu1_src_temp[2] - u1_pred_val)
1780 + ABS(pu1_src_temp[3] - u1_pred_val);
1785 i4_sad[HORZ_I4x4] += ABS(pu1_src_temp[0] - u1_pred_val)
1786 + ABS(pu1_src_temp[1] - u1_pred_val)
1787 + ABS(pu1_src_tem
[all...]
/external/libavc/common/
H A Dih264_deblk_edge_filters.c137 if((ABS(p0 - q0) >= alpha) ||
138 (ABS(q1 - q0) >= beta) ||
139 (ABS(p1 - p0) >= beta))
147 if(ABS(p0 - q0) < ((alpha >> 2) + 2))
150 a_p = (UWORD8)ABS(p2 - p0);
151 a_q = (UWORD8)ABS(q2 - q0);
260 if((ABS(p0 - q0) >= alpha) ||
261 (ABS(q1 - q0) >= beta) ||
262 (ABS(p1 - p0) >= beta))
270 if(ABS(p
[all...]
H A Dih264_trans_macros.h107 #define QUANT_H264(x,y,w,z,shft) (shft = ABS(x),\
/external/libavc/common/arm/
H A Dih264_deblk_luma_a9.s107 vabd.u8 q13, q4, q3 @Q13 = ABS(p1 - p0)
109 vabd.u8 q11, q3, q0 @Q11 = ABS(p0 - q0)
111 vabd.u8 q12, q1, q0 @Q12 = ABS(q1 - q0)
118 vabd.u8 q14, q5, q3 @Q14 = Ap = ABS(p2 - p0)
119 vabd.u8 q15, q2, q0 @Q15 = Aq = ABS(q2 - q0)
122 vcge.u8 q9, q11, q10 @Q9 = ( ABS(p0 - q0) >= Alpha )
123 vcge.u8 q12, q12, q8 @Q12=( ABS(q1 - q0) >= Beta )
124 vcge.u8 q13, q13, q8 @Q13=( ABS(p1 - p0) >= Beta )
128 vorr q9, q9, q12 @Q9 = ( ABS(p0 - q0) >= Alpha ) | ( ABS(q
[all...]
/external/libhevc/common/
H A Dihevc_deblk_edge_filter.c137 dq0 = ABS(pu1_src[2] - 2 * pu1_src[1] + pu1_src[0]);
138 dq3 = ABS(pu1_src[3 * src_strd + 2] - 2 * pu1_src[3 * src_strd + 1]
140 dp0 = ABS(pu1_src[-3] - 2 * pu1_src[-2] + pu1_src[-1]);
141 dp3 = ABS(pu1_src[3 * src_strd - 3] - 2 * pu1_src[3 * src_strd - 2]
160 && (ABS(pu1_src[3] - pu1_src[0]) + ABS(pu1_src[-1] - pu1_src[-4])
162 && ABS(pu1_src[0] - pu1_src[-1]) < ((5 * tc + 1) >> 1))
170 && (ABS(pu1_src[3] - pu1_src[0]) + ABS(pu1_src[-1] - pu1_src[-4])
172 && ABS(pu1_sr
[all...]
H A Dihevc_macros.h45 #define ABS(x) ((((WORD32)(x)) > 0) ? (x) : -(x)) macro
/external/libavc/decoder/
H A Dih264d_compute_bs.c255 u4_bs_temp1 = ((ABS((i2_p_mv0 - i2_q_mv0)) >= 4) ||
256 (ABS((i2_p_mv1 - i2_q_mv1)) >= i4_ver_mvlimit));
297 ((ABS((i2_p_mv0 - i2_q_mv0))
299 | (ABS((i2_p_mv1 - i2_q_mv1))
422 ((ABS((i2_left_mv0 - i2_cur_mv0))
424 | (ABS((i2_left_mv1
478 ((ABS((i2_top_mv0 - i2_cur_mv0))
480 | (ABS((i2_top_mv1
586 ((ABS((i2_p_mv0 - i2_q_mv0))
588 | (ABS((i2_p_mv
[all...]
/external/speex/libspeex/
H A Dltp.h46 #define gain_3tap_to_1tap(g) (ABS(g[1]) + (g[0]>0 ? g[0] : -SHR16(g[0],1)) + (g[2]>0 ? g[2] : -SHR16(g[2],1)))
48 #define gain_3tap_to_1tap(g) (ABS(g[1]) + (g[0]>0 ? g[0] : -.5*g[0]) + (g[2]>0 ? g[2] : -.5*g[2]))
/external/giflib/
H A Dquantize.c19 #define ABS(x) ((x) > 0 ? (x) : (-(x))) macro
169 if (MaxRGBError[0] < ABS(OutputColorMap[Index].Red - RedInput[i]))
170 MaxRGBError[0] = ABS(OutputColorMap[Index].Red - RedInput[i]);
171 if (MaxRGBError[1] < ABS(OutputColorMap[Index].Green - GreenInput[i]))
172 MaxRGBError[1] = ABS(OutputColorMap[Index].Green - GreenInput[i]);
173 if (MaxRGBError[2] < ABS(OutputColorMap[Index].Blue - BlueInput[i]))
174 MaxRGBError[2] = ABS(OutputColorMap[Index].Blue - BlueInput[i]);
/external/libhevc/decoder/
H A Dihevcd_boundary_strength.c128 i4_bs = (ABS(i2_mv_x0 - i2_ngbr_mv_x0) < 4) &&
129 (ABS(i2_mv_y0 - i2_ngbr_mv_y0) < 4) &&
130 (ABS(i2_mv_x1 - i2_ngbr_mv_x1) < 4) &&
131 (ABS(i2_mv_y1 - i2_ngbr_mv_y1) < 4) ? 0 : 1;
135 i4_bs = (ABS(i2_mv_x0 - i2_ngbr_mv_x1) < 4) &&
136 (ABS(i2_mv_y0 - i2_ngbr_mv_y1) < 4) &&
137 (ABS(i2_mv_x1 - i2_ngbr_mv_x0) < 4) &&
138 (ABS(i2_mv_y1 - i2_ngbr_mv_y0) < 4) ? 0 : 1;
143 i4_bs = ((ABS(i2_mv_x0 - i2_ngbr_mv_x0) >= 4) ||
144 (ABS(i2_mv_y
[all...]
/external/libmpeg2/common/
H A Dicv_macros.h41 #define ABS(x) ((x) < 0 ? (-1 * (x)) : (x)) macro
H A Dimpeg2_macros.h23 #define ABS(x) ((x) < 0 ? (-1 * (x)) : (x)) macro

Completed in 1025 milliseconds

1234