00001 /* 00002 * Windows Television (WTV) 00003 * Copyright (c) 2010-2011 Peter Ross <pross@xvid.org> 00004 * 00005 * This file is part of FFmpeg. 00006 * 00007 * FFmpeg is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2.1 of the License, or (at your option) any later version. 00011 * 00012 * FFmpeg is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with FFmpeg; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00020 */ 00021 00022 #ifndef AVFORMAT_WTV_H 00023 #define AVFORMAT_WTV_H 00024 00025 #include "riff.h" 00026 #include "asf.h" 00027 00028 #define WTV_SECTOR_BITS 12 00029 #define WTV_SECTOR_SIZE (1 << WTV_SECTOR_BITS) 00030 #define WTV_BIGSECTOR_BITS 18 00031 #define WTV_PAD8(x) (((x) + 7) & ~7) 00032 00033 extern const uint8_t ff_timeline_le16[16]; 00034 extern const uint8_t ff_timeline_table_0_entries_Events_le16[62]; 00035 extern const uint8_t ff_table_0_entries_legacy_attrib_le16[58]; 00036 extern const uint8_t ff_table_0_entries_time_le16[40]; 00037 00038 extern const ff_asf_guid ff_dir_entry_guid; 00039 extern const ff_asf_guid ff_wtv_guid; 00040 extern const ff_asf_guid ff_timestamp_guid; 00041 extern const ff_asf_guid ff_data_guid; 00042 extern const ff_asf_guid ff_stream_guid; 00043 extern const ff_asf_guid ff_mediatype_audio; 00044 extern const ff_asf_guid ff_mediatype_video; 00045 extern const ff_asf_guid ff_format_none; 00046 extern const AVCodecGuid ff_video_guids[]; 00047 00048 extern const ff_asf_guid ff_DSATTRIB_TRANSPORT_PROPERTIES; 00049 extern const ff_asf_guid ff_metadata_guid; 00050 extern const ff_asf_guid ff_stream2_guid; 00051 extern const ff_asf_guid ff_mediasubtype_cpfilters_processed; 00052 extern const ff_asf_guid ff_format_cpfilters_processed; 00053 extern const ff_asf_guid ff_format_waveformatex; 00054 extern const ff_asf_guid ff_format_mpeg2_video; 00055 #endif /* AVFORMAT_WTV_H */