This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*************************************************************************************** | |
| * Copyright (C) Anton Kovalev (vertver), 2026. All rights reserved. | |
| * HLSL single-pass NTSC filter | |
| * MIT License | |
| *************************************************************************************** | |
| * shout out to LMP88959, which implemented an awesome NTSC emulation (fixed-point). | |
| * https://github.com/LMP88959/NTSC-CRT | |
| ***************************************************************************************/ | |
| //Original: https://gist.github.com/vertver/670a85babb52f20ba6b5e08e5f02f08e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <stdbool.h> | |
| #include <stdlib.h> | |
| #define WIN32_LEAN_AND_MEAN | |
| #include <windows.h> | |
| typedef struct ID3DInclude *PID3DInclude; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class DynamicBuffer | |
| { | |
| private: | |
| struct MemoryRange | |
| { | |
| void* Data = nullptr; | |
| std::size_t Size = 0; | |
| std::size_t Offset = 0; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // simple.espl | |
| /* | |
| EFOSPL - Extented'n'Fast Obfuscated Signal Processing Language. | |
| Yes, it's obfuscated. | |
| firstly, syntax: | |
| 1. You don't need to add bracket to end of line: compiler just ignore it. | |
| Exception: if you want to combine two operations in one line - you must | |
| to separate it with ';'. |