FFmpeg
Classes | Macros | Typedefs | Enumerations | Variables
wtvenc.c File Reference

Windows Television (WTV) demuxer. More...

#include "libavutil/intreadwrite.h"
#include "libavutil/avassert.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "mpegts.h"
#include "wtv.h"

Classes

struct  WtvFile
 
struct  WtvChunkEntry
 
struct  WtvSyncEntry
 
struct  WtvContext
 
struct  WTVRootEntryTable
 

Macros

#define WTV_BIGSECTOR_SIZE   (1 << WTV_BIGSECTOR_BITS)
 
#define INDEX_BASE   0x2
 
#define MAX_NB_INDEX   10
 
#define _   , 0,
 
#define write_pad(pb, size)   ffio_fill(pb, 0, size)
 

Typedefs

typedef int WTVHeaderWriteFunc(AVIOContext *pb)
 

Enumerations

enum  WtvFileIndex {
  WTV_TIMELINE_TABLE_0_HEADER_EVENTS = 0, WTV_TIMELINE_TABLE_0_ENTRIES_EVENTS, WTV_TIMELINE, WTV_TABLE_0_HEADER_LEGACY_ATTRIB,
  WTV_TABLE_0_ENTRIES_LEGACY_ATTRIB, WTV_TABLE_0_REDIRECTOR_LEGACY_ATTRIB, WTV_TABLE_0_HEADER_TIME, WTV_TABLE_0_ENTRIES_TIME,
  WTV_FILES
}
 

Variables

AVOutputFormat ff_wtv_muxer
 

Detailed Description

Windows Television (WTV) demuxer.

Author
Zhentan Feng <spyfeng at="" gmail="" dot="" com>="">

Variable Documentation

§ ff_wtv_muxer

AVOutputFormat ff_wtv_muxer
Initial value:
= {
.name = "wtv",
.long_name = NULL_IF_CONFIG_SMALL("Windows Television (WTV)"),
.extensions = "wtv",
.priv_data_size = sizeof(WtvContext),
.audio_codec = AV_CODEC_ID_AC3,
.video_codec = AV_CODEC_ID_MPEG2VIDEO,
.write_header = write_header,
.write_packet = write_packet,
.write_trailer = write_trailer,
.codec_tag = (const AVCodecTag* const []){ ff_codec_bmp_tags,
ff_codec_wav_tags, 0 },
}
Definition: wtvdec.c:319
Definition: internal.h:44
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
preferred ID for MPEG-1/2 video decoding
Definition: avcodec.h:220