Home
last modified time | relevance | path

Searched refs:x1 (Results 1 – 25 of 39) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/
Dquantize_sse2.c44 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1; in vp8_regular_quantize_b_sse2() local
71 x1 = _mm_xor_si128(z1, sz1); in vp8_regular_quantize_b_sse2()
73 x1 = _mm_sub_epi16(x1, sz1); in vp8_regular_quantize_b_sse2()
83 x_minus_zbin1 = _mm_sub_epi16(x1, zbin1); in vp8_regular_quantize_b_sse2()
91 x1 = _mm_add_epi16(x1, round1); in vp8_regular_quantize_b_sse2()
94 y1 = _mm_mulhi_epi16(x1, quant1); in vp8_regular_quantize_b_sse2()
97 y1 = _mm_add_epi16(y1, x1); in vp8_regular_quantize_b_sse2()
159 __m128i sz0, sz1, x0, x1, y0, y1, xdq0, xdq1, zeros, ones; in vp8_fast_quantize_b_sse2() local
167 x1 = _mm_xor_si128(z1, sz1); in vp8_fast_quantize_b_sse2()
169 x1 = _mm_sub_epi16(x1, sz1); in vp8_fast_quantize_b_sse2()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_textblit.c60 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, in vp9_blit_line() argument
62 int steep = abs(y1 - y0) > abs(x1 - x0); in vp9_blit_line()
72 t = x1; in vp9_blit_line()
73 x1 = y1; in vp9_blit_line()
77 if (x0 > x1) { in vp9_blit_line()
80 x0 = x1; in vp9_blit_line()
81 x1 = t; in vp9_blit_line()
88 deltax = x1 - x0; in vp9_blit_line()
100 for (x = x0; x <= x1; x++) { in vp9_blit_line()
110 for (x = x0; x <= x1; x++) { in vp9_blit_line()
Dvp9_postproc.c569 static void constrain_line(int x0, int *x1, int y0, int *y1, in constrain_line() argument
574 if (*x1 > width) { in constrain_line()
575 dx = *x1 - x0; in constrain_line()
578 *x1 = width; in constrain_line()
582 if (*x1 < 0) { in constrain_line()
583 dx = *x1 - x0; in constrain_line()
586 *x1 = 0; in constrain_line()
591 dx = *x1 - x0; in constrain_line()
596 *x1 = ((height - y0) * dx) / dy + x0; in constrain_line()
599 dx = *x1 - x0; in constrain_line()
[all …]
Dvp9_tapify.py14 x1,y1 = p1
16 if x1==x2 and y1==y2 :
18 return 1/ math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))
Dvp9_idct.c245 int x1 = input[1]; in iadst4() local
249 if (!(x0 | x1 | x2 | x3)) { in iadst4()
256 s2 = sinpi_3_9 * x1; in iadst4()
264 x1 = s1 - s4 - s6; in iadst4()
269 s1 = x1 + x3; in iadst4()
271 s3 = x0 + x1 - x3; in iadst4()
318 int x1 = input[0]; in iadst8() local
326 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7)) { in iadst8()
333 s0 = cospi_2_64 * x0 + cospi_30_64 * x1; in iadst8()
334 s1 = cospi_30_64 * x0 - cospi_2_64 * x1; in iadst8()
[all …]
Dvp9_textblit.h20 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image,
Dvp9_reconinter.c351 int x1 = ((x0_16 + (w - 1) * xs) >> SUBPEL_BITS) + 1; in dec_build_inter_predictors() local
357 x1 += VP9_INTERP_EXTEND; in dec_build_inter_predictors()
368 if (x0 < 0 || x0 > frame_width - 1 || x1 < 0 || x1 > frame_width || in dec_build_inter_predictors()
372 build_mc_border(buf_ptr1, pre_buf->stride, xd->mc_buf, x1 - x0 + 1, in dec_build_inter_predictors()
373 x0, y0, x1 - x0 + 1, y1 - y0 + 1, frame_width, in dec_build_inter_predictors()
375 buf_stride = x1 - x0 + 1; in dec_build_inter_predictors()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dtextblit.c61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) in vp8_blit_line() argument
63 int steep = abs(y1 - y0) > abs(x1 - x0); in vp8_blit_line()
74 t = x1; in vp8_blit_line()
75 x1 = y1; in vp8_blit_line()
79 if (x0 > x1) in vp8_blit_line()
83 x0 = x1; in vp8_blit_line()
84 x1 = t; in vp8_blit_line()
91 deltax = x1 - x0; in vp8_blit_line()
104 for (x = x0; x <= x1; x++) in vp8_blit_line()
118 for (x = x0; x <= x1; x++) in vp8_blit_line()
Dpostproc.c123 extern void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch);
940 int x1, y1; in vp8_post_proc_frame() local
957 x1 = x0 + 8 + (mv->col >> 3); in vp8_post_proc_frame()
960 constrain_line (x0+8, &x1, y0+4, &y1, width, height); in vp8_post_proc_frame()
961 vp8_blit_line (x0+8, x1, y0+4, y1, y_buffer, y_stride); in vp8_post_proc_frame()
965 x1 = x0 + 8 + (mv->col >> 3); in vp8_post_proc_frame()
968 constrain_line (x0+8, &x1, y0+12, &y1, width, height); in vp8_post_proc_frame()
969 vp8_blit_line (x0+8, x1, y0+12, y1, y_buffer, y_stride); in vp8_post_proc_frame()
978 x1 = x0 + 4 + (mv->col >> 3); in vp8_post_proc_frame()
981 constrain_line (x0+4, &x1, y0+8, &y1, width, height); in vp8_post_proc_frame()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/lcd/
Deboled.cxx262 void EBOLED::drawLine(int8_t x0, int8_t y0, int8_t x1, int8_t y1, uint8_t color) in drawLine() argument
264 int16_t steep = abs(y1 - y0) > abs(x1 - x0); in drawLine()
268 swap(x1, y1); in drawLine()
271 if (x0 > x1) { in drawLine()
272 swap(x0, x1); in drawLine()
277 dx = x1 - x0; in drawLine()
289 for (; x0 <= x1; x0++) { in drawLine()
346 void EBOLED::drawTriangle(int8_t x0, int8_t y0, int8_t x1, int8_t y1, int8_t x2, int8_t y2, uint8_t… in drawTriangle() argument
348 drawLine(x0, y0, x1, y1, color); in drawTriangle()
349 drawLine(x1, y1, x2, y2, color); in drawTriangle()
[all …]
Deboled.h227 void drawLine (int8_t x0, int8_t y0, int8_t x1, int8_t y1, uint8_t color = COLOR_WHITE);
294 …void drawTriangle (int8_t x0, int8_t y0, int8_t x1, int8_t y1, int8_t x2, int8_t y2, uint8_t color…
307 …void drawTriangleFilled ( int8_t x0, int8_t y0, int8_t x1, int8_t y1, int8_t x2, int8_t y2, uint8_…
/hardware/bsp/intel/peripheral/libupm/src/st7735/
Dgfx.cxx74 GFX::drawLine (int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color) { in drawLine() argument
75 int16_t steep = abs(y1 - y0) > abs(x1 - x0); in drawLine()
79 swap(x1, y1); in drawLine()
82 if (x0 > x1) { in drawLine()
83 swap(x0, x1); in drawLine()
88 dx = x1 - x0; in drawLine()
100 for (; x0 <= x1; x0++) { in drawLine()
115 GFX::drawTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t … in drawTriangle() argument
116 drawLine(x0, y0, x1, y1, color); in drawTriangle()
117 drawLine(x1, y1, x2, y2, color); in drawTriangle()
Dgfx.h67 virtual void setAddrWindow (uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1) = 0;
149 void drawLine (int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color);
162 …void drawTriangle (int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_…
Dst7735.cxx120 ST7735::setAddrWindow(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1) { in setAddrWindow() argument
130 m_spiBuffer[3] = x1 + colstart; // XEND in setAddrWindow()
Dst7735.h580 void setAddrWindow (uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_dct.c112 int x0, x1, x2, x3; in fadst4() local
116 x1 = input[1]; in fadst4()
120 if (!(x0 | x1 | x2 | x3)) { in fadst4()
127 s2 = sinpi_2_9 * x1; in fadst4()
128 s3 = sinpi_1_9 * x1; in fadst4()
132 s7 = x0 + x1 - x3; in fadst4()
135 x1 = sinpi_3_9 * s7; in fadst4()
140 s1 = x1; in fadst4()
194 /*canbe16*/ int x0, x1, x2, x3; in fdct8() local
208 x1 = s1 + s2; in fdct8()
[all …]
Dvp9_resize.c236 int x, x1, x2, sum, k, int_pel, sub_pel; in interpolate() local
248 x1 = x; in interpolate()
257 if (x1 > x2) { in interpolate()
273 for (x = 0, y = offset; x < x1; ++x, y += delta) { in interpolate()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/
Dvp9_itrans4_dspr2.c324 int x0, x1, x2, x3; in iadst4_dspr2() local
327 x1 = input[1]; in iadst4_dspr2()
331 if (!(x0 | x1 | x2 | x3)) { in iadst4_dspr2()
338 s2 = sinpi_3_9 * x1; in iadst4_dspr2()
346 x1 = s1 - s4 - s6; in iadst4_dspr2()
351 s1 = x1 + x3; in iadst4_dspr2()
353 s3 = x0 + x1 - x3; in iadst4_dspr2()
Dvp9_itrans8_dspr2.c473 int x0, x1, x2, x3, x4, x5, x6, x7; in iadst8_dspr2() local
476 x1 = input[0]; in iadst8_dspr2()
484 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7)) { in iadst8_dspr2()
491 s0 = cospi_2_64 * x0 + cospi_30_64 * x1; in iadst8_dspr2()
492 s1 = cospi_30_64 * x0 - cospi_2_64 * x1; in iadst8_dspr2()
501 x1 = ROUND_POWER_OF_TWO((s1 + s5), DCT_CONST_BITS); in iadst8_dspr2()
511 s1 = x1; in iadst8_dspr2()
520 x1 = s1 + s3; in iadst8_dspr2()
546 output[7] = -x1; in iadst8_dspr2()
Dvp9_itrans16_dspr2.c918 int x1 = input[0]; in iadst16() local
934 if (!(x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 in iadst16()
944 s0 = x0 * cospi_1_64 + x1 * cospi_31_64; in iadst16()
945 s1 = x0 * cospi_31_64 - x1 * cospi_1_64; in iadst16()
962 x1 = dct_const_round_shift(s1 + s9); in iadst16()
980 s1 = x1; in iadst16()
997 x1 = s1 + s5; in iadst16()
1015 s1 = x1; in iadst16()
1032 x1 = s1 + s3; in iadst16()
1082 output[15] = -x1; in iadst16()
/hardware/intel/img/psb_video/src/
Dpsb_overlay.c414 …int dstPitch, int srcPitch, int __maybe_unused x1, int __maybe_unused y1, int __maybe_unused x2, i… in i830_display_video() argument
480 tmp = dstBox->x1; in i830_display_video()
481 dstBox->x1 = dstBox->y1; in i830_display_video()
494 tmp = dstBox->x1; in i830_display_video()
495 dstBox->x1 = pPriv->width_save - dstBox->x2; in i830_display_video()
502 tmp = dstBox->x1; in i830_display_video()
503 dstBox->x1 = pPriv->width_save - dstBox->y1; in i830_display_video()
508 tmp = dstBox->x1; in i830_display_video()
509 dstBox->x1 = dstBox->x2; in i830_display_video()
571 overlay->DWINPOS = (dstBox->y1 << 16) | dstBox->x1; in i830_display_video()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/
Dvp9_iht4x4_add_neon.asm61 vmull.s16 q12, d6, d17 ; s2 = sinpi_3_9 * x1
72 vsub.s32 q11, q11, q14 ; x1 = s1 - s4 - s6
78 vadd.s32 q10, q10, q11 ; x0 + x1
79 vadd.s32 q14, q11, q12 ; s1 = x1 + x3
80 vsub.s32 q10, q10, q12 ; s3 = x0 + x1 - x3
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/
Dvp8_fast_quantize_b_armv6.asm50 sadd16 r9, r9, r10 ; [x1+r1 | x0+r0]
55 smultt r9, r9, r11 ; [(x1+r1)*q1]
91 smultt r0, r0, r9 ; [x1*dq1]
98 strh r0, [r7, #2] ; dqcoeff[1] = [x1*dq1]
/hardware/ti/omap4-aah/security/tf_daemon/
Dlib_manifest2.c118 uint8_t x1 = pName1[i]; in static_sectionNameEqualCaseInsensitive() local
123 if ((x1 & ~0x20) != (x2 & ~0x20)) in static_sectionNameEqualCaseInsensitive()
/hardware/ti/omap4xxx/security/tf_daemon/
Dlib_manifest2.c118 uint8_t x1 = pName1[i]; in static_sectionNameEqualCaseInsensitive() local
123 if ((x1 & ~0x20) != (x2 & ~0x20)) in static_sectionNameEqualCaseInsensitive()

12