Lines Matching refs:video
81 if (info) PE_state.video = *info;
88 if (info) PE_state.video = *info;
190 PE_state.video.v_baseAddr = args->Video.v_baseAddr; // remains physical address
191 PE_state.video.v_rowBytes = args->Video.v_rowBytes;
192 PE_state.video.v_width = args->Video.v_width;
193 PE_state.video.v_height = args->Video.v_height;
194 PE_state.video.v_depth = args->Video.v_depth;
195 PE_state.video.v_display = args->Video.v_display;
196 PE_state.video.v_scale = (kBootArgsFlagHiDPI & args->flags) ? 2 : 1;
197 strlcpy(PE_state.video.v_pixelFormat, "PPPPPPPP",
198 sizeof(PE_state.video.v_pixelFormat));
202 PE_state.video.v_scale = kPEScaleFactor2x;
204 PE_state.video.v_scale = kPEScaleFactor1x;
206 PE_state.video.v_scale = kPEScaleFactor1x;
225 if ( PE_state.video.v_display == GRAPHICS_MODE )
226 PE_initialize_console( &PE_state.video, kPEGraphicsMode );
228 PE_initialize_console( &PE_state.video, kPETextMode );
233 *info = PE_state.video;
243 uint32_t x = ((PE_state.video.v_width - width) / 2);
244 uint32_t y = ((PE_state.video.v_height - height) / 2) + norootIcon_lzss->y_offset_from_center;