1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
From 0b74a78b99822bce5ea197513dd5683f41badd7b Mon Sep 17 00:00:00 2001
From: Jon Recker <jon.recker@intel.com>
Date: Mon, 29 Mar 2021 09:59:03 -0700
Subject: [PATCH] Remove duplicate MFXVideoDECODE_VPP from samples
Upstream-Status: Submitted
---
.../sample_common/include/sample_vpl_common.h | 38 -------------------
1 file changed, 38 deletions(-)
diff --git a/tools/legacy/sample_common/include/sample_vpl_common.h b/tools/legacy/sample_common/include/sample_vpl_common.h
index 4450b7f..016955a 100644
--- a/tools/legacy/sample_common/include/sample_vpl_common.h
+++ b/tools/legacy/sample_common/include/sample_vpl_common.h
@@ -49,44 +49,6 @@ public:
}
};
-class MFXVideoDECODE_VPP {
-public:
- explicit MFXVideoDECODE_VPP(mfxSession session) {
- m_session = session;
- }
- virtual ~MFXVideoDECODE_VPP(void) {}
-
- virtual mfxStatus Init(mfxVideoParam *decode_par,
- mfxVideoChannelParam **vpp_par_array,
- mfxU32 num_vpp_par) {
- return MFXVideoDECODE_VPP_Init(m_session, decode_par, vpp_par_array, num_vpp_par);
- }
-
- virtual mfxStatus DecodeFrameAsync(mfxBitstream *bs,
- mfxU32 *skip_channels,
- mfxU32 num_skip_channels,
- mfxSurfaceArray **surf_array_out) {
- return MFXVideoDECODE_VPP_DecodeFrameAsync(m_session,
- bs,
- skip_channels,
- num_skip_channels,
- surf_array_out);
- }
-
- virtual mfxStatus Reset(mfxVideoParam *decode_par,
- mfxVideoChannelParam **vpp_par_array,
- mfxU32 num_vpp_par) {
- return MFXVideoDECODE_VPP_Reset(m_session, decode_par, vpp_par_array, num_vpp_par);
- }
-
- virtual mfxStatus GetChannelParam(mfxVideoChannelParam *par, mfxU32 channel_id) {
- return MFXVideoDECODE_VPP_GetChannelParam(m_session, par, channel_id);
- }
-
-protected:
- mfxSession m_session; // (mfxSession) handle to the owning session
-};
-
#endif
#endif //__SAMPLE_VPL_COMMON_H__
--
2.31.1
|