Home
last modified time | relevance | path

Searched refs:pixels (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/external/icu4c/layout/
DValueRecords.cpp47 LEPoint pixels; in adjustPosition() local
49 fontInstance->transformFunits(value, 0, pixels); in adjustPosition()
51 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); in adjustPosition()
52 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); in adjustPosition()
57 LEPoint pixels; in adjustPosition() local
59 fontInstance->transformFunits(0, value, pixels); in adjustPosition()
61 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); in adjustPosition()
62 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); in adjustPosition()
67 LEPoint pixels; in adjustPosition() local
69 fontInstance->transformFunits(value, 0, pixels); in adjustPosition()
[all …]
DAnchorTables.cpp56 LEPoint pixels; in getAnchor() local
58 fontInstance->transformFunits(x, y, pixels); in getAnchor()
60 fontInstance->pixelsToUnits(pixels, anchor); in getAnchor()
82 LEPoint pixels; in getAnchor() local
86 fontInstance->transformFunits(x, y, pixels); in getAnchor()
92 pixels.fX += adjx; in getAnchor()
99 pixels.fY += adjy; in getAnchor()
102 fontInstance->pixelsToUnits(pixels, anchor); in getAnchor()
DMarkToBasePosnSubtables.cpp67 LEPoint baseAnchor, markAdvance, pixels; in process() local
77 fontInstance->getGlyphAdvance(markGlyph, pixels); in process()
78 fontInstance->pixelsToUnits(pixels, markAdvance); in process()
92 fontInstance->getGlyphAdvance(baseGlyph, pixels); in process()
101 pixels.fX += px.fX; // and add that to the base glyph's advance in process()
102 pixels.fY += px.fY; in process()
107 fontInstance->pixelsToUnits(pixels, baseAdvance); in process()
/external/webkit/Source/WebCore/platform/graphics/filters/
DFELighting.cpp70 int center = static_cast<int>(pixels->get(offset + cAlphaChannelOffset)); in topLeft()
71 int right = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); in topLeft()
73 int bottom = static_cast<int>(pixels->get(offset + cAlphaChannelOffset)); in topLeft()
74 int bottomRight = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); in topLeft()
81 int left = static_cast<int>(pixels->get(offset - cPixelSize + cAlphaChannelOffset)); in topRow()
82 int center = static_cast<int>(pixels->get(offset + cAlphaChannelOffset)); in topRow()
83 int right = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); in topRow()
85 int bottomLeft = static_cast<int>(pixels->get(offset - cPixelSize + cAlphaChannelOffset)); in topRow()
86 int bottom = static_cast<int>(pixels->get(offset + cAlphaChannelOffset)); in topRow()
87 int bottomRight = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); in topRow()
[all …]
/external/libvpx/libvpx/vp8/common/arm/armv6/
Dvp8_sad16x16_armv6.asm38 ldr r6, [r0, #0x0] ; load 4 src pixels (1A)
39 ldr r8, [r2, #0x0] ; load 4 ref pixels (1A)
40 ldr r7, [r0, #0x4] ; load 4 src pixels (1A)
41 ldr r9, [r2, #0x4] ; load 4 ref pixels (1A)
42 ldr r10, [r0, #0x8] ; load 4 src pixels (1B)
43 ldr r11, [r0, #0xC] ; load 4 src pixels (1B)
45 usada8 r4, r8, r6, r4 ; calculate sad for 4 pixels
46 usad8 r8, r7, r9 ; calculate sad for 4 pixels
48 ldr r12, [r2, #0x8] ; load 4 ref pixels (1B)
49 ldr lr, [r2, #0xC] ; load 4 ref pixels (1B)
[all …]
Dvp8_variance_halfpixvar16x16_hv_armv6.asm38 add r9, r0, r1 ; pointer to pixels on the next row
39 ; 1st 4 pixels
40 ldr r4, [r0, #0] ; load source pixels a, row N
41 ldr r6, [r0, #1] ; load source pixels b, row N
42 ldr r5, [r9, #0] ; load source pixels c, row N+1
43 ldr r7, [r9, #1] ; load source pixels d, row N+1
45 ; x = (a + b + 1) >> 1, interpolate pixels horizontally on row N
49 ; y = (c + d + 1) >> 1, interpolate pixels horizontally on row N+1
56 ldr r5, [r2, #0] ; load 4 ref pixels
69 orr r6, r6, r7 ; differences of all 4 pixels
[all …]
Dvp8_variance_halfpixvar16x16_v_armv6.asm39 ; 1st 4 pixels
40 ldr r4, [r0, #0] ; load 4 src pixels
41 ldr r6, [r9, #0] ; load 4 src pixels from next row
42 ldr r5, [r2, #0] ; load 4 ref pixels
59 orr r6, r6, r7 ; differences of all 4 pixels
65 uxtb16 r5, r6 ; byte (two pixels) to halfwords
66 uxtb16 r7, r6, ror #8 ; another two pixels to halfwords
69 ; 2nd 4 pixels
70 ldr r4, [r0, #4] ; load 4 src pixels
71 ldr r6, [r9, #4] ; load 4 src pixels from next row
[all …]
Dvp8_variance_halfpixvar16x16_h_armv6.asm38 ; 1st 4 pixels
39 ldr r4, [r0, #0] ; load 4 src pixels
40 ldr r6, [r0, #1] ; load 4 src pixels with 1 byte offset
41 ldr r5, [r2, #0] ; load 4 ref pixels
58 orr r6, r6, r7 ; differences of all 4 pixels
64 uxtb16 r5, r6 ; byte (two pixels) to halfwords
65 uxtb16 r7, r6, ror #8 ; another two pixels to halfwords
68 ; 2nd 4 pixels
69 ldr r4, [r0, #4] ; load 4 src pixels
70 ldr r6, [r0, #5] ; load 4 src pixels with 1 byte offset
[all …]
Dvp8_variance16x16_armv6.asm37 ; 1st 4 pixels
38 ldr r4, [r0, #0] ; load 4 src pixels
39 ldr r5, [r2, #0] ; load 4 ref pixels
53 orr r6, r6, r7 ; differences of all 4 pixels
59 uxtb16 r5, r6 ; byte (two pixels) to halfwords
60 uxtb16 r10, r6, ror #8 ; another two pixels to halfwords
63 ; 2nd 4 pixels
64 ldr r4, [r0, #4] ; load 4 src pixels
65 ldr r5, [r2, #4] ; load 4 ref pixels
76 orr r6, r6, r7 ; differences of all 4 pixels
[all …]
Dvp8_variance8x8_armv6.asm35 ; 1st 4 pixels
36 ldr r6, [r0, #0x0] ; load 4 src pixels
37 ldr r7, [r2, #0x0] ; load 4 ref pixels
51 orr r8, r8, r10 ; differences of all 4 pixels
57 uxtb16 r7, r8 ; byte (two pixels) to halfwords
58 uxtb16 r10, r8, ror #8 ; another two pixels to halfwords
61 ; 2nd 4 pixels
62 ldr r6, [r0, #0x4] ; load 4 src pixels
63 ldr r7, [r2, #0x4] ; load 4 ref pixels
76 orr r8, r8, r10 ; differences of all 4 pixels
[all …]
/external/libvpx/libvpx/vp8/encoder/arm/armv6/
Dvp8_mse16x16_armv6.asm38 ; 1st 4 pixels
39 ldr r5, [r0, #0x0] ; load 4 src pixels
40 ldr r6, [r2, #0x0] ; load 4 ref pixels
54 orr r8, r8, r7 ; differences of all 4 pixels
56 ldr r5, [r0, #0x4] ; load 4 src pixels
59 uxtb16 r6, r8 ; byte (two pixels) to halfwords
60 uxtb16 r7, r8, ror #8 ; another two pixels to halfwords
63 ; 2nd 4 pixels
64 ldr r6, [r2, #0x4] ; load 4 ref pixels
75 orr r8, r8, r7 ; differences of all 4 pixels
[all …]
/external/v8/test/mjsunit/
Dpixel-array-rounding.js30 var pixels = new PixelArray(8); variable
34 pixels[i] = (i * 1.1);
36 return pixels[1] + pixels[6];
41 assertEquals(6, pixels[5]);
44 assertEquals(6, pixels[5]);
/external/skia/gm/tests/
Drun.sh107 mkdir -p $INPUTS_DIR/identical-pixels
109 -w $INPUTS_DIR/identical-pixels
111 >> $INPUTS_DIR/identical-pixels/8888/dashing2.png
113 >> $INPUTS_DIR/identical-pixels/565/dashing2.png
115 mkdir -p $INPUTS_DIR/different-pixels
117 -w $INPUTS_DIR/different-pixels
118 mv $INPUTS_DIR/different-pixels/8888/dashing3.png \
119 $INPUTS_DIR/different-pixels/8888/dashing2.png
120 mv $INPUTS_DIR/different-pixels/565/dashing3.png \
121 $INPUTS_DIR/different-pixels/565/dashing2.png
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/
DSDL_ps3yuv.c61 volatile void * pixels __attribute__((aligned(128))); member
165 hwdata->pixels = (Uint8 *) memalign(16, width * height + ((width * height) >> 1)); in PS3_CreateYUVOverlay()
166 if (hwdata->pixels == NULL) { in PS3_CreateYUVOverlay()
174 overlay->pixels = hwdata->planes; in PS3_CreateYUVOverlay()
181 overlay->pixels[0] = (Uint8 *)hwdata->pixels; in PS3_CreateYUVOverlay()
182 overlay->pixels[1] = overlay->pixels[0] + in PS3_CreateYUVOverlay()
184 overlay->pixels[2] = overlay->pixels[1] + in PS3_CreateYUVOverlay()
242 lum = (Uint8 *)overlay->pixels[0]; in PS3_DisplayYUVOverlay()
243 Cr = (Uint8 *)overlay->pixels[1]; in PS3_DisplayYUVOverlay()
244 Cb = (Uint8 *)overlay->pixels[2]; in PS3_DisplayYUVOverlay()
[all …]
/external/webkit/Source/WebCore/platform/graphics/skia/
DGraphicsContext3DSkia.cpp53 OwnPtr<NativeImageSkia> pixels; in getImageData() local
65 pixels = adoptPtr(decoder.createFrameAtIndex(0)); in getImageData()
66 if (!pixels.get() || !pixels->isDataComplete() || !pixels->width() || !pixels->height()) in getImageData()
68 SkBitmap::Config skiaConfig = pixels->config(); in getImageData()
71 skiaImage = pixels.get(); in getImageData()
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
DSDL_gsyuv.c49 Uint8 *pixels; member
140 hwdata->pixels = (Uint8 *)SDL_malloc(width*height*2); in GS_CreateYUVOverlay()
141 if ( hwdata->pixels == NULL ) { in GS_CreateYUVOverlay()
150 overlay->pixels = hwdata->planes; in GS_CreateYUVOverlay()
157 overlay->pixels[0] = hwdata->pixels; in GS_CreateYUVOverlay()
158 overlay->pixels[1] = overlay->pixels[0] + in GS_CreateYUVOverlay()
160 overlay->pixels[2] = overlay->pixels[1] + in GS_CreateYUVOverlay()
336 lum = (Uint32 *)overlay->pixels[0]; in GS_DisplayYUVOverlay()
337 Cr = (Uint32 *)overlay->pixels[1]; in GS_DisplayYUVOverlay()
338 Cb = (Uint32 *)overlay->pixels[2]; in GS_DisplayYUVOverlay()
[all …]
/external/skia/src/image/
DSkSurface_Raster.cpp84 SkSurface_Raster::SkSurface_Raster(const SkImage::Info& info, void* pixels, size_t rb) in SkSurface_Raster() argument
90 fBitmap.setPixels(pixels); in SkSurface_Raster()
142 SkSurface* SkSurface::NewRasterDirect(const SkImage::Info& info, void* pixels, size_t rowBytes) { in NewRasterDirect() argument
146 if (NULL == pixels) { in NewRasterDirect()
150 return SkNEW_ARGS(SkSurface_Raster, (info, pixels, rowBytes)); in NewRasterDirect()
166 void* pixels = sk_malloc_throw(size); in NewRaster() local
167 if (NULL == pixels) { in NewRaster()
171 SkAutoTUnref<SkPixelRef> pr(SkNEW_ARGS(SkMallocPixelRef, (pixels, size, NULL, true))); in NewRaster()
/external/webkit/Source/WebCore/platform/image-encoders/skia/
DJPEGImageEncoder.cpp83 static void preMultipliedBGRAtoRGB(const void* pixels, unsigned int pixelCount, unsigned char* outp… in preMultipliedBGRAtoRGB() argument
85 const SkPMColor* input = static_cast<const SkPMColor*>(pixels); in preMultipliedBGRAtoRGB()
93 static void RGBAtoRGB(const unsigned char* input, unsigned int pixels, unsigned char* output) in RGBAtoRGB() argument
95 for (; pixels-- > 0; input += 4) { in RGBAtoRGB()
137 unsigned char* pixels = inputPixels; in encodePixels() local
141 preMultipliedBGRAtoRGB(pixels, cinfo.image_width, row.data()); in encodePixels()
143 RGBAtoRGB(pixels, cinfo.image_width, row.data()); in encodePixels()
145 pixels += cinfo.image_width * 4; in encodePixels()
DPNGImageEncoder.cpp50 static void preMultipliedBGRAtoRGBA(const void* pixels, int pixelCount, unsigned char* output) in preMultipliedBGRAtoRGBA() argument
53 const SkPMColor* input = static_cast<const SkPMColor*>(pixels); in preMultipliedBGRAtoRGBA()
102 unsigned char* pixels = inputPixels; in encodePixels() local
106 preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data()); in encodePixels()
109 png_write_row(png, pixels); in encodePixels()
110 pixels += imageSize.width() * 4; in encodePixels()
/external/qemu/distrib/sdl-1.2.15/test/
Dthreadwin.c27 Uint8 *pixels; in LoadIconSurface() local
53 SDL_SetColorKey(icon, SDL_SRCCOLORKEY, *((Uint8 *)icon->pixels)); in LoadIconSurface()
56 pixels = (Uint8 *)icon->pixels; in LoadIconSurface()
58 icon->format->palette->colors[*pixels].r, in LoadIconSurface()
59 icon->format->palette->colors[*pixels].g, in LoadIconSurface()
60 icon->format->palette->colors[*pixels].b); in LoadIconSurface()
70 if ( pixels[i] != *pixels ) in LoadIconSurface()
314 buffer = (Uint8 *)screen->pixels; in main()
Dtestdyngl.c103 GLfloat pixels[NB_PIXELS*3]; in main() local
141 pixels[3*i]=rand()%250-125; in main()
142 pixels[3*i+1]=rand()%250-125; in main()
143 pixels[3*i+2]=rand()%250-125; in main()
182 f.glVertex3f(pixels[3*i],pixels[3*i+1],pixels[3*i+2]); in main()
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
DSDL_DirectFB_yuv.c192 overlay->pixels = hwdata->planes; in DirectFB_CreateYUVOverlay()
224 overlay->pixels[0] = (Uint8*) data; in DirectFB_LockYUVOverlay()
233 overlay->pixels[1] = overlay->pixels[0] + overlay->pitches[0] * overlay->h; in DirectFB_LockYUVOverlay()
234 overlay->pixels[2] = overlay->pixels[1] + overlay->pitches[1] * overlay->h / 2; in DirectFB_LockYUVOverlay()
248 overlay->pixels[0] = overlay->pixels[1] = overlay->pixels[2] = NULL; in DirectFB_UnlockYUVOverlay()
/external/qemu/android/skin/
Dimage.c219 void* pixels; /* 32-bit ARGB */ member
242 if (image->pixels) { in skin_image_free()
243 free( image->pixels ); in skin_image_free()
244 image->pixels = NULL; in skin_image_free()
329 image->pixels = data; in skin_image_load()
333 image->surface = sdl_surface_from_argb32( image->pixels, w, h ); in skin_image_load()
507 node->pixels = rotate_image( parent->pixels, parent->w, parent->h, in skin_image_create()
513 if (node->pixels == NULL) { in skin_image_create()
519 blend_image( node->pixels, node->pixels, node->w, node->h, desc->blend ); in skin_image_create()
521 node->surface = sdl_surface_from_argb32( node->pixels, node->w, node->h ); in skin_image_create()
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DTexture.h120 …GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels, Image *img);
121 …GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels, Image *img);
122 …e(GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels, Image *img);
123 …, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels, Image *img);
220 …izei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels);
221 …evel, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei imageSize, const void *pixels);
222 …izei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels);
223 …Lint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels);
264 …izei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels);
265 …izei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels);
[all …]
/external/llvm/test/CodeGen/X86/
D2008-02-20-InlineAsmClobber.ll8 @pixels = weak global i32 0 ; <i32*> [#uses=2]
12 %tmp = load i32* @pixels, align 4 ; <i32> [#uses=1]
14 store i32 %tmp1, i32* @pixels, align 4
18 define void @test2(i16* %block, i8* %pixels, i32 %line_size) nounwind {
21 … $0 $1 $2", "=r,r,0,~{dirflag},~{fpsr},~{flags},~{ax}"( i16* %tmp1, i8* %pixels ) nounwind ; <i8…

12345678910>>...15