#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:
{ .name = "bintext", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_BINTEXT, .priv_data_size = sizeof(XbinContext), .init = decode_init, .close = decode_end, .decode = decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Binary text"), }
Initial value:
{ .name = "idf", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_IDF, .priv_data_size = sizeof(XbinContext), .init = decode_init, .close = decode_end, .decode = decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"), }
Initial value:
{ .name = "xbin", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_XBIN, .priv_data_size = sizeof(XbinContext), .init = decode_init, .close = decode_end, .decode = decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text"), }