Searched refs:depth (Results 1 - 25 of 93) sorted by relevance

1234

/haiku/build/scripts/
H A Dgenerate_kernel_fonts.sh12 convert kdlbig.png -depth 1 -negate -flop GRAY:kdlbig
15 convert kdlsmall.png -depth 1 -negate -flop GRAY:kdlsmall
/haiku/src/libs/libfdt/
H A Dfdt_check.c19 unsigned int depth = 0; local
54 if (depth != 0)
59 depth++;
60 if (depth > INT_MAX)
64 if (depth == 1) {
75 if (depth == 0)
77 depth--;
78 if (depth == 0)
H A Dfdt.c243 int fdt_next_node(const void *fdt, int offset, int *depth) argument
262 if (depth)
263 (*depth)++;
267 if (depth && ((--(*depth)) < 0))
273 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth))
285 int depth = 0; local
287 offset = fdt_next_node(fdt, offset, &depth);
288 if (offset < 0 || depth != 1)
296 int depth local
[all...]
H A Dfdt_wip.c75 int depth = 0; local
77 while ((offset >= 0) && (depth >= 0))
78 offset = fdt_next_node(fdt, offset, &depth);
H A Dfdt_ro.c228 int depth; local
232 for (depth = 0;
233 (offset >= 0) && (depth >= 0);
234 offset = fdt_next_node(fdt, offset, &depth))
235 if ((depth == 1)
239 if (depth < 0)
545 int offset, depth, namelen; local
553 for (offset = 0, depth = 0;
555 offset = fdt_next_node(fdt, offset, &depth)) {
556 while (pdepth > depth) {
597 int offset, depth; local
[all...]
/haiku/headers/private/kernel/
H A Dframe_buffer_console.h24 int32 depth; member in struct:frame_buffer_boot_info
35 int32 depth, int32 bytesPerRow);
40 int32 height, int32 depth, int32 bytesPerRow);
/haiku/src/add-ons/screen_savers/spider/
H A DPolygonQueue.cpp16 PolygonQueue::PolygonQueue(Polygon* start, int32 depth) argument
17 : fPolygons(new Polygon*[depth]),
18 fDepth(depth)
H A DPolygonQueue.h17 PolygonQueue(Polygon* start, int32 depth);
/haiku/headers/private/shared/
H A DFunctionTracer.h17 int32& depth)
20 fFunctionDepth(depth)
16 FunctionTracer(const char* className, const char* functionName, int32& depth) argument
/haiku/src/system/boot/platform/openfirmware/
H A Dvideo.cpp33 switch (gKernelArgs.frame_buffer.depth) {
73 uint32 depth; local
74 if (of_getprop(package, "depth", &depth, sizeof(uint32)) == OF_FAILED)
88 gKernelArgs.frame_buffer.depth = depth;
96 gKernelArgs.frame_buffer.height, gKernelArgs.frame_buffer.depth);
/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_acc.c66 si->engine.depth = 1;
71 si->engine.depth = 2;
76 si->engine.depth = 3;
80 LOG(8,("ACC: init, invalid bit depth\n"));
88 switch(si->fbc.bytes_per_row / si->engine.depth)
175 /* setup engine depth and engine destination-pitch */
214 ACCW(SRCSTARTOFF, ((ys * si->fbc.bytes_per_row) + (xs * si->engine.depth)));
215 ACCW(2070_DSTSTARTOFF, ((yd * si->fbc.bytes_per_row) + (xd * si->engine.depth)));
233 ACCW(SRCSTARTOFF, ((ys * si->fbc.bytes_per_row) + (xs * si->engine.depth)));
234 ACCW(2090_DSTSTARTOFF, ((yd * si->fbc.bytes_per_row) + (xd * si->engine.depth)));
[all...]
H A Dnm_general.c437 uint8 depth = 8; local
449 case B_CMAP8: crtc_mask = 0x07; depth = 8; break;
455 case B_RGB15: crtc_mask = 0x1f; depth = 16; break;
456 case B_RGB16: crtc_mask = 0x1f; depth = 16; break;
457 case B_RGB24: crtc_mask = 0x1f; depth = 24; break;
466 case B_CMAP8: crtc_mask = 0x07; depth = 8; break;
467 case B_RGB15: crtc_mask = 0x03; depth = 16; break;
468 case B_RGB16: crtc_mask = 0x03; depth = 16; break;
469 case B_RGB24: crtc_mask = 0x07; depth = 24; break;
562 bytes_X_height = (depth >>
[all...]
/haiku/src/apps/debugger/user_interface/cli/commands/
H A DCliPrintVariableCommand.cpp29 "%s [--depth n] variable [variable2 ...]\n"
53 int32 depth = 1; local
56 if (strcmp(argv[i], "--depth") == 0) {
58 printf("Error: An argument must be supplied for depth.\n");
62 depth = strtol(argv[i + 1], &endPointer, 0);
63 if (*endPointer != '\0' || depth < 0) {
86 _ResolveValueIfNeeded(child->Node(), context, depth);
89 UiUtils::PrintValueNodeGraph(data, child, 1, depth);
139 // a level for the purposes of depth traversal
/haiku/src/system/boot/platform/efi/
H A Dvideo.cpp89 closest_video_mode(uint32 width, uint32 height, uint32 depth) argument
104 + abs((int64)mode->bits_per_pixel - depth);
138 uint32 depth = strtoul(parameter.values[2], NULL, 0); local
141 video_mode *mode = closest_video_mode(width, height, depth);
182 size_t size, depth; local
190 depth = 32;
193 depth = 32;
199 depth = 24;
205 TRACE((" depth: %lu\n", depth));
[all...]
H A Ddtb.cpp123 int depth = -1; local
124 while ((node = fdt_next_node(fdt, node, &depth)) >= 0 && depth >= 0) {
125 for (int i = 0; i < depth; i++)
127 // WriteInt(node); WriteString(", "); WriteInt(depth); WriteString(": ");
129 depth++;
134 for (int i = 0; i < depth; i++)
139 for (int i = 0; i < depth; i++)
199 depth++;
205 for (int i = 0; i < depth;
637 int depth = -1; local
[all...]
/haiku/src/system/kernel/debug/
H A Dframe_buffer_console.cpp54 int32 depth; member in struct:console_info
118 switch (sConsole.depth) {
149 if (sConsole.depth >= 8) {
224 if (sConsole.depth < 8) {
310 if (sConsole.depth >= 8) {
341 if (sConsole.depth >= 8) {
415 frame_buffer_update(addr_t baseAddress, int32 width, int32 height, int32 depth, argument
419 "depth = %ld, bytesPerRow = %ld)\n", (void*)baseAddress, width, height,
420 depth, bytesPerRow));
433 sConsole.depth
519 _user_frame_buffer_update(addr_t baseAddress, int32 width, int32 height, int32 depth, int32 bytesPerRow) argument
[all...]
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_acc.c23 ACCW(YDST,((dst)* (si->fbc.bytes_per_row / (si->engine.depth >> 3))) >> 5); \
55 /* reset depth */
56 si->engine.depth = 0;
69 si->engine.depth = 8;
73 si->engine.depth = 16;
77 si->engine.depth = 32;
80 LOG(8,("ACC: init, invalid bit depth\n"));
88 switch (si->fbc.bytes_per_row / (si->engine.depth >> 3))
109 ((si->fbc.bytes_per_row / (si->engine.depth >> 3)) & 0x0FFF));
112 switch (si->fbc.bytes_per_row / (si->engine.depth >>
[all...]
/haiku/src/add-ons/translators/tga/
H A DTGATranslator.cpp198 if (imagespec.depth == 32)
324 imagespec.depth = buf[16];
325 if (imagespec.depth < 1 || imagespec.depth > 32)
329 imagespec.depth != 15 && imagespec.depth != 16 &&
330 imagespec.depth != 24 && imagespec.depth != 32)
334 imagespec.depth != 8)
337 imagespec.depth !
1403 pix_tganm_to_bits(uint8 *pbits, uint8 *ptga, uint16 width, uint8 depth, uint8 tgaBytesPerPixel, uint8 nalpha) argument
1738 pix_tgam_to_bits(uint8 *pbits, uint8 *ptgaindices, uint16 width, uint8 depth, uint8 *pmap) argument
[all...]
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dgeneral.c583 uint8 depth = 8; local
593 case B_CMAP8: acc_mask = 0x0f; depth = 8; break;
594 case B_RGB15: acc_mask = 0x07; depth = 16; break;
595 case B_RGB16: acc_mask = 0x07; depth = 16; break;
596 case B_RGB24: acc_mask = 0x0f; depth = 24; break;
597 case B_RGB32: acc_mask = 0x03; depth = 32; break;
610 case B_CMAP8: acc_mask = 0x3f; depth = 8; break;
611 case B_RGB15: acc_mask = 0x1f; depth = 16; break;
612 case B_RGB16: acc_mask = 0x1f; depth = 16; break;
613 case B_RGB24: acc_mask = 0x3f; depth
[all...]
/haiku/src/tests/system/kernel/file_corruption/
H A Dchecksumfs.h61 uint16 depth; member in struct:checksumfs_dir_entry_tree
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/
H A Dpower.cpp85 // IvyBridge, SandyBridge, and Haswell can do depth 1 atm
87 // Haswell should *NOT* do over depth 1;
88 int depth = 1; local
91 ERROR("%s: Enabling Intel GPU auto downclocking depth %d\n", __func__,
92 depth);
122 if (depth > 1)
124 if (depth > 2)
/haiku/src/system/boot/arch/ppc/
H A Darch_framebuffer.h37 virtual status_t SetVideoMode(int width, int height, int depth) argument
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Dvesa_private.h54 uint32 get_color_space_for_depth(uint32 depth);
58 uint32 height, int8 depth, uint32 bytesPerRow, bool initializing);
/haiku/src/add-ons/kernel/drivers/graphics/framebuffer/
H A Dframebuffer.cpp69 get_color_space_for_depth(uint32 depth) argument
71 switch (depth) {
98 uint32 height, int8 depth, uint32 bytesPerRow, bool initializing)
127 frame_buffer_update(frameBuffer, width, height, depth,
190 bufferInfo->width, bufferInfo->height, bufferInfo->depth,
198 bufferInfo->depth);
97 remap_frame_buffer(framebuffer_info& info, addr_t physicalBase, uint32 width, uint32 height, int8 depth, uint32 bytesPerRow, bool initializing) argument
/haiku/src/bin/fwcontrol/
H A Dfwcrom.c98 cc->depth = -1;
105 cc->depth = -1;
108 cc->depth = 0;
118 ptr = &cc->stack[cc->depth];
128 if (cc->depth < 0)
132 if (cc->depth >= CROM_MAX_DEPTH) {
136 cc->depth ++;
138 ptr = &cc->stack[cc->depth];
144 ptr = &cc->stack[cc->depth];
154 if (cc->depth >
[all...]

Completed in 293 milliseconds

1234