Update hqxx filters to adapted version from FFmpeg.

Compiles much faster and is roughly the same speed.
This commit is contained in:
BearOso 2023-03-13 17:59:00 -05:00
parent d8eb6c7074
commit 046f348d4e
2 changed files with 456 additions and 11768 deletions

File diff suppressed because it is too large Load Diff

View File

@ -4,13 +4,15 @@
For further information, consult the LICENSE file in the root directory. For further information, consult the LICENSE file in the root directory.
\*****************************************************************************/ \*****************************************************************************/
#include <cstdint>
#ifndef _hq2x_h_ #ifndef _hq2x_h_
#define _hq2x_h_ #define _hq2x_h_
bool8 S9xBlitHQ2xFilterInit (void); bool S9xBlitHQ2xFilterInit(void);
void S9xBlitHQ2xFilterDeinit (void); void S9xBlitHQ2xFilterDeinit(void);
void HQ2X_16 (uint8 *, int, uint8 *, int, int, int); void HQ2X_16 (uint8_t *, int, uint8_t *, int, int, int);
void HQ3X_16 (uint8 *, int, uint8 *, int, int, int); void HQ3X_16 (uint8_t *, int, uint8_t *, int, int, int);
void HQ4X_16 (uint8 *, int, uint8 *, int, int, int); void HQ4X_16 (uint8_t *, int, uint8_t *, int, int, int);
#endif #endif