MythTV  master
mediacodeccontext.h
Go to the documentation of this file.
1 // Copyright (c) 2017 MythTV Developers <mythtv-dev@mythtv.org>
3 //
4 // This is part of MythTV (https://www.mythtv.org)
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 2 of the License, or
9 // (at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with this program. If not, see <http://www.gnu.org/licenses/>.
22 //
24 
25 
26 #ifndef MEDIACODECCONTEXT_H
27 #define MEDIACODECCONTEXT_H
28 
29 #include "videoout_opengl.h"
30 
31 
33 {
34  public:
35  static MythCodecID GetBestSupportedCodec(AVCodec **ppCodec,
36  const QString &decoder,
37  uint stream_type,
38  AVPixelFormat &pix_fmt);
39 };
40 
41 #endif // MEDIACODECCONTEXT_H
MythCodecID
Definition: mythcodecid.h:10
unsigned int uint
Definition: compat.h:140
static MythCodecID GetBestSupportedCodec(AVCodec **ppCodec, const QString &decoder, uint stream_type, AVPixelFormat &pix_fmt)