/external/ImageMagick/coders/ |
gray.c | 107 *pixels; 166 pixels=(const unsigned char *) NULL; 177 pixels=(const unsigned char *) ReadBlobStream(image,length, 189 Read pixels to virtual canvas image then push to image. 201 pixels=(const unsigned char *) ReadBlobStream(image,length, 225 quantum_type,pixels,exception); 254 pixels=(const unsigned char *) ReadBlobStream(image,length, 404 *pixels; 424 Write grayscale pixels. 431 pixels=(unsigned char *) GetQuantumPixels(quantum_info) 104 *pixels; local 398 *pixels; local [all...] |
miff.c | 193 static void PushRunlengthPacket(Image *image,const unsigned char *pixels, 199 p=pixels; 469 *pixels; 464 *pixels; local 1968 *pixels, local [all...] |
vicar.c | 157 *pixels; 299 Read VICAR pixels. 312 pixels=(const unsigned char *) ReadBlobStream(image,length, 317 quantum_type,pixels,exception); 456 *pixels; 484 Write VICAR pixels. 490 pixels=(unsigned char *) GetQuantumPixels(quantum_info); 497 GrayQuantum,pixels,exception); 498 count=WriteBlob(image,length,pixels); 153 *pixels; local 449 *pixels; local
|
/external/mesa3d/src/mesa/main/ |
pbo.c | 106 /* If the size of the image is zero then no pixels are accessed so we 224 GLsizei imageSize, const GLvoid *pixels, 232 if ((const GLubyte *) pixels + imageSize > 398 GLenum format, GLenum type, const GLvoid *pixels, 406 return pixels; 409 format, type, INT_MAX, pixels)) { 426 return ADD_POINTERS(buf, pixels); 440 const GLvoid *pixels, 447 imageSize, pixels, funcName)) { 454 return pixels; [all...] |
readpix.c | 217 GLvoid *pixels, 231 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, 263 GLenum type, GLvoid *pixels, 289 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, 304 * Read pixels for format=GL_DEPTH_COMPONENT. 310 GLenum type, GLvoid *pixels, 330 read_uint_depth_pixels(ctx, x, y, width, height, type, pixels, packing)) { 335 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, 368 * Read pixels for format=GL_STENCIL_INDEX. 374 GLenum type, GLvoid *pixels, [all...] |
/external/autotest/client/deps/glbench/src/ |
yuvtest.cc | 138 char* pixels = static_cast<char *>(MmapFile(YUV2RGB_NAME, &size)); local 141 const char* u_plane = pixels + luma_size; 142 const char* v_plane = pixels + luma_size + chroma_size; 143 if (!pixels) { 157 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels); 168 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels); 208 munmap(pixels, size);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
intel_tex_subimage.c | 78 const GLvoid *pixels, 107 pixels == NULL || 181 pixels - (ptrdiff_t) yoffset * src_pitch - (ptrdiff_t) xoffset * cpp, 199 const GLvoid * pixels, 219 pixels, tex_busy, packing); 226 format, type, pixels, packing, 234 format, type, pixels, packing);
|
/external/skia/gm/ |
rectangletexture.cpp | 40 void fillPixels(int width, int height, void *pixels) { 43 bmp.setPixels(pixels); 61 void* pixels) { 79 // We will always create the GL texture as GL_RGBA, however the pixels uploaded may be 105 format, GR_GL_UNSIGNED_BYTE, pixels)); 136 SkPMColor pixels[kWidth * kHeight]; variable 137 this->fillPixels(kWidth, kHeight, pixels); 138 sk_sp<SkImage> rectImg(this->createRectangleTextureImg(context, kWidth, kHeight, pixels));
|
xfermodes2.cpp | 105 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(srcBmp.getPixels()); variable 111 pixels[kSize * y + x] = rowColor; 118 pixels = reinterpret_cast<SkPMColor*>(dstBmp.getPixels()); 124 pixels[kSize * y + x] = colColor;
|
/external/skqp/gm/ |
rectangletexture.cpp | 40 void fillPixels(int width, int height, void *pixels) { 43 bmp.setPixels(pixels); 61 void* pixels) { 79 // We will always create the GL texture as GL_RGBA, however the pixels uploaded may be 105 format, GR_GL_UNSIGNED_BYTE, pixels)); 136 SkPMColor pixels[kWidth * kHeight]; variable 137 this->fillPixels(kWidth, kHeight, pixels); 138 sk_sp<SkImage> rectImg(this->createRectangleTextureImg(context, kWidth, kHeight, pixels));
|
/external/swiftshader/src/OpenGL/libGL/ |
Texture.cpp | 174 void Texture::setImage(GLenum format, GLenum type, GLint unpackAlignment, const void *pixels, Image *image) 176 if(pixels && image) 178 image->loadImageData(0, 0, 0, image->getWidth(), image->getHeight(), 1, format, type, unpackAlignment, pixels); 182 void Texture::setCompressedImage(GLsizei imageSize, const void *pixels, Image *image) 184 if(pixels && image && (imageSize > 0)) // imageSize's correlation to width and height is already validated with gl::ComputeCompressedSize() at the API level 186 image->loadCompressedData(0, 0, 0, image->getWidth(), image->getHeight(), 1, imageSize, pixels); 190 void Texture::subImage(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels, Image *image) 212 if(pixels) 214 image->loadImageData(xoffset, yoffset, 0, width, height, 1, format, type, unpackAlignment, pixels); 218 void Texture::subImageCompressed(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels, Image *image [all...] |
/hardware/interfaces/automotive/evs/1.0/default/ |
EvsDisplay.cpp | 258 uint32_t* pixels = nullptr; local 263 (void **)&pixels); 266 if (!pixels) { 270 // Check the test pixels 288 uint32_t receivedPixel = pixels[col]; 300 // Point to the next row (NOTE: gralloc reports stride in units of pixels) 301 pixels = pixels + mBuffer.stride; 306 uint32_t signature = pixels[0] & 0xFF;
|
/external/skia/tests/ |
CachedDecodingPixelRefTest.cpp | 49 bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 51 REPORTER_ASSERT(fReporter, pixels != nullptr); 59 char* bytePtr = static_cast<char*>(pixels);
|
/external/skqp/tests/ |
CachedDecodingPixelRefTest.cpp | 49 bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 51 REPORTER_ASSERT(fReporter, pixels != nullptr); 59 char* bytePtr = static_cast<char*>(pixels);
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
PlanarYUVLuminanceSource.java | 26 * superfluous pixels around the perimeter and speed up decoding. 112 int[] pixels = new int[width * height]; local 120 pixels[outputOffset + x] = 0xFF000000 | (grey * 0x00010101); 126 bitmap.setPixels(pixels, 0, width, 0, 0, width, height);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
PictureSizeCalculator.java | 116 long pixels = candidate.area(); local 119 pixels < bestArea) { 121 bestArea = pixels;
|
/prebuilts/misc/windows/sdl2/test/ |
teststreaming.c | 67 void *pixels; local 70 if (SDL_LockTexture(texture, NULL, &pixels, &pitch) < 0) { 76 dst = (Uint32*)((Uint8*)pixels + row * pitch);
|
/external/ImageMagick/MagickWand/ |
wand-view.c | 312 *magick_restrict pixels; 322 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y, 324 if (pixels == (const Quantum *) NULL) 331 PixelSetQuantumPixel(source->image,pixels,source->pixel_wands[id][x]); 332 pixels+=GetPixelChannels(source->image); 498 % the pixels in your callback are ignored. 564 *pixels; 571 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y, 573 if (pixels == (const Quantum *) NULL) 580 PixelSetQuantumPixel(source->image,pixels,source->pixel_wands[id][x]) 307 *magick_restrict pixels; local 556 *pixels; local 965 *magick_restrict pixels; local 1099 *magick_restrict pixels; local 1256 *magick_restrict pixels; local [all...] |
/external/deqp/modules/egl/ |
teglWideColorTests.cpp | 939 float pixels[16]; local 947 readPixels(m_gl, pixels); 949 if (checkWithThresholdFloat(pixels[0], expected[0], increment) || 950 checkWithThresholdFloat(pixels[1], expected[1], increment) || 951 checkWithThresholdFloat(pixels[2], expected[2], increment) || 952 checkWithThresholdFloat(pixels[3], expected[3], increment)) 969 << ", result = " << pixels[0] 970 << ":" << pixels[1] 971 << ":" << pixels[2] 972 << ":" << pixels[3 984 << ":" << pixels[3] local 992 deUint32 pixels[4]; local 1042 deUint8 pixels[16]; local [all...] |
/cts/tests/tests/systemui/src/android/systemui/cts/ |
LightBarTestBase.java | 120 int[] pixels = new int[bitmap.getHeight() * bitmap.getWidth()]; local 121 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); 123 if (dividerColor != pixels[col]) { 125 fail("Invalid color exptected=" + dividerColor + " actual=" + pixels[col]);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapDecode.java | 93 int[] pixels = new int[w*h]; local 94 mBitmap2.getPixels(pixels, 0, w, 0, 0, w, h); 95 mBitmap3 = Bitmap.createBitmap(pixels, 0, w, w, h, 97 mBitmap4 = Bitmap.createBitmap(pixels, 0, w, w, h,
|
/external/deqp/external/openglcts/modules/gl/ |
gl4cGetTextureSubImageTests.hpp | 127 glw::GLenum type, glw::GLsizei bufSize, void* pixels); 133 glw::GLsizei bufSize, void* pixels); 230 glw::GLenum type, glw::GLsizei bufSize, void* pixels); 236 glw::GLsizei bufSize, void* pixels);
|
/external/deqp/framework/delibs/deimage/ |
deTarga.c | 86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp); 156 /* Store pixels. */ 158 const deUint32* pixels = image->pixels; local 163 deUint32 c = pixels[ndx];
|
/external/opencv/otherlibs/highgui/ |
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) { 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/pdfium/core/fxge/dib/ |
cfx_filtereddib.h | 28 int pixels,
|