| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tiny/ |
| H A D | repaper.c | 207 u8 pixels = data[b] & 0xaa; in repaper_even_pixels() local 212 pixel_mask = (mask[b] ^ pixels) & 0xaa; in repaper_even_pixels() 218 pixels = 0xaa | ((pixels ^ 0xaa) >> 1); in repaper_even_pixels() 221 pixels = 0x55 + ((pixels ^ 0xaa) >> 1); in repaper_even_pixels() 224 pixels = 0x55 | (pixels ^ 0xaa); in repaper_even_pixels() 227 pixels = 0xaa | (pixels >> 1); in repaper_even_pixels() 231 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x55); in repaper_even_pixels() 232 p1 = (pixels >> 6) & 0x03; in repaper_even_pixels() 233 p2 = (pixels >> 4) & 0x03; in repaper_even_pixels() 234 p3 = (pixels >> 2) & 0x03; in repaper_even_pixels() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/utils/ |
| H A D | drawing.cpp | 7 void draw_rectangle_c1(unsigned char* pixels, int w, int h, int stride, int rx, int ry, int rw, int… in draw_rectangle_c1() argument 22 unsigned char* p = pixels + stride * y; in draw_rectangle_c1() 52 unsigned char* p = pixels + stride * y; in draw_rectangle_c1() 77 unsigned char* p = pixels + stride * y; in draw_rectangle_c1() 109 unsigned char* p = pixels + stride * y; in draw_rectangle_c1() 132 unsigned char* p = pixels + stride * y; in draw_rectangle_c1() 139 void draw_rectangle_c2(unsigned char* pixels, int w, int h, int stride, int rx, int ry, int rw, int… in draw_rectangle_c2() argument 154 unsigned char* p = pixels + stride * y; in draw_rectangle_c2() 185 unsigned char* p = pixels + stride * y; in draw_rectangle_c2() 211 unsigned char* p = pixels + stride * y; in draw_rectangle_c2() [all …]
|
| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | miindex.c | 44 miBuildRenderColormap(ColormapPtr pColormap, Pixel * pixels, int *nump) in miBuildRenderColormap() argument 165 pixels[n++] = i; in miBuildRenderColormap() 174 FindBestColor(miIndexedPtr pIndexed, Pixel * pixels, int num, in FindBestColor() argument 177 Pixel best = pixels[0]; in FindBestColor() 183 Pixel pixel = *pixels++; in FindBestColor() 203 FindBestGray(miIndexedPtr pIndexed, Pixel * pixels, int num, int gray) in FindBestGray() argument 205 Pixel best = pixels[0]; in FindBestGray() 212 Pixel pixel = *pixels++; in FindBestGray() 233 Pixel pixels[MI_MAX_INDEXED]; in miInitIndexed() local 243 if (!miBuildRenderColormap(pColormap, pixels, &num)) in miInitIndexed() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | c2p_iplan2.c | 89 u8 pixels[16]; in c2p_iplan2() member 109 memset(d.pixels, 0, sizeof(d)); in c2p_iplan2() 110 memcpy(d.pixels+dst_idx, c, width); in c2p_iplan2() 121 memset(d.pixels, 0, dst_idx); in c2p_iplan2() 122 memcpy(d.pixels+dst_idx, c, w); in c2p_iplan2() 131 memcpy(d.pixels, c, 16); in c2p_iplan2() 141 memcpy(d.pixels, c, w); in c2p_iplan2() 142 memset(d.pixels+w, 0, 16-w); in c2p_iplan2()
|
| H A D | c2p_planar.c | 91 u8 pixels[32]; in c2p_planar() member 109 memset(d.pixels, 0, sizeof(d)); in c2p_planar() 110 memcpy(d.pixels+dst_idx, c, width); in c2p_planar() 122 memset(d.pixels, 0, dst_idx); in c2p_planar() 123 memcpy(d.pixels+dst_idx, c, w); in c2p_planar() 133 memcpy(d.pixels, c, 32); in c2p_planar() 143 memcpy(d.pixels, c, w); in c2p_planar() 144 memset(d.pixels+w, 0, 32-w); in c2p_planar()
|
| /OK3568_Linux_fs/u-boot/tools/easylogo/ |
| H A D | easylogo.c | 53 int width, height, pixels, bpp, pixel_size, size, palette_size, yuyv; member 187 image->pixels = image->width * image->height; in image_load_tga() 188 image->size = image->pixels * image->pixel_size; in image_load_tga() 201 for (i = 0; i < image->pixels; i++, p++) { in image_load_tga() 254 yuyv_image->pixels = yuyv_image->width * yuyv_image->height; in image_rgb_to_yuyv() 255 yuyv_image->size = yuyv_image->pixels * yuyv_image->pixel_size; in image_rgb_to_yuyv() 261 while ((count++) < rgb_image->pixels) { in image_rgb_to_yuyv() 290 rgb565_image->pixels = rgb565_image->width * rgb565_image->height; in image_rgb888_to_rgb565() 291 rgb565_image->size = rgb565_image->pixels * rgb565_image->pixel_size; in image_rgb888_to_rgb565() 297 while ((count++) < rgb888_image->pixels) { in image_rgb888_to_rgb565() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | stb_truetype.h | 470 unsigned char *pixels, int pw, int ph, // bitmap to be filled in 521 STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int width, int heigh… 613 unsigned char *pixels; member 671 STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo *info, float pixels); 679 STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels); 810 unsigned char *pixels; member 1546 STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels) in stbtt_ScaleForMappingEmToPixels() argument 1549 return pixels / unitsPerEm; in stbtt_ScaleForMappingEmToPixels() 1851 STBTT_memcpy(result->pixels + j * result->stride, scanline, result->w); in stbtt__rasterize_sorted_edges() 2131 result->pixels[j*result->stride + i] = (unsigned char) m; in stbtt__rasterize_sorted_edges() [all …]
|
| H A D | console_truetype.c | 130 int pixels = priv->font_size * vid_priv->line_length; in console_truetype_set_row() local 139 for (i = 0; i < pixels; i++) in console_truetype_set_row() 148 for (i = 0; i < pixels; i++) in console_truetype_set_row() 157 for (i = 0; i < pixels; i++) in console_truetype_set_row() 322 int pixels = xend - xstart; in console_truetype_erase() local 333 for (i = 0; i < pixels; i++) in console_truetype_erase() 342 for (i = 0; i < pixels; i++) in console_truetype_erase() 351 for (i = 0; i < pixels; i++) in console_truetype_erase()
|
| H A D | console_normal.c | 21 int pixels = VIDEO_FONT_HEIGHT * vid_priv->xsize; in console_normal_set_row() local 30 for (i = 0; i < pixels; i++) in console_normal_set_row() 39 for (i = 0; i < pixels; i++) in console_normal_set_row() 48 for (i = 0; i < pixels; i++) in console_normal_set_row()
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-cropcap.rst | 43 support cropping and/or scaling and/or have non-square pixels, and for 66 and height are defined in pixels, the driver writer is free to 80 to get square pixels. 82 When cropping coordinates refer to square pixels, the driver sets 109 pixels. 113 pixels. 116 - Width of the rectangle, in pixels. 119 - Height of the rectangle, in pixels.
|
| H A D | v4l2-selection-targets.rst | 34 This includes only active pixels and excludes other non-active 35 pixels such as black pixels. 68 - The active area and all padding pixels that are inserted or
|
| H A D | pixfmt-y12i.rst | 16 pixels from 2 sources interleaved and bit-packed. Each pixel is stored 18 these pixels can be deinterlaced using 27 pixels cross the byte boundary and have a ratio of 3 bytes for each
|
| H A D | selection-api-configuration.rst | 34 in pixels. 51 coordinates are expressed in pixels. The rectangle's top/left corner 70 ``V4L2_SEL_TGT_COMPOSE_PADDED``. It contains all pixels defined using 72 during insertion process. All pixels outside this rectangle *must not* 73 be changed by the hardware. The content of pixels that lie inside the 75 use the padded and active rectangles to detect where the rubbish pixels 91 All coordinates are expressed in pixels. The top/left corner is always 109 target. The rectangle's coordinates are expressed in pixels. The 126 ``V4L2_SEL_TGT_COMPOSE_PADDED`` identifier. It must contain all pixels
|
| H A D | pixfmt-yvyu.rst | 17 In this format each four bytes is two pixels. Each four bytes is two 18 Y's, a Cb and a Cr. Each Y goes to one of the pixels, and the Cb and Cr 19 belong to both pixels. As you can see, the Cr and Cb components have
|
| H A D | pixfmt-uyvy.rst | 17 In this format each four bytes is two pixels. Each four bytes is two 18 Y's, a Cb and a Cr. Each Y goes to one of the pixels, and the Cb and Cr 19 belong to both pixels. As you can see, the Cr and Cb components have
|
| H A D | pixfmt-vyuy.rst | 17 In this format each four bytes is two pixels. Each four bytes is two 18 Y's, a Cb and a Cr. Each Y goes to one of the pixels, and the Cb and Cr 19 belong to both pixels. As you can see, the Cr and Cb components have
|
| H A D | pixfmt-yuyv.rst | 17 In this format each four bytes is two pixels. Each four bytes is two 18 Y's, a Cb and a Cr. Each Y goes to one of the pixels, and the Cb and Cr 19 belong to both pixels. As you can see, the Cr and Cb components have
|
| H A D | vidioc-subdev-enum-frame-size.rst | 85 - Minimum frame width, in pixels. 88 - Maximum frame width, in pixels. 91 - Minimum frame height, in pixels. 94 - Maximum frame height, in pixels.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | chipone_icn8318.txt | 8 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels) 9 - touchscreen-size-y : vertical resolution of touchscreen (in pixels) 16 device (in pixels) 18 device (in pixels)
|
| H A D | cyttsp.txt | 18 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels) 19 - touchscreen-size-y : vertical resolution of touchscreen (in pixels) 21 (in pixels) 23 (in pixels) 24 - active-distance : the distance in pixels beyond which a touch must move
|
| H A D | brcm,iproc-touchscreen.txt | 53 - touchscreen-size-x: horizontal resolution of touchscreen (in pixels) 54 - touchscreen-size-y: vertical resolution of touchscreen (in pixels) 56 device (in pixels) 58 device (in pixels)
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-navigation/orrery/orrery/ |
| H A D | use.GdkPixbuf.patch | 26 + guchar* pixels = gdk_pixbuf_get_pixels (starDrawingBuf); 34 + p = pixels + darkGreyPoints[pointNum].y * rowstride + darkGreyPoints[pointNum].x * n_channels; 42 + p = pixels + greyPoints[pointNum].y * rowstride + greyPoints[pointNum].x * n_channels; 50 + p = pixels + whitePoints[pointNum].y * rowstride + whitePoints[pointNum].x * n_channels;
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/video/ |
| H A D | simple-framebuffer.txt | 10 - width: The width of the framebuffer in pixels. 11 - height: The height of the framebuffer in pixels. 14 - r5g6b5 (16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b).
|
| /OK3568_Linux_fs/external/xserver/hw/xwin/ |
| H A D | winmultiwindowicons.c | 241 uint32_t *pixels = &icon[2]; in NetWMToWinIconAlpha() local 271 memcpy(DIB_pixels, pixels, height * width * 4); in NetWMToWinIconAlpha() 290 uint32_t *pixels = &icon[2]; in NetWMToWinIconThreshold() local 310 …if ((*pixels & 0xFF000000) > 31 << 24) { /* 31 alpha threshold, i.e. opaque above, transparent … in NetWMToWinIconThreshold() 312 RGB(((char *) pixels)[2], ((char *) pixels)[1], in NetWMToWinIconThreshold() 313 ((char *) pixels)[0])); in NetWMToWinIconThreshold() 320 pixels++; in NetWMToWinIconThreshold()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/vbe/ |
| H A D | vbe.h | 256 #define VBEGetLogicalScanline(pVbe, pixels, bytes, max) \ argument 258 pixels, bytes, max) 259 #define VBEGetMaxLogicalScanline(pVbe, pixels, bytes, max) \ argument 261 pixels, bytes, max) 265 int *pixels, int *bytes,
|