mirror of
https://github.com/libretro/RetroArch
synced 2025-02-19 21:40:49 +00:00
Move define to scaler_filter.c
This commit is contained in:
parent
b4d75fbafd
commit
79222de018
@ -30,6 +30,8 @@
|
|||||||
#include <retro_inline.h>
|
#include <retro_inline.h>
|
||||||
#include <filters.h>
|
#include <filters.h>
|
||||||
|
|
||||||
|
#define FILTER_UNITY (1 << 14)
|
||||||
|
|
||||||
static bool allocate_filters(struct scaler_ctx *ctx)
|
static bool allocate_filters(struct scaler_ctx *ctx)
|
||||||
{
|
{
|
||||||
ctx->horiz.filter = (int16_t*)scaler_alloc(sizeof(int16_t), ctx->horiz.filter_stride * ctx->out_width);
|
ctx->horiz.filter = (int16_t*)scaler_alloc(sizeof(int16_t), ctx->horiz.filter_stride * ctx->out_width);
|
||||||
|
@ -32,8 +32,6 @@
|
|||||||
|
|
||||||
RETRO_BEGIN_DECLS
|
RETRO_BEGIN_DECLS
|
||||||
|
|
||||||
#define FILTER_UNITY (1 << 14)
|
|
||||||
|
|
||||||
enum scaler_pix_fmt
|
enum scaler_pix_fmt
|
||||||
{
|
{
|
||||||
SCALER_FMT_ARGB8888 = 0,
|
SCALER_FMT_ARGB8888 = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user