libavformat/libnut.c File Reference

NUT demuxing and muxing via libnut. More...

#include "avformat.h"
#include "internal.h"
#include "riff.h"
#include <libnut.h>

Go to the source code of this file.

Data Structures

struct  NUTContext

Defines

#define ID_STRING   "nut/multimedia container"
#define ID_LENGTH   (strlen(ID_STRING) + 1)

Functions

static int nut_probe (AVProbeData *p)
static size_t av_read (void *h, size_t len, uint8_t *buf)
static off_t av_seek (void *h, long long pos, int whence)
static int nut_read_header (AVFormatContext *avf)
static int nut_read_packet (AVFormatContext *avf, AVPacket *pkt)
static int nut_read_seek (AVFormatContext *avf, int stream_index, int64_t target_ts, int flags)
static int nut_read_close (AVFormatContext *s)

Variables

static const AVCodecTag nut_tags []
AVInputFormat ff_libnut_demuxer


Detailed Description

NUT demuxing and muxing via libnut.

Author:
Oded Shimon <ods15@ods15.dyndns.org>

Definition in file libnut.c.


Define Documentation

#define ID_LENGTH   (strlen(ID_STRING) + 1)

Definition at line 34 of file libnut.c.

Referenced by nut_probe().

#define ID_STRING   "nut/multimedia container"

Definition at line 33 of file libnut.c.


Function Documentation

static size_t av_read ( void *  h,
size_t  len,
uint8_t buf 
) [static]

Definition at line 177 of file libnut.c.

Referenced by nut_read_header().

static off_t av_seek ( void *  h,
long long  pos,
int  whence 
) [static]

Definition at line 182 of file libnut.c.

Referenced by nut_read_header().

static int nut_probe ( AVProbeData p  )  [static]

Definition at line 171 of file libnut.c.

static int nut_read_close ( AVFormatContext s  )  [static]

Definition at line 304 of file libnut.c.

static int nut_read_header ( AVFormatContext avf  )  [static]

Definition at line 191 of file libnut.c.

static int nut_read_packet ( AVFormatContext avf,
AVPacket pkt 
) [static]

Definition at line 271 of file libnut.c.

static int nut_read_seek ( AVFormatContext avf,
int  stream_index,
int64_t  target_ts,
int  flags 
) [static]

Definition at line 294 of file libnut.c.


Variable Documentation

Initial value:

 {
    .name           = "libnut",
    .long_name      = NULL_IF_CONFIG_SMALL("NUT format"),
    .priv_data_size = sizeof(NUTContext),
    .read_probe     = nut_probe,
    .read_header    = nut_read_header,
    .read_packet    = nut_read_packet,
    .read_close     = nut_read_close,
    .read_seek      = nut_read_seek,
    .extensions     = "nut",
}

Definition at line 312 of file libnut.c.

const AVCodecTag nut_tags[] [static]

Initial value:

 {
    { CODEC_ID_MPEG4,  MKTAG('m', 'p', '4', 'v') },
    { CODEC_ID_MP3,    MKTAG('m', 'p', '3', ' ') },
    { CODEC_ID_VORBIS, MKTAG('v', 'r', 'b', 's') },
    { 0, 0 },
}

Definition at line 41 of file libnut.c.


Generated on Fri Oct 26 02:48:01 2012 for FFmpeg by  doxygen 1.5.8