1cabdff1aSopenharmony_ci/*
2cabdff1aSopenharmony_ci * Windows Television (WTV)
3cabdff1aSopenharmony_ci * Copyright (c) 2010-2011 Peter Ross <pross@xvid.org>
4cabdff1aSopenharmony_ci *
5cabdff1aSopenharmony_ci * This file is part of FFmpeg.
6cabdff1aSopenharmony_ci *
7cabdff1aSopenharmony_ci * FFmpeg is free software; you can redistribute it and/or
8cabdff1aSopenharmony_ci * modify it under the terms of the GNU Lesser General Public
9cabdff1aSopenharmony_ci * License as published by the Free Software Foundation; either
10cabdff1aSopenharmony_ci * version 2.1 of the License, or (at your option) any later version.
11cabdff1aSopenharmony_ci *
12cabdff1aSopenharmony_ci * FFmpeg is distributed in the hope that it will be useful,
13cabdff1aSopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of
14cabdff1aSopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15cabdff1aSopenharmony_ci * Lesser General Public License for more details.
16cabdff1aSopenharmony_ci *
17cabdff1aSopenharmony_ci * You should have received a copy of the GNU Lesser General Public
18cabdff1aSopenharmony_ci * License along with FFmpeg; if not, write to the Free Software
19cabdff1aSopenharmony_ci * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20cabdff1aSopenharmony_ci */
21cabdff1aSopenharmony_ci
22cabdff1aSopenharmony_ci#ifndef AVFORMAT_WTV_H
23cabdff1aSopenharmony_ci#define AVFORMAT_WTV_H
24cabdff1aSopenharmony_ci
25cabdff1aSopenharmony_ci#include "riff.h"
26cabdff1aSopenharmony_ci#include "asf.h"
27cabdff1aSopenharmony_ci
28cabdff1aSopenharmony_ci#define WTV_SECTOR_BITS    12
29cabdff1aSopenharmony_ci#define WTV_SECTOR_SIZE    (1 << WTV_SECTOR_BITS)
30cabdff1aSopenharmony_ci#define WTV_BIGSECTOR_BITS 18
31cabdff1aSopenharmony_ci#define WTV_PAD8(x) (((x) + 7) & ~7)
32cabdff1aSopenharmony_ci
33cabdff1aSopenharmony_ciextern const uint8_t ff_timeline_le16[16];
34cabdff1aSopenharmony_ciextern const uint8_t ff_timeline_table_0_entries_Events_le16[62];
35cabdff1aSopenharmony_ciextern const uint8_t ff_table_0_entries_legacy_attrib_le16[58];
36cabdff1aSopenharmony_ciextern const uint8_t ff_table_0_entries_time_le16[40];
37cabdff1aSopenharmony_ci
38cabdff1aSopenharmony_ciextern const ff_asf_guid ff_dir_entry_guid;
39cabdff1aSopenharmony_ciextern const ff_asf_guid ff_wtv_guid;
40cabdff1aSopenharmony_ciextern const ff_asf_guid ff_timestamp_guid;
41cabdff1aSopenharmony_ciextern const ff_asf_guid ff_data_guid;
42cabdff1aSopenharmony_ciextern const ff_asf_guid ff_SBE2_STREAM_DESC_EVENT;
43cabdff1aSopenharmony_ciextern const ff_asf_guid ff_stream1_guid;
44cabdff1aSopenharmony_ciextern const ff_asf_guid ff_sync_guid;
45cabdff1aSopenharmony_ciextern const ff_asf_guid ff_index_guid;
46cabdff1aSopenharmony_ciextern const ff_asf_guid ff_mediatype_audio;
47cabdff1aSopenharmony_ciextern const ff_asf_guid ff_mediatype_video;
48cabdff1aSopenharmony_ciextern const ff_asf_guid ff_format_none;
49cabdff1aSopenharmony_ciextern const AVCodecGuid ff_video_guids[];
50cabdff1aSopenharmony_ci
51cabdff1aSopenharmony_ciextern const ff_asf_guid ff_DSATTRIB_TRANSPORT_PROPERTIES;
52cabdff1aSopenharmony_ciextern const ff_asf_guid ff_metadata_guid;
53cabdff1aSopenharmony_ciextern const ff_asf_guid ff_stream2_guid;
54cabdff1aSopenharmony_ciextern const ff_asf_guid ff_mediasubtype_cpfilters_processed;
55cabdff1aSopenharmony_ciextern const ff_asf_guid ff_format_cpfilters_processed;
56cabdff1aSopenharmony_ciextern const ff_asf_guid ff_format_waveformatex;
57cabdff1aSopenharmony_ciextern const ff_asf_guid ff_format_mpeg2_video;
58cabdff1aSopenharmony_ciextern const ff_asf_guid ff_format_videoinfo2;
59cabdff1aSopenharmony_ci
60cabdff1aSopenharmony_ci#endif /* AVFORMAT_WTV_H */
61