HomeSort by relevance Sort by last modified time
    Searched refs:Pixel (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /device/google/cuttlefish_common/host/frontend/vnc_server/
mocks.h 20 typedef uint32_t Pixel;
vnc_utils.h 66 return sizeof(vsoc::screen::ScreenRegionView::Pixel);
vnc_client_connection.cpp 146 std::uint32_t RedVal(std::uint32_t pixel) {
147 return (pixel >> ScreenRegionView::kRedShift) &
151 std::uint32_t BlueVal(std::uint32_t pixel) {
152 return (pixel >> ScreenRegionView::kBlueShift) &
156 std::uint32_t GreenVal(std::uint32_t pixel) {
157 return (pixel >> ScreenRegionView::kGreenShift) &
316 using Pixel = ScreenRegionView::Pixel;
321 for (size_t i = init_size; i < fbu.size(); i += sizeof(Pixel)) {
322 CHECK((i + sizeof(Pixel)) < fbu.size())
328 Pixel pixel = Pixel{red} << pixel_format_.red_shift | local
    [all...]
  /external/mesa3d/src/mesa/main/
pixel.c 27 * \file pixel.c
28 * Pixel transfer functions (glPixelZoom, glPixelMap, glPixelTransfer)
35 #include "pixel.h"
50 if (ctx->Pixel.ZoomX == xfactor &&
51 ctx->Pixel.ZoomY == yfactor)
55 ctx->Pixel.ZoomX = xfactor;
56 ctx->Pixel.ZoomY = yfactor;
499 if (ctx->Pixel.MapColorFlag == (param ? GL_TRUE : GL_FALSE))
502 ctx->Pixel.MapColorFlag = param ? GL_TRUE : GL_FALSE;
505 if (ctx->Pixel.MapStencilFlag == (param ? GL_TRUE : GL_FALSE)
    [all...]
pixeltransfer.c 29 * Pixel transfer operations (scale, bias, table lookups, etc)
79 * Apply pixel mapping to an array of floating point RGBA pixels.
134 const GLfloat scale = ctx->Pixel.DepthScale;
135 const GLfloat bias = ctx->Pixel.DepthBias;
149 const GLdouble scale = ctx->Pixel.DepthScale;
150 const GLdouble bias = ctx->Pixel.DepthBias * max;
160 * Apply various pixel transfer operations to an array of RGBA pixels
170 ctx->Pixel.RedScale, ctx->Pixel.GreenScale,
171 ctx->Pixel.BlueScale, ctx->Pixel.AlphaScale
    [all...]
readpix.c 98 /* Pixel transfer ops (scale, bias, table lookup) do not apply
142 * the readbuffer and the pixel pack buffer into account.
158 ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f ||
159 ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset ||
160 ctx->Pixel.MapStencilFlag;
163 return ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f;
166 return ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset |
    [all...]
pack.c 28 * Image and pixel span packing and unpacking.
93 * Unpack a 32x32 pixel polygon stipple from user memory using the
94 * current pixel unpack settings.
121 * Pack polygon stipple into user memory given current pixel packing
486 * the pixel unpacking parameters.
493 * srcType - source pixel type
495 * srcPacking - pixel unpacking parameters
530 !ctx->Pixel.MapStencilFlag &&
536 !ctx->Pixel.MapStencilFlag &&
561 if (ctx->Pixel.MapStencilFlag)
    [all...]
  /external/libpng/contrib/libtests/
pngstest.c 793 } Pixel;
809 /* Read a Pixel from a buffer. The code below stores the correct routine for
813 gp_g8(Pixel *p, png_const_voidp pb)
822 gp_ga8(Pixel *p, png_const_voidp pb)
832 gp_ag8(Pixel *p, png_const_voidp pb)
842 gp_rgb8(Pixel *p, png_const_voidp pb)
854 gp_bgr8(Pixel *p, png_const_voidp pb)
866 gp_rgba8(Pixel *p, png_const_voidp pb)
878 gp_bgra8(Pixel *p, png_const_voidp pb)
891 gp_argb8(Pixel *p, png_const_voidp pb
    [all...]
  /frameworks/base/media/mca/filterpacks/native/imageproc/
brightness.c 32 } Pixel;
82 Pixel pixel; local
84 pixel.value = *(input_ptr++);
86 const short r = (pixel.rgba[0] * factor) / 255;
87 const short g = (pixel.rgba[1] * factor) / 255;
88 const short b = (pixel.rgba[2] * factor) / 255;
93 | (pixel.rgba[3] << 24);
  /external/mesa3d/src/mesa/swrast/
s_copypix.c 60 /* add one pixel of slop when zooming, just to be safe */
93 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F;
105 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY);
193 * Convert floating point Z values to integer Z values with pixel transfer's
204 ctx->Pixel.DepthScale == 1.0F &&
205 ctx->Pixel.DepthBias == 0.0F) {
216 GLdouble d = depth[i] * ctx->Pixel.DepthScale + ctx->Pixel.DepthBias
    [all...]
s_zoom.c 37 * Compute the bounds of the region resulting from zooming a pixel span.
61 c0 = imageX + (GLint) ((spanX - imageX) * ctx->Pixel.ZoomX);
62 c1 = imageX + (GLint) ((spanX + width - imageX) * ctx->Pixel.ZoomX);
78 r0 = imageY + (GLint) ((spanY - imageY) * ctx->Pixel.ZoomY);
79 r1 = imageY + (GLint) ((spanY + 1 - imageY) * ctx->Pixel.ZoomY);
103 * 'zx' is screen position of a pixel in the zoomed image, who's left edge
154 /* no pixel arrays! must be horizontal spans. */
214 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
224 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x;
234 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x
    [all...]
s_drawpix.c 77 if (ctx->Pixel.ZoomY == -1.0f) {
124 if (ctx->Pixel.ZoomY == -1.0f) {
174 if (ctx->Pixel.ZoomY == -1.0f) {
211 ctx->Pixel.ZoomX != 1.0f ||
212 fabsf(ctx->Pixel.ZoomY) != 1.0f ||
251 /* can't handle this pixel format and/or data type */
267 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F;
312 = ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
intel_pixel.c 115 if (ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F) {
116 DBG("fallback due to pixel zoom\n");
intel_pixel_copy.c 44 * CopyPixels with the blitter. Don't support zooming, pixel transfer, etc.
144 if (ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F) {
145 perf_debug("glCopyPixels(): Unsupported pixel zoom\n");
  /external/skia/tools/skpbench/
skpbench.py 304 if model == 'Pixel C':
307 elif model == 'Pixel':
  /external/skqp/tools/skpbench/
skpbench.py 304 if model == 'Pixel C':
307 elif model == 'Pixel':
  /device/google/cuttlefish_common/common/vsoc/lib/
screen_region_view.h 89 using Pixel = uint32_t;
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Protocol/
UgaDraw.h 34 @param ColorDepth Current video color depth in bits per pixel
59 @param ColorDepth Current video color depth in bits per pixel
85 EFI_UGA_PIXEL Pixel;
102 <B>EfiUgaVideoFill</B> - Write data from the BltBuffer pixel (SourceX, SourceY)
103 directly to every pixel of the video display rectangle
105 Only one pixel will be used from the BltBuffer. Delta is NOT used.
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/UgaDraw/
UgaDraw.h 52 ColorDepth - Current video color depth in bits per pixel
81 ColorDepth - Current video color depth in bits per pixel
99 EFI_UGA_PIXEL Pixel;
130 EfiUgaVideoFill - Write data from the BltBuffer pixel (SourceX, SourceY)
131 directly to every pixel of the video display rectangle
133 Only one pixel will be used from the BltBuffer. Delta is NOT used.
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
UgaDraw.h 34 @param ColorDepth Number of bits per pixel, currently defined to be 32.
58 @param ColorDepth Number of bits per pixel, currently defined to be 32.
83 EFI_UGA_PIXEL Pixel;
91 EfiUgaVideoFill, ///< Write data from the BltBuffer pixel (SourceX, SourceY)
92 ///< directly to every pixel of the video display rectangle
94 ///< Only one pixel will be used from the BltBuffer. Delta is NOT used.
  /external/libvpx/libvpx/test/
lpf_test.cc 38 typedef uint16_t Pixel;
41 typedef void (*loop_op_t)(Pixel *s, int p, const uint8_t *blimit,
43 typedef void (*dual_loop_op_t)(Pixel *s, int p, const uint8_t *blimit0,
48 typedef uint8_t Pixel;
51 typedef void (*loop_op_t)(Pixel *s, int p, const uint8_t *blimit,
53 typedef void (*dual_loop_op_t)(Pixel *s, int p, const uint8_t *blimit0,
62 void InitInput(Pixel *s, Pixel *ref_s, ACMRandom *rnd, const uint8_t limit,
171 DECLARE_ALIGNED(PIXEL_WIDTH, Pixel, s[kNumCoeffs]);
172 DECLARE_ALIGNED(PIXEL_WIDTH, Pixel, ref_s[kNumCoeffs])
    [all...]
  /frameworks/base/media/mca/filterfw/jni/
jni_native_frame.cpp 33 } Pixel;
180 Pixel* src_ptr;
189 const Pixel pixel = *(src_ptr++); local
190 *(dst_ptr++) = (pixel.rgba[0] + pixel.rgba[1] + pixel.rgba[2]) / 3;
196 const Pixel pixel = *(src_ptr++); local
197 *(dst_ptr++) = pixel.rgba[0]
    [all...]
  /device/linaro/bootloader/edk2/OptionRomPkg/CirrusLogic5430Dxe/
CirrusLogic5430GraphicsOutput.c 234 UINT8 Pixel;
387 Pixel = RGB_BYTES_TO_PIXEL (Blt->Red, Blt->Green, Blt->Blue);
388 WidePixel = (Pixel << 8) | Pixel;
409 &Pixel
431 &Pixel
CirrusLogic5430UgaDraw.c 131 UINT8 Pixel;
282 Pixel = (UINT8) ((Blt->Red & 0xe0) | ((Blt->Green >> 3) & 0x1c) | ((Blt->Blue >> 6) & 0x03));
283 WidePixel = (Pixel << 8) | Pixel;
304 &Pixel
326 &Pixel
  /external/mesa3d/src/mesa/drivers/dri/i915/
intel_pixel_copy.c 47 * CopyPixels with the blitter. Don't support zooming, pixel transfer, etc.
140 if (ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F) {
141 perf_debug("glCopyPixels(): Unsupported pixel zoom\n");

Completed in 268 milliseconds

1 2 3 4