raw.c File Reference

Go to the source code of this file.

Functions

static int flac_write_header (struct AVFormatContext *s)
static int roq_write_header (struct AVFormatContext *s)
static int raw_write_packet (struct AVFormatContext *s, AVPacket *pkt)
static int raw_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int raw_read_packet (AVFormatContext *s, AVPacket *pkt)
static int raw_read_partial_packet (AVFormatContext *s, AVPacket *pkt)
static int ingenient_read_packet (AVFormatContext *s, AVPacket *pkt)
static int raw_read_close (AVFormatContext *s)
int pcm_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
static int ac3_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int shorten_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int flac_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int dts_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int aac_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int video_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int mpegvideo_probe (AVProbeData *p)
static int mpeg4video_probe (AVProbeData *probe_packet)
static int h263_probe (AVProbeData *p)
static int h261_probe (AVProbeData *p)
static int ac3_probe (AVProbeData *p)
static int flac_probe (AVProbeData *p)
 PCMDEF (s16le,"pcm signed 16 bit little endian format", LE_DEF("sw"), CODEC_ID_PCM_S16LE)
static int null_write_packet (struct AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat shorten_demuxer
AVInputFormat flac_demuxer
AVOutputFormat flac_muxer
AVInputFormat ac3_demuxer
AVOutputFormat ac3_muxer
AVInputFormat dts_demuxer
AVInputFormat aac_demuxer
AVOutputFormat roq_muxer
AVInputFormat h261_demuxer
AVOutputFormat h261_muxer
AVInputFormat h263_demuxer
AVOutputFormat h263_muxer
AVInputFormat m4v_demuxer
AVOutputFormat m4v_muxer
AVInputFormat h264_demuxer
AVOutputFormat h264_muxer
AVInputFormat mpegvideo_demuxer
AVOutputFormat mpeg1video_muxer
AVOutputFormat mpeg2video_muxer
AVInputFormat mjpeg_demuxer
AVInputFormat ingenient_demuxer
AVOutputFormat mjpeg_muxer
AVInputFormat vc1_demuxer
AVInputFormat rawvideo_demuxer
AVOutputFormat rawvideo_muxer
AVOutputFormat null_muxer


Function Documentation

static int flac_write_header ( struct AVFormatContext s  )  [static]

Definition at line 28 of file libavformat/raw.c.

static int roq_write_header ( struct AVFormatContext s  )  [static]

Definition at line 43 of file libavformat/raw.c.

static int raw_write_packet ( struct AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 55 of file libavformat/raw.c.

static int raw_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 64 of file libavformat/raw.c.

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

Definition at line 103 of file libavformat/raw.c.

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

Definition at line 122 of file libavformat/raw.c.

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

Definition at line 143 of file libavformat/raw.c.

static int raw_read_close ( AVFormatContext s  )  [static]

Definition at line 178 of file libavformat/raw.c.

int pcm_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  timestamp,
int  flags 
)

Definition at line 183 of file libavformat/raw.c.

Referenced by aiff_read_seek(), mmf_read_seek(), and wav_read_seek().

static int ac3_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 214 of file libavformat/raw.c.

static int shorten_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 230 of file libavformat/raw.c.

static int flac_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 246 of file libavformat/raw.c.

static int dts_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 262 of file libavformat/raw.c.

static int aac_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 279 of file libavformat/raw.c.

static int video_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 296 of file libavformat/raw.c.

static int mpegvideo_probe ( AVProbeData p  )  [static]

Definition at line 330 of file libavformat/raw.c.

static int mpeg4video_probe ( AVProbeData probe_packet  )  [static]

Definition at line 357 of file libavformat/raw.c.

static int h263_probe ( AVProbeData p  )  [static]

Definition at line 381 of file libavformat/raw.c.

static int h261_probe ( AVProbeData p  )  [static]

Definition at line 394 of file libavformat/raw.c.

static int ac3_probe ( AVProbeData p  )  [static]

Definition at line 407 of file libavformat/raw.c.

static int flac_probe ( AVProbeData p  )  [static]

Definition at line 435 of file libavformat/raw.c.

PCMDEF ( s16le  ,
"pcm signed 16 bit little endian format"  ,
LE_DEF("sw")  ,
CODEC_ID_PCM_S16LE   
)

Definition at line 810 of file libavformat/raw.c.

static int null_write_packet ( struct AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 885 of file libavformat/raw.c.


Variable Documentation

Initial value:

 {
    "shn",
    "raw shorten",
    0,
    NULL,
    shorten_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "shn",
}

Definition at line 441 of file libavformat/raw.c.

Initial value:

 {
    "flac",
    "raw flac",
    0,
    flac_probe,
    flac_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "flac",
}

Definition at line 453 of file libavformat/raw.c.

Initial value:

 {
    "flac",
    "raw flac",
    "audio/x-flac",
    "flac",
    0,
    CODEC_ID_FLAC,
    0,
    flac_write_header,
    raw_write_packet,
    .flags= AVFMT_NOTIMESTAMPS,
}

Definition at line 466 of file libavformat/raw.c.

Initial value:

 {
    "ac3",
    "raw ac3",
    0,
    ac3_probe,
    ac3_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "ac3",
}

Definition at line 481 of file libavformat/raw.c.

Initial value:

 {
    "ac3",
    "raw ac3",
    "audio/x-ac3",
    "ac3",
    0,
    CODEC_ID_AC3,
    0,
    NULL,
    raw_write_packet,
    .flags= AVFMT_NOTIMESTAMPS,
}

Definition at line 495 of file libavformat/raw.c.

Initial value:

 {
    "dts",
    "raw dts",
    0,
    NULL,
    dts_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "dts",
}

Definition at line 509 of file libavformat/raw.c.

Initial value:

 {
    "aac",
    "ADTS AAC",
    0,
    NULL,
    aac_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "aac",
}

Definition at line 521 of file libavformat/raw.c.

Initial value:

{
    "RoQ",
    "Id RoQ format",
    NULL,
    "roq",
    0,
    CODEC_ID_ROQ_DPCM,
    CODEC_ID_ROQ,
    roq_write_header,
    raw_write_packet,
}

Definition at line 534 of file libavformat/raw.c.

Initial value:

 {
    "h261",
    "raw h261",
    0,
    h261_probe,
    video_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "h261",
    .value = CODEC_ID_H261,
}

Definition at line 548 of file libavformat/raw.c.

Initial value:

 {
    "h261",
    "raw h261",
    "video/x-h261",
    "h261",
    0,
    0,
    CODEC_ID_H261,
    NULL,
    raw_write_packet,
    .flags= AVFMT_NOTIMESTAMPS,
}

Definition at line 562 of file libavformat/raw.c.

Initial value:

 {
    "h263",
    "raw h263",
    0,
    h263_probe,
    video_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,

    .value = CODEC_ID_H263,
}

Definition at line 576 of file libavformat/raw.c.

Initial value:

 {
    "h263",
    "raw h263",
    "video/x-h263",
    "h263",
    0,
    0,
    CODEC_ID_H263,
    NULL,
    raw_write_packet,
    .flags= AVFMT_NOTIMESTAMPS,
}

Definition at line 590 of file libavformat/raw.c.

Initial value:

 {
    "m4v",
    "raw MPEG4 video format",
    0,
    mpeg4video_probe, 
    video_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "m4v", 
    .value = CODEC_ID_MPEG4,
}

Definition at line 604 of file libavformat/raw.c.

Initial value:

 {
    "m4v",
    "raw MPEG4 video format",
    NULL,
    "m4v",
    0,
    CODEC_ID_NONE,
    CODEC_ID_MPEG4,
    NULL,
    raw_write_packet,
    .flags= AVFMT_NOTIMESTAMPS,
}

Definition at line 618 of file libavformat/raw.c.

Initial value:

 {
    "h264",
    "raw H264 video format",
    0,
    NULL ,
    video_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "h26l,h264,264", 
    .value = CODEC_ID_H264,
}

Definition at line 632 of file libavformat/raw.c.

Initial value:

 {
    "h264",
    "raw H264 video format",
    NULL,
    "h264",
    0,
    CODEC_ID_NONE,
    CODEC_ID_H264,
    NULL,
    raw_write_packet,
    .flags= AVFMT_NOTIMESTAMPS,
}

Definition at line 646 of file libavformat/raw.c.

Initial value:

 {
    "mpegvideo",
    "MPEG video",
    0,
    mpegvideo_probe,
    video_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .value = CODEC_ID_MPEG1VIDEO,
}

Definition at line 660 of file libavformat/raw.c.

Initial value:

 {
    "mpeg1video",
    "MPEG video",
    "video/x-mpeg",
    "mpg,mpeg,m1v",
    0,
    0,
    CODEC_ID_MPEG1VIDEO,
    NULL,
    raw_write_packet,
    .flags= AVFMT_NOTIMESTAMPS,
}

Definition at line 673 of file libavformat/raw.c.

Initial value:

 {
    "mpeg2video",
    "MPEG2 video",
    NULL,
    "m2v",
    0,
    0,
    CODEC_ID_MPEG2VIDEO,
    NULL,
    raw_write_packet,
    .flags= AVFMT_NOTIMESTAMPS,
}

Definition at line 688 of file libavformat/raw.c.

Initial value:

 {
    "mjpeg",
    "MJPEG video",
    0,
    NULL,
    video_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "mjpg,mjpeg",
    .value = CODEC_ID_MJPEG,
}

Definition at line 702 of file libavformat/raw.c.

Initial value:

 {
    "ingenient",
    "Ingenient MJPEG",
    0,
    NULL,
    video_read_header,
    ingenient_read_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "cgi", 
    .value = CODEC_ID_MJPEG,
}

Definition at line 715 of file libavformat/raw.c.

Initial value:

 {
    "mjpeg",
    "MJPEG video",
    "video/x-mjpeg",
    "mjpg,mjpeg",
    0,
    0,
    CODEC_ID_MJPEG,
    NULL,
    raw_write_packet,
    .flags= AVFMT_NOTIMESTAMPS,
}

Definition at line 729 of file libavformat/raw.c.

Initial value:

 {
    "vc1",
    "raw vc1",
    0,
    NULL ,
    video_read_header,
    raw_read_partial_packet,
    raw_read_close,
    .extensions = "vc1",
    .value = CODEC_ID_VC1,
}

Definition at line 743 of file libavformat/raw.c.

Initial value:

 {
    "rawvideo",
    "raw video format",
    0,
    NULL,
    raw_read_header,
    rawvideo_read_packet,
    raw_read_close,
    .flags= AVFMT_GENERIC_INDEX,
    .extensions = "yuv,cif,qcif,rgb",
    .value = CODEC_ID_RAWVIDEO,
}

Definition at line 856 of file libavformat/raw.c.

Initial value:

 {
    "rawvideo",
    "raw video format",
    NULL,
    "yuv,rgb",
    0,
    CODEC_ID_NONE,
    CODEC_ID_RAWVIDEO,
    NULL,
    raw_write_packet,
    .flags= AVFMT_NOTIMESTAMPS,
}

Definition at line 870 of file libavformat/raw.c.

Initial value:

 {
    "null",
    "null video format",
    NULL,
    NULL,
    0,
#ifdef WORDS_BIGENDIAN
    CODEC_ID_PCM_S16BE,
#else
    CODEC_ID_PCM_S16LE,
#endif
    CODEC_ID_RAWVIDEO,
    NULL,
    null_write_packet,
    .flags = AVFMT_NOFILE | AVFMT_RAWPICTURE | AVFMT_NOTIMESTAMPS,
}

Definition at line 890 of file libavformat/raw.c.


Generated on Sat Dec 18 05:15:55 2010 for MythTV by  doxygen 1.5.5