Home
last modified time | relevance | path

Searched refs:y0 (Results 1 – 18 of 18) sorted by relevance

/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()
267 swap(x0, y0); in drawLine()
273 swap(y0, y1); in drawLine()
278 dy = abs (y1 - y0); in drawLine()
283 if (y0 < y1) { in drawLine()
291 drawPixel(y0, x0, color); in drawLine()
293 drawPixel(x0, y0, color); in drawLine()
297 y0 += ystep; 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
[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_…
317 void drawCircle (int16_t x0, int16_t y0, int16_t radius, uint8_t color = COLOR_WHITE);
328 void drawRoundCorners( int8_t x0, int8_t y0, int16_t radius, uint8_t cornername, uint8_t color);
338 void drawCircleFilled(int8_t x0, int8_t y0, int16_t radius, uint8_t color);
349 …void drawRoundedCornersFilled(int8_t x0, int8_t y0, int16_t radius, uint8_t cornername, int16_t de…
/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()
78 swap(x0, y0); in drawLine()
84 swap(y0, y1); in drawLine()
89 dy = abs (y1 - y0); in drawLine()
94 if (y0 < y1) { in drawLine()
102 setPixel(y0, x0, color); in drawLine()
104 setPixel(x0, y0, color); in drawLine()
108 y0 += ystep; 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
[all …]
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
137 m_spiBuffer[1] = y0 + rowstart; // YSTART 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/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
93 y0 = _mm_mulhi_epi16(x0, quant0); in vp8_regular_quantize_b_sse2()
96 y0 = _mm_add_epi16(y0, x0); in vp8_regular_quantize_b_sse2()
101 y0 = _mm_mulhi_epi16(y0, quant_shift0); in vp8_regular_quantize_b_sse2()
105 y0 = _mm_xor_si128(y0, sz0); in vp8_regular_quantize_b_sse2()
107 y0 = _mm_sub_epi16(y0, sz0); in vp8_regular_quantize_b_sse2()
110 _mm_store_si128((__m128i *)(y), y0); in vp8_regular_quantize_b_sse2()
133 y0 = _mm_load_si128((__m128i *)(d->qcoeff)); in vp8_regular_quantize_b_sse2()
137 y0 = _mm_mullo_epi16(y0, dequant0); in vp8_regular_quantize_b_sse2()
140 _mm_store_si128((__m128i *)(d->dqcoeff), y0); in vp8_regular_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()
69 x0 = y0; in vp9_blit_line()
70 y0 = t; in vp9_blit_line()
83 t = y0; in vp9_blit_line()
84 y0 = y1; in vp9_blit_line()
89 deltay = abs(y1 - y0); in vp9_blit_line()
92 y = y0; in vp9_blit_line()
94 if (y0 < y1) in vp9_blit_line()
Dvp9_postproc.c569 static void constrain_line(int x0, int *x1, int y0, int *y1, in constrain_line() argument
576 dy = *y1 - y0; in constrain_line()
580 *y1 = ((width - x0) * dy) / dx + y0; in constrain_line()
584 dy = *y1 - y0; in constrain_line()
588 *y1 = ((0 - x0) * dy) / dx + y0; in constrain_line()
592 dy = *y1 - y0; in constrain_line()
596 *x1 = ((height - y0) * dx) / dy + x0; in constrain_line()
600 dy = *y1 - y0; in constrain_line()
604 *x1 = ((0 - y0) * dx) / dy + x0; in constrain_line()
735 int x0, y0; in vp9_post_proc_frame()
[all …]
Dvp9_reconinter.c281 int xs, ys, x0, y0, x0_16, y0_16, frame_width, frame_height, buf_stride, in dec_build_inter_predictors() local
313 y0 = sf->scale_value_y(y_start + y, sf); in dec_build_inter_predictors()
323 y0 = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y)) + y; in dec_build_inter_predictors()
327 y0_16 = y0 << SUBPEL_BITS; in dec_build_inter_predictors()
338 y0 += scaled_mv.row >> SUBPEL_BITS; in dec_build_inter_predictors()
343 buf_ptr = ref_frame + y0 * pre_buf->stride + x0; in dec_build_inter_predictors()
362 y0 -= VP9_INTERP_EXTEND - 1; in dec_build_inter_predictors()
369 y0 < 0 || y0 > frame_height - 1 || y1 < 0 || y1 > frame_height - 1) { in dec_build_inter_predictors()
370 uint8_t *buf_ptr1 = ref_frame + y0 * pre_buf->stride + x0; in dec_build_inter_predictors()
373 x0, y0, x1 - x0 + 1, y1 - y0 + 1, frame_width, in dec_build_inter_predictors()
Dvp9_textblit.h20 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image,
Dvp9_reconintra.c327 int x0, y0; in build_intra_predictors() local
350 y0 = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y)) + y; in build_intra_predictors()
358 if (y0 + bs <= frame_height) { in build_intra_predictors()
362 const int extend_bottom = frame_height - y0; in build_intra_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()
71 x0 = y0; in vp8_blit_line()
72 y0 = t; in vp8_blit_line()
86 t = y0; in vp8_blit_line()
87 y0 = y1; in vp8_blit_line()
92 deltay = abs(y1 - y0); in vp8_blit_line()
95 y = y0; in vp8_blit_line()
97 if (y0 < y1) 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);
934 int x0, y0; in vp8_post_proc_frame() local
936 for (y0 = 0; y0 < height; y0 += 16) in vp8_post_proc_frame()
958 y1 = y0 + 4 + (mv->row >> 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()
966 y1 = y0 +12 + (mv->row >> 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()
979 y1 = y0 + 8 + (mv->row >> 3); in vp8_post_proc_frame()
[all …]
/hardware/ti/omap4-aah/camera/
DEncoder_libjpeg.cpp109 uint8_t y0 = y[0]; in nv21_to_yuv() local
112 dst[0] = y0; in nv21_to_yuv()
134 uint8_t y0 = (src[0] >> 8) & 0xFF; in uyvy_to_yuv() local
137 dst[0] = y0; in uyvy_to_yuv()
188 uint8_t y0 = (src[0] >> 0) & 0xFF; in yuyv_to_yuv() local
192 dst[0] = y0; in yuyv_to_yuv()
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp109 uint8_t y0 = y[0]; in nv21_to_yuv() local
112 dst[0] = y0; in nv21_to_yuv()
134 uint8_t y0 = (src[0] >> 8) & 0xFF; in uyvy_to_yuv() local
137 dst[0] = y0; in uyvy_to_yuv()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/
Dvp8_fast_quantize_b_armv6.asm61 pkhtb r0, r9, r0, asr #16 ; [y1 | y0]
67 eor r0, r0, lr ; [(y1 ^ sz1) | (y0 ^ sz0)]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_dct_sse2.c196 const __m128i y0 = _mm_unpacklo_epi16(x0, x1); in vp9_fdct4x4_sse2() local
200 in0 = _mm_unpacklo_epi32(y0, y1); in vp9_fdct4x4_sse2()
202 in1 = _mm_unpackhi_epi32(y0, y1); in vp9_fdct4x4_sse2()