mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
81d63948d1
Copied from oneVPL project (https://github.com/oneapi-src/oneVPL) v2022.0.3 tag at the commit of efc259f8b7ee5c334bca1a904a503186038bbbdd This is corresponding to MFX API version 2.6 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1408>
54 lines
1.6 KiB
C
54 lines
1.6 KiB
C
/*############################################################################
|
|
# Copyright Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
############################################################################*/
|
|
|
|
#include "mfxdefs.h"
|
|
|
|
#ifndef __MFXIMPLCAPS_H__
|
|
#define __MFXIMPLCAPS_H__
|
|
|
|
#include "mfxstructures.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
/*!
|
|
@brief
|
|
Delivers implementation capabilities in the requested format according to the format value.
|
|
|
|
@param[in] format Format in which capabilities must be delivered. See mfxImplCapsDeliveryFormat for more details.
|
|
@param[out] num_impls Number of the implementations.
|
|
|
|
@return
|
|
Array of handles to the capability report or NULL in case of unsupported format or NULL num_impls pointer.
|
|
Length of array is equal to num_impls.
|
|
|
|
@since This function is available since API version 2.0.
|
|
*/
|
|
mfxHDL* MFX_CDECL MFXQueryImplsDescription(mfxImplCapsDeliveryFormat format, mfxU32* num_impls);
|
|
|
|
/*!
|
|
@brief
|
|
Destroys the handle allocated by the MFXQueryImplsDescription function.
|
|
Implementation must remember which handles are released. Once the last handle is released, this function must release memory
|
|
allocated for the array of handles.
|
|
|
|
@param[in] hdl Handle to destroy. Can be equal to NULL.
|
|
|
|
@return
|
|
MFX_ERR_NONE The function completed successfully.
|
|
|
|
@since This function is available since API version 2.0.
|
|
*/
|
|
mfxStatus MFX_CDECL MFXReleaseImplDescription(mfxHDL hdl);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif // __MFXIMPLCAPS_H__
|