|
FFmpeg
|
CGA/EGA/VGA ROM data. More...
#include <stdint.h>Go to the source code of this file.
Functions | |
| void | ff_draw_pc_font (uint8_t *dst, int linesize, const uint8_t *font, int font_height, int ch, int fg, int bg) |
| Draw CGA/EGA/VGA font to 8-bit pixel buffer. More... | |
Variables | |
| const uint32_t | ff_cga_palette [16] |
| const uint32_t | ff_ega_palette [64] |
CGA/EGA/VGA ROM data.
| void ff_draw_pc_font | ( | uint8_t * | dst, |
| int | linesize, | ||
| const uint8_t * | font, | ||
| int | font_height, | ||
| int | ch, | ||
| int | fg, | ||
| int | bg | ||
| ) |
Draw CGA/EGA/VGA font to 8-bit pixel buffer.
| dst | Destination pixel buffer |
| linesize | Linesize (pixels) |
| font | Font table. We assume font width is always 8 pixels wide. |
| font_height | Font height (pixels) |
| fg,bg | Foreground and background palette index |
| ch | Character to draw |
1.8.12