Home
last modified time | relevance | path

Searched refs:ABS (Results 1 – 25 of 91) sorted by relevance

1234

/external/libavc/encoder/
Dime_distortion_metrics.c146 pi4_sad[0] += ABS(diff); in ime_sub_pel_compute_sad_16x16()
149 pi4_sad[1] += ABS(diff); in ime_sub_pel_compute_sad_16x16()
152 pi4_sad[2] += ABS(diff); in ime_sub_pel_compute_sad_16x16()
155 pi4_sad[3] += ABS(diff); in ime_sub_pel_compute_sad_16x16()
158 pi4_sad[4] += ABS(diff); in ime_sub_pel_compute_sad_16x16()
161 pi4_sad[5] += ABS(diff); in ime_sub_pel_compute_sad_16x16()
164 pi4_sad[6] += ABS(diff); in ime_sub_pel_compute_sad_16x16()
167 pi4_sad[7] += ABS(diff); in ime_sub_pel_compute_sad_16x16()
244 pi4_sad[0] += ABS(diff); in ime_calculate_sad4_prog()
247 pi4_sad[1] += ABS(diff); in ime_calculate_sad4_prog()
[all …]
Dih264e_deblk.c261 u4_top_flag = (ABS((i16_pMvl0_x - i16_qMvl0_x)) >= 4) in ih264e_fill_bs_1mv_1ref_non_mbaff()
262 | (ABS((i16_pMvl0_y - i16_qMvl0_y)) >= 4); in ih264e_fill_bs_1mv_1ref_non_mbaff()
278 u4_top_flag = (ABS((i16_pMvl0_x - i16_qMvl0_x)) >= 4) in ih264e_fill_bs_1mv_1ref_non_mbaff()
279 | (ABS((i16_pMvl0_y - i16_qMvl0_y)) >= 4) in ih264e_fill_bs_1mv_1ref_non_mbaff()
280 | (ABS((i16_pMvl1_x - i16_qMvl1_x)) >= 4) in ih264e_fill_bs_1mv_1ref_non_mbaff()
281 | (ABS((i16_pMvl1_y - i16_qMvl1_y)) >= 4); in ih264e_fill_bs_1mv_1ref_non_mbaff()
308 u4_left_flag = (ABS((i16_pMvl0_x - i16_qMvl0_x)) >= 4) in ih264e_fill_bs_1mv_1ref_non_mbaff()
309 | (ABS((i16_pMvl0_y - i16_qMvl0_y)) >= 4); in ih264e_fill_bs_1mv_1ref_non_mbaff()
325 u4_left_flag = (ABS((i16_pMvl0_x - i16_qMvl0_x)) >= 4) in ih264e_fill_bs_1mv_1ref_non_mbaff()
326 | (ABS((i16_pMvl0_y - i16_qMvl0_y)) >= 4) in ih264e_fill_bs_1mv_1ref_non_mbaff()
[all …]
Dih264e_intra_modes_eval.c1570 i4_sad_horz += ABS(val - pu1_src_temp[j]); in ih264e_evaluate_intra16x16_modes()
1590 i4_sad_vert += ABS(pu1_ngbr_pels_i16[17 + j] - pu1_src_temp[j]); in ih264e_evaluate_intra16x16_modes()
1611 i4_sad_dc += ABS(u4_dcval - pu1_src_temp[j]); in ih264e_evaluate_intra16x16_modes()
1777 i4_sad[HORZ_I4x4] += ABS(pu1_src_temp[0] - u1_pred_val) in ih264e_evaluate_intra_4x4_modes()
1778 + ABS(pu1_src_temp[1] - u1_pred_val) in ih264e_evaluate_intra_4x4_modes()
1779 + ABS(pu1_src_temp[2] - u1_pred_val) in ih264e_evaluate_intra_4x4_modes()
1780 + ABS(pu1_src_temp[3] - u1_pred_val); in ih264e_evaluate_intra_4x4_modes()
1785 i4_sad[HORZ_I4x4] += ABS(pu1_src_temp[0] - u1_pred_val) in ih264e_evaluate_intra_4x4_modes()
1786 + ABS(pu1_src_temp[1] - u1_pred_val) in ih264e_evaluate_intra_4x4_modes()
1787 + ABS(pu1_src_temp[2] - u1_pred_val) in ih264e_evaluate_intra_4x4_modes()
[all …]
/external/libavc/common/
Dih264_deblk_edge_filters.c137 if((ABS(p0 - q0) >= alpha) || in ih264_deblk_luma_vert_bs4()
138 (ABS(q1 - q0) >= beta) || in ih264_deblk_luma_vert_bs4()
139 (ABS(p1 - p0) >= beta)) in ih264_deblk_luma_vert_bs4()
147 if(ABS(p0 - q0) < ((alpha >> 2) + 2)) in ih264_deblk_luma_vert_bs4()
150 a_p = (UWORD8)ABS(p2 - p0); in ih264_deblk_luma_vert_bs4()
151 a_q = (UWORD8)ABS(q2 - q0); in ih264_deblk_luma_vert_bs4()
260 if((ABS(p0 - q0) >= alpha) || in ih264_deblk_luma_horz_bs4()
261 (ABS(q1 - q0) >= beta) || in ih264_deblk_luma_horz_bs4()
262 (ABS(p1 - p0) >= beta)) in ih264_deblk_luma_horz_bs4()
270 if(ABS(p0 - q0) < ((alpha >> 2) + 2)) in ih264_deblk_luma_horz_bs4()
[all …]
/external/libavc/common/arm/
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(q1 - q0) >= Beta )
131 …vorr q9, q9, q13 @Q9 = ( ABS(p0 - q0) >= Alpha ) | ( ABS(q1 - q0) >= Beta ) | (…
[all …]
Dih264_deblk_chroma_a9.s105 vabd.u8 q13, q3, q2 @Q13 = ABS(p1 - p0)
108 vabd.u8 q11, q2, q0 @Q11 = ABS(p0 - q0)
109 vabd.u8 q12, q1, q0 @Q12 = ABS(q1 - q0)
115 vcge.u8 q9, q11, q10 @Q9 = ( ABS(p0 - q0) >= Alpha )
116 vcge.u8 q12, q12, q8 @Q12= ( ABS(q1 - q0) >= Beta )
117 vcge.u8 q13, q13, q8 @Q13= ( ABS(p1 - p0) >= Beta )
120 vorr q9, q9, q12 @Q9 = ( ABS(p0 - q0) >= Alpha ) | ( ABS(q1 - q0) >= Beta )
123 …vorr q9, q9, q13 @Q9 = ( ABS(p0 - q0) >= Alpha ) | ( ABS(q1 - q0) >= Beta ) | (…
289 vabd.u8 q13, q3, q2 @Q13 = ABS(p1 - p0)
291 vabd.u8 q11, q2, q0 @Q11 = ABS(p0 - q0)
[all …]
/external/llvm/test/CodeGen/SPARC/
Dobj-relocs.ll1 …9 -filetype=obj --relocation-model=static | llvm-readobj -r | FileCheck %s --check-prefix=CHECK-ABS
4 ;CHECK-ABS: Relocations [
5 ;CHECK-ABS: 0x{{[0-9,A-F]+}} R_SPARC_H44 AGlobalVar 0x0
6 ;CHECK-ABS-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_M44 AGlobalVar 0x0
7 ;CHECK-ABS-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_L44 AGlobalVar 0x0
8 ;CHECK-ABS-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_H44 .rodata.str1.1 0x0
9 ;CHECK-ABS-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_M44 .rodata.str1.1 0x0
10 ;CHECK-ABS-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_WDISP30 bar 0x0
11 ;CHECK-ABS-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_L44 .rodata.str1.1 0x0
12 ;CHECK-ABS: ]
/external/libavc/decoder/
Dih264d_compute_bs.c255 u4_bs_temp1 = ((ABS((i2_p_mv0 - i2_q_mv0)) >= 4) || in ih264d_fill_bs1_16x16mb_pslice()
256 (ABS((i2_p_mv1 - i2_q_mv1)) >= i4_ver_mvlimit)); in ih264d_fill_bs1_16x16mb_pslice()
297 ((ABS((i2_p_mv0 - i2_q_mv0)) in ih264d_fill_bs1_16x16mb_pslice()
299 | (ABS((i2_p_mv1 - i2_q_mv1)) in ih264d_fill_bs1_16x16mb_pslice()
422 ((ABS((i2_left_mv0 - i2_cur_mv0)) in ih264d_fill_bs1_non16x16mb_pslice()
424 | (ABS((i2_left_mv1 in ih264d_fill_bs1_non16x16mb_pslice()
478 ((ABS((i2_top_mv0 - i2_cur_mv0)) in ih264d_fill_bs1_non16x16mb_pslice()
480 | (ABS((i2_top_mv1 in ih264d_fill_bs1_non16x16mb_pslice()
586 ((ABS((i2_p_mv0 - i2_q_mv0)) in ih264d_fill_bs1_16x16mb_bslice()
588 | (ABS((i2_p_mv1 - i2_q_mv1)) in ih264d_fill_bs1_16x16mb_bslice()
[all …]
/external/libhevc/common/
Dihevc_deblk_edge_filter.c137 dq0 = ABS(pu1_src[2] - 2 * pu1_src[1] + pu1_src[0]); in ihevc_deblk_luma_vert()
138 dq3 = ABS(pu1_src[3 * src_strd + 2] - 2 * pu1_src[3 * src_strd + 1] in ihevc_deblk_luma_vert()
140 dp0 = ABS(pu1_src[-3] - 2 * pu1_src[-2] + pu1_src[-1]); in ihevc_deblk_luma_vert()
141 dp3 = ABS(pu1_src[3 * src_strd - 3] - 2 * pu1_src[3 * src_strd - 2] in ihevc_deblk_luma_vert()
160 && (ABS(pu1_src[3] - pu1_src[0]) + ABS(pu1_src[-1] - pu1_src[-4]) in ihevc_deblk_luma_vert()
162 && ABS(pu1_src[0] - pu1_src[-1]) < ((5 * tc + 1) >> 1)) in ihevc_deblk_luma_vert()
170 && (ABS(pu1_src[3] - pu1_src[0]) + ABS(pu1_src[-1] - pu1_src[-4]) in ihevc_deblk_luma_vert()
172 && ABS(pu1_src[0] - pu1_src[-1]) < ((5 * tc + 1) >> 1)) in ihevc_deblk_luma_vert()
240 if(ABS(delta) < 10 * tc) in ihevc_deblk_luma_vert()
374 dq0 = ABS(pu1_src[2 * src_strd] - 2 * pu1_src[1 * src_strd] + in ihevc_deblk_luma_horz()
[all …]
/external/libavc/encoder/x86/
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/armv8/
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/arm/
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/
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/libhevc/decoder/
Dihevcd_boundary_strength.c128 i4_bs = (ABS(i2_mv_x0 - i2_ngbr_mv_x0) < 4) && in ihevcd_pu_boundary_strength()
129 (ABS(i2_mv_y0 - i2_ngbr_mv_y0) < 4) && in ihevcd_pu_boundary_strength()
130 (ABS(i2_mv_x1 - i2_ngbr_mv_x1) < 4) && in ihevcd_pu_boundary_strength()
131 (ABS(i2_mv_y1 - i2_ngbr_mv_y1) < 4) ? 0 : 1; in ihevcd_pu_boundary_strength()
135 i4_bs = (ABS(i2_mv_x0 - i2_ngbr_mv_x1) < 4) && in ihevcd_pu_boundary_strength()
136 (ABS(i2_mv_y0 - i2_ngbr_mv_y1) < 4) && in ihevcd_pu_boundary_strength()
137 (ABS(i2_mv_x1 - i2_ngbr_mv_x0) < 4) && in ihevcd_pu_boundary_strength()
138 (ABS(i2_mv_y1 - i2_ngbr_mv_y0) < 4) ? 0 : 1; in ihevcd_pu_boundary_strength()
143 i4_bs = ((ABS(i2_mv_x0 - i2_ngbr_mv_x0) >= 4) || in ihevcd_pu_boundary_strength()
144 (ABS(i2_mv_y0 - i2_ngbr_mv_y0) >= 4) || in ihevcd_pu_boundary_strength()
[all …]
/external/giflib/
Dquantize.c19 #define ABS(x) ((x) > 0 ? (x) : (-(x))) macro
169 if (MaxRGBError[0] < ABS(OutputColorMap[Index].Red - RedInput[i])) in GifQuantizeBuffer()
170 MaxRGBError[0] = ABS(OutputColorMap[Index].Red - RedInput[i]); in GifQuantizeBuffer()
171 if (MaxRGBError[1] < ABS(OutputColorMap[Index].Green - GreenInput[i])) in GifQuantizeBuffer()
172 MaxRGBError[1] = ABS(OutputColorMap[Index].Green - GreenInput[i]); in GifQuantizeBuffer()
173 if (MaxRGBError[2] < ABS(OutputColorMap[Index].Blue - BlueInput[i])) in GifQuantizeBuffer()
174 MaxRGBError[2] = ABS(OutputColorMap[Index].Blue - BlueInput[i]); in GifQuantizeBuffer()
/external/llvm/test/MC/AsmParser/
Ddefsym.s19 # CHECK: 00000007 *ABS* 00000000 a
20 # CHECK: 0000000b *ABS* 00000000 b
/external/mesa3d/src/gallium/state_trackers/vega/
Dbezier.c112 double l = ABS(x4x1) + ABS(y4y1); in bezier_add_to_polygon()
115 d = ABS((x4x1)*(b->y1 - b->y2) - (y4y1)*(b->x1 - b->x2)) in bezier_add_to_polygon()
116 + ABS((x4x1)*(b->y1 - b->y3) - (y4y1)*(b->x1 - b->x3)); in bezier_add_to_polygon()
118 d = ABS(b->x1 - b->x2) + ABS(b->y1 - b->y2) + in bezier_add_to_polygon()
119 ABS(b->x1 - b->x3) + ABS(b->y1 - b->y3); in bezier_add_to_polygon()
265 if (ABS(d - o2) > max_dist_line) in good_offset()
269 l = ABS(normal[0]) + ABS(normal[1]); in good_offset()
271 d = ABS(normal[0]*(p1[1] - p2[1]) - normal[1]*(p1[0] - p2[0]) ) / l; in good_offset()
664 if (ABS(tmp_len - at_length) < error) in bezier_t_at_length()
/external/llvm/test/Object/
Dobjdump-symbol-table.test23 ELF-i386: 00000000 l df *ABS* 00000000 trivial-object-test.s
40 ELF-shared: 000012b8 l *ABS* 00000000 .hidden _GLOBAL_OFFSET_TABLE_
41 ELF-shared: 00001248 l *ABS* 00000000 .hidden _DYNAMIC
/external/mesa3d/src/mesa/swrast/
Ds_blit.c35 #define ABS(X) ((X) < 0 ? -(X) : (X)) macro
115 const GLint srcWidth = ABS(srcX1 - srcX0); in blit_nearest()
116 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_nearest()
117 const GLint srcHeight = ABS(srcY1 - srcY0); in blit_nearest()
118 const GLint dstHeight = ABS(dstY1 - dstY0); in blit_nearest()
495 const GLint srcWidth = ABS(srcX1 - srcX0); in blit_linear()
496 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_linear()
497 const GLint srcHeight = ABS(srcY1 - srcY0); in blit_linear()
498 const GLint dstHeight = ABS(dstY1 - dstY0); in blit_linear()
/external/speex/libspeex/
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] : -SHR1…
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/elfutils/tests/
Drun-readelf-s.sh184 33: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
193 42: 0000000000000000 0 FILE LOCAL DEFAULT ABS foo.c
194 43: 0000000000000000 0 FILE LOCAL DEFAULT ABS bar.c
197 46: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
200 49: 0000000000000000 0 FILE LOCAL DEFAULT ABS
/external/mesa3d/src/gallium/tests/graw/fragment-shader/
Dfrag-abs.sh11 ABS OUT[0], TEMP[0]
Dfrag-lrp.sh8 ABS TEMP[0], IN[0]
Dfrag-tempx.sh12 ABS OUT[0], TEMPX[0][1]
/external/mesa3d/src/gallium/tests/graw/vertex-shader/
Dvert-abs.sh12 ABS OUT[0], TEMP[0]

1234