Searched refs:pixels (Results 176 - 200 of 653) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dpbo.h78 GLenum format, GLenum type, const GLvoid *pixels,
84 GLsizei imageSize, const GLvoid *pixels,
H A Dtexstore.h51 * \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,
H A Dteximage.h180 GLenum format, GLenum type, const GLvoid *pixels );
186 GLenum format, GLenum type, const GLvoid *pixels );
192 GLenum format, GLenum type, const GLvoid *pixels );
199 const GLvoid *pixels );
208 const GLvoid *pixels );
216 const GLvoid *pixels );
224 const GLvoid *pixels );
/external/chromium_org/ui/ozone/platform/dri/
H A Ddri_wrapper.h126 void** pixels);
131 void* pixels);
/external/mesa3d/src/glx/apple/
H A Dapple_xgl_api_read.c100 GLenum format, GLenum type, void *pixels)
106 __ogl_framework_api->ReadPixels(x, y, width, height, format, type, pixels);
99 __applegl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels) argument
/external/mesa3d/src/mesa/main/
H A Dpbo.h78 GLenum format, GLenum type, const GLvoid *pixels,
84 GLsizei imageSize, const GLvoid *pixels,
H A Dtexstore.h51 * \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,
H A Dteximage.h180 GLenum format, GLenum type, const GLvoid *pixels );
186 GLenum format, GLenum type, const GLvoid *pixels );
192 GLenum format, GLenum type, const GLvoid *pixels );
199 const GLvoid *pixels );
208 const GLvoid *pixels );
216 const GLvoid *pixels );
224 const GLvoid *pixels );
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
H A DSDL_QuartzWindow.m41 Uint32 *pixels = (Uint32*) surface->pixels;
48 pixels[ (i * rowPixels) + j ] |= amask;
88 /* make sure pixels are fully opaque */
165 /* make sure pixels are fully opaque */
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
H A DSDL_dx5yuv.c181 overlay->pixels = hwdata->planes;
223 overlay->pixels[0] = (Uint8 *)ddsd.lpSurface;
230 overlay->pixels[1] = overlay->pixels[0] +
232 overlay->pixels[2] = overlay->pixels[1] +
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11image.c76 screen->pixels = shminfo.shmaddr;
97 screen->pixels = NULL;
105 screen->pixels = SDL_malloc(screen->h*screen->pitch);
106 if ( screen->pixels == NULL ) {
112 (char *)screen->pixels,
144 screen->pixels = NULL;
/external/qemu/android/skin/
H A Dsurface.c27 uint32_t* pixels; member in struct:SkinSurface
114 void* pixels,
130 return SDL_CreateRGBSurfaceFrom( pixels, width, height, pitch, depth,
137 void* pixels )
142 s->pixels = pixels;
149 free(pixels);
194 uint32_t* pixels,
208 memcpy( pixcopy, pixels, size );
212 pixcopy ? pixcopy : pixels,
111 _sdl_surface_create_rgb_from( int width, int height, int pitch, void* pixels, int depth ) argument
190 skin_surface_create_argb32_from( int w, int h, int pitch, uint32_t* pixels, int do_copy ) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_surface.c113 surface->pixels = NULL;
122 /* Get the pixels */
126 surface->pixels = SDL_malloc(surface->h*surface->pitch);
127 if ( surface->pixels == NULL ) {
133 SDL_memset(surface->pixels, 0, surface->h*surface->pitch);
154 SDL_Surface * SDL_CreateRGBSurfaceFrom (void *pixels, argument
164 surface->pixels = pixels;
318 buf = (Uint8 *)surface->pixels + row * surface->pitch + offset;
603 row = (Uint8 *)dst->pixels
689 Uint16 *pixels = (Uint16 *)row; local
710 Uint8 *pixels = row; local
[all...]
H A DSDL_cursor.c373 const Uint32 pixels[2] = { 0xFFFFFFFF, 0x00000000 }; local
391 dst = (Uint8 *)screen->pixels +
418 dst = (Uint16 *)screen->pixels +
429 *dst = (Uint16)pixels[datab>>7];
445 dst = (Uint8 *)screen->pixels +
456 SDL_memset(dst,pixels[datab>>7],3);
472 dst = (Uint32 *)screen->pixels +
483 *dst = pixels[datab>>7];
499 const Uint32 pixels[2] = { 0xFFFFFF, 0x000000 }; local
510 dst = (Uint8 *)screen->pixels
[all...]
/external/chromium_org/chrome/browser/resources/print_preview/previewarea/
H A Dmargin_control.js128 * Radius of the margin control in pixels. Padding of control + 1 for border.
267 * Converts a value in pixels to points.
268 * @param {number} pixels Pixel value to convert.
271 convertPixelsToPts: function(pixels) {
276 pts = pixels - this.translateTransform_.y + MarginControl.RADIUS_;
279 pts = pixels - this.translateTransform_.x + MarginControl.RADIUS_;
283 pts = pixels - this.translateTransform_.y + MarginControl.RADIUS_;
287 pts = pixels - this.translateTransform_.x + MarginControl.RADIUS_;
295 * position in pixels.
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestoverlay.c92 memset(o->pixels[0],0,o->pitches[0]*o->h);
93 memset(o->pixels[1],128,o->pitches[1]*((o->h+1)/2));
94 memset(o->pixels[2],128,o->pitches[2]*((o->h+1)/2));
100 p=((Uint8 *) s->pixels)+s->pitch*y;
101 op[0]=o->pixels[0]+o->pitches[0]*y;
102 op[1]=o->pixels[1]+o->pitches[1]*(y/2);
103 op[2]=o->pixels[2]+o->pitches[2]*(y/2);
132 memset(o->pixels[0],0,o->pitches[0]*o->h);
133 memset(o->pixels[1],128,o->pitches[1]*((o->h+1)/2));
134 memset(o->pixels[
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcvideo.c252 current->pixels = vram_s;
258 current->pixels = NULL;
267 current->pixels = (void*)((int)current->pixels | 0x400000);
298 vid_set_start((int)surface->pixels & 0xffffff);
299 surface->pixels = (void*)((int)surface->pixels ^ 0x400000);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
H A DTextureD3D.cpp93 void TextureD3D::setImage(const gl::PixelUnpackState &unpack, GLenum type, const void *pixels, Image *image) argument
101 // We no longer need the "GLenum format" parameter to TexImage to determine what data format "pixels" contains.
103 const void *pixelData = pixels;
109 ptrdiff_t offset = reinterpret_cast<ptrdiff_t>(pixels);
124 GLenum format, GLenum type, const gl::PixelUnpackState &unpack, const void *pixels, const gl::ImageIndex &index)
126 const void *pixelData = pixels;
132 unsigned int offset = reinterpret_cast<unsigned int>(pixels);
151 void TextureD3D::setCompressedImage(GLsizei imageSize, const void *pixels, Image *image) argument
153 if (pixels != NULL)
155 image->loadCompressedData(0, 0, 0, image->getWidth(), image->getHeight(), image->getDepth(), pixels);
123 subImage(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const gl::PixelUnpackState &unpack, const void *pixels, const gl::ImageIndex &index) argument
160 subImageCompressed(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pixels, Image *image) argument
177 fastUnpackPixels(const gl::PixelUnpackState &unpack, const void *pixels, const gl::Box &destArea, GLenum sizedInternalFormat, GLenum type, RenderTarget *destRenderTarget) argument
[all...]
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
H A Dvoronoi.cc113 inline void wFillSpan(uint32_t *pixels, uint32_t color, int width);
245 // Quickly fill a span of pixels with a solid color. Assumes
248 inline void Voronoi::wFillSpan(uint32_t* pixels, uint32_t color, int width) { argument
254 *pixels++ = color;
255 *pixels++ = color;
256 *pixels++ = color;
257 *pixels++ = color;
266 uint32_t* pixels = wGetAddr(x, y); local
268 wFillSpan(pixels, color, w);
269 pixels
282 uint32_t* pixels = wGetAddr(x, y); local
[all...]
/external/chromium_org/content/common/
H A Dhost_shared_bitmap_manager.cc25 scoped_ptr<uint8[]> pixels; member in class:content::BitmapData
61 data->pixels = scoped_ptr<uint8[]>(new uint8[bitmap_size]);
66 data->pixels.get(),
87 if (data->pixels) {
89 data->pixels.get(), id, base::Bind(&FreeSharedMemory, it->second)));
/external/chromium_org/native_client_sdk/src/examples/demo/earth/
H A Dearth.cc82 uint32_t* pixels; member in struct:__anon8893::Texture
84 pixels = new uint32_t[w * h];
85 memset(pixels, 0, sizeof(uint32_t) * w * h);
88 pixels = new uint32_t[w * h];
89 memcpy(pixels, p, sizeof(uint32_t) * w * h);
91 ~Texture() { delete[] pixels; }
207 uint32_t* pixels);
403 uint32_t* pixels = this->wGetAddr(x0, y);
421 *pixels = kColorBlack;
422 ++pixels;
[all...]
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/
H A Dearth.cc139 uint32_t* pixels; member in struct:__anon8895::Texture
141 pixels = new uint32_t[w * h];
142 memset(pixels, 0, sizeof(uint32_t) * w * h);
145 pixels = new uint32_t[w * h];
146 memcpy(pixels, p, sizeof(uint32_t) * w * h);
148 ~Texture() { delete[] pixels; }
255 uint32_t* pixels);
468 uint32_t* pixels = this->wGetAddr(x0, y);
486 *pixels = kColorBlack;
487 ++pixels;
[all...]
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/earth/
H A Dearth.cc75 uint32_t* pixels; member in struct:__anon8907::Texture
77 pixels = new uint32_t[w * h];
78 memset(pixels, 0, sizeof(uint32_t) * w * h);
81 pixels = new uint32_t[w * h];
82 memcpy(pixels, p, sizeof(uint32_t) * w * h);
84 ~Texture() { delete[] pixels; }
206 uint32_t* pixels);
226 // Push the pixels to the browser, then attempt to flush the 2D context.
441 uint32_t* pixels = this->wGetAddr(x0, y);
459 *pixels
[all...]
/external/chromium_org/third_party/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/chromium_org/third_party/skia/tests/
H A DKtxTest.cpp33 uint8_t *pixels = reinterpret_cast<uint8_t*>(bm8888.getPixels()); local
34 REPORTER_ASSERT(reporter, pixels);
36 if (NULL == pixels) {
40 uint8_t *row = pixels;
79 REPORTER_ASSERT(reporter, memcmp(decodedPixels, pixels, decodedBitmap.getSize()) == 0);

Completed in 637 milliseconds

1234567891011>>