Searched refs:pixels (Results 201 - 225 of 653) sorted by relevance

1234567891011>>

/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nximage.c127 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 DSampleVertices.cpp36 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 DKtxTest.cpp34 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 DSDL_yuv_sw.c104 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 Ddenoising.cc118 std::vector<double*> pixels; local
124 pixels.push_back(pixel);
131 pixels);
/external/chromium_org/chrome/browser/ui/pdf/
H A Dpdf_browsertest_base.cc134 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 Drenderer_clipboard_client.cc28 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 DLineLoopTest.cpp108 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 DTextureTest.cpp104 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 Djava_bitmap.cc83 void* dst_pixels = dst_lock.pixels();
115 CHECK(jbitmap.pixels());
123 const void* src_pixels = jbitmap.pixels();
/external/chromium_org/ui/gfx/
H A Dgdi_util.cc123 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 Ddri_util.cc114 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 DSDL_fb3dfx.c68 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 DSkDevice.cpp94 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 DCameraConfigurationManager.java140 int pixels = supportedPreviewSize.height * supportedPreviewSize.width;
141 if (pixels < MIN_PREVIEW_PIXELS || pixels > MAX_PREVIEW_PIXELS) {
/external/chromium_org/media/base/simd/
H A Dscale_yuv_to_rgb_sse2_x64.asm56 ; 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 DImageFrameGenerator.cpp40 // 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 Dintel_tex_image.c136 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 Dintel_tex_image.c136 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 Dintel_tex_image.c136 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 Dintel_tex_image.c136 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 Dintel_tex_image.c136 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 Dintel_tex_image.c136 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 Dtest_gles2_interface.cc189 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 DWebGLImageConversion.h136 // 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);

Completed in 1975 milliseconds

1234567891011>>