FFmpeg
Functions | Variables
ircamenc.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "mux.h"
#include "rawenc.h"
#include "ircam.h"

Go to the source code of this file.

Functions

static int ircam_write_header (AVFormatContext *s)
 

Variables

const FFOutputFormat ff_ircam_muxer
 

Function Documentation

◆ ircam_write_header()

static int ircam_write_header ( AVFormatContext s)
static

Definition at line 30 of file ircamenc.c.

Variable Documentation

◆ ff_ircam_muxer

const FFOutputFormat ff_ircam_muxer
Initial value:
= {
.p.name = "ircam",
.p.extensions = "sf,ircam",
.p.long_name = NULL_IF_CONFIG_SMALL("Berkeley/IRCAM/CARL Sound Format"),
.p.audio_codec = AV_CODEC_ID_PCM_S16LE,
.p.video_codec = AV_CODEC_ID_NONE,
.p.subtitle_codec = AV_CODEC_ID_NONE,
.flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH,
.write_header = ircam_write_header,
.write_packet = ff_raw_write_packet,
.p.codec_tag = (const AVCodecTag *const []){ ff_codec_ircam_le_tags, 0 },
}

Definition at line 49 of file ircamenc.c.

AV_CODEC_ID_PCM_S16LE
@ AV_CODEC_ID_PCM_S16LE
Definition: codec_id.h:334
ircam_write_header
static int ircam_write_header(AVFormatContext *s)
Definition: ircamenc.c:30
AVCodecTag
Definition: internal.h:42
ff_raw_write_packet
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:31
ff_codec_ircam_le_tags
const AVCodecTag ff_codec_ircam_le_tags[]
Definition: ircam.c:25
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:94
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:50
FF_OFMT_FLAG_MAX_ONE_OF_EACH
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
Definition: mux.h:50