HomeSort by relevance Sort by last modified time
    Searched defs:pixels (Results 26 - 50 of 247) sorted by null

12 3 4 5 6 7 8 910

  /external/skia/tools/skiaserve/
Request.cpp 32 png_bytep pixels = (png_bytep) sk_malloc_throw(width * height * 3); local
35 rows[y] = pixels + y * width * 3;
57 fprintf(stderr, "Can't read pixels\n");
64 // capture pixels
  /frameworks/ex/framesequence/jni/
FrameSequenceJNI.cpp 118 void* pixels; local
126 if ((ret = AndroidBitmap_lockPixels(env, bitmap, &pixels)) < 0) {
128 "Bitmap pixels couldn't be locked");
134 (Color8888*) pixels, pixelStride, previousFrameNr);
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_surface.h 64 * \brief A collection of pixels used in software blitting.
66 * \note This structure should be treated as read-only, except for \c pixels,
75 void *pixels; /**< Read-write */ member in struct:SDL_Surface
110 * \param width The width in pixels of the surface to create.
111 * \param height The height in pixels of the surface to create.
121 extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels,
143 * \brief Sets up a surface for directly accessing the pixels.
146 * to and read from \c surface->pixels, using the pixel format stored in
208 * but the surface must be locked before directly accessing the pixels.
365 * \brief Copy a block of pixels of one format to another forma
    [all...]
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_surface.h 64 * \brief A collection of pixels used in software blitting.
66 * \note This structure should be treated as read-only, except for \c pixels,
75 void *pixels; /**< Read-write */ member in struct:SDL_Surface
110 * \param width The width in pixels of the surface to create.
111 * \param height The height in pixels of the surface to create.
121 extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels,
143 * \brief Sets up a surface for directly accessing the pixels.
146 * to and read from \c surface->pixels, using the pixel format stored in
208 * but the surface must be locked before directly accessing the pixels.
365 * \brief Copy a block of pixels of one format to another forma
    [all...]
  /prebuilts/misc/windows/sdl2/include/
SDL_surface.h 64 * \brief A collection of pixels used in software blitting.
66 * \note This structure should be treated as read-only, except for \c pixels,
75 void *pixels; /**< Read-write */ member in struct:SDL_Surface
110 * \param width The width in pixels of the surface to create.
111 * \param height The height in pixels of the surface to create.
121 extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels,
143 * \brief Sets up a surface for directly accessing the pixels.
146 * to and read from \c surface->pixels, using the pixel format stored in
208 * but the surface must be locked before directly accessing the pixels.
365 * \brief Copy a block of pixels of one format to another forma
    [all...]
  /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);
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_surface.h 64 * \brief A collection of pixels used in software blitting.
66 * \note This structure should be treated as read-only, except for \c pixels,
75 void *pixels; /**< Read-write */ member in struct:SDL_Surface
110 * \param width The width in pixels of the surface to create.
111 * \param height The height in pixels of the surface to create.
121 extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels,
143 * \brief Sets up a surface for directly accessing the pixels.
146 * to and read from \c surface->pixels, using the pixel format stored in
208 * but the surface must be locked before directly accessing the pixels.
365 * \brief Copy a block of pixels of one format to another forma
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ShapeDrawable1.java 51 int[] pixels = new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF, 0}; local
52 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2,
  /external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
_bitmap.py 6 Bitmap is a basic wrapper for image pixels. It includes some basic processing
29 def __init__(self, dimensions, pixels):
45 if type(pixels) is not bytearray:
46 pixels = bytearray(pixels)
47 self._popen.stdin.write(pixels)
88 def __init__(self, bpp, width, height, pixels, metadata=None):
92 assert pixels, 'Must specify pixels'
93 assert bpp * width * height == len(pixels), 'Dimensions and pixels mismatch
122 def pixels(self): member in class:Bitmap
    [all...]
  /external/icu/icu4c/source/layout/
GlyphPositionAdjustments.cpp 92 LEPoint entryAnchor, exitAnchor, pixels; local
120 fontInstance->getGlyphAdvance(glyphID, pixels);
121 fontInstance->pixelsToUnits(pixels, secondAdvance);
127 fontInstance->getGlyphAdvance(lastExitGlyphID, pixels);
128 fontInstance->pixelsToUnits(pixels, firstAdvance);
  /external/libvpx/libvpx/vpx_dsp/
psnrhvs.c 100 int pixels; local
104 ret = pixels = 0;
198 pixels++;
203 ret /= pixels;
  /external/mesa3d/src/mesa/main/
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 = tempImage
324 const GLubyte *pixels; local
    [all...]
  /external/skia/gm/
