FFmpeg
Data Structures | Functions | Variables
ttaenc.c File Reference
#include "libavutil/crc.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/packet_internal.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)
 
static void tta_deinit (AVFormatContext *s)
 

Variables

const AVOutputFormat ff_tta_muxer
 

Function Documentation

◆ tta_init()

static int tta_init ( AVFormatContext s)
static

Definition at line 39 of file ttaenc.c.

◆ tta_write_header()

static int tta_write_header ( AVFormatContext s)
static

Definition at line 70 of file ttaenc.c.

◆ tta_write_packet()

static int tta_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 92 of file ttaenc.c.

◆ tta_queue_flush()

static void tta_queue_flush ( AVFormatContext s)
static

Definition at line 123 of file ttaenc.c.

Referenced by tta_write_trailer().

◆ tta_write_trailer()

static int tta_write_trailer ( AVFormatContext s)
static

Definition at line 135 of file ttaenc.c.

◆ tta_deinit()

static void tta_deinit ( AVFormatContext s)
static

Definition at line 160 of file ttaenc.c.

Variable Documentation

◆ ff_tta_muxer

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

Definition at line 168 of file ttaenc.c.

init
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:31
deinit
static void deinit(AVFormatContext *s)
Definition: chromaprint.c:50
tta_deinit
static void tta_deinit(AVFormatContext *s)
Definition: ttaenc.c:160
tta_init
static int tta_init(AVFormatContext *s)
Definition: ttaenc.c:39
tta_write_header
static int tta_write_header(AVFormatContext *s)
Definition: ttaenc.c:70
AV_CODEC_ID_TTA
@ AV_CODEC_ID_TTA
Definition: codec_id.h:445
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
tta_write_packet
static int tta_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ttaenc.c:92
tta_write_trailer
static int tta_write_trailer(AVFormatContext *s)
Definition: ttaenc.c:135
write_packet
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:727
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:48
TTAMuxContext
Definition: ttaenc.c:31
write_header
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:347