RetroArch
Classes | Enumerations | Functions
scaler.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <boolean.h>
#include <clamping.h>
#include <retro_common_api.h>
Include dependency graph for scaler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  scaler_filter
 
struct  scaler_ctx
 

Enumerations

enum  scaler_pix_fmt {
  SCALER_FMT_ARGB8888 = 0, SCALER_FMT_ABGR8888, SCALER_FMT_0RGB1555, SCALER_FMT_RGB565,
  SCALER_FMT_BGR24, SCALER_FMT_YUYV, SCALER_FMT_RGBA4444
}
 
enum  scaler_type { SCALER_TYPE_UNKNOWN = 0, SCALER_TYPE_POINT, SCALER_TYPE_BILINEAR, SCALER_TYPE_SINC }
 

Functions

bool scaler_ctx_gen_filter (struct scaler_ctx *ctx)
 
void scaler_ctx_gen_reset (struct scaler_ctx *ctx)
 
void scaler_ctx_scale (struct scaler_ctx *ctx, void *output, const void *input)
 

Enumeration Type Documentation

◆ scaler_pix_fmt

Enumerator
SCALER_FMT_ARGB8888 
SCALER_FMT_ABGR8888 
SCALER_FMT_0RGB1555 
SCALER_FMT_RGB565 
SCALER_FMT_BGR24 
SCALER_FMT_YUYV 
SCALER_FMT_RGBA4444 

◆ scaler_type

Enumerator
SCALER_TYPE_UNKNOWN 
SCALER_TYPE_POINT 
SCALER_TYPE_BILINEAR 
SCALER_TYPE_SINC 

Function Documentation

◆ scaler_ctx_gen_filter()

bool scaler_ctx_gen_filter ( struct scaler_ctx ctx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ scaler_ctx_gen_reset()

void scaler_ctx_gen_reset ( struct scaler_ctx ctx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ scaler_ctx_scale()

void scaler_ctx_scale ( struct scaler_ctx ctx,
void output,
const void input 
)

scaler_ctx_scale: : pointer to scaler context object. : pointer to output image. : pointer to input image.

Scales an input image to an output image.

Here is the caller graph for this function: