libavcodec/bintext.c File Reference

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

#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "cga_data.h"
#include "bintext.h"

Go to the source code of this file.

Data Structures

struct  XbinContext

Defines

#define DEFAULT_BG_COLOR   0
#define FONT_WIDTH   8

Functions

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

Variables

AVCodec ff_bintext_decoder
AVCodec ff_xbin_decoder
AVCodec ff_idf_decoder


Detailed Description

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

Definition in file bintext.c.


Define Documentation

#define DEFAULT_BG_COLOR   0

Definition at line 91 of file bintext.c.

#define FONT_WIDTH   8

Definition at line 105 of file bintext.c.


Function Documentation

static av_cold int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 203 of file bintext.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 125 of file bintext.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 45 of file bintext.c.

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

Draw character to screen.

Definition at line 110 of file bintext.c.

static void hscroll ( AVCodecContext avctx  )  [static]

Definition at line 92 of file bintext.c.


Variable Documentation

Initial value:

Definition at line 213 of file bintext.c.

Initial value:

Definition at line 239 of file bintext.c.

Initial value:

 {
    "xbin",
    AVMEDIA_TYPE_VIDEO,
    CODEC_ID_XBIN,
    sizeof(XbinContext),
    decode_init,
    NULL,
    decode_end,
    decode_frame,
    CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text"),
}

Definition at line 226 of file bintext.c.


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