colorcube.cpp 75 SkColor* pixels = (SkColor*)((*data)->writable_data()); local
88 pixels[(size * ((size * b) + g)) + r] = sk_tool_utils::color_to_565(
rectangletexture.cpp 37 void fillPixels(int width, int height, void *pixels) {
40 bmp.setPixels(pixels);
57 SkImage* createRectangleTextureImg(GrContext* context, int width, int height, void* pixels) {
75 // We will always create the GL texture as GL_RGBA, however the pixels uploaded may be
101 format, GR_GL_UNSIGNED_BYTE, pixels));
133 SkPMColor pixels[kWidth * kHeight]; variable
134 this->fillPixels(kWidth, kHeight, pixels);
136 pixels));
yuvtorgbeffect.cpp 55 unsigned char* pixels[3]; variable
57 pixels[i] = (unsigned char*)fBmp[i].getPixels();
66 pixels[i][j] = (unsigned char)color[i];
  /external/skia/samplecode/
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/android/
SkBitmapRegionCodec.cpp 31 // If inputX is negative, we will need to place decoded pixels into the
34 // If inputY is negative, we will need to place decoded pixels into the
104 SkCodecPrintf("Error: Could not allocate pixels.\n");
111 // pixels?
116 void* pixels = bitmap->getPixels(); local
118 memset(pixels, 0, bytes);
140 SkCodecPrintf("Error: Could not get pixels.\n");
  /external/skia/src/core/
SkSpecialImage.cpp 182 // like a lazy decode or imagegenerator. PreLocked means it is flat pixels already.
206 const void* pixels = fBitmap.getPixels(); variable
207 if (pixels) {
209 pixmap->reset(info, pixels, fBitmap.rowBytes());
  /external/skia/tests/
RectangleTextureTest.cpp 19 SkAutoTMalloc<uint32_t> pixels(pixelCnt);
20 memset(pixels.get(), 0, sizeof(uint32_t)*pixelCnt);
23 pixels.get());
28 if (pixels.get()[i] != expectedPixelValues[i]) {
30 " got 0x%08x.", i, expectedPixelValues[i], pixels.get()[i]);
39 SkAutoTMalloc<uint32_t> pixels(pixelCnt);
42 pixels.get()[y * rectangleTexture->width() + x] = GrColorPackRGBA(x, y, x + y, x * y);
47 pixels.get());
51 test_read_pixels(reporter, context, rectangleTexture, pixels.get());
70 SkAutoTMalloc<uint32_t> pixels(pixelCnt)
144 GrColor pixels[kWidth * kHeight]; local
    [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);
  /frameworks/base/media/mca/filterfw/jni/
jni_gl_frame.cpp 201 // Read the frame pixels
202 uint8_t* pixels = new uint8_t[frame->Size()]; local
203 frame->CopyDataTo(pixels, frame->Size());
206 ConvertRGBAToFloats(pixels, frame->Size(), float_array);
209 delete[] pixels;
222 uint8_t* pixels; local
223 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels));
225 const bool success = frame->WriteData(pixels, size);
238 uint8_t* pixels; local
239 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels));
    [all...]
  /frameworks/base/packages/PrintSpooler/jni/
com_android_printspooler_util_BitmapSerializeUtils.cpp 114 // Lock the pixels.
115 void* pixels; local
116 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels);
118 throwIllegalStateException(env, (char*) "Cannot lock bitmap pixels");
122 // Read the pixels.
124 read = readAllBytes(fd, (void*) pixels, byteCount);
126 throwIllegalStateException(env, (char*) "Cannot read bitmap pixels");
130 // Unlock the pixels.
133 throwIllegalStateException(env, (char*) "Cannot unlock bitmap pixels");
153 // Lock the pixels
154 void* pixels; local
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
FaceSquareFilterTest.java 79 int[] pixels = new int[bitmap.getByteCount()]; local
80 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(),
116 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) +
118 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) +
120 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + left) +
126 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) +
128 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) +
130 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) +
138 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * top + left + k) +
140 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * top + left + k)
    [all...]
  /frameworks/native/opengl/tests/gl_jni/jni/
gl_code.cpp 117 const unsigned int pixels[] = local
131 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
  /packages/apps/Camera2/src/com/android/camera/one/v2/common/
PictureSizeCalculator.java 116 long pixels = candidate.area(); local
119 pixels < bestArea) {
121 bestArea = pixels;

Completed in 1180 milliseconds

12 3 4 5 6 7 8 910