libavformat/nutenc.c File Reference

#include "libavutil/intreadwrite.h"
#include "libavutil/tree.h"
#include "libavutil/dict.h"
#include "libavcodec/mpegaudiodata.h"
#include "nut.h"
#include "internal.h"
#include "avio_internal.h"

Go to the source code of this file.

Functions

static int find_expected_header (AVCodecContext *c, int size, int key_frame, uint8_t out[64])
static int find_header_idx (AVFormatContext *s, AVCodecContext *c, int size, int frame_type)
static void build_elision_headers (AVFormatContext *s)
static void build_frame_code (AVFormatContext *s)
static void put_tt (NUTContext *nut, AVRational *time_base, AVIOContext *bc, uint64_t val)
static void put_str (AVIOContext *bc, const char *string)
 Store a string as vb.
static void put_s (AVIOContext *bc, int64_t val)
static void put_packet (NUTContext *nut, AVIOContext *bc, AVIOContext *dyn_bc, int calculate_checksum, uint64_t startcode)
static void write_mainheader (NUTContext *nut, AVIOContext *bc)
static int write_streamheader (AVFormatContext *avctx, AVIOContext *bc, AVStream *st, int i)
static int add_info (AVIOContext *bc, const char *type, const char *value)
static int write_globalinfo (NUTContext *nut, AVIOContext *bc)
static int write_streaminfo (NUTContext *nut, AVIOContext *bc, int stream_id)
static int write_chapter (NUTContext *nut, AVIOContext *bc, int id)
static int write_headers (AVFormatContext *avctx, AVIOContext *bc)
static int write_header (AVFormatContext *s)
static int get_needed_flags (NUTContext *nut, StreamContext *nus, FrameCode *fc, AVPacket *pkt)
static int find_best_header_idx (NUTContext *nut, AVPacket *pkt)
static int write_packet (AVFormatContext *s, AVPacket *pkt)
static int write_trailer (AVFormatContext *s)

Variables

AVOutputFormat ff_nut_muxer


Function Documentation

static int add_info ( AVIOContext bc,
const char *  type,
const char *  value 
) [static]

Definition at line 427 of file nutenc.c.

Referenced by write_chapter(), write_globalinfo(), and write_streaminfo().

static void build_elision_headers ( AVFormatContext s  )  [static]

Definition at line 110 of file nutenc.c.

Referenced by write_header().

static void build_frame_code ( AVFormatContext s  )  [static]

Definition at line 131 of file nutenc.c.

Referenced by write_header().

static int find_best_header_idx ( NUTContext nut,
AVPacket pkt 
) [static]

Definition at line 675 of file nutenc.c.

Referenced by write_packet().

static int find_expected_header ( AVCodecContext c,
int  size,
int  key_frame,
uint8_t  out[64] 
) [static]

Definition at line 30 of file nutenc.c.

Referenced by find_header_idx().

static int find_header_idx ( AVFormatContext s,
AVCodecContext c,
int  size,
int  frame_type 
) [static]

Definition at line 91 of file nutenc.c.

Referenced by build_frame_code().

static int get_needed_flags ( NUTContext nut,
StreamContext nus,
FrameCode fc,
AVPacket pkt 
) [static]

Definition at line 657 of file nutenc.c.

Referenced by write_packet().

static void put_packet ( NUTContext nut,
AVIOContext bc,
AVIOContext dyn_bc,
int  calculate_checksum,
uint64_t  startcode 
) [static]

Definition at line 283 of file nutenc.c.

Referenced by write_headers(), and write_packet().

static void put_s ( AVIOContext bc,
int64_t  val 
) [static]

Definition at line 262 of file nutenc.c.

Referenced by add_info(), write_chapter(), and write_mainheader().

static void put_str ( AVIOContext bc,
const char *  string 
) [static]

Store a string as vb.

Definition at line 255 of file nutenc.c.

Referenced by add_info(), and rv10_write_header().

static void put_tt ( NUTContext nut,
AVRational time_base,
AVIOContext bc,
uint64_t  val 
) [static]

Definition at line 246 of file nutenc.c.

Referenced by write_chapter(), and write_packet().

static int write_chapter ( NUTContext nut,
AVIOContext bc,
int  id 
) [static]

Definition at line 491 of file nutenc.c.

Referenced by write_headers().

static int write_globalinfo ( NUTContext nut,
AVIOContext bc 
) [static]

Definition at line 434 of file nutenc.c.

Referenced by write_headers().

static int write_header ( AVFormatContext s  )  [static]

Definition at line 582 of file nutenc.c.

static int write_headers ( AVFormatContext avctx,
AVIOContext bc 
) [static]

Definition at line 519 of file nutenc.c.

Referenced by write_header(), write_packet(), and write_trailer().

static void write_mainheader ( NUTContext nut,
AVIOContext bc 
) [static]

Definition at line 304 of file nutenc.c.

Referenced by write_headers().

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

Definition at line 694 of file nutenc.c.

static int write_streamheader ( AVFormatContext avctx,
AVIOContext bc,
AVStream st,
int  i 
) [static]

Definition at line 375 of file nutenc.c.

Referenced by write_headers().

static int write_streaminfo ( NUTContext nut,
AVIOContext bc,
int  stream_id 
) [static]

Definition at line 460 of file nutenc.c.

static int write_trailer ( AVFormatContext s  )  [static]

Definition at line 848 of file nutenc.c.


Variable Documentation

Initial value:

Definition at line 863 of file nutenc.c.


Generated on Fri Oct 26 02:38:20 2012 for FFmpeg by  doxygen 1.5.8