Merge pull request #5101 from FernetMenta/ffmpeg-threads
[vuplus_xbmc] / xbmc / cores / dvdplayer / DVDCodecs / DVDCodecs.h
1 #pragma once
2
3 /*
4  *      Copyright (C) 2005-2013 Team XBMC
5  *      http://xbmc.org
6  *
7  *  This Program is free software; you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License as published by
9  *  the Free Software Foundation; either version 2, or (at your option)
10  *  any later version.
11  *
12  *  This Program is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  *  GNU General Public License for more details.
16  *
17  *  You should have received a copy of the GNU General Public License
18  *  along with XBMC; see the file COPYING.  If not, see
19  *  <http://www.gnu.org/licenses/>.
20  *
21  */
22
23 #if (defined HAVE_CONFIG_H) && (!defined TARGET_WINDOWS)
24   #include "config.h"
25 #endif
26
27 #include <string>
28 #include <vector>
29 #include "cores/VideoRenderers/RenderFormats.h"
30
31 // 0x100000 is the video starting range
32
33 // 0x200000 is the audio starting range
34
35 // special options that can be passed to a codec
36 class CDVDCodecOption
37 {
38 public:
39   CDVDCodecOption(const std::string& name, const std::string& value) : m_name(name), m_value(value) {}
40   std::string m_name;
41   std::string m_value;
42 };
43
44 class CDVDCodecOptions
45 {
46 public:
47   std::vector<CDVDCodecOption> m_keys;
48   std::vector<ERenderFormat>   m_formats;
49 };