FFmpeg
Functions | Variables
rsoenc.c File Reference
#include "avformat.h"
#include "internal.h"
#include "mux.h"
#include "rawenc.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_trailer (AVFormatContext *s)
 

Variables

const FFOutputFormat ff_rso_muxer
 

Function Documentation

◆ rso_write_header()

static int rso_write_header ( AVFormatContext s)
static

Definition at line 30 of file rsoenc.c.

◆ rso_write_trailer()

static int rso_write_trailer ( AVFormatContext s)
static

Definition at line 68 of file rsoenc.c.

Variable Documentation

◆ ff_rso_muxer

const FFOutputFormat ff_rso_muxer
Initial value:
= {
.p.name = "rso",
.p.long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO"),
.p.extensions = "rso",
.p.audio_codec = AV_CODEC_ID_PCM_U8,
.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 = rso_write_header,
.write_packet = ff_raw_write_packet,
.write_trailer = rso_write_trailer,
.p.codec_tag = ff_rso_codec_tags_list,
.p.flags = AVFMT_NOTIMESTAMPS,
}

Definition at line 95 of file rsoenc.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:479
rso_write_header
static int rso_write_header(AVFormatContext *s)
Definition: rsoenc.c:30
ff_raw_write_packet
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:31
ff_rso_codec_tags_list
const AVCodecTag *const ff_rso_codec_tags_list[]
Definition: rso.c:32
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
rso_write_trailer
static int rso_write_trailer(AVFormatContext *s)
Definition: rsoenc.c:68
AV_CODEC_ID_PCM_U8
@ AV_CODEC_ID_PCM_U8
Definition: codec_id.h:333