libavcodec/bintext.c File Reference

Binary text decoder eXtended BINary text (XBIN) decoder iCEDraw File decoder. More...

#include "libavutil/intreadwrite.h"
#include "libavutil/xga_font_data.h"
#include "avcodec.h"
#include "cga_data.h"
#include "bintext.h"
#include "internal.h"
Include dependency graph for libavcodec/bintext.c:

Go to the source code of this file.

Data Structures

struct  XbinContext
 

Macros

#define DEFAULT_BG_COLOR   0
 
#define FONT_WIDTH   8
 

Typedefs

typedef struct XbinContext XbinContext
 

Functions

static av_cold int decode_init (AVCodecContext *avctx)
 
static av_unused void hscroll (AVCodecContext *avctx)
 
static void draw_char (AVCodecContext *avctx, int c, int a)
 Draw character to screen. More...
 
static int decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static av_cold int decode_end (AVCodecContext *avctx)
 

Detailed Description

Binary text decoder eXtended BINary text (XBIN) decoder iCEDraw File decoder.

Definition in file libavcodec/bintext.c.

Macro Definition Documentation

#define DEFAULT_BG_COLOR   0

Definition at line 102 of file libavcodec/bintext.c.

Referenced by hscroll().

#define FONT_WIDTH   8

Definition at line 116 of file libavcodec/bintext.c.

Referenced by draw_char().

Typedef Documentation

typedef struct XbinContext XbinContext

Function Documentation

static av_cold int decode_end ( AVCodecContext avctx)
static

Definition at line 211 of file libavcodec/bintext.c.

static int decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 136 of file libavcodec/bintext.c.

Referenced by decode_end().

static av_cold int decode_init ( AVCodecContext avctx)
static

Definition at line 47 of file libavcodec/bintext.c.

Referenced by decode_end().

static void draw_char ( AVCodecContext avctx,
int  c,
int  a 
)
static

Draw character to screen.

Definition at line 121 of file libavcodec/bintext.c.

Referenced by decode_frame().

static av_unused void hscroll ( AVCodecContext avctx)
static

Definition at line 103 of file libavcodec/bintext.c.