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"
#include "img2.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 int query_codec (enum AVCodecID id, int std_compliance)


static const AVOption muxoptions []

Macro Definition Documentation

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

Definition at line 203 of file img2enc.c.


Definition at line 204 of file img2enc.c.

Function Documentation

static int write_header ( AVFormatContext s)

Definition at line 49 of file img2enc.c.

static int write_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 80 of file img2enc.c.

static int query_codec ( enum AVCodecID  id,
int  std_compliance 

Definition at line 192 of file img2enc.c.

Variable Documentation

const AVOption muxoptions[]
Initial value:
= {
{ "updatefirst", "continuously overwrite one file", OFFSET(update), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, ENC },
{ "update", "continuously overwrite one file", OFFSET(update), AV_OPT_TYPE_BOOL, { .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_BOOL, { .i64 = 0 }, 0, 1, ENC },
{ "atomic_writing", "write files atomically (using temporary files and renames)", OFFSET(use_rename), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, ENC },
{ NULL },
#define NULL
Definition: coverity.c:32
#define OFFSET(x)
Definition: img2enc.c:203
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:204

Definition at line 205 of file img2enc.c.