/external/skia/src/core/ |
SkPictureImageGenerator.h | 20 bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options& opts)
|
SkPixelRef.cpp | 33 SkPixelRef::SkPixelRef(int width, int height, void* pixels, size_t rowBytes) 36 , fPixels(pixels)
|
/external/skqp/gm/ |
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/src/core/ |
SkPictureImageGenerator.h | 20 bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options& opts)
|
SkPixelRef.cpp | 33 SkPixelRef::SkPixelRef(int width, int height, void* pixels, size_t rowBytes) 36 , fPixels(pixels)
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
Texture.h | 114 void setImage(GLenum format, GLenum type, const gl::PixelStorageModes &unpackParameters, const void *pixels, egl::Image *image); 115 void subImage(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const gl::PixelStorageModes &unpackParameters, const void *pixels, egl::Image *image); 116 void setCompressedImage(GLsizei imageSize, const void *pixels, egl::Image *image); 117 void subImageCompressed(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pixels, egl::Image *image); 161 void setImage(GLint level, GLsizei width, GLsizei height, GLint internalformat, GLenum format, GLenum type, const gl::PixelStorageModes &unpackParameters, const void *pixels); 162 void setCompressedImage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pixels); 163 void subImage(GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const gl::PixelStorageModes &unpackParameters, const void *pixels); 164 void subImageCompressed(GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels); 228 void setImage(GLenum target, GLint level, GLsizei width, GLsizei height, GLint internalformat, GLenum format, GLenum type, const gl::PixelStorageModes &unpackParameters, const void *pixels); 229 void setCompressedImage(GLenum target, GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pixels); [all...] |
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
VariationalKMeansQuantizer.java | 71 * @param pixels Pixels to quantize. 76 public void quantize(int[] pixels, int maxColors, Palette.Filter[] filters) { 80 final float[][] hslPixels = new float[pixels.length][3]; 81 for (int i = 0; i < pixels.length; i++) { 82 ColorUtils.colorToHSL(pixels[i], hsl);
|
/external/autotest/client/deps/glbench/src/ |
png_helper.cc | 26 void write_png_file(const char* file_name, char* pixels, int width, int height) 36 char *p = pixels;
|
testbase.cc | 101 std::unique_ptr<char[]> pixels(new char[size]); 102 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.get()); 108 pixels.get(), width, height); 115 std::unique_ptr<char[]> pixels(new char[size]); 116 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.get()); 117 MD5Update(&ctx, (unsigned char *)pixels.get(), size);
|
/external/mesa3d/src/glx/apple/ |
apple_xgl_api_read.c | 101 GLenum format, GLenum type, void *pixels) 107 __ogl_framework_api->ReadPixels(x, y, width, height, format, type, pixels);
|
/external/mesa3d/src/mesa/main/ |
pbo.h | 79 GLenum format, GLenum type, const GLvoid *pixels, 86 const GLvoid *pixels,
|
/external/skia/include/core/ |
SkImageGenerator.h | 62 * Decode into the given pixels, a block of memory of size at 92 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options* options); 97 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes); 123 * If the generator can natively/efficiently return its pixels as a GPU image (backed by a 126 * This routine also supports retrieving only a subset of the pixels. That subset is specified
|
/external/skqp/include/core/ |
SkImageGenerator.h | 62 * Decode into the given pixels, a block of memory of size at 92 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options* options); 97 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes); 123 * If the generator can natively/efficiently return its pixels as a GPU image (backed by a 126 * This routine also supports retrieving only a subset of the pixels. That subset is specified
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
TextureSource.java | 69 public void allocateWithPixels(ByteBuffer pixels, int width, int height) { 70 //Log.i("TextureSource", "Uploading pixels to texture " + mTexId + ": " + width + "x" + height + "."); 71 GLToolbox.setTexturePixels(mTexId, mTarget, pixels, width, height); 76 //Log.i("TextureSource", "Uploading pixels to texture " + mTexId + "!");
|
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/items/ |
ButtonItemDrawingTest.java | 59 assertTrue("> 10 pixels should be #4285f4. Found " + accentPixelCount, 74 assertTrue("> 10 pixels should be #1a73e8. Found " + accentPixelCount, 88 private int countPixelsWithColor(int[] pixels, int color) { 90 for (int pixel : pixels) {
|
/external/ImageMagick/Magick++/lib/ |
Pixels.cpp | 6 // Pixels Implementation 17 #include "Magick++/Pixels.h" 19 Magick::Pixels::Pixels(Magick::Image &image_) 31 Magick::Pixels::~Pixels(void) 37 Magick::Quantum* Magick::Pixels::get(const ssize_t x_,const ssize_t y_, 46 Quantum* pixels=GetCacheViewAuthenticPixels(_view,x_,y_,columns_,rows_, local 50 return pixels; 53 const Magick::Quantum* Magick::Pixels::getConst(const ssize_t x_ 62 const Quantum* pixels=GetCacheViewVirtualPixels(_view,x_,y_,columns_,rows_, local 85 Quantum* pixels=QueueCacheViewAuthenticPixels(_view,x_,y_,columns_,rows_, local [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcSampleVariablesTests.cpp | 462 tcu::PixelBufferAccess pixels = results.getAccess(); local 463 std::vector<tcu::Vec4> result(pixels.getHeight() * pixels.getWidth()); 465 if (pixels.getFormat().type == tcu::TextureFormat::SIGNED_INT8) 467 std::vector<GLint> data(pixels.getHeight() * pixels.getWidth() * 4); 468 gl.readPixels(0, 0, pixels.getWidth(), pixels.getHeight(), GL_RGBA_INTEGER, GL_INT, &data[0]); 475 else if (pixels.getFormat().type == tcu::TextureFormat::UNSIGNED_INT8) 477 std::vector<GLuint> data(pixels.getHeight() * pixels.getWidth() * 4) 768 tcu::PixelBufferAccess pixels = results.getAccess(); local [all...] |
/external/deqp/external/openglcts/modules/gl/ |
gl4cES31CompatibilitySampleVariablesTests.cpp | 460 tcu::PixelBufferAccess pixels = textureLevel.getAccess(); local 461 std::vector<tcu::Vec4> result(pixels.getHeight() * pixels.getWidth()); 463 if (pixels.getFormat().type == tcu::TextureFormat::SIGNED_INT8) 465 std::vector<GLint> data(pixels.getHeight() * pixels.getWidth() * 4); 466 gl.readPixels(0, 0, pixels.getWidth(), pixels.getHeight(), GL_RGBA_INTEGER, GL_INT, &data[0]); 473 else if (pixels.getFormat().type == tcu::TextureFormat::UNSIGNED_INT8) 475 std::vector<GLuint> data(pixels.getHeight() * pixels.getWidth() * 4) 769 tcu::PixelBufferAccess pixels = results.getAccess(); local [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
gl_frame.cpp | 347 bool GLFrame::ReadFboPixels(uint8_t* pixels) const { 356 pixels); 362 bool GLFrame::ReadTexturePixels(uint8_t* pixels) const { 363 // Read pixels from texture if we do not have an FBO 388 return target.ReadFboPixels(pixels); 448 bool GLFrame::UploadTexturePixels(const uint8_t* pixels) { 454 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
IconLoader.java | 245 int[] pixels = new int[numOfPixels]; local 256 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); 262 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); 302 int[] pixels = new int[numOfPixels]; local 319 pixels[pixelIndex++] = Color.rgb(clut[clutIndex], 324 return Bitmap.createBitmap(pixels, width, height,
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
BitmapUtils.java | 183 int[] pixels = new int[original.getWidth() * original.getHeight()]; 184 original.getPixels(pixels, 0, original.getWidth(), 0, 0, 190 for (int i = 0; i < pixels.length; i++) { 191 int pixel = pixels[i]; 198 pixels[i] = Color.rgb(colors[0], colors[1], colors[2]); 202 bmp.setPixels(pixels, 0, original.getWidth(), 0, 0, original.getWidth(),
|
/external/ImageMagick/MagickCore/ |
image-view.c | 264 *magick_restrict pixels; 271 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y, 273 if (pixels == (const Quantum *) NULL) 360 % GetImageViewAuthenticPixels() returns the image view authentic pixels. 512 % the pixels in your callback are ignored. 578 *pixels; 582 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y, 584 if (pixels == (const Quantum *) NULL) 653 % GetImageViewVirtualPixels() returns the image view virtual pixels. 259 *magick_restrict pixels; local 567 *pixels; local 918 *magick_restrict pixels; local 1046 *magick_restrict pixels; local 1174 *magick_restrict pixels; local [all...] |
/external/skia/src/codec/ |
SkCodec.cpp | 211 static void zero_rect(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, 219 auto* eraseDst = SkTAddOffset<void>(pixels, offset); 223 SkCodec::Result SkCodec::handleFrameIndex(const SkImageInfo& info, void* pixels, size_t rowBytes, 300 zero_rect(info, pixels, rowBytes, prevRect); 310 const Result result = this->getPixels(info, pixels, rowBytes, &prevFrameOptions); 317 zero_rect(info, pixels, rowBytes, prevFrame->frameRect()); 326 SkCodec::Result SkCodec::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 331 if (nullptr == pixels) { 357 const Result frameIndexResult = this->handleFrameIndex(info, pixels, rowBytes, 375 const Result result = this->onGetPixels(info, pixels, rowBytes, *options, &rowsDecoded) [all...] |
/external/skqp/src/codec/ |
SkCodec.cpp | 211 static void zero_rect(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, 219 auto* eraseDst = SkTAddOffset<void>(pixels, offset); 223 SkCodec::Result SkCodec::handleFrameIndex(const SkImageInfo& info, void* pixels, size_t rowBytes, 300 zero_rect(info, pixels, rowBytes, prevRect); 310 const Result result = this->getPixels(info, pixels, rowBytes, &prevFrameOptions); 317 zero_rect(info, pixels, rowBytes, prevFrame->frameRect()); 326 SkCodec::Result SkCodec::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, 331 if (nullptr == pixels) { 357 const Result frameIndexResult = this->handleFrameIndex(info, pixels, rowBytes, 375 const Result result = this->onGetPixels(info, pixels, rowBytes, *options, &rowsDecoded) [all...] |
/external/ImageMagick/coders/ |
raw.c | 103 *pixels; 161 pixels=(const unsigned char *) NULL; 172 pixels=(const unsigned char *) ReadBlobStream(image,length, 184 Read pixels to virtual canvas image then push to image. 195 pixels=(const unsigned char *) ReadBlobStream(image,length, 219 quantum_type,pixels,exception); 249 pixels=(const unsigned char *) ReadBlobStream(image,length, 465 *pixels; 561 Convert image to RAW raster pixels. 566 pixels=(unsigned char *) GetQuantumPixels(quantum_info) 100 *pixels; local 459 *pixels; local [all...] |