FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
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"

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 OFFSET (   x)    offsetof(VideoMuxData, x)

Definition at line 128 of file img2enc.c.

#define ENC   AV_OPT_FLAG_ENCODING_PARAM

Definition at line 129 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", "update the first image file", OFFSET(updatefirst), 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 },
}

Definition at line 130 of file img2enc.c.