FFmpeg
Data Structures | Functions | Variables
vocenc.c File Reference
#include "voc.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  voc_enc_context
 

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

const AVOutputFormat ff_voc_muxer
 

Function Documentation

◆ voc_write_header()

static int voc_write_header ( AVFormatContext s)
static

Definition at line 30 of file vocenc.c.

◆ voc_write_packet()

static int voc_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 54 of file vocenc.c.

◆ voc_write_trailer()

static int voc_write_trailer ( AVFormatContext s)
static

Definition at line 92 of file vocenc.c.

Variable Documentation

◆ ff_voc_muxer

const 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 = ff_voc_codec_tags_list,
}

Definition at line 98 of file vocenc.c.

voc_write_trailer
static int voc_write_trailer(AVFormatContext *s)
Definition: vocenc.c:92
AV_CODEC_ID_PCM_S16LE
@ AV_CODEC_ID_PCM_S16LE
Definition: codec_id.h:314
AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:475
voc_write_header
static int voc_write_header(AVFormatContext *s)
Definition: vocenc.c:30
ff_voc_codec_tags_list
const AVCodecTag *const ff_voc_codec_tags_list[]
write_trailer
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:98
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:117
write_packet
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:727
voc_write_packet
static int voc_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vocenc.c:54
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:48
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:561
write_header
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:347