Data Structures | Macros | Functions
bintext.c File Reference
#include "config_components.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/xga_font_data.h"
#include "avcodec.h"
#include "cga_data.h"
#include "bintext.h"
#include "codec_internal.h"
#include "decode.h"

Go to the source code of this file.

Data Structures

struct  XbinContext


#define FONT_WIDTH   8
#define DEFAULT_BG_COLOR   0


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, AVFrame *frame, int *got_frame, AVPacket *avpkt)

Detailed Description

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

Definition in file bintext.c.

Macro Definition Documentation


#define FONT_WIDTH   8

Definition at line 41 of file bintext.c.


#define DEFAULT_BG_COLOR   0

Definition at line 111 of file bintext.c.

Function Documentation

◆ decode_init()

static av_cold int decode_init ( AVCodecContext avctx)

Definition at line 52 of file bintext.c.

◆ hscroll()

static av_unused void hscroll ( AVCodecContext avctx)

Definition at line 112 of file bintext.c.

◆ draw_char()

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

Draw character to screen.

Definition at line 128 of file bintext.c.

Referenced by decode_frame().

◆ decode_frame()

static int decode_frame ( AVCodecContext avctx,
AVFrame frame,
int got_frame,
AVPacket avpkt 

Definition at line 143 of file bintext.c.