RetroArch
Macros | Functions
pixconv.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <retro_inline.h>
#include <gfx/scaler/pixconv.h>
Include dependency graph for pixconv.c:

Macros

#define YUV_SHIFT   6
 
#define YUV_OFFSET   (1 << (YUV_SHIFT - 1))
 
#define YUV_MAT_Y   (1 << 6)
 
#define YUV_MAT_U_G   (-22)
 
#define YUV_MAT_U_B   (113)
 
#define YUV_MAT_V_R   (90)
 
#define YUV_MAT_V_G   (-46)
 

Functions

void conv_rgb565_0rgb1555 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_0rgb1555_rgb565 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_0rgb1555_argb8888 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_rgb565_argb8888 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_rgb565_abgr8888 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_argb8888_rgba4444 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_rgba4444_argb8888 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_rgba4444_rgb565 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_0rgb1555_bgr24 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_rgb565_bgr24 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_bgr24_argb8888 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_argb8888_0rgb1555 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_argb8888_bgr24 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_argb8888_abgr8888 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_yuyv_argb8888 (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 
void conv_copy (void *output_, const void *input_, int width, int height, int out_stride, int in_stride)
 

Macro Definition Documentation

◆ YUV_MAT_U_B

#define YUV_MAT_U_B   (113)

◆ YUV_MAT_U_G

#define YUV_MAT_U_G   (-22)

◆ YUV_MAT_V_G

#define YUV_MAT_V_G   (-46)

◆ YUV_MAT_V_R

#define YUV_MAT_V_R   (90)

◆ YUV_MAT_Y

#define YUV_MAT_Y   (1 << 6)

◆ YUV_OFFSET

#define YUV_OFFSET   (1 << (YUV_SHIFT - 1))

◆ YUV_SHIFT

#define YUV_SHIFT   6

Function Documentation

◆ conv_0rgb1555_argb8888()

void conv_0rgb1555_argb8888 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_0rgb1555_bgr24()

void conv_0rgb1555_bgr24 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_0rgb1555_rgb565()

void conv_0rgb1555_rgb565 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_argb8888_0rgb1555()

void conv_argb8888_0rgb1555 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_argb8888_abgr8888()

void conv_argb8888_abgr8888 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_argb8888_bgr24()

void conv_argb8888_bgr24 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_argb8888_rgba4444()

void conv_argb8888_rgba4444 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_bgr24_argb8888()

void conv_bgr24_argb8888 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_copy()

void conv_copy ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ conv_rgb565_0rgb1555()

void conv_rgb565_0rgb1555 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_rgb565_abgr8888()

void conv_rgb565_abgr8888 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_rgb565_argb8888()

void conv_rgb565_argb8888 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_rgb565_bgr24()

void conv_rgb565_bgr24 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_rgba4444_argb8888()

void conv_rgba4444_argb8888 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_rgba4444_rgb565()

void conv_rgba4444_rgb565 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the caller graph for this function:

◆ conv_yuyv_argb8888()

void conv_yuyv_argb8888 ( void output_,
const void input_,
int  width,
int  height,
int  out_stride,
int  in_stride 
)
Here is the call graph for this function:
Here is the caller graph for this function: