libavformat/bintext.c File Reference

Binary text demuxer eXtended BINary text (XBIN) demuxer Artworx Data Format demuxer iCEDraw File demuxer. More...

#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "avformat.h"
#include "internal.h"
#include "sauce.h"
#include "libavcodec/bintext.h"
Include dependency graph for libavformat/bintext.c:

Go to the source code of this file.

Data Structures

struct  BinDemuxContext
 

Macros

#define OFFSET(x)   offsetof(BinDemuxContext, x)
 
#define CLASS(name)
 

Functions

static AVStreaminit_stream (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const AVOption options []
 

Detailed Description

Binary text demuxer eXtended BINary text (XBIN) demuxer Artworx Data Format demuxer iCEDraw File demuxer.

Definition in file libavformat/bintext.c.

Macro Definition Documentation

#define CLASS (   name)
Value:
(const AVClass[1]){{ \
.class_name = name, \
.item_name = av_default_item_name, \
.option = options, \
.version = LIBAVUTIL_VERSION_INT, \
}}
const char * name
Definition: avisynth_c.h:675
av_default_item_name
static const AVOption options[]
LIBAVUTIL_VERSION_INT
Definition: eval.c:55
Describe the class of an AVClass context structure.
Definition: log.h:50

Definition at line 340 of file libavformat/bintext.c.

#define OFFSET (   x)    offsetof(BinDemuxContext, x)

Definition at line 332 of file libavformat/bintext.c.

Function Documentation

static AVStream* init_stream ( AVFormatContext s)
static

Definition at line 51 of file libavformat/bintext.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 310 of file libavformat/bintext.c.

Variable Documentation

const AVOption options[]
static
Initial value:
= {
{ "linespeed", "set simulated line speed (bytes per second)", OFFSET(chars_per_frame), AV_OPT_TYPE_INT, {.i64 = 6000}, 1, INT_MAX, AV_OPT_FLAG_DECODING_PARAM},
{ "video_size", "set video size, such as 640x480 or hd720.", OFFSET(width), AV_OPT_TYPE_IMAGE_SIZE, {.str = NULL}, 0, 0, AV_OPT_FLAG_DECODING_PARAM },
{ "framerate", "set framerate (frames per second)", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, 0, AV_OPT_FLAG_DECODING_PARAM },
{ NULL },
}
#define OFFSET(x)
NULL
Definition: eval.c:55
static int width
Definition: tests/utils.c:158
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition: opt.h:282
offset must point to AVRational
Definition: opt.h:233
offset must point to two consecutive integers
Definition: opt.h:230

Definition at line 333 of file libavformat/bintext.c.