Searched refs:npixels (Results 1 - 25 of 46) sorted by relevance

12

/xsrc/external/mit/libX11/dist/src/
H A DFreeCols.c37 int npixels,
49 req->length += npixels;
51 nbytes = npixels << 2; /* watch out for macros... */
33 XFreeColors(register Display * dpy,Colormap cmap,unsigned long * pixels,int npixels,unsigned long planes) argument
/xsrc/external/mit/libXmu/dist/src/
H A DCrCmap.c174 int npixels; /* number of pixels allocated R/W */ local in function:readwrite_map
225 if ((npixels = ROmap(dpy, colormap->colormap, pixels,
231 qsort((char *) pixels, npixels, sizeof(unsigned long), compare);
233 if (!contiguous(pixels, npixels, ncolors, delta, &first_index, &remainder))
236 XFreeColors(dpy, colormap->colormap, pixels, npixels,
254 if (! ROorRWcell(dpy, colormap->colormap, pixels, npixels, &color,
267 if (! ROorRWcell(dpy, colormap->colormap, pixels, npixels, &color,
280 if (! ROorRWcell(dpy, colormap->colormap, pixels, npixels, &color,
293 if (! ROorRWcell(dpy, colormap->colormap, pixels, npixels, &color,
310 if (! ROorRWcell(dpy, colormap->colormap, pixels, npixels,
376 contiguous(unsigned long pixels[],int npixels,int ncolors,unsigned long delta,int * first,int * rem) argument
414 ROorRWcell(Display * dpy,Colormap cmap,unsigned long pixels[],int npixels,XColor * color,unsigned long p) argument
451 free_cells(Display * dpy,Colormap cmap,unsigned long pixels[],int npixels,int p) argument
[all...]
/xsrc/external/mit/libXpm/dist/src/
H A Damigax.h87 #define XFreeColors(dpy, cm, pixels, npixels, planes) \
88 (FreePens (cm, pixels, npixels))
129 int npixels);
H A DAttrib.c163 attributes->npixels = 0;
213 attributes->npixels = 0;
258 if (attributes->valuemask & XpmReturnPixels && attributes->npixels) {
261 attributes->npixels = 0;
291 attributes->npixels = 0;
H A Dsimx.h112 int npixels, unsigned long planes));
H A Dsimx.c243 unsigned long pixels[], int npixels, unsigned long planes)
242 XFreeColors(Display * d,Colormap cmap,unsigned long pixels[],int npixels,unsigned long planes) argument
H A Damigax.c261 int npixels)
267 for (i = 0; i < npixels; i++)
258 FreePens(Colormap colormap,unsigned long * pixels,int npixels) argument
/xsrc/external/mit/libXfixes/dist/src/
H A DCursor.c78 size_t npixels; local in function:XFixesGetCursorImage
103 npixels = rep.width * rep.height;
106 npixels < (((INT_MAX >> 3) - sizeof (XFixesCursorImage) - 1)
113 nread = (npixels << 2) + nbytes_name;
116 npixels * sizeof (unsigned long) +
138 name = (char *) (image->pixels + npixels);
140 _XRead32 (dpy, (long *) image->pixels, npixels << 2);
/xsrc/external/mit/xf86-video-intel/dist/src/uxa/
H A Dintel_video.h88 int top, int left, int npixels, int nlines,
101 int *top, int* left, int* npixels, int *nlines,
H A Dintel_uxa_video.c232 int top, left, npixels, nlines; local in function:intel_uxa_video_put_image_textured
250 &top, &left, &npixels, &nlines, clipBoxes,
281 top, left, npixels, nlines, id, buf))
H A Dintel_video.c493 "nlines %d, npixels %d, top %d, left %d\n",
656 int top, int left, int npixels, int nlines,
680 npixels, id);
683 nlines, npixels);
715 int *top, int* left, int* npixels, int *nlines,
758 *npixels = ALIGN(((x2 + 0xffff) >> 16), 2) - *left;
654 intel_video_copy_data(ScrnInfoPtr scrn,intel_adaptor_private * adaptor_priv,short width,short height,int * dstPitch,int * dstPitch2,int top,int left,int npixels,int nlines,int id,unsigned char * buf) argument
706 intel_clip_video_helper(ScrnInfoPtr scrn,intel_adaptor_private * adaptor_priv,xf86CrtcPtr * crtc_ret,BoxPtr dst,short src_x,short src_y,short drw_x,short drw_y,short src_w,short src_h,short drw_w,short drw_h,int id,int * top,int * left,int * npixels,int * nlines,RegionPtr reg,INT32 width,INT32 height) argument
H A Dintel_video_overlay.c383 int top, left, npixels, nlines; local in function:intel_video_overlay_put_image
407 &top, &left, &npixels, &nlines, clipBoxes,
422 top, left, npixels, nlines, id, buf))
/xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/
H A Dintel_video.h88 int top, int left, int npixels, int nlines,
101 int *top, int* left, int* npixels, int *nlines,
H A Dintel_uxa_video.c232 int top, left, npixels, nlines; local in function:intel_uxa_video_put_image_textured
250 &top, &left, &npixels, &nlines, clipBoxes,
281 top, left, npixels, nlines, id, buf))
H A Dintel_video.c493 "nlines %d, npixels %d, top %d, left %d\n",
656 int top, int left, int npixels, int nlines,
680 npixels, id);
683 nlines, npixels);
715 int *top, int* left, int* npixels, int *nlines,
758 *npixels = ALIGN(((x2 + 0xffff) >> 16), 2) - *left;
654 intel_video_copy_data(ScrnInfoPtr scrn,intel_adaptor_private * adaptor_priv,short width,short height,int * dstPitch,int * dstPitch2,int top,int left,int npixels,int nlines,int id,unsigned char * buf) argument
706 intel_clip_video_helper(ScrnInfoPtr scrn,intel_adaptor_private * adaptor_priv,xf86CrtcPtr * crtc_ret,BoxPtr dst,short src_x,short src_y,short drw_x,short drw_y,short src_w,short src_h,short drw_w,short drw_h,int id,int * top,int * left,int * npixels,int * nlines,RegionPtr reg,INT32 width,INT32 height) argument
/xsrc/external/mit/xorg-server.old/dist/xfixes/
H A Dcursor.c323 int npixels = width * height; local in function:CopyCursorToImage
327 memcpy (image, pCursor->bits->argb, npixels * sizeof (CARD32));
372 int npixels, width, height, rc, x, y; local in function:ProcXFixesGetCursorImage
385 npixels = width * height;
387 npixels * sizeof (CARD32));
393 rep->length = npixels;
416 SwapLongs (image, npixels);
419 (npixels << 2), (char *) rep);
520 int npixels; local in function:ProcXFixesGetCursorImageAndName
537 npixels
[all...]
/xsrc/external/mit/xorg-server/dist/xfixes/
H A Dcursor.c326 int npixels = width * height; local in function:CopyCursorToImage
329 memcpy(image, pCursor->bits->argb, npixels * sizeof(CARD32));
368 int npixels, width, height, rc, x, y; local in function:ProcXFixesGetCursorImage
381 npixels = width * height;
382 rep = calloc(sizeof(xXFixesGetCursorImageReply) + npixels * sizeof(CARD32),
389 rep->length = npixels;
410 SwapLongs(image, npixels);
413 sizeof(xXFixesGetCursorImageReply) + (npixels << 2), rep);
513 int npixels; local in function:ProcXFixesGetCursorImageAndName
530 npixels
[all...]
/xsrc/external/mit/xf86-video-nouveau/dist/src/
H A Dnouveau_xv.c778 int *bottom, BoxRec *dstBox, int *npixels, int *nlines,
881 *npixels = ((*right + 1) & ~1) - *left;
889 *npixels = ((*right + 1) & ~1) - *left;
895 *npixels = *right - *left;
909 int *line_len, int npixels, int nlines,
915 npixels = (npixels + 7) & ~7;
924 *dstPitch = (npixels + 63) & ~63; /*luma and chroma pitch*/
925 *line_len = npixels;
932 *dstPitch = ((npixels <<
774 NV_set_dimensions(ScrnInfoPtr pScrn,int action_flags,INT32 * xa,INT32 * xb,INT32 * ya,INT32 * yb,short * src_x,short * src_y,short * src_w,short * src_h,short * drw_x,short * drw_y,short * drw_w,short * drw_h,int * left,int * top,int * right,int * bottom,BoxRec * dstBox,int * npixels,int * nlines,RegionPtr clipBoxes,short width,short height) argument
905 NV_calculate_pitches_and_mem_size(NVPtr pNv,int action_flags,int * srcPitch,int * srcPitch2,int * dstPitch,int * s2offset,int * s3offset,int * uv_offset,int * newFBSize,int * newTTSize,int * line_len,int npixels,int nlines,int width,int height) argument
1147 int top = 0, left = 0, right = 0, bottom = 0, npixels = 0, nlines = 0; local in function:NVPutImage
[all...]
/xsrc/external/mit/libXcursor/dist/src/
H A Dcursor.c203 _XcursorAverageColor (XcursorPixel *pixels, int npixels) argument
207 int n = npixels;
221 | (ScaledPixels(red, npixels) << 16)
222 | (ScaledPixels(green, npixels) << 8)
223 | ScaledPixels(blue, npixels);
237 unsigned int npixels = image->width * image->height; local in function:_XcursorHeckbertMedianCut
253 temp = malloc (npixels * sizeof (XcursorPixel) * 2);
258 colors = pixels + npixels;
269 n = (int) npixels;
406 unsigned int npixels local in function:_XcursorFloydSteinberg
[all...]
/xsrc/external/mit/xf86-video-s3/dist/src/
H A Ds3_video.c374 int top, bottom, right, left, npixels, nlines; local in function:S3PutImage
424 npixels = right - left;
448 dstPitch, nlines, npixels);
464 npixels = right - left;
472 nlines, npixels);
/xsrc/external/mit/xf86-video-nsc/dist/src/
H A Dnsc_gx2_video.c814 static int top, left, npixels, nlines; variable in typeref:typename:int
1112 npixels = ((Bx2 + 1) & ~1) - left;
1174 GX2CopyGreyscale(buf, dst_start, srcPitch, dstPitch, nlines, npixels);
1179 npixels);
1181 dstPitch2, nlines >> 1, npixels >> 1);
1183 dstPitch2, nlines >> 1, npixels >> 1);
1188 GX2CopyData422(buf, dst_start, srcPitch, dstPitch, nlines, npixels);
/xsrc/external/mit/xf86-video-s3virge/dist/src/
H A Ds3v_xv.c705 int top, left, npixels, nlines; local in function:S3VPutImage
761 npixels = ((((x2 + 0xffff) >> 16) + 1) & ~1) - left;
784 srcPitch, srcPitch2, dstPitch, nlines, npixels);
791 xf86XVCopyPacked(buf, dst_start, srcPitch, dstPitch, nlines, npixels);
/xsrc/external/mit/xf86-video-apm/dist/src/
H A Dapm_video.c672 int top, left, npixels, nlines; local in function:A
807 npixels = ((((x2 + 0xffff) >> 16) + 1) & ~1) - left;
837 nlines, npixels);
841 npixels <<= 1;
843 npixels >>= 1;
848 nlines, npixels);
/xsrc/external/mit/xf86-video-nv/dist/src/
H A Dnv_video.c1014 int top, left, right, bottom, npixels, nlines, bpp; local in function:NVPutImage
1139 npixels = ((right + 1) & ~1) - left;
1155 dstPitch, nlines, npixels);
1160 npixels = ((right + 1) & ~1) - left;
1167 NVCopyData422(buf, dst_start, srcPitch, dstPitch, nlines, npixels);
1170 npixels = right - left;
1177 NVCopyDataRGB(buf, dst_start, srcPitch, dstPitch, nlines, npixels);
/xsrc/external/mit/xf86-video-geode/dist/src/
H A Dgx_video.c776 static int top, left, npixels, nlines; variable in typeref:typename:int
1142 npixels = ((Bx2 + 1) & ~1) - left;
1203 GeodeCopyGreyscale(buf, dst_start, srcPitch, dstPitch, nlines, npixels);
1208 npixels);
1210 dstPitch2, nlines >> 1, npixels >> 1);
1212 dstPitch2, nlines >> 1, npixels >> 1);
1218 GXCopyData422(buf, dst_start, srcPitch, dstPitch, nlines, npixels);

Completed in 27 milliseconds

12