RetroArch
|
Macros | |
#define | _BLARGG_SNES_NTSC_IMPLEMENTATION_H |
#define | alignment_count 3 |
#define | burst_count 3 |
#define | rescale_in 8 |
#define | rescale_out 7 |
#define | artifacts_mid 1.0f |
#define | fringing_mid 1.0f |
#define | std_decoder_hue 0 |
#define | rgb_bits 7 /* half normal range to allow for doubled hires pixels */ |
#define | gamma_size 32 |
Functions | |
static void | merge_kernel_fields (snes_ntsc_rgb_t *io) |
static void | correct_errors (snes_ntsc_rgb_t color, snes_ntsc_rgb_t *out) |
void | snes_ntsc_init (snes_ntsc_t *ntsc, snes_ntsc_setup_t const *setup) |
void | snes_ntsc_blit (snes_ntsc_t const *ntsc, SNES_NTSC_IN_T const *input, long in_row_width, int burst_phase, int in_width, int in_height, void *rgb_out, long out_pitch, int first, int last) |
void | snes_ntsc_blit_hires (snes_ntsc_t const *ntsc, SNES_NTSC_IN_T const *input, long in_row_width, int burst_phase, int in_width, int in_height, void *rgb_out, long out_pitch, int first, int last) |
Variables | |
snes_ntsc_setup_t const | snes_ntsc_monochrome = { 0,-1, 0, 0,.2, 0,.2,-.2,-.2,-1, 1, 0, 0 } |
snes_ntsc_setup_t const | snes_ntsc_composite = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 } |
snes_ntsc_setup_t const | snes_ntsc_svideo = { 0, 0, 0, 0,.2, 0,.2, -1, -1, 0, 1, 0, 0 } |
snes_ntsc_setup_t const | snes_ntsc_rgb = { 0, 0, 0, 0,.2, 0,.7, -1, -1,-1, 1, 0, 0 } |
pixel_info_t const | snes_ntsc_pixels [alignment_count] |
#define _BLARGG_SNES_NTSC_IMPLEMENTATION_H |
#define alignment_count 3 |
#define artifacts_mid 1.0f |
#define burst_count 3 |
#define fringing_mid 1.0f |
#define gamma_size 32 |
#define rescale_in 8 |
#define rescale_out 7 |
#define std_decoder_hue 0 |
|
static |
|
static |
void snes_ntsc_blit | ( | snes_ntsc_t const * | ntsc, |
SNES_NTSC_IN_T const * | input, | ||
long | in_row_width, | ||
int | burst_phase, | ||
int | in_width, | ||
int | in_height, | ||
void * | rgb_out, | ||
long | out_pitch, | ||
int | first, | ||
int | last | ||
) |
void snes_ntsc_blit_hires | ( | snes_ntsc_t const * | ntsc, |
SNES_NTSC_IN_T const * | input, | ||
long | in_row_width, | ||
int | burst_phase, | ||
int | in_width, | ||
int | in_height, | ||
void * | rgb_out, | ||
long | out_pitch, | ||
int | first, | ||
int | last | ||
) |
void snes_ntsc_init | ( | snes_ntsc_t * | ntsc, |
snes_ntsc_setup_t const * | setup | ||
) |
snes_ntsc_setup_t const snes_ntsc_composite = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 } |
snes_ntsc_setup_t const snes_ntsc_monochrome = { 0,-1, 0, 0,.2, 0,.2,-.2,-.2,-1, 1, 0, 0 } |
pixel_info_t const snes_ntsc_pixels[alignment_count] |
snes_ntsc_setup_t const snes_ntsc_rgb = { 0, 0, 0, 0,.2, 0,.7, -1, -1,-1, 1, 0, 0 } |
snes_ntsc_setup_t const snes_ntsc_svideo = { 0, 0, 0, 0,.2, 0,.2, -1, -1, 0, 1, 0, 0 } |