/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | intel_pixel_bitmap.c | 316 * - per pixel or run of pixels 330 const GLubyte * pixels) 336 unpack, pixels)) 339 _mesa_meta_Bitmap(ctx, x, y, width, height, unpack, pixels); 326 intelBitmap(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte * pixels) argument
|
H A D | intel_tex_image.c | 136 GLenum format, GLenum type, const void *pixels) 173 src_offset += (GLuint) (unsigned long) pixels; 206 GLenum format, GLenum type, const void *pixels, 216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { 220 DBG("%s: upload image %dx%dx%d pixels %p\n", 222 pixels); 225 format, type, pixels, unpack); 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_pixel_bitmap.c | 316 * - per pixel or run of pixels 330 const GLubyte * pixels) 336 unpack, pixels)) 339 _mesa_meta_Bitmap(ctx, x, y, width, height, unpack, pixels); 326 intelBitmap(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte * pixels) argument
|
H A D | intel_tex_image.c | 136 GLenum format, GLenum type, const void *pixels) 173 src_offset += (GLuint) (unsigned long) pixels; 206 GLenum format, GLenum type, const void *pixels, 216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { 220 DBG("%s: upload image %dx%dx%d pixels %p\n", 222 pixels); 225 format, type, pixels, unpack); 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
|
/external/mesa3d/src/mesa/main/ |
H A D | readpix.c | 57 GLenum type, GLvoid *pixels, 87 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, 107 * Read pixels for format=GL_DEPTH_COMPONENT. 113 GLenum type, GLvoid *pixels, 132 if (fast_read_depth_pixels(ctx, x, y, width, height, type, pixels, packing)) 136 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, 169 * Read pixels for format=GL_STENCIL_INDEX. 175 GLenum type, GLvoid *pixels, 202 dest = _mesa_image_address2d(packing, pixels, width, height, 229 GLvoid *pixels, 54 fast_read_depth_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing ) argument 110 read_depth_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing ) argument 172 read_stencil_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing ) argument 225 fast_read_rgba_pixels_memcpy( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLbitfield transferOps ) argument 318 slow_read_rgba_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLbitfield transferOps ) argument 382 read_rgba_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing ) argument 597 read_depth_stencil_pixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing ) argument 641 _mesa_readpixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *packing, GLvoid *pixels) argument [all...] |
H A D | texcompress_s3tc.c | 166 const GLubyte *pixels; local 187 pixels = tempImage; 191 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 198 (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels, 219 const GLubyte *pixels; local 240 pixels = tempImage; 244 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 251 (*ext_tx_compress_dxtn)(4, srcWidth, srcHeight, pixels, 272 const GLubyte *pixels; local 293 pixels 324 const GLubyte *pixels; local [all...] |
H A D | texgetimage.c | 72 * glGetTexImage for depth/Z pixels. 76 GLenum format, GLenum type, GLvoid *pixels, 101 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, 122 * glGetTexImage for depth/stencil pixels. 126 GLenum format, GLenum type, GLvoid *pixels, 146 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, 167 * glGetTexImage for YCbCr pixels. 171 GLenum format, GLenum type, GLvoid *pixels, 191 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, 224 GLenum format, GLenum type, GLvoid *pixels, 75 get_tex_depth(struct gl_context *ctx, GLuint dimensions, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) argument 125 get_tex_depth_stencil(struct gl_context *ctx, GLuint dimensions, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) argument 170 get_tex_ycbcr(struct gl_context *ctx, GLuint dimensions, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) argument 223 get_tex_rgba_compressed(struct gl_context *ctx, GLuint dimensions, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage, GLbitfield transferOps) argument 317 get_tex_rgba_uncompressed(struct gl_context *ctx, GLuint dimensions, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage, GLbitfield transferOps) argument 428 get_tex_rgba(struct gl_context *ctx, GLuint dimensions, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) argument 464 get_tex_memcpy(struct gl_context *ctx, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) argument 533 _mesa_get_teximage(struct gl_context *ctx, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) argument [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_drawpix.c | 56 const GLvoid *pixels) 59 _mesa_image_address2d(unpack, pixels, width, 103 const GLvoid *pixels) 106 _mesa_image_address2d(unpack, pixels, width, 152 const GLvoid *pixels) 155 _mesa_image_address2d(unpack, pixels, width, 196 const GLvoid *pixels) 229 &unpack, pixels); 238 &unpack, pixels); 245 format, type, &unpack, pixels); 51 fast_draw_rgb_ubyte_pixels(struct gl_context *ctx, struct gl_renderbuffer *rb, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument 98 fast_draw_rgba_ubyte_pixels(struct gl_context *ctx, struct gl_renderbuffer *rb, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument 146 fast_draw_generic_pixels(struct gl_context *ctx, struct gl_renderbuffer *rb, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument 192 fast_draw_rgba_pixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *userUnpack, const GLvoid *pixels) argument 509 fast_draw_depth_stencil(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument 549 draw_depth_stencil_pixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument [all...] |
/external/opencv/otherlibs/highgui/ |
H A D | cvcap_socket.cpp | 186 // Helper to load pixels from a byte stream received over a socket. 187 static IplImage* loadPixels(char* pixels, int width, int height) { argument 196 IMAGE( img, x, y, 0 ) = pixels[pos + 3] & 0xFF; 198 IMAGE( img, x, y, 1 ) = pixels[pos + 2] & 0xFF; 200 IMAGE( img, x, y, 2 ) = pixels[pos + 1] & 0xFF; 261 // If we read all of the data we expected, we will load the frame from the pixels. 268 LOGV("full read of pixels failed");
|
/external/qemu/android/ |
H A D | multitouch-screen.c | 355 unsigned char* pixels) 371 mts_state->current_fb = pixels; 352 multitouch_opengles_fb_update(void* context, int w, int h, int ydir, int format, int type, unsigned char* pixels) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_cursor.c | 373 const Uint32 pixels[2] = { 0xFFFFFFFF, 0x00000000 }; local 391 dst = (Uint8 *)screen->pixels + 418 dst = (Uint16 *)screen->pixels + 429 *dst = (Uint16)pixels[datab>>7]; 445 dst = (Uint8 *)screen->pixels + 456 SDL_memset(dst,pixels[datab>>7],3); 472 dst = (Uint32 *)screen->pixels + 483 *dst = pixels[datab>>7]; 499 const Uint32 pixels[2] = { 0xFFFFFF, 0x000000 }; local 510 dst = (Uint8 *)screen->pixels [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
H A D | SDL_gsyuv.c | 49 Uint8 *pixels; member in struct:private_yuvhwdata 89 /* We can only decode blocks of 16x16 pixels */ 96 SDL_SetError("Overlay too large (maximum size: %d pixels)", 140 hwdata->pixels = (Uint8 *)SDL_malloc(width*height*2); 141 if ( hwdata->pixels == NULL ) { 150 overlay->pixels = hwdata->planes; 157 overlay->pixels[0] = hwdata->pixels; 158 overlay->pixels[1] = overlay->pixels[ [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testwm.c | 39 /* Set the surface pixels and refresh! */ 51 buffer = (Uint8 *)screen->pixels; 66 Uint8 *pixels; local 95 SDL_SetColorKey(icon, SDL_SRCCOLORKEY, *((Uint8 *)icon->pixels)); 98 pixels = (Uint8 *)icon->pixels; 100 icon->format->palette->colors[*pixels].r, 101 icon->format->palette->colors[*pixels].g, 102 icon->format->palette->colors[*pixels].b); 115 if ( pixels[pinde [all...] |
/external/skia/include/core/ |
H A D | SkPixelRef.h | 23 * subclasses to correctly handle lock/unlock pixels. For performance 64 void* pixels() const { return fRec.fPixels; } function in class:SkPixelRef 66 /** Return the current colorTable (if any) if pixels are locked, or null. 73 * To access the actual pixels of a pixelref, it must be "locked". 108 /** Call to balanace a previous call to lockPixels(). Returns the pixels 116 * Some bitmaps can return a copy of their pixels for lockPixels(), but 118 * not be used as targets for a raster device/canvas (since all pixels 123 /** Returns a non-zero, unique value corresponding to the pixels in this 124 pixelref. Each time the pixels are changed (and notifyPixelsChanged is 131 which is unchanged when the pixels ar [all...] |
/external/skia/samplecode/ |
H A D | SampleHairline.cpp | 54 static bool check_zeros(const SkPMColor pixels[], int count, int skip) { argument 56 if (*pixels) { 59 pixels += skip;
|
H A D | SampleVertices.cpp | 36 uint32_t* pixels = (uint32_t*) bm.getPixels(); local 37 pixels[0] = pixels[2] = color0; 38 pixels[1] = pixels[3] = color1;
|
/external/skia/src/core/ |
H A D | SkDevice.cpp | 94 bool SkBaseDevice::writePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, argument 98 SkASSERT(pixels); 106 return this->onWritePixels(info, pixels, rowBytes, x, y);
|
H A D | SkPixelRef.cpp | 153 void SkPixelRef::setPreLocked(void* pixels, size_t rowBytes, SkColorTable* ctable) { argument 157 fRec.fPixels = pixels; 171 // pixels (barring overflow). However, each process has its own "namespace"
|
/external/skia/src/images/ |
H A D | SkDecodingImageGenerator.cpp | 46 void* pixels, size_t rowBytes, 80 fTarget = NULL; // never alloc same pixels twice! 154 void* pixels, size_t rowBytes, 174 TargetAllocator allocator(fInfo, pixels, rowBytes); 182 if (allocator.isReady()) { // Did not use pixels! 153 onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, SkPMColor ctableEntries[], int* ctableCount) argument
|
H A D | bmpdecoderhelper.cpp | 188 uint8 pixels = GetByte(); local 190 uint8 col = pixels; 194 col = pixels & 0xf; 196 col = pixels >> 4;
|
/external/skia/src/utils/ |
H A D | SkCanvasStateUtils.cpp | 64 void* pixels; // The pixels, all (height * rowBytes) of them. member in struct:SkCanvasLayerState::__anon30763::__anon30764 118 // references to the content that is referenced by this canvas (e.g. pixels) 246 layerState->raster.pixels = bitmap.getPixels(); 304 layerState.raster.pixels, (size_t) layerState.raster.rowBytes);
|
H A D | SkTextureCompressor.cpp | 78 // Compress a block by using the bounding box of the pixels. It is assumed that 79 // there are no extremal pixels in this block otherwise we would have used 81 static uint64_t compress_block_bb(const uint8_t pixels[]) { argument 85 minVal = SkTMin(pixels[i], minVal); 86 maxVal = SkTMax(pixels[i], maxVal); 99 uint8_t bestError = abs_diff(pixels[i], palette[0]); 102 uint8_t error = abs_diff(pixels[i], palette[j]); 120 // Compress a block by using the bounding box of the pixels without taking into 123 static uint64_t compress_block_bb_ignore_extremal(const uint8_t pixels[]) { argument 127 if (is_extremal(pixels[ 186 compress_block(const uint8_t pixels[]) argument [all...] |
/external/skia/src/utils/mac/ |
H A D | SkCreateCGImageRef.cpp | 108 // here we make a ceep copy of the pixels, since CG won't take our 132 // we initially lock it, so we can access the pixels. The bitmap will be deleted in the release 133 // proc, which will in turn unlock the pixels 250 SK_API bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* pixels, argument 268 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, 275 // use this blend mode, to avoid having to erase the pixels first, and to avoid CG performing
|
/external/chromium_org/gpu/command_buffer/tests/ |
H A D | gl_test_utils.cc | 133 scoped_ptr<uint8[]> pixels(new uint8[size]); 134 memset(pixels.get(), kCheckClearValue, size); 135 glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.get()); 141 uint8 actual = pixels[offset + jj]; 206 uint8* pixels = data.get(); local 207 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels); 212 uint8 t = pixels[offset + 0]; 213 pixels[offset + 0] = pixels[offset + 2]; 214 pixels[offse [all...] |
/external/chromium_org/media/base/ |
H A D | yuv_convert_unittest.cc | 93 static void SwapRedAndBlueChannels(unsigned char* pixels, size_t buffer_size) { argument 95 std::swap(pixels[i], pixels[i + 2]);
|