Searched defs:pix (Results 1 - 25 of 55) sorted by relevance

123

/external/chromium_org/third_party/freetype/src/base/
H A Dftlcdfil.c70 FT_UInt val, pix; local
74 pix = fir[0] + weights[0] * val;
80 pix >>= 8;
81 pix |= -( pix >> 8 );
82 line[xx - 2] = (FT_Byte)pix;
86 FT_UInt pix; local
89 pix = fir[0] >> 8;
90 pix |= -( pix >>
131 FT_UInt val, pix; local
148 FT_UInt pix; local
[all...]
/external/freetype/src/base/
H A Dftlcdfil.c49 /* `fir' and `pix' must be at least 32 bit wide, since the sum of */
54 FT_UInt fir[4]; /* below, `pix' is used as the 5th element */
72 FT_UInt val, pix; local
76 pix = fir[0] + weights[0] * val;
82 pix >>= 8;
83 pix |= (FT_UInt)-(FT_Int)( pix >> 8 );
84 line[xx - 2] = (FT_Byte)pix;
88 FT_UInt pix; local
91 pix
132 FT_UInt val, pix; local
149 FT_UInt pix; local
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfxft_ftlcdfil.c71 FT_UInt val, pix; local
75 pix = fir[0] + weights[0] * val;
81 pix >>= 8;
82 pix |= (FT_UInt)-(FT_Int)( pix >> 8 );
83 line[xx - 2] = (FT_Byte)pix;
87 FT_UInt pix; local
90 pix = fir[0] >> 8;
91 pix |= (FT_UInt)-(FT_Int)( pix >>
132 FT_UInt val, pix; local
149 FT_UInt pix; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/
H A Degl_g3d_image.c44 egl_g3d_reference_native_pixmap(_EGLDisplay *dpy, EGLNativePixmapType pix) argument
51 nsurf = gdpy->native->create_pixmap_surface(gdpy->native, pix, NULL);
H A Dnative_helper.c373 EGLNativePixmapType pix,
386 nsurf = ndpy->create_pixmap_surface(ndpy, pix, NULL);
372 native_display_copy_to_pixmap(struct native_display *ndpy, EGLNativePixmapType pix, struct pipe_resource *src) argument
H A Degl_g3d_api.c217 EGLNativePixmapType pix; member in union:egl_g3d_create_surface_arg::__anon14186
268 arg->u.pix, gconf->native);
333 _EGLConfig *conf, EGLNativePixmapType pix,
340 arg.u.pix = pix;
332 egl_g3d_create_pixmap_surface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLConfig *conf, EGLNativePixmapType pix, const EGLint *attribs) argument
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dtexcompress_cpal.c85 GLubyte *pix = image; local
95 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix);
96 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix);
99 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix);
106 pix += get_palette_entry(info, palette, ind[i], pix);
/external/mesa3d/src/gallium/state_trackers/egl/common/
H A Degl_g3d_image.c44 egl_g3d_reference_native_pixmap(_EGLDisplay *dpy, EGLNativePixmapType pix) argument
51 nsurf = gdpy->native->create_pixmap_surface(gdpy->native, pix, NULL);
H A Dnative_helper.c373 EGLNativePixmapType pix,
386 nsurf = ndpy->create_pixmap_surface(ndpy, pix, NULL);
372 native_display_copy_to_pixmap(struct native_display *ndpy, EGLNativePixmapType pix, struct pipe_resource *src) argument
/external/mesa3d/src/mesa/main/
H A Dtexcompress_cpal.c85 GLubyte *pix = image; local
95 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix);
96 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix);
99 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix);
106 pix += get_palette_entry(info, palette, ind[i], pix);
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dformat_conversion.cc73 uint32 selector, int pix) = ARGBToBayerRow_C;
111 uint8* dst_argb, int pix) {
116 for (x = 0; x < pix - 2; x += 2) {
135 if (!(pix & 1)) {
144 uint8* dst_argb, int pix) {
149 for (x = 0; x < pix - 2; x += 2) {
168 if (!(pix & 1)) {
177 uint8* dst_argb, int pix) {
181 for (x = 0; x < pix - 2; x += 2) {
199 if (!(pix
110 BayerRowBG(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
143 BayerRowRG(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
176 BayerRowGB(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
207 BayerRowGR(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
[all...]
/external/chromium_org/third_party/libyuv/source/
H A Dformat_conversion.cc73 uint32 selector, int pix) = ARGBToBayerRow_C;
111 uint8* dst_argb, int pix) {
116 for (x = 0; x < pix - 2; x += 2) {
135 if (!(pix & 1)) {
144 uint8* dst_argb, int pix) {
149 for (x = 0; x < pix - 2; x += 2) {
168 if (!(pix & 1)) {
177 uint8* dst_argb, int pix) {
181 for (x = 0; x < pix - 2; x += 2) {
199 if (!(pix
110 BayerRowBG(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
143 BayerRowRG(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
176 BayerRowGB(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
207 BayerRowGR(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/
H A Dnative_drm.c251 EGLNativePixmapType pix,
254 struct gbm_gallium_drm_bo *bo = (void *) pix;
250 drm_create_pixmap_surface(struct native_display *ndpy, EGLNativePixmapType pix, const struct native_config *nconf) argument
/external/deqp/framework/delibs/deimage/
H A DdeImage.c151 deARGB pix = deARGB_add(deARGB_add(deARGB_multiply(p00, f00), deARGB_multiply(p10, f10)), local
153 deImage_setPixel(result, x, y, pix);
/external/eigen/demos/mandelbrot/
H A Dmandelbrot.cpp50 int pix = y * img_width; local
59 for(int x = 0; x < alignedWidth; x += packetSize, pix += packetSize)
98 buffer[4*(pix+i)] = 255*pix_iter[i]/max_iter;
99 buffer[4*(pix+i)+1] = 0;
100 buffer[4*(pix+i)+2] = 0;
105 for(int x = alignedWidth; x < img_width; x++, pix++)
106 buffer[4*pix] = buffer[4*pix+1] = buffer[4*pix+2] = 0;
/external/libyuv/files/source/
H A Dformat_conversion.cc31 uint8* dst_bayer, uint32 selector, int pix) {
36 mov ecx, [esp + 16] // pix
56 uint32 selector, int pix) {
71 "+r"(pix) // %2
83 uint8* dst_bayer, uint32 selector, int pix) {
87 for (int x = 0; x < pix - 1; x += 2) {
93 if (pix & 1) {
148 uint32 selector, int pix) = ARGBToBayerRow_C;
176 uint8* dst_argb, int pix) {
180 for (int x = 0; x < pix
30 ARGBToBayerRow_SSSE3(const uint8* src_argb, uint8* dst_bayer, uint32 selector, int pix) argument
82 ARGBToBayerRow_C(const uint8* src_argb, uint8* dst_bayer, uint32 selector, int pix) argument
175 BayerRowBG(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
207 BayerRowRG(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
239 BayerRowGB(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
269 BayerRowGR(const uint8* src_bayer0, int src_stride_bayer, uint8* dst_argb, int pix) argument
[all...]
H A Drow_neon.cc542 void BGRAToARGBRow_NEON(const uint8* src_bgra, uint8* dst_argb, int pix) { argument
554 "+r"(pix) // %2
562 void ABGRToARGBRow_NEON(const uint8* src_abgr, uint8* dst_argb, int pix) { argument
573 "+r"(pix) // %2
581 void RGBAToARGBRow_NEON(const uint8* src_rgba, uint8* dst_argb, int pix) { argument
592 "+r"(pix) // %2
600 void RGB24ToARGBRow_NEON(const uint8* src_rgb24, uint8* dst_argb, int pix) { argument
611 "+r"(pix) // %2
619 void RAWToARGBRow_NEON(const uint8* src_raw, uint8* dst_argb, int pix) { argument
631 "+r"(pix) //
639 ARGBToRGBARow_NEON(const uint8* src_argb, uint8* dst_rgba, int pix) argument
658 ARGBToRGB24Row_NEON(const uint8* src_argb, uint8* dst_rgb24, int pix) argument
676 ARGBToRAWRow_NEON(const uint8* src_argb, uint8* dst_raw, int pix) argument
695 YUY2ToYRow_NEON(const uint8* src_yuy2, uint8* dst_y, int pix) argument
713 UYVYToYRow_NEON(const uint8* src_uyvy, uint8* dst_y, int pix) argument
731 YUY2ToUV422Row_NEON(const uint8* src_yuy2, uint8* dst_u, uint8* dst_v, int pix) argument
752 UYVYToUV422Row_NEON(const uint8* src_uyvy, uint8* dst_u, uint8* dst_v, int pix) argument
773 YUY2ToUVRow_NEON(const uint8* src_yuy2, int stride_yuy2, uint8* dst_u, uint8* dst_v, int pix) argument
799 UYVYToUVRow_NEON(const uint8* src_uyvy, int stride_uyvy, uint8* dst_u, uint8* dst_v, int pix) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/drm/
H A Dnative_drm.c251 EGLNativePixmapType pix,
254 struct gbm_gallium_drm_bo *bo = (void *) pix;
250 drm_create_pixmap_surface(struct native_display *ndpy, EGLNativePixmapType pix, const struct native_config *nconf) argument
/external/opencv/otherlibs/highgui/
H A Dgrfmt_jpeg2000.cpp287 int pix = pix_row[x]; local
288 dst[x*ncmpts] = CV_CAST_8U(pix);
293 int pix = ((pix_row[x] + delta) >> rshift) << lshift; local
294 dst[x*ncmpts] = CV_CAST_8U(pix);
300 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local
301 dst[x*ncmpts] = dst[(x+1)*ncmpts] = CV_CAST_8U(pix);
306 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local
307 pix = CV_CAST_8U(pix);
309 dst[x*ncmpts] = (uchar)pix;
349 int pix = pix_row[x]; local
355 int pix = ((pix_row[x] + delta) >> rshift) << lshift; local
362 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local
368 int pix = ((pix_row[j] + delta) >> rshift) << lshift; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_bmp.c315 Uint16 *pix = (Uint16 *)bits; local
317 pix[i] = SDL_Swap16(pix[i]);
322 Uint32 *pix = (Uint32 *)bits; local
324 pix[i] = SDL_Swap32(pix[i]);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/
H A Dnative_ximage.c295 get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix) argument
301 depth = x11_drawable_get_depth(xdpy->xscr, (Drawable) pix);
323 EGLNativePixmapType pix,
331 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix);
347 xsurf = ximage_display_create_surface(ndpy, (Drawable) pix, nconf);
439 EGLNativePixmapType pix,
444 *format = get_pixmap_format(&xdpy->base, pix);
451 EGLNativePixmapType pix,
457 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix);
477 xdraw.drawable = (Drawable) pix;
322 ximage_display_create_pixmap_surface(struct native_display *ndpy, EGLNativePixmapType pix, const struct native_config *nconf) argument
438 ximage_display_get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix, enum pipe_format *format) argument
450 ximage_display_copy_to_pixmap(struct native_display *ndpy, EGLNativePixmapType pix, struct pipe_resource *src) argument
[all...]
H A Dnative_dri2.c500 EGLNativePixmapType pix,
510 depth = x11_drawable_get_depth(dri2dpy->xscr, (Drawable) pix);
527 (Drawable) pix, nconf->color_format);
698 EGLNativePixmapType pix,
705 depth = x11_drawable_get_depth(dri2dpy->xscr, (Drawable) pix);
499 dri2_display_create_pixmap_surface(struct native_display *ndpy, EGLNativePixmapType pix, const struct native_config *nconf) argument
697 dri2_display_get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix, enum pipe_format *format) argument
/external/mesa3d/src/gallium/state_trackers/egl/x11/
H A Dnative_ximage.c295 get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix) argument
301 depth = x11_drawable_get_depth(xdpy->xscr, (Drawable) pix);
323 EGLNativePixmapType pix,
331 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix);
347 xsurf = ximage_display_create_surface(ndpy, (Drawable) pix, nconf);
439 EGLNativePixmapType pix,
444 *format = get_pixmap_format(&xdpy->base, pix);
451 EGLNativePixmapType pix,
457 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix);
477 xdraw.drawable = (Drawable) pix;
322 ximage_display_create_pixmap_surface(struct native_display *ndpy, EGLNativePixmapType pix, const struct native_config *nconf) argument
438 ximage_display_get_pixmap_format(struct native_display *ndpy, EGLNativePixmapType pix, enum pipe_format *format) argument
450 ximage_display_copy_to_pixmap(struct native_display *ndpy, EGLNativePixmapType pix, struct pipe_resource *src) argument
[all...]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DRenderCoordinates.java73 * Handles conversion of a point from window-relative-local-dip or screen-pix
300 public float fromPixToDip(float pix) { argument
301 return pix / mDeviceScaleFactor;
314 public float fromPixToLocalCss(float pix) { argument
315 return pix / (mDeviceScaleFactor * mPageScaleFactor);
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/linux/
H A Dmain_wnd.cc505 uint8* pix = image_.get(); local
507 while (pix < end) {
508 pix[3] = pix[0]; // Save B to A.
509 pix[0] = pix[2]; // Set Red.
510 pix[2] = pix[3]; // Set Blue.
511 pix[3] = 0xFF; // Fixed Alpha.
512 pix
[all...]

Completed in 490 milliseconds

123