EFI_PAGE_SIZE instead of magic, small readme tweaks

This commit is contained in:
maksw committed 2026-02-19 17:40:10 +01:00
1 parent 565b8b44c8
commit 498a089387
4 files changed
+5 -2

No files matched your search

Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -324,7 +324,7 @@ EFI_STATUS efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE* SystemTable) {
VOID* HeapMemory = NULL; VOID* HeapMemory = NULL;
UINTN AllocationSize = 512 * 1024 * 1024; // 512 MB UINTN AllocationSize = 512 * 1024 * 1024; // 512 MB
UINTN Pages = AllocationSize / 4096; // UEFI page size is 4KB UINTN Pages = AllocationSize / EFI_PAGE_SIZE;
EFI_STATUS Status = gBS->AllocatePages( EFI_STATUS Status = gBS->AllocatePages(
AllocateAnyPages, AllocateAnyPages,
+4 -1
View File
@@ -47,8 +47,11 @@ A: Science isn't about 'why', it's about 'why not'.
Q: Why not raw frames? Q: Why not raw frames?
A: Too simple. A: Too simple.
Q: How did you implement file I/O?
A: I didn't. I just preload the entire video into memory.
Q: Is this finished? Q: Is this finished?
A: Some parts yes. A: Mostly yes.
Q: Can I use this in production? Q: Can I use this in production?
A: Define production. A: Define production.