diff options
Diffstat (limited to 'xbmc/platform/linux/sse4/DllLibSSE4.h')
-rw-r--r-- | xbmc/platform/linux/sse4/DllLibSSE4.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/xbmc/platform/linux/sse4/DllLibSSE4.h b/xbmc/platform/linux/sse4/DllLibSSE4.h new file mode 100644 index 0000000..a89f713 --- /dev/null +++ b/xbmc/platform/linux/sse4/DllLibSSE4.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2005-2018 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#pragma once + +#include "DynamicDll.h" + +extern "C" { + +} + +class DllLibSSE4Interface +{ +public: + virtual ~DllLibSSE4Interface() = default; + virtual void copy_frame(void * pSrc, void * pDest, void * pCacheBlock, unsigned int width, unsigned int height, unsigned int pitch) = 0; +}; + +class DllLibSSE4 : public DllDynamic, DllLibSSE4Interface +{ + DECLARE_DLL_WRAPPER(DllLibSSE4, DLL_PATH_LIBSSE4) + DEFINE_METHOD6(void, copy_frame, (void *p1, void *p2, void *p3, unsigned int p4, unsigned int p5, unsigned int p6)) + + BEGIN_METHOD_RESOLVE() + RESOLVE_METHOD(copy_frame) + END_METHOD_RESOLVE() +}; |