RetroArch
Functions | Variables
video_crt_switch.c File Reference
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
#include "video_driver.h"
#include "video_crt_switch.h"
#include "video_display_server.h"
Include dependency graph for video_crt_switch.c:
This graph shows which files directly or indirectly include this file:

Functions

static void crt_check_first_run (void)
 
static void switch_crt_hz (void)
 
void crt_aspect_ratio_switch (unsigned width, unsigned height)
 
static void switch_res_crt (unsigned width, unsigned height)
 
static void crt_screen_setup_aspect (unsigned width, unsigned height)
 
void crt_switch_res_core (unsigned width, unsigned height, float hz, unsigned crt_mode, int crt_switch_center_adjust)
 
void crt_video_restore (void)
 

Variables

static unsigned ra_core_width = 0
 
static unsigned ra_core_height = 0
 
static unsigned ra_tmp_width = 0
 
static unsigned ra_tmp_height = 0
 
static unsigned ra_set_core_hz = 0
 
static unsigned orig_width = 0
 
static unsigned orig_height = 0
 
static int crt_center_adjust = 0
 
static bool first_run = true
 
static float ra_tmp_core_hz = 0.0f
 
static float fly_aspect = 0.0f
 
static float ra_core_hz = 0.0f
 

Function Documentation

◆ crt_aspect_ratio_switch()

void crt_aspect_ratio_switch ( unsigned  width,
unsigned  height 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ crt_check_first_run()

static void crt_check_first_run ( void  )
static
Here is the caller graph for this function:

◆ crt_screen_setup_aspect()

static void crt_screen_setup_aspect ( unsigned  width,
unsigned  height 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ crt_switch_res_core()

void crt_switch_res_core ( unsigned  width,
unsigned  height,
float  hz,
unsigned  crt_mode,
int  crt_switch_center_adjust 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ crt_video_restore()

void crt_video_restore ( void  )
Here is the caller graph for this function:

◆ switch_crt_hz()

static void switch_crt_hz ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ switch_res_crt()

static void switch_res_crt ( unsigned  width,
unsigned  height 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ crt_center_adjust

int crt_center_adjust = 0
static

◆ first_run

bool first_run = true
static

◆ fly_aspect

float fly_aspect = 0.0f
static

◆ orig_height

unsigned orig_height = 0
static

◆ orig_width

unsigned orig_width = 0
static

◆ ra_core_height

unsigned ra_core_height = 0
static

◆ ra_core_hz

float ra_core_hz = 0.0f
static

◆ ra_core_width

unsigned ra_core_width = 0
static

◆ ra_set_core_hz

unsigned ra_set_core_hz = 0
static

◆ ra_tmp_core_hz

float ra_tmp_core_hz = 0.0f
static

◆ ra_tmp_height

unsigned ra_tmp_height = 0
static

◆ ra_tmp_width

unsigned ra_tmp_width = 0
static