vocenc.c File Reference
#include "voc.h"
#include "internal.h"
Include dependency graph for vocenc.c:

Go to the source code of this file.

Data Structures

struct  voc_enc_context
 

Typedefs

typedef struct voc_enc_context VocEncContext
 

Functions

static int voc_write_header (AVFormatContext *s)
 
static int voc_write_packet (AVFormatContext *s, AVPacket *pkt)
 
static int voc_write_trailer (AVFormatContext *s)
 

Variables

AVOutputFormat ff_voc_muxer
 

Typedef Documentation

Function Documentation

static int voc_write_header ( AVFormatContext s)
static

Definition at line 30 of file vocenc.c.

static int voc_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 54 of file vocenc.c.

static int voc_write_trailer ( AVFormatContext s)
static

Definition at line 92 of file vocenc.c.

Variable Documentation

AVOutputFormat ff_voc_muxer
Initial value:
= {
.name = "voc",
.long_name = NULL_IF_CONFIG_SMALL("Creative Voice"),
.mime_type = "audio/x-voc",
.extensions = "voc",
.priv_data_size = sizeof(VocEncContext),
.audio_codec = AV_CODEC_ID_PCM_S16LE,
.video_codec = AV_CODEC_ID_NONE,
.codec_tag = (const AVCodecTag* const []){ ff_voc_codec_tags, 0 },
}
static int write_packet(AVFormatContext *s, AVPacket *pkt)
struct voc_enc_context VocEncContext
static int voc_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vocenc.c:54
static int write_trailer(AVFormatContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int voc_write_trailer(AVFormatContext *s)
Definition: vocenc.c:92
const AVCodecTag ff_voc_codec_tags[]
Definition: voc.c:27
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:470
static int voc_write_header(AVFormatContext *s)
Definition: vocenc.c:30

Definition at line 98 of file vocenc.c.