Searched defs:pixels (Results 176 - 200 of 332) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/platform/
H A DLength.h55 PixelsAndPercent(float pixels, float percent) argument
56 : pixels(pixels)
60 float pixels; member in struct:blink::PixelsAndPercent
/external/chromium_org/third_party/libwebp/dsp/
H A Dlossless_neon.c79 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/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
H A Dnouveau_texture.c486 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/chromium_org/third_party/skia/src/opts/
H A DSkBitmapProcState_arm_neon.cpp118 // 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 DSkBitmapProcState_opts_SSSE3.cpp34 // @param xy is the location where the xy parameters for four pixels should be
80 // @param xy is the location where the xy parameters for four pixels should be
130 // @param pixel0..3 are the four input pixels
142 // Load 2 pairs of pixels
146 // Interleave pixels.
176 inline __m128i ScaleFourPixels(__m128i* pixels, argument
179 *pixels = _mm_srli_epi16(*pixels, scale);
183 *pixels = _mm_mullo_epi16(*pixels, alph
[all...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkImageDecoder_WIC.cpp230 //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/chromium_org/third_party/skia/src/utils/
H A DSkTextureCompressor_LATC.cpp84 // src pixels are divisible by 4, and copy 4x4 blocks one at a time
126 // Compress a block by using the bounding box of the pixels. It is assumed that
127 // there are no extremal pixels in this block otherwise we would have used
129 static uint64_t compress_latc_block_bb(const uint8_t pixels[]) { argument
133 minVal = SkTMin(pixels[i], minVal);
134 maxVal = SkTMax(pixels[i], maxVal);
147 uint8_t bestError = abs_diff(pixels[i], palette[0]);
150 uint8_t error = abs_diff(pixels[i], palette[j]);
168 // Compress a block by using the bounding box of the pixels without taking into
171 static uint64_t compress_latc_block_bb_ignore_extremal(const uint8_t pixels[]) { argument
234 compress_latc_block(const uint8_t pixels[]) argument
[all...]
/external/chromium_org/third_party/skia/tests/
H A DSurfaceTest.cpp31 static void release_storage(void* pixels, void* context) { argument
32 SkASSERT(pixels == context);
33 sk_free(pixels);
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_texture.c486 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 Dcvjni.h146 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 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_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/skia/src/opts/
H A DSkBitmapProcState_arm_neon.cpp118 // 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 DSkBitmapProcState_opts_SSSE3.cpp35 // @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 DSkImageDecoder_WIC.cpp230 //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 Dlossless_neon.c79 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 Dscrollbar_layer_unittest.cc1064 const SkColor* pixels = local
1072 EXPECT_EQ(color, pixels[0])
1075 EXPECT_EQ(color, pixels[width - 1])
1078 EXPECT_EQ(color, pixels[width * (height - 1)])
1081 EXPECT_EQ(color, pixels[width * height - 1])
/external/chromium_org/cc/resources/
H A Dresource_update_controller_unittest.cc45 const void* pixels) OVERRIDE;
226 const void* pixels) {
218 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/renderer/media/
H A Drtc_video_decoder.cc412 const SkBitmap& pixels,
414 factories->ReadPixels(texture_id, visible_rect, pixels);
422 const SkBitmap& pixels) {
429 pixels,
408 ReadPixelsSyncInner( const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, uint32 texture_id, const gfx::Rect& visible_rect, const SkBitmap& pixels, base::WaitableEvent* event) argument
418 ReadPixelsSync( const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, uint32 texture_id, const gfx::Rect& visible_rect, const SkBitmap& pixels) argument
/external/chromium_org/media/base/
H A Dvideo_frame.cc188 void VideoFrame::ReadPixelsFromNativeTexture(const SkBitmap& pixels) { argument
191 read_pixels_cb_.Run(pixels);
/external/chromium_org/media/filters/
H A Dgpu_video_decoder.cc101 // with any dimension smaller than 48 pixels:
389 const SkBitmap& pixels,
391 factories->ReadPixels(texture_id, visible_rect, pixels);
399 const SkBitmap& pixels) {
406 pixels,
385 ReadPixelsSyncInner( const scoped_refptr<media::GpuVideoAcceleratorFactories>& factories, uint32 texture_id, const gfx::Rect& visible_rect, const SkBitmap& pixels, base::WaitableEvent* event) argument
395 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 Dlife.cc341 uint32_t *pixels = static_cast<uint32_t *>(ps_context_->data); local
343 (pixels + y * ps_context_->stride / sizeof(uint32_t));
399 // Use __builtin_shufflevector(..) to construct output pixels from
416 // Write 16 pixels to output pixel buffer.
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/
H A Dvoronoi.cc107 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 Demf_win.cc373 const uint32_t* pixels = local
375 if (pixels == NULL) {
386 pixels,
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSCalculationValue.cpp216 value.pixels += m_value->computeLength<float>(conversionData) * multiplier;
743 PassRefPtrWillBeRawPtr<CSSCalcExpressionNode> CSSCalcValue::createExpressionNode(double pixels, double percent) argument
746 createExpressionNode(CSSPrimitiveValue::create(pixels, CSSPrimitiveValue::CSS_PX), pixels == trunc(pixels)),

Completed in 646 milliseconds

1234567891011>>