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