Lines Matching defs:width
44 uint16 width, height, bits_per_pixel;
62 int compare = a->width - b->width;
101 If \a height is \c -1, the height is ignored, and only the width
105 find_video_mode(int32 width, int32 height, bool allowPalette)
111 if (mode->width == width && (height == -1 || mode->height == height)
122 /*! Returns the VESA mode closest to the one specified, with a width less or
127 closest_video_mode(int32 width, int32 height, int32 depth)
135 if (mode->width > width) {
136 // Only choose modes with a width less or equal than the searched
141 uint32 diff = 2 * abs(mode->width - width) + abs(mode->height - height)
243 if (found->width > mode->width) {
313 int32 width = strtol(parameter.values[0], NULL, 0);
319 video_mode *mode = closest_video_mode(width, height, depth);
489 modeInfo.width, modeInfo.height, modeInfo.bits_per_pixel, modeInfo.attributes,
502 if (modeInfo.width >= 640
517 videoMode->width = modeInfo.width;
696 snprintf(label, sizeof(label), "%ux%u %u bit", mode->width,
770 uint16 width, uint16 height, uint16 imageWidth, uint16 left, uint16 top)
866 gKernelArgs.frame_buffer.width = modeInfo.width;
882 gKernelArgs.frame_buffer.width = 640;
887 = (phys_size_t)gKernelArgs.frame_buffer.width
892 dprintf("video mode: %ux%ux%u\n", gKernelArgs.frame_buffer.width,
965 modes[i].width = mode->width;