/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_texture.c | 486 GLenum format, GLenum type, const GLvoid *pixels, 503 pixels = _mesa_validate_pbo_compressed_teximage(ctx, 505 pixels, packing, "glCompressedTexImage"); 507 pixels = _mesa_validate_pbo_teximage(ctx, 509 pixels, packing, "glTexImage"); 511 if (pixels) { 521 format, type, pixels, packing); 547 GLenum format, GLenum type, const GLvoid *pixels, 550 nouveau_teximage(ctx, dims, ti, 0, format, type, pixels, 569 GLenum format, GLenum type, const void *pixels, 483 nouveau_teximage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLsizei imageSize, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLboolean compressed) argument 545 nouveau_teximage_123d(struct gl_context *ctx, GLuint dims, struct gl_texture_image *ti, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing) argument 564 nouveau_texsubimage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLsizei imageSize, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing, GLboolean compressed) argument 608 nouveau_texsubimage_123d(struct gl_context *ctx, GLuint dims, struct gl_texture_image *ti, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument [all...] |
/external/opencv/ |
H A D | cvjni.h | 146 IplImage* loadPixels(int* pixels, int width, int height) {
argument 154 IMAGE( img, x, y, 0 ) = pixels[x+y*width] & 0xFF;
156 IMAGE( img, x, y, 1 ) = pixels[x+y*width] >> 8 & 0xFF;
158 IMAGE( img, x, y, 2 ) = pixels[x+y*width] >> 16 & 0xFF;
|
/external/qemu/android/skin/ |
H A D | surface.c | 27 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 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/skia/src/opts/ |
H A D | SkBitmapProcState_arm_neon.cpp | 118 // touch |filterLength| pixels (4 bytes each) after this. 132 // Load pixels and calc 133 uint8x16_t pixels = vld1q_u8(rowToFilter); local 134 int16x8_t p01_16 = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(pixels))); 135 int16x8_t p23_16 = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(pixels))); 172 // Load pixels and calc 173 uint8x16_t pixels = vld1q_u8(rowToFilter); local 174 int16x8_t p01_16 = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(pixels))); 175 int16x8_t p23_16 = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(pixels))); 214 // Output four pixels pe 423 uint8x16_t pixels; local 460 uint8x16_t pixels; local [all...] |
H A D | SkBitmapProcState_opts_SSSE3.cpp | 35 // @param xy is the location where the xy parameters for four pixels should be 81 // @param xy is the location where the xy parameters for four pixels should be 131 // @param pixel0..3 are the four input pixels 143 // Load 2 pairs of pixels 147 // Interleave pixels. 177 inline __m128i ScaleFourPixels(__m128i* pixels, argument 180 *pixels = _mm_srli_epi16(*pixels, scale); 184 *pixels = _mm_mullo_epi16(*pixels, alph [all...] |
/external/skia/src/ports/ |
H A D | SkImageDecoder_WIC.cpp | 230 //Copy the pixels into the bitmap. 236 NULL, //Get all the pixels 322 uint8_t* pixels = reinterpret_cast<uint8_t*>(bitmap->getPixels()); local 325 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel(); 416 //Write the pixels into the frame.
|
/external/webp/src/dsp/ |
H A D | lossless_neon.c | 79 const uint8x8_t pixels = vld1_u8((uint8_t*)src); local 80 vst1_u8(dst, vtbl1_u8(pixels, shuffle)); 99 uint8x8x4_t pixels; local 100 INIT_VECTOR4(pixels, 105 vst1_u8(dst + 0, vtbl4_u8(pixels, shuffle0)); 106 vst1_u8(dst + 8, vtbl4_u8(pixels, shuffle1)); 107 vst1_u8(dst + 16, vtbl4_u8(pixels, shuffle2)); 126 uint8x8x4_t pixels; local 127 INIT_VECTOR4(pixels, 132 vst1_u8(dst + 0, vtbl4_u8(pixels, shuffle [all...] |
/external/chromium_org/cc/layers/ |
H A D | heads_up_display_layer_impl.cc | 175 const void* pixels = hud_canvas_->peekPixels(&info, &row_bytes); local 176 DCHECK(pixels); 180 static_cast<const uint8_t*>(pixels),
|
H A D | scrollbar_layer_unittest.cc | 854 const SkColor* pixels = local 862 EXPECT_EQ(color, pixels[0]) 865 EXPECT_EQ(color, pixels[width - 1]) 868 EXPECT_EQ(color, pixels[width * (height - 1)]) 871 EXPECT_EQ(color, pixels[width * height - 1])
|
/external/chromium_org/cc/resources/ |
H A D | resource_update_controller_unittest.cc | 45 const void* pixels) OVERRIDE; 222 const void* pixels) { 214 texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) argument
|
/external/chromium_org/content/browser/compositor/ |
H A D | delegated_frame_host.cc | 495 uint8* pixels = static_cast<uint8*>(bitmap->getPixels()); local 510 pixels, 604 // pixels.
|
/external/chromium_org/content/renderer/media/ |
H A D | rtc_video_decoder.cc | 400 const SkBitmap& pixels, 402 factories->ReadPixels(texture_id, visible_rect, pixels); 410 const SkBitmap& pixels) { 417 pixels, 396 ReadPixelsSyncInner( const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, uint32 texture_id, const gfx::Rect& visible_rect, const SkBitmap& pixels, base::WaitableEvent* event) argument 406 ReadPixelsSync( const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, uint32 texture_id, const gfx::Rect& visible_rect, const SkBitmap& pixels) argument
|
/external/chromium_org/media/filters/ |
H A D | gpu_video_decoder.cc | 113 // with any dimension smaller than 48 pixels: 398 const SkBitmap& pixels, 400 factories->ReadPixels(texture_id, visible_rect, pixels); 408 const SkBitmap& pixels) { 415 pixels, 394 ReadPixelsSyncInner( const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, uint32 texture_id, const gfx::Rect& visible_rect, const SkBitmap& pixels, base::WaitableEvent* event) argument 404 ReadPixelsSync( const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, uint32 texture_id, const gfx::Rect& visible_rect, const SkBitmap& pixels) argument
|
/external/chromium_org/native_client_sdk/src/examples/demo/life_simd/ |
H A D | life.c | 252 uint8_t* pixels = g_pImageData->Map(image); local 278 uint32_t *pixel_line = (uint32_t*) (pixels + y * desc.stride); 334 * Use __builtin_shufflevector(..) to construct output pixels from 352 /* Write 16 pixels to output pixel buffer. */
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/ |
H A D | voronoi.cc | 107 inline void wFillSpan(uint32_t *pixels, uint32_t color, int width); 211 // could round up to the nearest 16 pixels, but it runs much faster when 240 // Quickly fill a span of pixels with a solid color. 242 inline void Voronoi::wFillSpan(uint32_t* pixels, uint32_t color, int width) { argument 249 *pixels++ = color; 256 uint32_t* pixels = wGetAddr(x, y); local 258 wFillSpan(pixels, color, w); 259 pixels += stride_in_pixels; 272 uint32_t* pixels = wGetAddr(x, y); local 279 wFillSpan(pixels, colors [all...] |
/external/chromium_org/printing/ |
H A D | emf_win.cc | 413 const uint32_t* pixels = local 415 if (pixels == NULL) { 426 pixels,
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSCalculationValue.cpp | 211 value.pixels += m_value->computeLength<float>(conversionData) * multiplier; 732 PassRefPtrWillBeRawPtr<CSSCalcExpressionNode> CSSCalcValue::createExpressionNode(double pixels, double percent) argument 735 createExpressionNode(CSSPrimitiveValue::create(pixels, CSSPrimitiveValue::CSS_PX), pixels == trunc(pixels)),
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FELighting.cpp | 74 int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); 75 int right = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); 77 int bottom = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); 78 int bottomRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); 85 int left = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); 86 int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); 87 int right = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); 89 int bottomLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); 90 int bottom = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); 91 int bottomRight = static_cast<int>(pixels 313 drawLighting(Uint8ClampedArray* pixels, int width, int height) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
H A D | DrawingBufferTest.cpp | 76 virtual void texImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Denum format, WGC3Denum type, const void* pixels) argument
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | videoadapter.cc | 95 float pixels = static_cast<float>(width * height); local 98 float test_num_pixels = pixels * scale * scale; 253 // Constrain output resolution to this many pixels overall 455 // Helper function to UPGRADE or DOWNGRADE a number of pixels 675 bool CoordinatedVideoAdapter::IsMinimumFormat(int pixels) { argument 689 pixels);
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkBitmap.h | 30 and height, and a format (colortype), and a pointer to the actual pixels. 33 A const SkBitmap exposes getAddr(), which lets a caller write its pixels; 65 * Default construct creates a bitmap with zero width and height, and no pixels. 71 * Copy the settings from the src into this bitmap. If the src has pixels 73 * reference the same memory for the pixels. If a deep copy is needed, 74 * where the new bitmap has its own separate copy of the pixels, use 81 /** Copies the src bitmap into this bitmap. Ownership of the src bitmap's pixels remains 119 * Return the rowbytes expressed as a number of pixels (like width and height). 157 * Note: this changes the alphatype for the underlying pixels, which means 158 * that all bitmaps that might be sharing (subsets of) the pixels wil 329 installPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, void (*releaseProc)(void* addr, void* context), void* context) argument 341 installPixels(const SkImageInfo& info, void* pixels, size_t rowBytes) argument [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
H A D | GrGLCreateNullInterface.cpp | 139 GrGLvoid GR_GL_FUNCTION_TYPE nullGLReadPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) {} argument
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
H A D | GrGLCreateDebugInterface.cpp | 135 GrGLvoid* pixels) { 185 GrGLchar *scanline = static_cast<GrGLchar *>(pixels); 129 debugGLReadPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) argument
|
/external/chromium_org/third_party/skia/tests/ |
H A D | ReadPixelsTest.cpp | 101 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels()); local 104 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel()); 123 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels()); local 126 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel()); 152 // checks the bitmap contains correct pixels after the readPixels 153 // if the bitmap was prefilled with pixels it checks that these weren't 350 // if the bitmap has pixels allocated before the readPixels, 365 // read pixels should never change the gen id 372 // if we had no pixels beforehand and the readPixels 373 // failed then our bitmap should still not have pixels [all...] |