Searched refs:depths (Results 1 - 25 of 42) sorted by relevance

12

/xsrc/external/mit/libX11/dist/src/
H A DDepths.c44 int *depths; local in function:XListDepths
53 depths = Xmallocarray (count, sizeof(int));
54 if (!depths) return NULL;
55 for (i = 0, dp = scr->depths; i < count; i++, dp++)
56 depths[i] = dp->depth;
62 return depths;
H A DVisUtil.c106 for (dp=sp->depths; dp < (sp->depths + sp->ndepths); dp++)
212 dp = sp->depths;
H A DOpenDis.c417 sp->depths = Xcalloc(sp->ndepths, sizeof(Depth));
418 if (sp->depths == NULL) {
423 * for all depths on this screen.
426 Depth *dp = &sp->depths[j];
633 if (sp->depths) {
637 Depth *dp = &sp->depths[j];
648 Xfree (sp->depths);
/xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k/
H A Dx68kGraph.c257 DepthPtr depths; local in function:x68kCfbFinishScreenInit
268 depths = malloc( sizeof(DepthRec) );
271 if( !depths || !visuals || !vid ) {
272 free( depths );
277 depths[0].depth = 15;
278 depths[0].numVids = 1;
279 depths[0].vids = vid;
300 depths = malloc( sizeof(DepthRec) );
303 if( !depths || !visuals || !vid ) {
304 free( depths );
[all...]
/xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/
H A Dx68kGraph.c256 DepthPtr depths; local in function:x68kCfbFinishScreenInit
267 depths = malloc( sizeof(DepthRec) );
270 if( !depths || !visuals || !vid ) {
271 free( depths );
276 depths[0].depth = 15;
277 depths[0].numVids = 1;
278 depths[0].vids = vid;
299 depths = malloc( sizeof(DepthRec) );
302 if( !depths || !visuals || !vid ) {
303 free( depths );
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xnest/
H A DScreen.c137 DepthPtr depths; local in function:xnestOpenScreen
162 depths = (DepthPtr)malloc(MAXDEPTH * sizeof(DepthRec));
163 depths[0].depth = 1;
164 depths[0].numVids = 0;
165 depths[0].vids = (VisualID *)malloc(MAXVISUALSPERDEPTH * sizeof(VisualID));
201 if (depths[j].depth == xnestVisuals[i].depth) {
208 depths[depthIndex].depth = xnestVisuals[i].depth;
209 depths[depthIndex].numVids = 0;
210 depths[depthIndex].vids =
214 if (depths[depthInde
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xnest/
H A DScreen.c134 DepthPtr depths; local in function:xnestOpenScreen
164 depths = (DepthPtr) malloc(MAXDEPTH * sizeof(DepthRec));
165 depths[0].depth = 1;
166 depths[0].numVids = 0;
167 depths[0].vids = (VisualID *) malloc(MAXVISUALSPERDEPTH * sizeof(VisualID));
205 if (depths[j].depth == xnestVisuals[i].depth) {
212 depths[depthIndex].depth = xnestVisuals[i].depth;
213 depths[depthIndex].numVids = 0;
214 depths[depthIndex].vids =
218 if (depths[depthInde
[all...]
/xsrc/external/mit/xcb-util/dist/renderutil/
H A Dutil.c29 xcb_render_pictdepth_iterator_t depths; local in function:xcb_render_util_find_visual_format
34 for (depths = xcb_render_pictscreen_depths_iterator(screens.data); depths.rem; xcb_render_pictdepth_next(&depths))
35 for (visuals = xcb_render_pictdepth_visuals_iterator(depths.data); visuals.rem; xcb_render_pictvisual_next(&visuals))
H A Dcache.c47 * If the server is missing support for any of the required depths on
102 xcb_depth_iterator_t depths; local in function:has_required_depths
106 for (depths = xcb_screen_allowed_depths_iterator(screens.data); depths.rem; xcb_depth_next(&depths))
107 missing &= ~DEPTH_MASK(depths.data->depth);
114 * this point and only advertises depths which have an
115 * associated visual. Of course, the other depths still
/xsrc/external/mit/xorg-server.old/dist/fb/
H A Dfbscreen.c33 DepthPtr depths = pScreen->allowedDepths; local in function:fbCloseScreen
36 free(depths[d].vids);
37 free(depths);
170 DepthPtr depths; local in function:wfbFinishScreenInit
232 if (!fbInitVisuals (&visuals, &depths, &nvisuals, &ndepths, &rootdepth,
236 rootdepth, ndepths, depths,
H A Dfboverlay.c338 DepthPtr depths; local in function:fbOverlayFinishScreenInit
391 if (!fbInitVisuals (&visuals, &depths, &nvisuals, &ndepths, &depth1,
398 depth1, ndepths, depths,
/xsrc/external/mit/xorg-server/dist/fb/
H A Dfbscreen.c33 DepthPtr depths = pScreen->allowedDepths; local in function:fbCloseScreen
37 free(depths[d].vids);
38 free(depths);
154 DepthPtr depths; local in function:wfbFinishScreenInit
178 if (!fbInitVisuals(&visuals, &depths, &nvisuals, &ndepths, &rootdepth,
183 rootdepth, ndepths, depths,
H A Dfboverlay.c272 DepthPtr depths; local in function:fbOverlayFinishScreenInit
289 if (!fbInitVisuals(&visuals, &depths, &nvisuals, &ndepths, &depth1,
296 depth1, ndepths, depths,
/xsrc/external/mit/xorg-server.old/dist/hw/sun/
H A DsunMultiDepth.c152 DepthPtr depths; local in function:sunCfbFinishScreenInit
157 if (!fbInitVisuals(&visuals, &depths, &nvisuals, &ndepths,
161 rootdepth, ndepths, depths,
/xsrc/external/mit/xorg-server/dist/hw/sun/
H A DsunMultiDepth.c152 DepthPtr depths; local in function:sunCfbFinishScreenInit
157 if (!fbInitVisuals(&visuals, &depths, &nvisuals, &ndepths,
161 rootdepth, ndepths, depths,
H A DsunInit.c741 DepthPtr depths; local in function:sunCfbFinishScreenInit
746 if (!fbInitVisuals(&visuals, &depths, &nvisuals, &ndepths,
750 rootdepth, ndepths, depths,
/xsrc/external/mit/libXt/dist/src/
H A DGCManager.c260 int max, n, *depths; local in function:XtAllocateGC
262 depths = XListDepths(dpy, cur->screen, &n);
264 max = depths[n];
266 if (depths[n] > max)
267 max = depths[n];
269 XFree((char *) depths);
/xsrc/external/mit/libXrender/dist/src/
H A DXrenderint.h52 XRenderDepth *depths; member in struct:__anonc1a56ac70308
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/vbe/
H A DvbeModes.c90 * Find supported mode depths.
97 int depths = 0; local in function:VBEFindSupportedDepths
101 depths |= GetDepthFlag(pVbe, vbe->VideoModePtr[i++]);
110 depths |= GetDepthFlag(pVbe, i);
115 if (depths & V_DEPTH_24_24)
117 if (depths & V_DEPTH_24_32)
121 return depths;
/xsrc/external/mit/xorg-server/dist/hw/xfree86/int10/
H A DvbeModes.c91 * Find supported mode depths.
98 int depths = 0; local in function:VBEFindSupportedDepths
102 depths |= GetDepthFlag(pVbe, vbe->VideoModePtr[i++]);
111 depths |= GetDepthFlag(pVbe, i);
116 if (depths & V_DEPTH_24_24)
118 if (depths & V_DEPTH_24_32)
122 return depths;
/xsrc/external/mit/brotli/dist/c/enc/
H A Dbrotli_bit_stream.h34 BROTLI_INTERNAL void BrotliStoreHuffmanTree(const uint8_t* depths, size_t num,
H A Dbrotli_bit_stream.c242 static void StoreSimpleHuffmanTree(const uint8_t* depths, argument
257 if (depths[symbols[j]] < depths[symbols[i]]) {
277 BrotliWriteBits(1, depths[symbols[0]] == 1 ? 1 : 0, storage_ix, storage);
282 depths = symbol depths */
283 void BrotliStoreHuffmanTree(const uint8_t* depths, size_t num, argument
301 BrotliWriteHuffmanTree(depths, num, &huffman_tree_size, huffman_tree,
692 uint8_t depths[BROTLI_MAX_CONTEXT_MAP_SYMBOLS]; local in function:EncodeContextMap
719 tree, depths, bit
801 uint8_t depths[BROTLI_MAX_CONTEXT_MAP_SYMBOLS]; local in function:StoreTrivialContextMap
[all...]
/xsrc/external/mit/xdpyinfo/dist/
H A Dxdpyinfo.c461 int ndepths = 0, *depths = NULL; local in function:print_screen_info
484 depths = XListDepths (dpy, scr, &ndepths);
485 if (!depths) ndepths = 0;
486 printf (" depths (%d): ", ndepths);
488 printf ("%d", depths[i]);
495 if (depths) XFree ((char *) depths);
1109 int ndepths = 0, *depths = NULL; local in function:print_xrender_info
1155 depths = XListDepths (dpy, i, &ndepths);
1156 if (!depths) ndepth
[all...]
/xsrc/external/mit/xorg-server.old/dist/mi/
H A Dmiscrinit.c213 int numDepths, /* number of depths supported */
214 DepthRec *depths, /* supported depths */
226 pScreen->allowedDepths = depths;
206 miScreenInit(ScreenPtr pScreen,pointer pbits,int xsize,int ysize,int dpix,int dpiy,int width,int rootDepth,int numDepths,DepthRec * depths,VisualID rootVisual,int numVisuals,VisualRec * visuals) argument
/xsrc/external/mit/xorg-server/dist/mi/
H A Dmiscrinit.c224 int numDepths, /* number of depths supported */
225 DepthRec * depths, /* supported depths */
237 pScreen->allowedDepths = depths;
219 miScreenInit(ScreenPtr pScreen,void * pbits,int xsize,int ysize,int dpix,int dpiy,int width,int rootDepth,int numDepths,DepthRec * depths,VisualID rootVisual,int numVisuals,VisualRec * visuals) argument

Completed in 19 milliseconds

12