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
|
/*############################################################################
# Copyright (C) 2005 Intel Corporation
#
# SPDX-License-Identifier: MIT
############################################################################*/
#pragma once
#include "mfxplugin++.h"
struct PluginModuleTemplate {
typedef MFXDecoderPlugin* (*fncCreateDecoderPlugin)();
typedef MFXEncoderPlugin* (*fncCreateEncoderPlugin)();
typedef MFXAudioDecoderPlugin* (*fncCreateAudioDecoderPlugin)();
typedef MFXAudioEncoderPlugin* (*fncCreateAudioEncoderPlugin)();
typedef MFXGenericPlugin* (*fncCreateGenericPlugin)();
typedef mfxStatus(MFX_CDECL* CreatePluginPtr_t)(mfxPluginUID uid, mfxPlugin* plugin);
fncCreateDecoderPlugin CreateDecoderPlugin;
fncCreateEncoderPlugin CreateEncoderPlugin;
fncCreateGenericPlugin CreateGenericPlugin;
CreatePluginPtr_t CreatePlugin;
fncCreateAudioDecoderPlugin CreateAudioDecoderPlugin;
fncCreateAudioEncoderPlugin CreateAudioEncoderPlugin;
};
extern PluginModuleTemplate g_PluginModule;
|