/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
H A D | SDL_nximage.c | 127 screen -> pixels = (void *) SDL_malloc (size) ; 131 if (screen -> pixels == NULL || Image_buff == NULL) { 132 SDL_free (screen -> pixels) ; 139 SDL_Image = (unsigned char *) screen -> pixels ; 153 if (screen) screen -> pixels = NULL ;
|
/external/skia/samplecode/ |
H A D | 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/tests/ |
H A D | KtxTest.cpp | 34 uint8_t *pixels = reinterpret_cast<uint8_t*>(bm8888.getPixels()); local 35 REPORTER_ASSERT(reporter, NULL != pixels); 37 if (NULL == pixels) { 41 uint8_t *row = pixels; 80 REPORTER_ASSERT(reporter, memcmp(decodedPixels, pixels, decodedBitmap.getSize()) == 0);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_yuv_sw.c | 104 Uint8 *pixels; member in struct:private_yuvhwdata 988 swdata->pixels = (Uint8 *) SDL_malloc(width*height*2); 998 if ( ! swdata->pixels || ! swdata->colortab || ! swdata->rgb_2_pix ) { 1034 * pixels in the pixel doubling mode with one op. It is 1127 overlay->pixels = swdata->planes; 1134 overlay->pixels[0] = swdata->pixels; 1135 overlay->pixels[1] = overlay->pixels[0] + 1137 overlay->pixels[ [all...] |
/external/ceres-solver/examples/ |
H A D | denoising.cc | 118 std::vector<double*> pixels; local 124 pixels.push_back(pixel); 131 pixels);
|
/external/chromium_org/chrome/browser/ui/pdf/ |
H A D | pdf_browsertest_base.cc | 134 int32* pixels = static_cast<int32*>(bitmap.getPixels()); local 153 if (pixels[snapshot_x_offset] != bg_color) 163 if (pixels[y * stride / sizeof(int32) + x + snapshot_x_offset] !=
|
/external/chromium_org/content/renderer/ |
H A D | renderer_clipboard_client.cc | 28 const void* pixels, 47 const void* pixels, 68 memcpy(shared_buf_->memory(), pixels, buf_size); 45 WriteBitmapFromPixels( ui::Clipboard::ObjectMap* objects, const void* pixels, const gfx::Size& size) argument
|
/external/chromium_org/third_party/angle/tests/angle_tests/ |
H A D | LineLoopTest.cpp | 108 std::vector<GLubyte> pixels(getWindowWidth() * getWindowHeight() * 4); 109 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, pixels.data()); 115 const GLubyte* pixel = pixels.data() + ((y * getWindowWidth() + x) * 4);
|
H A D | TextureTest.cpp | 104 const GLubyte *pixels[20] = { 0 }; local 105 glTexSubImage2D(GL_TEXTURE_2D, 0, 1, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/external/chromium_org/ui/gfx/android/ |
H A D | java_bitmap.cc | 83 void* dst_pixels = dst_lock.pixels(); 115 CHECK(jbitmap.pixels()); 123 const void* src_pixels = jbitmap.pixels();
|
/external/chromium_org/ui/gfx/ |
H A D | gdi_util.cc | 123 int src_x, int src_y, int src_w, int src_h, void* pixels, 135 pixels, bitmap_info, DIB_RGB_COLORS, SRCCOPY); 140 pixels, bitmap_info, DIB_RGB_COLORS, SRCCOPY); 122 StretchDIBits(HDC hdc, int dest_x, int dest_y, int dest_w, int dest_h, int src_x, int src_y, int src_w, int src_h, void* pixels, const BITMAPINFO* bitmap_info) argument
|
/external/chromium_org/ui/ozone/platform/dri/ |
H A D | dri_util.cc | 114 void** pixels) { 124 *pixels = mmap(0, 130 if (*pixels == MAP_FAILED) { 111 MapDumbBuffer(int fd, uint32_t handle, uint32_t size, void** pixels) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | SDL_fb3dfx.c | 68 dst_base = ((char *)dst->pixels - mapped_mem); 115 src_base = ((char *)src->pixels - mapped_mem); 118 dst_base = ((char *)dst->pixels - mapped_mem);
|
/external/skia/src/core/ |
H A D | SkDevice.cpp | 94 bool SkBaseDevice::writePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, argument 98 SkASSERT(pixels); 106 return this->onWritePixels(info, pixels, rowBytes, x, y);
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
H A D | CameraConfigurationManager.java | 140 int pixels = supportedPreviewSize.height * supportedPreviewSize.width; 141 if (pixels < MIN_PREVIEW_PIXELS || pixels > MAX_PREVIEW_PIXELS) {
|
/external/chromium_org/media/base/simd/ |
H A D | scale_yuv_to_rgb_sse2_x64.asm | 56 ; Read UV pixels. 78 shufps xmm1, xmm2, 0x44 ; Join two pixels into one XMM register 88 and WIDTHq, 1 ; odd number of pixels?
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | ImageFrameGenerator.cpp | 40 // Creates a SkPixelRef such that the memory for pixels is given by an external body. 44 ExternalMemoryAllocator(const SkImageInfo& info, void* pixels, size_t rowBytes) argument 46 , m_pixels(pixels) 115 bool ImageFrameGenerator::decodeAndScale(const SkImageInfo& info, size_t index, void* pixels, size_t rowBytes) argument 131 m_externalAllocator = adoptPtr(new ExternalMemoryAllocator(info, pixels, rowBytes)); 147 if (bitmap.getPixels() != pixels) 148 result = bitmap.copyPixelsTo(pixels, rowBytes * info.fHeight, rowBytes);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | intel_tex_image.c | 136 GLenum format, GLenum type, const void *pixels) 173 src_offset += (GLuint) (unsigned long) pixels; 206 GLenum format, GLenum type, const void *pixels, 216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { 220 DBG("%s: upload image %dx%dx%d pixels %p\n", 222 pixels); 225 format, type, pixels, unpack); 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | intel_tex_image.c | 136 GLenum format, GLenum type, const void *pixels) 173 src_offset += (GLuint) (unsigned long) pixels; 206 GLenum format, GLenum type, const void *pixels, 216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { 220 DBG("%s: upload image %dx%dx%d pixels %p\n", 222 pixels); 225 format, type, pixels, unpack); 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
H A D | intel_tex_image.c | 136 GLenum format, GLenum type, const void *pixels) 173 src_offset += (GLuint) (unsigned long) pixels; 206 GLenum format, GLenum type, const void *pixels, 216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { 220 DBG("%s: upload image %dx%dx%d pixels %p\n", 222 pixels); 225 format, type, pixels, unpack); 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_tex_image.c | 136 GLenum format, GLenum type, const void *pixels) 173 src_offset += (GLuint) (unsigned long) pixels; 206 GLenum format, GLenum type, const void *pixels, 216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { 220 DBG("%s: upload image %dx%dx%d pixels %p\n", 222 pixels); 225 format, type, pixels, unpack); 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | intel_tex_image.c | 136 GLenum format, GLenum type, const void *pixels) 173 src_offset += (GLuint) (unsigned long) pixels; 206 GLenum format, GLenum type, const void *pixels, 216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { 220 DBG("%s: upload image %dx%dx%d pixels %p\n", 222 pixels); 225 format, type, pixels, unpack); 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_tex_image.c | 136 GLenum format, GLenum type, const void *pixels) 173 src_offset += (GLuint) (unsigned long) pixels; 206 GLenum format, GLenum type, const void *pixels, 216 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { 220 DBG("%s: upload image %dx%dx%d pixels %p\n", 222 pixels); 225 format, type, pixels, unpack); 133 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument 203 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
|
/external/chromium_org/cc/test/ |
H A D | test_gles2_interface.cc | 189 const void* pixels) { 198 pixels); 209 const void* pixels) { 211 target, level, xoffset, yoffset, width, height, format, type, pixels); 268 const void* pixels) { 277 pixels); 288 const void* pixels) { 290 target, level, xoffset, yoffset, width, height, format, type, pixels); 181 TexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) argument 201 TexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) argument 260 AsyncTexImage2DCHROMIUM(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) argument 280 AsyncTexSubImage2DCHROMIUM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) argument
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
H A D | WebGLImageConversion.h | 136 // Packs the contents of the given Image which is passed in |pixels| into the passed Vector 139 static bool packImageData(Image*, const void* pixels, GLenum format, GLenum type, bool flipY, AlphaOp, DataFormat sourceFormat, unsigned width, unsigned height, unsigned sourceUnpackAlignment, Vector<uint8_t>& data); 152 static bool extractTextureData(unsigned width, unsigned height, GLenum format, GLenum type, unsigned unpackAlignment, bool flipY, bool premultiplyAlpha, const void* pixels, Vector<uint8_t>& data);
|