/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 206 const unsigned int pixels[] = local 219 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
RenderEngine.h | 100 virtual void readPixels(size_t l, size_t b, size_t w, size_t h, uint32_t* pixels) = 0; 226 void readPixels(size_t l, size_t b, size_t w, size_t h, uint32_t* pixels) override;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/ |
Xfixes.h | 91 unsigned long *pixels; member in struct:__anon61858 108 unsigned long *pixels; member in struct:__anon61859
|
/external/skia/src/core/ |
SkDraw.cpp | 75 typedef void (*BitmapXferProc)(void* pixels, size_t bytes, uint32_t data); 77 static void D_Clear_BitmapXferProc(void* pixels, size_t bytes, uint32_t) { 78 sk_bzero(pixels, bytes); 83 static void D32_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { 84 sk_memset32((uint32_t*)pixels, data, SkToInt(bytes >> 2)); 87 static void D16_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { 88 sk_memset16((uint16_t*)pixels, data, SkToInt(bytes >> 1)); 91 static void DA8_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { 92 memset(pixels, data, bytes); 176 uint8_t* pixels = (uint8_t*)dst.writable_addr() local [all...] |
/external/skqp/src/core/ |
SkDraw.cpp | 74 typedef void (*BitmapXferProc)(void* pixels, size_t bytes, uint32_t data); 76 static void D_Clear_BitmapXferProc(void* pixels, size_t bytes, uint32_t) { 77 sk_bzero(pixels, bytes); 82 static void D32_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { 83 sk_memset32((uint32_t*)pixels, data, SkToInt(bytes >> 2)); 86 static void D16_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { 87 sk_memset16((uint16_t*)pixels, data, SkToInt(bytes >> 1)); 90 static void DA8_Src_BitmapXferProc(void* pixels, size_t bytes, uint32_t data) { 91 memset(pixels, data, bytes); 175 uint8_t* pixels = (uint8_t*)dst.writable_addr() local [all...] |
/external/ImageMagick/MagickCore/ |
quantum-import.c | 18 % MagickCore Methods to Import Quantum Pixels % 89 % supplied buffer into the image pixel cache of an image. The pixels are 90 % expected in network byte order. It returns MagickTrue if the pixels are 97 % const unsigned char *magick_restrict pixels,ExceptionInfo *exception) 110 % o pixels: The pixel components are transferred from this buffer. 126 const unsigned char *magick_restrict pixels,double *pixel) 136 quantum[0]=(*pixels++); 137 quantum[1]=(*pixels++); 138 quantum[2]=(*pixels++); 139 quantum[3]=(*pixels++) [all...] |
composite.c | 330 *pixels; 354 If pixels is NULL, y is outside overlay region. 356 pixels=(Quantum *) NULL; 367 pixels=p; 401 if ((pixels == (Quantum *) NULL) || (x < x_offset) || 442 if (p >= (pixels+channels*source_image->columns)) 443 p=pixels; 492 if (p >= (pixels+channels*source_image->columns)) 493 p=pixels; 328 *pixels; local 1217 *pixels; local 2449 *pixels; local [all...] |
/external/deqp/external/openglcts/modules/gl/ |
gl4cIndirectParametersTests.cpp | 278 std::vector<GLubyte> pixels; local 279 pixels.resize(width * height); 282 gl.readPixels(0, 0, width, height, GL_RED, GL_UNSIGNED_BYTE, pixels.data()); 290 GLubyte value = pixels[x + y * width]; 306 GLubyte value = pixels[x + y * width];
|
gl3cClipDistance.cpp | 349 std::vector<glw::GLfloat> pixels = framebuffer.readPixels(); local 351 if (pixels.size() < 1) 358 glw::GLuint gl_max_clip_distances_value_in_fragment_shader = glw::GLuint(pixels.front()); 437 std::vector<glw::GLfloat> pixels = framebuffer.readPixels(); local 439 if (pixels.size() < 1) 446 glw::GLfloat results = pixels.front(); [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_texture.c | [all...] |
/external/skia/tests/ |
ReadPixelsTest.cpp | 105 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels()); local 108 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel()); 129 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels()); local 134 uint8_t* alpha = reinterpret_cast<uint8_t*>(pixels + y * bitmap->rowBytes() + x); 137 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel()); 164 // checks the bitmap contains correct pixels after the readPixels 165 // if the bitmap was prefilled with pixels it checks that these weren't 355 // if the bitmap has pixels allocated before the readPixels, 370 // read pixels should never change the gen id 378 // if we had no pixels beforehand and the readPixel [all...] |
WritePixelsTest.cpp | 184 // Can't use canvas->peekPixels(), as we are trying to look at GPU pixels sometimes as well. 263 static void free_pixels(void* pixels, void* ctx) { 264 sk_free(pixels); 375 // we should change the genID iff pixels were actually written. 390 void* pixels = sk_malloc_throw(size); local 393 memset(pixels, DEV_PAD, size); 395 auto surface(SkSurface::MakeRasterDirectReleaseProc(info, pixels, rowBytes,
|
/external/skqp/tests/ |
ReadPixelsTest.cpp | 105 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels()); local 108 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel()); 129 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels()); local 134 uint8_t* alpha = reinterpret_cast<uint8_t*>(pixels + y * bitmap->rowBytes() + x); 137 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel()); 164 // checks the bitmap contains correct pixels after the readPixels 165 // if the bitmap was prefilled with pixels it checks that these weren't 355 // if the bitmap has pixels allocated before the readPixels, 370 // read pixels should never change the gen id 378 // if we had no pixels beforehand and the readPixel [all...] |
WritePixelsTest.cpp | 194 // Can't use canvas->peekPixels(), as we are trying to look at GPU pixels sometimes as well. 273 static void free_pixels(void* pixels, void* ctx) { 274 sk_free(pixels); 385 // we should change the genID iff pixels were actually written. 400 void* pixels = sk_malloc_throw(size); local 403 memset(pixels, DEV_PAD, size); 405 auto surface(SkSurface::MakeRasterDirectReleaseProc(info, pixels, rowBytes,
|
/external/libavc/common/arm/ |
ih264_intra_pred_luma_8x8_a9q.s | 85 @* availability of neighbouring pixels[Not used] 170 @* availability of neighbouring pixels(Not used in this function) 243 @* availability of neighbouring pixels(Not used in this function) 323 @* availability of neighbouring pixels 434 @* availability of neighbouring pixels 527 @* availability of neighbouring pixels 618 @* availability of neighbouring pixels 738 @* availability of neighbouring pixels 856 @* availability of neighbouring pixels 957 @* availability of neighbouring pixels [all...] |
/external/ImageMagick/coders/ |
pcd.c | 424 const size_t scaled_width,unsigned char *pixels) 438 assert(pixels != (unsigned char *) NULL); 441 p=pixels+(height-1-y)*scaled_width+(width-1); 442 q=pixels+((height-1-y) << 1)*scaled_width+((width-1) << 1); 455 p=pixels+((size_t) y << 1)*scaled_width; 470 p=pixels+(2*height-2)*scaled_width; 471 q=pixels+(2*height-1)*scaled_width; [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcTextureFilterAnisotropicTests.cpp | 142 * @param pixels Buffer with image data 145 GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) 150 gl.texSubImage2D(target, level, x, y, width, height, format, type, pixels); 154 gl.texSubImage3D(target, level, x, y, z, width, height, depth, format, type, pixels); 761 std::vector<GLubyte> pixels; local 762 pixels.resize(32 * 8 * 4); 764 gl.readPixels(0, 23, 32, 8, GL_RGBA, GL_UNSIGNED_BYTE, pixels.data()); 775 current = pixels[(i + j * 32) * 4];
|
/external/deqp/framework/opengl/simplereference/ |
sglrContextWrapper.hpp | 142 void glReadPixels (int x, int y, int width, int height, deUint32 format, deUint32 type, void* pixels); 155 void glTexImage1D (deUint32 target, int level, int internalformat, int width, int border, deUint32 format, deUint32 type, const void* pixels); 156 void glTexImage2D (deUint32 target, int level, int internalformat, int width, int height, int border, deUint32 format, deUint32 type, const void* pixels); 161 void glTexSubImage1D (deUint32 target, int level, int xoffset, int width, deUint32 format, deUint32 type, const void* pixels); 162 void glTexSubImage2D (deUint32 target, int level, int xoffset, int yoffset, int width, int height, deUint32 format, deUint32 type, const void* pixels); 196 void glTexImage3D (deUint32 target, int level, int internalformat, int width, int height, int depth, int border, deUint32 format, deUint32 type, const void* pixels); 197 void glTexSubImage3D (deUint32 target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, deUint32 format, deUint32 type, const void* pixels);
|
/prebuilts/misc/windows/sdl2/test/ |
testautomation_render.c | 938 * @brief Compares screen pixels with image pixels. Helper function. 952 Uint8 *pixels; local 955 /* Read pixels. */ 956 pixels = (Uint8 *)SDL_malloc(4*TESTRENDER_SCREEN_W*TESTRENDER_SCREEN_H); 957 SDLTest_AssertCheck(pixels != NULL, "Validate allocated temp pixel buffer"); 958 if (pixels == NULL) return; 965 result = SDL_RenderReadPixels(renderer, &rect, RENDER_COMPARE_FORMAT, pixels, 80*4 ); 969 testSurface = SDL_CreateRGBSurfaceFrom(pixels, TESTRENDER_SCREEN_W, TESTRENDER_SCREEN_H, 32, TESTRENDER_SCREEN_W*4, 978 SDL_free(pixels); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFboMultisampleTests.cpp | 322 deUint32 pixels[W2 * H2] = {}; local 323 glReadPixels(0, 0, W2, H2, GL_RGBA, GL_UNSIGNED_BYTE, pixels); 331 tcu::RGBA color(pixels[y * W2 + x]);
|
/external/libvncserver/examples/android/jni/ |
fbvncserver.c | 85 size_t pixels; local 100 pixels = scrinfo.xres * scrinfo.yres; 109 fbmmap = mmap(NULL, pixels * bytespp, PROT_READ, MAP_SHARED, fbfd, 0); 399 /* Compare every 2 pixels at a time, assuming that changes are likely
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_resource.c | 39 /* A tile is 4x4 pixels, having 'screen->specs.bits_per_tile' of tile status. 40 * So, in a buffer of N pixels, there are N / (4 * 4) tiles. 49 size_t rt_ts_size, ts_layer_stride, pixels; local 54 pixels = rsc->levels[0].layer_stride / util_format_get_blocksize(rsc->base.format); 55 ts_layer_stride = align(pixels * screen->specs.bits_per_tile / 0x80, 0x100);
|
/external/skia/gm/ |
readpixels.cpp | 19 static void clamp_if_necessary(const SkImageInfo& info, void* pixels) { 26 uint64_t pixel = ((uint64_t*) pixels)[y * info.width() + x]; 37 ((uint64_t*) pixels)[y * info.width() + x] = pixel; 152 // readPixels() does not always clamp F16. The drawing code expects pixels in the 0-1 range. 155 // Now that we have called readPixels(), dump the raw pixels into an srgb image.
|
/external/skqp/gm/ |
readpixels.cpp | 18 static void clamp_if_necessary(const SkImageInfo& info, void* pixels) { 25 uint64_t pixel = ((uint64_t*) pixels)[y * info.width() + x]; 36 ((uint64_t*) pixels)[y * info.width() + x] = pixel; 151 // readPixels() does not always clamp F16. The drawing code expects pixels in the 0-1 range. 154 // Now that we have called readPixels(), dump the raw pixels into an srgb image.
|
/frameworks/native/opengl/tests/hwc/ |
hwcCommit.cpp | 815 // Determine the minimum number of pixels that the HWC will ever commit to. 839 uint64_t pixels = dim.width() * dim.height(); local 840 if (!bestSet || (pixels < bestMinPixels)) { 841 bestMinPixels = pixels; 888 uint64_t pixels = dim.width() * dim.height(); local 889 if (!bestSet || (pixels > bestMaxPixels)) { 890 bestMaxPixels = pixels; 1011 uint64_t pixels = dim.width() * dim.height(); local 1062 uint64_t pixels = dim.width() * dim.height(); local [all...] |