Home
last modified time | relevance | path

Searched refs:abs (Results 1 – 25 of 82) sorted by relevance

1234

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
Dloopfilter_mmx.asm55 por mm1, mm2 ; abs(q3-q2)
63 por mm4, mm6 ; abs(q2-q1)
72 por mm4, mm3 ; abs(q0-q1)
85 por mm4, mm2 ; abs(p3 - p2)
94 por mm4, mm5 ; abs(p2 - p1)
104 por mm4, mm3 ; abs(p1 - p0)
113 por mm2, mm3 ; abs(p1-q1)
115 psrlw mm2, 1 ; abs(p1-q1)/2
121 por mm5, mm3 ; abs(p0 - q0)
122 paddusb mm5, mm5 ; abs(p0-q0)*2
[all …]
Dloopfilter_sse2.asm63 por xmm4, xmm6 ; abs(q2-q1)
64 por xmm1, xmm2 ; abs(q3-q2)
72 por xmm5, xmm3 ; abs(q0-q1)
101 pmaxub xmm1, xmm4 ; abs(p3 - p2)
104 pmaxub xmm1, xmm2 ; abs(p3 - p2)
106 pmaxub xmm1, xmm5 ; abs(p2 - p1)
109 pmaxub xmm1, xmm3 ; abs(p2 - p1)
124 por xmm6, xmm4 ; abs(p1 - p0)
136 por xmm2, xmm3 ; abs(p1-q1)
145 psrlw xmm2, 1 ; abs(p1-q1)/2
[all …]
Dloopfilter_block_sse2.asm22 por %1, scratch1 ; abs(v2 - v1)
27 LF_ABS %1, %2 ; abs(p3 - p2)
28 LF_ABS %2, %3 ; abs(p2 - p1)
32 LF_ABS scratch2, %4 ; abs(p1 - p0)
34 LF_ABS %4, %5 ; abs(p0 - q0)
35 LF_ABS %5, %6 ; abs(q0 - q1)
43 LF_ABS %3, %6 ; abs(p1 - q1)
44 LF_ABS %6, %7 ; abs(q1 - q2)
46 LF_ABS %7, %8 ; abs(q2 - q3)
49 paddusb %4, %4 ; 2 * abs(p0 - q0)
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/
Dvp9_mb_lpf_neon.asm312 vabd.u8 d19, d4, d5 ; abs(p3 - p2)
313 vabd.u8 d20, d5, d6 ; abs(p2 - p1)
314 vabd.u8 d21, d6, d7 ; abs(p1 - p0)
315 vabd.u8 d22, d9, d8 ; abs(q1 - q0)
316 vabd.u8 d23, d10, d9 ; abs(q2 - q1)
317 vabd.u8 d24, d11, d10 ; abs(q3 - q2)
320 vmax.u8 d19, d19, d20 ; max(abs(p3 - p2), abs(p2 - p1))
321 vmax.u8 d20, d21, d22 ; max(abs(p1 - p0), abs(q1 - q0))
322 vmax.u8 d23, d23, d24 ; max(abs(q2 - q1), abs(q3 - q2))
325 vabd.u8 d24, d7, d8 ; abs(p0 - q0)
[all …]
Dvp9_loopfilter_16_neon.asm107 vabd.u8 q11, q3, q4 ; m1 = abs(p3 - p2)
108 vabd.u8 q12, q4, q5 ; m2 = abs(p2 - p1)
109 vabd.u8 q13, q5, q6 ; m3 = abs(p1 - p0)
110 vabd.u8 q14, q8, q7 ; m4 = abs(q1 - q0)
111 vabd.u8 q3, q9, q8 ; m5 = abs(q2 - q1)
112 vabd.u8 q4, q10, q9 ; m6 = abs(q3 - q2)
118 vabd.u8 q9, q6, q7 ; abs(p0 - q0)
126 vcgt.u8 q13, q13, q2 ; (abs(p1 - p0) > thresh)*-1
127 vcgt.u8 q14, q14, q2 ; (abs(q1 - q0) > thresh)*-1
130 vabd.u8 q2, q5, q8 ; a = abs(p1 - q1)
[all …]
Dvp9_loopfilter_neon.asm189 vabd.u8 d19, d3, d4 ; m1 = abs(p3 - p2)
190 vabd.u8 d20, d4, d5 ; m2 = abs(p2 - p1)
191 vabd.u8 d21, d5, d6 ; m3 = abs(p1 - p0)
192 vabd.u8 d22, d16, d7 ; m4 = abs(q1 - q0)
193 vabd.u8 d3, d17, d16 ; m5 = abs(q2 - q1)
194 vabd.u8 d4, d18, d17 ; m6 = abs(q3 - q2)
200 vabd.u8 d17, d6, d7 ; abs(p0 - q0)
209 vcgt.u8 d21, d21, d2 ; (abs(p1 - p0) > thresh)*-1
210 vcgt.u8 d22, d22, d2 ; (abs(q1 - q0) > thresh)*-1
213 vabd.u8 d28, d5, d16 ; a = abs(p1 - q1)
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/
Dvp9_loopfilter_mmx.asm55 por mm1, mm2 ; abs(q3-q2)
63 por mm4, mm6 ; abs(q2-q1)
72 por mm4, mm3 ; abs(q0-q1)
85 por mm4, mm2 ; abs(p3 - p2)
94 por mm4, mm5 ; abs(p2 - p1)
104 por mm4, mm3 ; abs(p1 - p0)
113 por mm2, mm3 ; abs(p1-q1)
115 psrlw mm2, 1 ; abs(p1-q1)/2
121 por mm5, mm3 ; abs(p0 - q0)
122 paddusb mm5, mm5 ; abs(p0-q0)*2
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dset_roi.cc84 const int transq = internalq_trans[abs(delta_q[i])]; in TEST()
85 if (abs(cpi.segment_feature_data[MB_LVL_ALT_Q][i]) != transq) { in TEST()
131 deltas_valid = ((abs(rand_deltas[0]) <= 63) && in TEST()
132 (abs(rand_deltas[1]) <= 63) && in TEST()
133 (abs(rand_deltas[2]) <= 63) && in TEST()
134 (abs(rand_deltas[3]) <= 63)) ? 0 : -1; in TEST()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/
Dloopfiltersimplehorizontaledge_neon.asm33 vabd.u8 q15, q6, q7 ; abs(p0 - q0)
34 vabd.u8 q14, q5, q8 ; abs(p1 - q1)
36 vqadd.u8 q15, q15, q15 ; abs(p0 - q0) * 2
37 vshr.u8 q14, q14, #1 ; abs(p1 - q1) / 2
40 vqadd.u8 q15, q15, q14 ; abs(p0 - q0) * 2 + abs(p1 - q1) / 2
47 vcge.u8 q15, q1, q15 ; (abs(p0 - q0)*2 + abs(p1-q1)/2 > limit)*-1
Dloopfiltersimpleverticaledge_neon.asm53 vabd.u8 q15, q5, q4 ; abs(p0 - q0)
54 vabd.u8 q14, q3, q6 ; abs(p1 - q1)
56 vqadd.u8 q15, q15, q15 ; abs(p0 - q0) * 2
57 vshr.u8 q14, q14, #1 ; abs(p1 - q1) / 2
60 vqadd.u8 q15, q15, q14 ; abs(p0 - q0) * 2 + abs(p1 - q1) / 2
67 vcge.u8 q15, q1, q15 ; abs(p0 - q0)*2 + abs(p1-q1)/2 > flimit*2 + limit)*-1
Dloopfilter_neon.asm306 vabd.u8 q11, q3, q4 ; abs(p3 - p2)
307 vabd.u8 q12, q4, q5 ; abs(p2 - p1)
308 vabd.u8 q13, q5, q6 ; abs(p1 - p0)
309 vabd.u8 q14, q8, q7 ; abs(q1 - q0)
310 vabd.u8 q3, q9, q8 ; abs(q2 - q1)
311 vabd.u8 q4, q10, q9 ; abs(q3 - q2)
318 vabd.u8 q9, q6, q7 ; abs(p0 - q0)
321 vcgt.u8 q13, q13, q2 ; (abs(p1 - p0) > thresh)*-1
322 vcgt.u8 q14, q14, q2 ; (abs(q1 - q0) > thresh)*-1
327 vabd.u8 q2, q5, q8 ; a = abs(p1 - q1)
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dloopfilter_filters.c32 mask |= (abs(p3 - p2) > limit); in vp8_filter_mask()
33 mask |= (abs(p2 - p1) > limit); in vp8_filter_mask()
34 mask |= (abs(p1 - p0) > limit); in vp8_filter_mask()
35 mask |= (abs(q1 - q0) > limit); in vp8_filter_mask()
36 mask |= (abs(q2 - q1) > limit); in vp8_filter_mask()
37 mask |= (abs(q3 - q2) > limit); in vp8_filter_mask()
38 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > blimit); in vp8_filter_mask()
46 hev |= (abs(p1 - p0) > thresh) * -1; in vp8_hevmask()
47 hev |= (abs(q1 - q0) > thresh) * -1; in vp8_hevmask()
288 signed char mask = (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 <= blimit) * -1; in vp8_simple_filter_mask()
Dtextblit.c63 int steep = abs(y1 - y0) > abs(x1 - x0); in vp8_blit_line()
92 deltay = abs(y1 - y0); in vp8_blit_line()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_loopfilter_filters.c27 mask |= (abs(p3 - p2) > limit) * -1; in filter_mask()
28 mask |= (abs(p2 - p1) > limit) * -1; in filter_mask()
29 mask |= (abs(p1 - p0) > limit) * -1; in filter_mask()
30 mask |= (abs(q1 - q0) > limit) * -1; in filter_mask()
31 mask |= (abs(q2 - q1) > limit) * -1; in filter_mask()
32 mask |= (abs(q3 - q2) > limit) * -1; in filter_mask()
33 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > blimit) * -1; in filter_mask()
43 mask |= (abs(p1 - p0) > thresh) * -1; in flat_mask4()
44 mask |= (abs(q1 - q0) > thresh) * -1; in flat_mask4()
45 mask |= (abs(p2 - p0) > thresh) * -1; in flat_mask4()
[all …]
Dvp9_textblit.c62 int steep = abs(y1 - y0) > abs(x1 - x0); in vp9_blit_line()
89 deltay = abs(y1 - y0); in vp9_blit_line()
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dgroverotary.py33 abs = knob.abs_value() variable
41 print "Abs values: %4d" % int(abs) , " raw %4d" % int(absdeg), "deg = %5.2f" % absrad , " rad ",
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgroverotary.js35 var abs = groveRotary.abs_value();
44 console.log("Abs: " + abs + " " + Math.round(parseInt(absdeg)) + " " + absrad.toFixed(3));
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXExif.cpp381 exifTags->ulGpsLatitude[0] = abs(mEXIFData.mGPSData.mLatDeg); in setupEXIF()
382 exifTags->ulGpsLatitude[2] = abs(mEXIFData.mGPSData.mLatMin); in setupEXIF()
383 exifTags->ulGpsLatitude[4] = abs(mEXIFData.mGPSData.mLatSec); in setupEXIF()
386 exifTags->ulGpsLatitude[5] = abs(mEXIFData.mGPSData.mLatSecDiv); in setupEXIF()
401 exifTags->ulGpsLongitude[0] = abs(mEXIFData.mGPSData.mLongDeg); in setupEXIF()
402 exifTags->ulGpsLongitude[2] = abs(mEXIFData.mGPSData.mLongMin); in setupEXIF()
403 exifTags->ulGpsLongitude[4] = abs(mEXIFData.mGPSData.mLongSec); in setupEXIF()
406 exifTags->ulGpsLongitude[5] = abs(mEXIFData.mGPSData.mLongSecDiv); in setupEXIF()
580 abs(mEXIFData.mGPSData.mLatDeg), 1, in setupEXIF_libjpeg()
581 abs(mEXIFData.mGPSData.mLatMin), 1, in setupEXIF_libjpeg()
[all …]
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXExif.cpp379 exifTags->ulGpsLatitude[0] = abs(mEXIFData.mGPSData.mLatDeg); in setupEXIF()
380 exifTags->ulGpsLatitude[2] = abs(mEXIFData.mGPSData.mLatMin); in setupEXIF()
381 exifTags->ulGpsLatitude[4] = abs(mEXIFData.mGPSData.mLatSec); in setupEXIF()
384 exifTags->ulGpsLatitude[5] = abs(mEXIFData.mGPSData.mLatSecDiv); in setupEXIF()
399 exifTags->ulGpsLongitude[0] = abs(mEXIFData.mGPSData.mLongDeg); in setupEXIF()
400 exifTags->ulGpsLongitude[2] = abs(mEXIFData.mGPSData.mLongMin); in setupEXIF()
401 exifTags->ulGpsLongitude[4] = abs(mEXIFData.mGPSData.mLongSec); in setupEXIF()
404 exifTags->ulGpsLongitude[5] = abs(mEXIFData.mGPSData.mLongSecDiv); in setupEXIF()
578 abs(mEXIFData.mGPSData.mLatDeg), 1, in setupEXIF_libjpeg()
579 abs(mEXIFData.mGPSData.mLatMin), 1, in setupEXIF_libjpeg()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dencodemv.c73 if (abs(mv->row >> 1) > max_mv_r) in vp8_encode_motion_vector()
76 max_mv_r = abs(mv->row >> 1); in vp8_encode_motion_vector()
79 if ((abs(mv->row) / 2) != max_mv_r) in vp8_encode_motion_vector()
80 fprintf(f, "MV Row conversion error %6d\n", abs(mv->row) / 2); in vp8_encode_motion_vector()
85 if (abs(mv->col >> 1) > max_mv_c) in vp8_encode_motion_vector()
89 max_mv_c = abs(mv->col >> 1); in vp8_encode_motion_vector()
Dmr_dissim.c194 mmvx = MAX(abs(min_mvx - here->mbmi.mv.as_mv.row), in vp8_cal_dissimilarity()
195 abs(max_mvx - here->mbmi.mv.as_mv.row)); in vp8_cal_dissimilarity()
196 mmvy = MAX(abs(min_mvy - here->mbmi.mv.as_mv.col), in vp8_cal_dissimilarity()
197 abs(max_mvy - here->mbmi.mv.as_mv.col)); in vp8_cal_dissimilarity()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/
Dloopfilter_v6.asm95 orr r6, r6, r7 ; abs (p3-p2)
96 orr r8, r8, r10 ; abs (p2-p1)
104 orr r6, r6, r7 ; abs (p1-p0)
113 orr r6, r6, r7 ; abs (p1-q1)
115 orr r12, r11, r12 ; abs (p0-q0)
117 uqadd8 r12, r12, r12 ; abs (p0-q0) * 2
118 and r6, r7, r6, lsr #1 ; abs (p1-q1) / 2
120 uqadd8 r12, r12, r6 ; abs (p0-q0)*2 + abs (p1-q1)/2
129 orr r6, r7, r6 ; abs (q1-q0)
130 orr r10, r9, r10 ; abs (q2-q1)
[all …]
Dsimpleloopfilter_v6.asm183 orr r7, r7, r8 ; abs(p1 - q1)
184 orr r9, r9, r10 ; abs(p0 - q0)
186 uqadd8 r9, r9, r9 ; abs(p0 - q0) * 2
187 uhadd8 r7, r7, r8 ; abs(p1 - q1) / 2
188 uqadd8 r7, r7, r9 ; abs(p0 - q0)*2 + abs(p1 - q1)/2
/hardware/ti/omap4-aah/libtiutils/
DUtilsCommon.h52 T abs(const T & x);
87 inline T abs(const T & x) { in abs() function
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/neon/
Dfastquantizeb_neon.asm37 vabs.s16 q4, q0 ; calculate x = abs(z)
54 vqdmulh.s16 q4, q8 ; y = ((Round+abs(z)) * Quant) >> 16
57 vabs.s16 q10, q0 ; calculate x2 = abs(z_2)
71 vqdmulh.s16 q10, q8 ; y2 = ((Round+abs(z)) * Quant) >> 16
170 vabs.s16 q12, q0 ; calculate x = abs(z)
186 vqdmulh.s16 q12, q8 ; y = ((Round+abs(z)) * Quant) >> 16

1234