FFmpeg
Data Structures | Functions | Variables
ttaenc.c File Reference
#include "libavutil/crc.h"
#include "libavutil/intreadwrite.h"
#include "apetag.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  TTAMuxContext
 

Functions

static int tta_init (AVFormatContext *s)
 
static int tta_write_header (AVFormatContext *s)
 
static int tta_write_packet (AVFormatContext *s, AVPacket *pkt)
 
static void tta_queue_flush (AVFormatContext *s)
 
static int tta_write_trailer (AVFormatContext *s)
 

Variables

AVOutputFormat ff_tta_muxer
 

Function Documentation

static int tta_init ( AVFormatContext s)
static

Definition at line 38 of file ttaenc.c.

static int tta_write_header ( AVFormatContext s)
static

Definition at line 69 of file ttaenc.c.

static int tta_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 91 of file ttaenc.c.

static void tta_queue_flush ( AVFormatContext s)
static

Definition at line 122 of file ttaenc.c.

Referenced by tta_write_trailer().

static int tta_write_trailer ( AVFormatContext s)
static

Definition at line 134 of file ttaenc.c.

Variable Documentation

AVOutputFormat ff_tta_muxer
Initial value:
= {
.name = "tta",
.long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
.mime_type = "audio/x-tta",
.extensions = "tta",
.priv_data_size = sizeof(TTAMuxContext),
.audio_codec = AV_CODEC_ID_TTA,
.video_codec = AV_CODEC_ID_NONE,
}
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:689
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static int tta_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ttaenc.c:91
static int tta_write_trailer(AVFormatContext *s)
Definition: ttaenc.c:134
static int tta_init(AVFormatContext *s)
Definition: ttaenc.c:38
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int tta_write_header(AVFormatContext *s)
Definition: ttaenc.c:69
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:94
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:349

Definition at line 161 of file ttaenc.c.