HomeSort by relevance Sort by last modified time
    Searched refs:pixels (Results 126 - 150 of 959) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/opencv3/samples/winrt_universal/PhoneTutorial/
MainPage.xaml.cpp 67 byte* pixels = nullptr; variable
68 ThrowIfFailed(bufferByteAccess->Buffer(&pixels));
69 return pixels;
76 // get the pixels from the WriteableBitmap
  /external/skia/include/core/
SkImageGenerator.h 94 * Decode into the given pixels, a block of memory of size at
122 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
129 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
146 * If the generator can natively/efficiently return its pixels as a GPU image (backed by a
185 * Scale the generator's pixels to fit into scaledSize.
186 * This routine also support retrieving only a subset of the pixels. That subset is specified
199 * If the requested colortype/alphatype in pixels is not supported,
249 virtual bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
SkSurface.h 22 * drawing, the surface will be pixels, but (for example) when drawing into
38 * Create a new surface, using the specified pixels/rowbytes as its
44 static SkSurface* NewRasterDirect(const SkImageInfo&, void* pixels, size_t rowBytes,
51 static SkSurface* NewRasterDirectReleaseProc(const SkImageInfo&, void* pixels, size_t rowBytes,
52 void (*releaseProc)(void* pixels, void* context),
56 * Return a new surface, with the memory for the pixels automatically allocated, but respecting
74 * pixels in SkPMColor format.
233 * Returns an image of the current state of the surface pixels up to this
263 * If the surface has direct access to its pixels (i.e. they are in local
264 * RAM) return the const-address of those pixels, and if not null, retur
    [all...]
SkImage.h 31 * SkImage is an abstraction for drawing a rectagle of pixels, though the
49 static SkImage* NewRasterCopy(const Info&, const void* pixels, size_t rowBytes,
51 static SkImage* NewRasterData(const Info&, SkData* pixels, size_t rowBytes);
53 typedef void (*RasterReleaseProc)(const void* pixels, ReleaseContext);
56 * Return a new Image referencing the specified pixels. These must remain valid and unchanged
58 * to the pixels.
62 static SkImage* NewFromRaster(const Info&, const void* pixels, size_t rowBytes,
127 * Create a new image by copying the pixels from the specified descriptor. No reference is
136 * Create a new image by copying the pixels from the specified y, u, v textures. The data
169 * If the image has direct access to its pixels (i.e. they are in loca
    [all...]
  /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...]
  /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/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/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
LwjglGL30.java 63 int type, Buffer pixels) {
64 if (pixels == null)
66 else if (pixels instanceof ByteBuffer)
67 GL12.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, (ByteBuffer)pixels);
68 else if (pixels instanceof ShortBuffer)
69 GL12.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, (ShortBuffer)pixels);
70 else if (pixels instanceof IntBuffer)
71 GL12.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, (IntBuffer)pixels);
72 else if (pixels instanceof FloatBuffer)
73 GL12.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, (FloatBuffer)pixels);
    [all...]
  /external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
Lwjgl3GL30.java 63 int type, Buffer pixels) {
64 if (pixels == null)
66 else if (pixels instanceof ByteBuffer)
67 GL12.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, (ByteBuffer)pixels);
68 else if (pixels instanceof ShortBuffer)
69 GL12.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, (ShortBuffer)pixels);
70 else if (pixels instanceof IntBuffer)
71 GL12.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, (IntBuffer)pixels);
72 else if (pixels instanceof FloatBuffer)
73 GL12.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, (FloatBuffer)pixels);
    [all...]
  /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/skia/gm/
xfermodes2.cpp 109 SkPMColor* pixels = reinterpret_cast<SkPMColor*>(srcBmp.getPixels()); variable
115 pixels[kSize * y + x] = rowColor;
123 pixels = reinterpret_cast<SkPMColor*>(dstBmp.getPixels());
129 pixels[kSize * y + x] = colColor;
  /external/autotest/client/deps/glbench/src/
png_helper.cc 27 void write_png_file(const char* file_name, char* pixels, int width, int height)
37 char *p = pixels;
testbase.cc 99 scoped_ptr<char[]> pixels(new char[size]);
100 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.get());
106 pixels.get(), width, height);
113 scoped_ptr<char[]> pixels(new char[size]);
114 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.get());
115 MD5Update(&ctx, (unsigned char *)pixels.get(), size);
  /external/chromium-trace/catapult/telemetry/telemetry/util/
image_util.py 40 def Pixels(image):
42 return impl.Pixels(image)
58 def FromRGBPixels(width, height, pixels, bpp=3):
59 """Create an image from an array of rgb pixels.
65 pixels: The flat array of pixels in the form of [r,g,b[,a],r,g,b[,a],...]
67 return impl.FromRGBPixels(width, height, pixels, bpp)
image_util_unittest.py 60 pixels = [255, 0, 0, 255, 255, 0, 0, 0, 0,
62 orig = image_util.FromRGBPixels(3, 2, pixels)
105 pixels = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
108 bmp = image_util.FromRGBPixels(4, 3, pixels)
118 pixels = [0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0,
121 bmp = image_util.FromRGBPixels(4, 3, pixels)
128 self.assertEquals(image_util.Pixels(bmp), bytearray([1, 2, 0, 2, 2, 0]))
  /external/icu/icu4c/source/layout/
LEFontInstance.h 62 * pixels and funits. (font design units)
272 * This method gets the X and Y advance of a particular glyph, in pixels.
297 * in pixels.
307 * in pixels.
350 * This method converts pixels in the
353 * @param xPixels - pixels in the X direction
362 * This method converts pixels in the
365 * @param yPixels - pixels in the Y direction
374 * This method converts pixels to font design units.
376 * @param pixels - X and Y pixe
    [all...]
  /external/mesa3d/src/glx/apple/
apple_xgl_api_read.c 100 GLenum format, GLenum type, void *pixels)
106 __ogl_framework_api->ReadPixels(x, y, width, height, format, type, pixels);
  /external/mesa3d/src/mesa/main/
pbo.h 78 GLenum format, GLenum type, const GLvoid *pixels,
84 GLsizei imageSize, const GLvoid *pixels,
texstore.h 51 * \param srcWidth/Height/Depth source image size, in pixels
96 GLenum format, GLenum type, const GLvoid *pixels,
105 GLenum format, GLenum type, const GLvoid *pixels,
  /external/skia/debugger/QT/
SkDrawCommandGeometryWidget.cpp 46 if (const void* pixels = fSurface->peekPixels(&info, &rowBytes)) {
61 QImage image(reinterpret_cast<const uchar*>(pixels),
  /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 + "!");
  /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...]

Completed in 2791 milliseconds

1 2 3 4 56 7 8 91011>>