libavformat/rmenc.c File Reference

#include "avformat.h"
#include "rm.h"

Go to the source code of this file.

Data Structures

struct  StreamInfo
struct  RMMuxContext

Defines

#define BUFFER_DURATION   0

Functions

static void put_str (ByteIOContext *s, const char *tag)
static void put_str8 (ByteIOContext *s, const char *tag)
static void rv10_write_header (AVFormatContext *ctx, int data_size, int index_pos)
static void write_packet_header (AVFormatContext *ctx, StreamInfo *stream, int length, int key_frame)
static int rm_write_header (AVFormatContext *s)
static int rm_write_audio (AVFormatContext *s, const uint8_t *buf, int size, int flags)
static int rm_write_video (AVFormatContext *s, const uint8_t *buf, int size, int flags)
static int rm_write_packet (AVFormatContext *s, AVPacket *pkt)
static int rm_write_trailer (AVFormatContext *s)

Variables

AVOutputFormat rm_muxer


Define Documentation

#define BUFFER_DURATION   0

Definition at line 44 of file rmenc.c.

Referenced by rv10_write_header().


Function Documentation

static void put_str ( ByteIOContext s,
const char *  tag 
) [static]

Definition at line 47 of file rmenc.c.

static void put_str8 ( ByteIOContext s,
const char *  tag 
) [static]

Definition at line 55 of file rmenc.c.

Referenced by rv10_write_header().

static int rm_write_audio ( AVFormatContext s,
const uint8_t *  buf,
int  size,
int  flags 
) [static]

Definition at line 338 of file rmenc.c.

Referenced by rm_write_packet().

static int rm_write_header ( AVFormatContext s  )  [static]

Definition at line 295 of file rmenc.c.

static int rm_write_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 408 of file rmenc.c.

static int rm_write_trailer ( AVFormatContext s  )  [static]

Definition at line 417 of file rmenc.c.

static int rm_write_video ( AVFormatContext s,
const uint8_t *  buf,
int  size,
int  flags 
) [static]

Definition at line 363 of file rmenc.c.

Referenced by rm_write_packet().

static void rv10_write_header ( AVFormatContext ctx,
int  data_size,
int  index_pos 
) [static]

Definition at line 63 of file rmenc.c.

Referenced by rm_write_header(), and rm_write_trailer().

static void write_packet_header ( AVFormatContext ctx,
StreamInfo stream,
int  length,
int  key_frame 
) [static]

Definition at line 275 of file rmenc.c.

Referenced by rm_write_audio(), and rm_write_video().


Variable Documentation

Initial value:

 {
    "rm",
    NULL_IF_CONFIG_SMALL("RealMedia format"),
    "application/vnd.rn-realmedia",
    "rm,ra",
    sizeof(RMMuxContext),
    CODEC_ID_AC3,
    CODEC_ID_RV10,
    rm_write_header,
    rm_write_packet,
    rm_write_trailer,
}

Definition at line 448 of file rmenc.c.


Generated on Fri Oct 26 02:36:55 2012 for FFmpeg by  doxygen 1.5.8