img2enc.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/avstring.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
Include dependency graph for img2enc.c:

Go to the source code of this file.

Data Structures

struct  VideoMuxData
 

Macros

#define OFFSET(x)   offsetof(VideoMuxData, x)
 
#define ENC   AV_OPT_FLAG_ENCODING_PARAM
 

Functions

static int write_header (AVFormatContext *s)
 
static int write_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const AVOption muxoptions []
 

Macro Definition Documentation

#define ENC   AV_OPT_FLAG_ENCODING_PARAM

Definition at line 131 of file img2enc.c.

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

Definition at line 130 of file img2enc.c.

Function Documentation

static int write_header ( AVFormatContext s)
static

Definition at line 42 of file img2enc.c.

static int write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 68 of file img2enc.c.

Variable Documentation

const AVOption muxoptions[]
static
Initial value:
= {
{ "updatefirst", "continuously overwrite one file", OFFSET(update), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, ENC },
{ "update", "continuously overwrite one file", OFFSET(update), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, ENC },
{ "start_number", "set first number in the sequence", OFFSET(img_number), AV_OPT_TYPE_INT, { .i64 = 1 }, 1, INT_MAX, ENC },
{ NULL },
}
#define OFFSET(x)
Definition: img2enc.c:130
NULL
Definition: eval.c:55
#define ENC
Definition: img2enc.c:131

Definition at line 132 of file img2enc.c.