FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
v4l2enc.c File Reference
#include "v4l2-common.h"
#include "avdevice.h"

Go to the source code of this file.

Data Structures

struct  V4L2Context
 

Functions

static av_cold int write_header (AVFormatContext *s1)
 
static int write_packet (AVFormatContext *s1, AVPacket *pkt)
 
static int write_trailer (AVFormatContext *s1)
 

Variables

AVOutputFormat ff_v4l2_muxer
 

Function Documentation

static av_cold int write_header ( AVFormatContext s1)
static

Definition at line 28 of file v4l2enc.c.

static int write_packet ( AVFormatContext s1,
AVPacket pkt 
)
static

Definition at line 85 of file v4l2enc.c.

Referenced by avio_alloc_context(), and ffio_init_context().

static int write_trailer ( AVFormatContext s1)
static

Definition at line 93 of file v4l2enc.c.

Variable Documentation

AVOutputFormat ff_v4l2_muxer
Initial value:
= {
.name = "v4l2",
.long_name = NULL_IF_CONFIG_SMALL("Video4Linux2 output device"),
.priv_data_size = sizeof(V4L2Context),
.audio_codec = AV_CODEC_ID_NONE,
.video_codec = AV_CODEC_ID_RAWVIDEO,
}

Definition at line 100 of file v4l2enc.c.