Debian Codegraph @

xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoPPFFmpeg.h

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
8
9 #pragma once
10
11 #include "DVDVideoCodec.h"
12
13 #include <string>
14
15 class CProcessInfo;
16
17 class CDVDVideoPPFFmpeg
18 {
19 public:
20
21 explicit CDVDVideoPPFFmpeg(CProcessInfo &processInfo);
22 ~CDVDVideoPPFFmpeg();
23
24 void SetType(const std::string& mType, bool deinterlace);
25 void Process(VideoPicture *pPicture);
26
27 protected:
28 std::string m_sType;
29 CProcessInfo &m_processInfo;
30
31 void *m_pContext;
32 void *m_pMode;
33 bool m_deinterlace;
34
35 void Dispose();
36
37 int m_iInitWidth, m_iInitHeight;
38 bool CheckInit(int iWidth, int iHeight);
39 bool CheckFrameBuffer(const VideoPicture* pSource);
40 };
41
42