#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 |
Definition in file bintext.c.
static av_cold int decode_end | ( | AVCodecContext * | avctx | ) | [static] |
static int decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int decode_init | ( | AVCodecContext * | avctx | ) | [static] |
static void draw_char | ( | AVCodecContext * | avctx, | |
int | c, | |||
int | a | |||
) | [static] |
static void hscroll | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{ "bintext", AVMEDIA_TYPE_VIDEO, CODEC_ID_BINTEXT, sizeof(XbinContext), decode_init, NULL, decode_end, decode_frame, CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Binary text"), }
Initial value:
{ "idf", AVMEDIA_TYPE_VIDEO, CODEC_ID_IDF, sizeof(XbinContext), decode_init, NULL, decode_end, decode_frame, CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"), }
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"), }