dRonin
adbada4
dRonin firmware
|
OSD gen module, handles OSD draw. Parts from CL-OSD and SUPEROSD projects. More...
Go to the source code of this file.
Data Structures | |
struct | pios_video_type_boundary |
struct | pios_video_type_cfg |
struct | pios_video_cfg |
Macros | |
#define | GRAPHICS_LEFT 0 |
#define | GRAPHICS_TOP 0 |
#define | GRAPHICS_RIGHT pios_video_type_boundary_act->graphics_right |
#define | GRAPHICS_BOTTOM pios_video_type_boundary_act->graphics_bottom |
#define | GRAPHICS_X_MIDDLE ((GRAPHICS_RIGHT + 1) / 2) |
#define | GRAPHICS_Y_MIDDLE ((GRAPHICS_BOTTOM + 1) / 2) |
#define | VIDEO_TYPE_PAL_ROWS 300 |
#define | GRAPHICS_WIDTH_REAL 376 |
#define | GRAPHICS_HEIGHT_REAL 266 |
#define | BUFFER_WIDTH_TMP (GRAPHICS_WIDTH_REAL / (8 / PIOS_VIDEO_BITS_PER_PIXEL)) |
#define | BUFFER_WIDTH (BUFFER_WIDTH_TMP + BUFFER_WIDTH_TMP % 4) |
#define | BUFFER_HEIGHT (GRAPHICS_HEIGHT_REAL) |
#define | SWAP_BUFFS(tmp, a, b) { tmp = a; a = b; b = tmp; } |
Enumerations | |
enum | pios_video_3d_mode { PIOS_VIDEO_3D_DISABLED, PIOS_VIDEO_3D_SBS3D } |
enum | pios_video_system { PIOS_VIDEO_SYSTEM_NONE, PIOS_VIDEO_SYSTEM_PAL, PIOS_VIDEO_SYSTEM_NTSC } |
Functions | |
bool | PIOS_Vsync_ISR () |
bool | PIOS_Hsync_ISR () |
void | PIOS_Video_Init (const struct pios_video_cfg *cfg) |
void | PIOS_Pixel_Init (void) |
void | PIOS_Video_SetLevels (uint8_t, uint8_t) |
void | PIOS_Video_SetXOffset (int8_t) |
void | PIOS_Video_SetYOffset (int8_t) |
void | PIOS_Video_SetXScale (uint8_t x_scale) |
void | PIOS_Video_Set3DConfig (enum pios_video_3d_mode mode, uint8_t right_eye_x_shift) |
uint16_t | PIOS_Video_GetLines (void) |
enum pios_video_system | PIOS_Video_GetSystem (void) |
Variables | |
const struct pios_video_cfg | pios_video_cfg |
const struct pios_video_type_boundary * | pios_video_type_boundary_act |
OSD gen module, handles OSD draw. Parts from CL-OSD and SUPEROSD projects.
Definition in file pios_video.h.