#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"
Go to the source code of this file.
Data Structures | |
struct | BinDemuxContext |
Defines | |
#define | OFFSET(x) offsetof(BinDemuxContext, x) |
#define | CLASS(name) |
Functions | |
static AVStream * | init_stream (AVFormatContext *s) |
static int | read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
static const AVOption | options [] |
Definition in file bintext.c.
#define CLASS | ( | name | ) |
Value:
(const AVClass[1]){{ \ .class_name = name, \ .item_name = av_default_item_name, \ .option = options, \ .version = LIBAVUTIL_VERSION_INT, \ }}
#define OFFSET | ( | x | ) | offsetof(BinDemuxContext, x) |
static AVStream* init_stream | ( | AVFormatContext * | s | ) | [static] |
static int read_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [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(video_size), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, AV_OPT_FLAG_DECODING_PARAM }, { "framerate", "set framerate (frames per second)", OFFSET(framerate), AV_OPT_TYPE_STRING, {.str = "25"}, 0, 0, AV_OPT_FLAG_DECODING_PARAM }, { NULL }, }