FFmpeg
Functions | Variables
rsoenc.c File Reference
#include "avformat.h"
#include "internal.h"
#include "riff.h"
#include "rso.h"

Go to the source code of this file.

Functions

static int rso_write_header (AVFormatContext *s)
 
static int rso_write_packet (AVFormatContext *s, AVPacket *pkt)
 
static int rso_write_trailer (AVFormatContext *s)
 

Variables

AVOutputFormat ff_rso_muxer
 

Function Documentation

◆ rso_write_header()

static int rso_write_header ( AVFormatContext s)
static

Definition at line 28 of file rsoenc.c.

◆ rso_write_packet()

static int rso_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 68 of file rsoenc.c.

◆ rso_write_trailer()

static int rso_write_trailer ( AVFormatContext s)
static

Definition at line 74 of file rsoenc.c.

Variable Documentation

◆ ff_rso_muxer

AVOutputFormat ff_rso_muxer
Initial value:
= {
.name = "rso",
.long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO"),
.extensions = "rso",
.audio_codec = AV_CODEC_ID_PCM_U8,
.video_codec = AV_CODEC_ID_NONE,
.write_header = rso_write_header,
.write_packet = rso_write_packet,
.write_trailer = rso_write_trailer,
.codec_tag = (const AVCodecTag* const []){ff_codec_rso_tags, 0},
}

Definition at line 101 of file rsoenc.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:467
rso_write_header
static int rso_write_header(AVFormatContext *s)
Definition: rsoenc.c:28
rso_write_packet
static int rso_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rsoenc.c:68
AVCodecTag
Definition: internal.h:44
ff_codec_rso_tags
const AVCodecTag ff_codec_rso_tags[]
Definition: rso.c:26
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
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: avcodec.h:216
rso_write_trailer
static int rso_write_trailer(AVFormatContext *s)
Definition: rsoenc.c:74
AV_CODEC_ID_PCM_U8
@ AV_CODEC_ID_PCM_U8
Definition: avcodec.h:468