All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
img2enc.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/time_internal.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  VideoMuxData


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


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


static const AVOption muxoptions []

Macro Definition Documentation

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

Definition at line 175 of file img2enc.c.


Definition at line 176 of file img2enc.c.

Function Documentation

static int write_header ( AVFormatContext s)

Definition at line 45 of file img2enc.c.

static int write_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 73 of file img2enc.c.

Variable Documentation

const AVOption muxoptions[]
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 }, 0, INT_MAX, ENC },
{ "strftime", "use strftime for filename", OFFSET(use_strftime), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, ENC },
{ NULL },
#define NULL
Definition: coverity.c:32
#define OFFSET(x)
Definition: img2enc.c:175
static av_always_inline void update(SilenceDetectContext *s, AVFrame *insamples, int is_silence, int64_t nb_samples_notify, AVRational time_base)
#define ENC
Definition: img2enc.c:176

Definition at line 177 of file img2enc.c.