-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVideo.h
More file actions
43 lines (33 loc) · 858 Bytes
/
Copy pathVideo.h
File metadata and controls
43 lines (33 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include <Setup.h>
#include <Load.h>
#include <Protocol.h>
#ifndef _VIDEO_DEFINE
#define _VIDEO_DEFINE
typedef struct VideoConfigStruct{
}VideoConfig;
EFI_STATUS getVideoProtocol(
IN EFI_HANDLE imageHandle,
IN UINT8 index,
OUT EFI_GRAPHICS_OUTPUT_PROTOCOL **graph);
EFI_STATUS LoadLogo(
EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *file,
EFI_GRAPHICS_OUTPUT_PROTOCOL *graph,
CHAR16 *filename,
UINTN X,UINTN Y
);
EFI_STATUS ResizeVideo(
EFI_GRAPHICS_OUTPUT_PROTOCOL *graph
);
EFI_STATUS LoadBmpToVideo(
EFI_GRAPHICS_OUTPUT_PROTOCOL *graph,
EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *file,
CHAR16 *filename,
UINTN offsetX,
UINTN offsetY
);
EFI_STATUS FillColorToVideo(
EFI_GRAPHICS_OUTPUT_PROTOCOL *graph,
EFI_GRAPHICS_OUTPUT_BLT_PIXEL *color,
UINTN X, UINTN Y,
UINTN width, UINTN height);
#endif