FFmpeg
Functions | Variables
idroqenc.c File Reference
#include "avformat.h"
#include "rawenc.h"

Go to the source code of this file.

Functions

static int roq_write_header (struct AVFormatContext *s)
 

Variables

AVOutputFormat ff_roq_muxer
 

Function Documentation

◆ roq_write_header()

static int roq_write_header ( struct AVFormatContext s)
static

Definition at line 26 of file idroqenc.c.

Variable Documentation

◆ ff_roq_muxer

AVOutputFormat ff_roq_muxer
Initial value:
= {
.name = "roq",
.long_name = NULL_IF_CONFIG_SMALL("raw id RoQ"),
.extensions = "roq",
.audio_codec = AV_CODEC_ID_ROQ_DPCM,
.video_codec = AV_CODEC_ID_ROQ,
.write_header = roq_write_header,
.write_packet = ff_raw_write_packet,
}

Definition at line 63 of file idroqenc.c.

ff_raw_write_packet
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:29
AV_CODEC_ID_ROQ_DPCM
@ AV_CODEC_ID_ROQ_DPCM
Definition: avcodec.h:555
AV_CODEC_ID_ROQ
@ AV_CODEC_ID_ROQ
Definition: avcodec.h:256
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:188
roq_write_header
static int roq_write_header(struct AVFormatContext *s)
Definition: idroqenc.c:26