libavcodec/cga_data.h File Reference

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.

Variables

const uint8_t ff_cga_font [2048]
const uint8_t ff_vga16_font [4096]
const uint32_t ff_cga_palette [16]
const uint32_t ff_ega_palette [64]


Detailed Description

CGA/EGA/VGA ROM data.

Definition in file cga_data.h.


Function Documentation

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.

Parameters:
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

Definition at line 435 of file cga_data.c.

Referenced by draw_char(), and tmv_decode_frame().


Variable Documentation

const uint8_t ff_cga_font[2048]

Definition at line 29 of file cga_data.c.

Referenced by decode_init(), execute_code(), and tmv_decode_frame().

const uint32_t ff_cga_palette[16]

Definition at line 419 of file cga_data.c.

Referenced by decode_frame(), decode_init(), execute_code(), and tmv_decode_frame().

const uint32_t ff_ega_palette[64]

Definition at line 424 of file cga_data.c.

Referenced by decode_frame().

const uint8_t ff_vga16_font[4096]

Definition at line 160 of file cga_data.c.

Referenced by decode_init(), and execute_code().


Generated on Fri Oct 26 02:43:46 2012 for FFmpeg by  doxygen 1.5.8