#include "nut.h"#include "tree.h"Go to the source code of this file.
Functions | |
| static void | build_frame_code (AVFormatContext *s) |
| static int | get_length (uint64_t val) |
| Gets the length in bytes which is needed to store val as v. | |
| static void | put_v (ByteIOContext *bc, uint64_t val) |
| static void | put_t (NUTContext *nut, StreamContext *nus, ByteIOContext *bc, uint64_t val) |
| static void | put_str (ByteIOContext *bc, const char *string) |
| Stores a string as vb. | |
| static void | put_s (ByteIOContext *bc, int64_t val) |
| static void | put_packet (NUTContext *nut, ByteIOContext *bc, ByteIOContext *dyn_bc, int calculate_checksum, uint64_t startcode) |
| static void | write_mainheader (NUTContext *nut, ByteIOContext *bc) |
| static int | write_streamheader (NUTContext *nut, ByteIOContext *bc, AVCodecContext *codec, int i) |
| static int | add_info (ByteIOContext *bc, const char *type, const char *value) |
| static int | write_globalinfo (NUTContext *nut, ByteIOContext *bc) |
| static int | write_headers (NUTContext *nut, ByteIOContext *bc) |
| static int | write_header (AVFormatContext *s) |
| static int | get_needed_flags (NUTContext *nut, StreamContext *nus, FrameCode *fc, AVPacket *pkt) |
| static int | write_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | write_trailer (AVFormatContext *s) |
Variables | |
| AVOutputFormat | nut_muxer |
| static int add_info | ( | ByteIOContext * | bc, | |
| const char * | type, | |||
| const char * | value | |||
| ) | [static] |
| static void build_frame_code | ( | AVFormatContext * | s | ) | [static] |
| static int get_length | ( | uint64_t | val | ) | [static] |
Gets the length in bytes which is needed to store val as v.
Definition at line 138 of file nutenc.c.
Referenced by put_v(), and write_packet().
| static int get_needed_flags | ( | NUTContext * | nut, | |
| StreamContext * | nus, | |||
| FrameCode * | fc, | |||
| AVPacket * | pkt | |||
| ) | [static] |
| static void put_packet | ( | NUTContext * | nut, | |
| ByteIOContext * | bc, | |||
| ByteIOContext * | dyn_bc, | |||
| int | calculate_checksum, | |||
| uint64_t | startcode | |||
| ) | [static] |
| static void put_s | ( | ByteIOContext * | bc, | |
| int64_t | val | |||
| ) | [static] |
| static void put_str | ( | ByteIOContext * | bc, | |
| const char * | string | |||
| ) | [static] |
Stores a string as vb.
Definition at line 165 of file nutenc.c.
Referenced by add_info(), and rv10_write_header().
| static void put_t | ( | NUTContext * | nut, | |
| StreamContext * | nus, | |||
| ByteIOContext * | bc, | |||
| uint64_t | val | |||
| ) | [static] |
| static void put_v | ( | ByteIOContext * | bc, | |
| uint64_t | val | |||
| ) | [static] |
Definition at line 147 of file nutenc.c.
Referenced by put_packet(), put_s(), put_str(), put_t(), write_globalinfo(), write_mainheader(), write_packet(), and write_streamheader().
| static int write_globalinfo | ( | NUTContext * | nut, | |
| ByteIOContext * | bc | |||
| ) | [static] |
| static int write_header | ( | AVFormatContext * | s | ) | [static] |
| static int write_headers | ( | NUTContext * | nut, | |
| ByteIOContext * | bc | |||
| ) | [static] |
Definition at line 355 of file nutenc.c.
Referenced by write_header(), write_packet(), and write_trailer().
| static void write_mainheader | ( | NUTContext * | nut, | |
| ByteIOContext * | bc | |||
| ) | [static] |
| static int write_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int write_streamheader | ( | NUTContext * | nut, | |
| ByteIOContext * | bc, | |||
| AVCodecContext * | codec, | |||
| int | i | |||
| ) | [static] |
| static int write_trailer | ( | AVFormatContext * | s | ) | [static] |
Initial value:
{
"nut",
"nut format",
"video/x-nut",
"nut",
sizeof(NUTContext),
CODEC_ID_MP2,
CODEC_ID_MPEG4,
write_header,
write_packet,
write_trailer,
.flags = AVFMT_GLOBALHEADER,
.codec_tag= (const AVCodecTag*[]){codec_bmp_tags, codec_wav_tags, 0},
}
1.5.6