Commit a50e71b2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Aaron Plattner
Browse files

vdpau.h: improve constant expansion safety


Signed-off-by: default avatarRémi Denis-Courmont <remid@nvidia.com>
Reviewed-by: default avatarJosé Hiram Soltren <jsoltren@nvidia.com>
Reviewed-by: default avatarAaron Plattner <aplattner@nvidia.com>
Signed-off-by: default avatarAaron Plattner <aplattner@nvidia.com>
parent 9cb73ed9
...@@ -804,11 +804,11 @@ typedef int VdpBool; ...@@ -804,11 +804,11 @@ typedef int VdpBool;
typedef uint32_t VdpChromaType; typedef uint32_t VdpChromaType;
/** \hideinitializer \brief 4:2:0 chroma format. */ /** \hideinitializer \brief 4:2:0 chroma format. */
#define VDP_CHROMA_TYPE_420 (VdpChromaType)0 #define VDP_CHROMA_TYPE_420 ((VdpChromaType)0)
/** \hideinitializer \brief 4:2:2 chroma format. */ /** \hideinitializer \brief 4:2:2 chroma format. */
#define VDP_CHROMA_TYPE_422 (VdpChromaType)1 #define VDP_CHROMA_TYPE_422 ((VdpChromaType)1)
/** \hideinitializer \brief 4:4:4 chroma format. */ /** \hideinitializer \brief 4:4:4 chroma format. */
#define VDP_CHROMA_TYPE_444 (VdpChromaType)2 #define VDP_CHROMA_TYPE_444 ((VdpChromaType)2)
/** /**
* \brief The set of all known YCbCr surface formats. * \brief The set of all known YCbCr surface formats.
...@@ -828,7 +828,7 @@ typedef uint32_t VdpYCbCrFormat; ...@@ -828,7 +828,7 @@ typedef uint32_t VdpYCbCrFormat;
* components, in the order U, V, U, V. Applications should * components, in the order U, V, U, V. Applications should
* access this data via a uint8_t pointer. * access this data via a uint8_t pointer.
*/ */
#define VDP_YCBCR_FORMAT_NV12 (VdpYCbCrFormat)0 #define VDP_YCBCR_FORMAT_NV12 ((VdpYCbCrFormat)0)
/** /**
* \hideinitializer * \hideinitializer
* \brief The "YV12" YCbCr surface format. * \brief The "YV12" YCbCr surface format.
...@@ -840,7 +840,7 @@ typedef uint32_t VdpYCbCrFormat; ...@@ -840,7 +840,7 @@ typedef uint32_t VdpYCbCrFormat;
* *
* Applications should access this data via a uint8_t pointer. * Applications should access this data via a uint8_t pointer.
*/ */
#define VDP_YCBCR_FORMAT_YV12 (VdpYCbCrFormat)1 #define VDP_YCBCR_FORMAT_YV12 ((VdpYCbCrFormat)1)
/** /**
* \hideinitializer * \hideinitializer
* \brief The "UYVY" YCbCr surface format. * \brief The "UYVY" YCbCr surface format.
...@@ -854,7 +854,7 @@ typedef uint32_t VdpYCbCrFormat; ...@@ -854,7 +854,7 @@ typedef uint32_t VdpYCbCrFormat;
* *
* Applications should access this data via a uint8_t pointer. * Applications should access this data via a uint8_t pointer.
*/ */
#define VDP_YCBCR_FORMAT_UYVY (VdpYCbCrFormat)2 #define VDP_YCBCR_FORMAT_UYVY ((VdpYCbCrFormat)2)
/** /**
* \hideinitializer * \hideinitializer
* \brief The "YUYV" YCbCr surface format. * \brief The "YUYV" YCbCr surface format.
...@@ -868,7 +868,7 @@ typedef uint32_t VdpYCbCrFormat; ...@@ -868,7 +868,7 @@ typedef uint32_t VdpYCbCrFormat;
* *
* Applications should access this data via a uint8_t pointer. * Applications should access this data via a uint8_t pointer.
*/ */
#define VDP_YCBCR_FORMAT_YUYV (VdpYCbCrFormat)3 #define VDP_YCBCR_FORMAT_YUYV ((VdpYCbCrFormat)3)
/** /**
* \hideinitializer * \hideinitializer
* \brief A packed YCbCr format. * \brief A packed YCbCr format.
...@@ -881,7 +881,7 @@ typedef uint32_t VdpYCbCrFormat; ...@@ -881,7 +881,7 @@ typedef uint32_t VdpYCbCrFormat;
* *
* Applications should access this data via a uint32_t pointer. * Applications should access this data via a uint32_t pointer.
*/ */
#define VDP_YCBCR_FORMAT_Y8U8V8A8 (VdpYCbCrFormat)4 #define VDP_YCBCR_FORMAT_Y8U8V8A8 ((VdpYCbCrFormat)4)
/** /**
* \hideinitializer * \hideinitializer
* \brief A packed YCbCr format. * \brief A packed YCbCr format.
...@@ -894,7 +894,7 @@ typedef uint32_t VdpYCbCrFormat; ...@@ -894,7 +894,7 @@ typedef uint32_t VdpYCbCrFormat;
* *
* Applications should access this data via a uint32_t pointer. * Applications should access this data via a uint32_t pointer.
*/ */
#define VDP_YCBCR_FORMAT_V8U8Y8A8 (VdpYCbCrFormat)5 #define VDP_YCBCR_FORMAT_V8U8Y8A8 ((VdpYCbCrFormat)5)
/** /**
* \brief The set of all known RGB surface formats. * \brief The set of all known RGB surface formats.
...@@ -913,7 +913,7 @@ typedef uint32_t VdpRGBAFormat; ...@@ -913,7 +913,7 @@ typedef uint32_t VdpRGBAFormat;
* *
* Applications should access this data via a uint32_t pointer. * Applications should access this data via a uint32_t pointer.
*/ */
#define VDP_RGBA_FORMAT_B8G8R8A8 (VdpRGBAFormat)0 #define VDP_RGBA_FORMAT_B8G8R8A8 ((VdpRGBAFormat)0)
/** /**
* \hideinitializer * \hideinitializer
* \brief A packed RGB format. * \brief A packed RGB format.
...@@ -926,7 +926,7 @@ typedef uint32_t VdpRGBAFormat; ...@@ -926,7 +926,7 @@ typedef uint32_t VdpRGBAFormat;
* *
* Applications should access this data via a uint32_t pointer. * Applications should access this data via a uint32_t pointer.
*/ */
#define VDP_RGBA_FORMAT_R8G8B8A8 (VdpRGBAFormat)1 #define VDP_RGBA_FORMAT_R8G8B8A8 ((VdpRGBAFormat)1)
/** /**
* \hideinitializer * \hideinitializer
* \brief A packed RGB format. * \brief A packed RGB format.
...@@ -939,7 +939,7 @@ typedef uint32_t VdpRGBAFormat; ...@@ -939,7 +939,7 @@ typedef uint32_t VdpRGBAFormat;
* *
* Applications should access this data via a uint32_t pointer. * Applications should access this data via a uint32_t pointer.
*/ */
#define VDP_RGBA_FORMAT_R10G10B10A2 (VdpRGBAFormat)2 #define VDP_RGBA_FORMAT_R10G10B10A2 ((VdpRGBAFormat)2)
/** /**
* \hideinitializer * \hideinitializer
* \brief A packed RGB format. * \brief A packed RGB format.
...@@ -952,7 +952,7 @@ typedef uint32_t VdpRGBAFormat; ...@@ -952,7 +952,7 @@ typedef uint32_t VdpRGBAFormat;
* *
* Applications should access this data via a uint32_t pointer. * Applications should access this data via a uint32_t pointer.
*/ */
#define VDP_RGBA_FORMAT_B10G10R10A2 (VdpRGBAFormat)3 #define VDP_RGBA_FORMAT_B10G10R10A2 ((VdpRGBAFormat)3)
/** /**
* \hideinitializer * \hideinitializer
* \brief An alpha-only surface format. * \brief An alpha-only surface format.
...@@ -963,7 +963,7 @@ typedef uint32_t VdpRGBAFormat; ...@@ -963,7 +963,7 @@ typedef uint32_t VdpRGBAFormat;
* *
* Applications should access this data via a uint8_t pointer. * Applications should access this data via a uint8_t pointer.
*/ */
#define VDP_RGBA_FORMAT_A8 (VdpRGBAFormat)4 #define VDP_RGBA_FORMAT_A8 ((VdpRGBAFormat)4)
/** /**
* \brief The set of all known indexed surface formats. * \brief The set of all known indexed surface formats.
...@@ -981,7 +981,7 @@ typedef uint32_t VdpIndexedFormat; ...@@ -981,7 +981,7 @@ typedef uint32_t VdpIndexedFormat;
* *
* Applications should access this data via a uint8_t pointer. * Applications should access this data via a uint8_t pointer.
*/ */
#define VDP_INDEXED_FORMAT_A4I4 (VdpIndexedFormat)0 #define VDP_INDEXED_FORMAT_A4I4 ((VdpIndexedFormat)0)
/** /**
* \hideinitializer * \hideinitializer
* \brief A 4-bit indexed format, with alpha. * \brief A 4-bit indexed format, with alpha.
...@@ -993,7 +993,7 @@ typedef uint32_t VdpIndexedFormat; ...@@ -993,7 +993,7 @@ typedef uint32_t VdpIndexedFormat;
* *
* Applications should access this data via a uint8_t pointer. * Applications should access this data via a uint8_t pointer.
*/ */
#define VDP_INDEXED_FORMAT_I4A4 (VdpIndexedFormat)1 #define VDP_INDEXED_FORMAT_I4A4 ((VdpIndexedFormat)1)
/** /**
* \hideinitializer * \hideinitializer
* \brief A 8-bit indexed format, with alpha. * \brief A 8-bit indexed format, with alpha.
...@@ -1005,7 +1005,7 @@ typedef uint32_t VdpIndexedFormat; ...@@ -1005,7 +1005,7 @@ typedef uint32_t VdpIndexedFormat;
* *
* Applications should access this data via a uint8_t pointer. * Applications should access this data via a uint8_t pointer.
*/ */
#define VDP_INDEXED_FORMAT_A8I8 (VdpIndexedFormat)2 #define VDP_INDEXED_FORMAT_A8I8 ((VdpIndexedFormat)2)
/** /**
* \hideinitializer * \hideinitializer
* \brief A 8-bit indexed format, with alpha. * \brief A 8-bit indexed format, with alpha.
...@@ -1017,7 +1017,7 @@ typedef uint32_t VdpIndexedFormat; ...@@ -1017,7 +1017,7 @@ typedef uint32_t VdpIndexedFormat;
* *
* Applications should access this data via a uint8_t pointer. * Applications should access this data via a uint8_t pointer.
*/ */
#define VDP_INDEXED_FORMAT_I8A8 (VdpIndexedFormat)3 #define VDP_INDEXED_FORMAT_I8A8 ((VdpIndexedFormat)3)
/** /**
* \brief A location within a surface. * \brief A location within a surface.
...@@ -1415,11 +1415,11 @@ typedef struct { ...@@ -1415,11 +1415,11 @@ typedef struct {
typedef uint32_t VdpColorStandard; typedef uint32_t VdpColorStandard;
/** \hideinitializer \brief ITU-R BT.601 */ /** \hideinitializer \brief ITU-R BT.601 */
#define VDP_COLOR_STANDARD_ITUR_BT_601 (VdpColorStandard)0 #define VDP_COLOR_STANDARD_ITUR_BT_601 ((VdpColorStandard)0)
/** \hideinitializer \brief ITU-R BT.709 */ /** \hideinitializer \brief ITU-R BT.709 */
#define VDP_COLOR_STANDARD_ITUR_BT_709 (VdpColorStandard)1 #define VDP_COLOR_STANDARD_ITUR_BT_709 ((VdpColorStandard)1)
/** \hideinitializer \brief SMPTE-240M */ /** \hideinitializer \brief SMPTE-240M */
#define VDP_COLOR_STANDARD_SMPTE_240M (VdpColorStandard)2 #define VDP_COLOR_STANDARD_SMPTE_240M ((VdpColorStandard)2)
/** /**
* \brief Generate a color space conversion matrix * \brief Generate a color space conversion matrix
...@@ -1692,7 +1692,7 @@ typedef uint32_t VdpColorTableFormat; ...@@ -1692,7 +1692,7 @@ typedef uint32_t VdpColorTableFormat;
* as such by the application in order to avoid endianness * as such by the application in order to avoid endianness
* issues. * issues.
*/ */
#define VDP_COLOR_TABLE_FORMAT_B8G8R8X8 (VdpColorTableFormat)0 #define VDP_COLOR_TABLE_FORMAT_B8G8R8X8 ((VdpColorTableFormat)0)
/** /**
* \brief Query the implementation's VdpOutputSurface * \brief Query the implementation's VdpOutputSurface
...@@ -2399,44 +2399,44 @@ typedef VdpStatus VdpOutputSurfaceRenderBitmapSurface( ...@@ -2399,44 +2399,44 @@ typedef VdpStatus VdpOutputSurfaceRenderBitmapSurface(
typedef uint32_t VdpDecoderProfile; typedef uint32_t VdpDecoderProfile;
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_MPEG1 (VdpDecoderProfile)0 #define VDP_DECODER_PROFILE_MPEG1 ((VdpDecoderProfile)0)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_MPEG2_SIMPLE (VdpDecoderProfile)1 #define VDP_DECODER_PROFILE_MPEG2_SIMPLE ((VdpDecoderProfile)1)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_MPEG2_MAIN (VdpDecoderProfile)2 #define VDP_DECODER_PROFILE_MPEG2_MAIN ((VdpDecoderProfile)2)
/** \hideinitializer */ /** \hideinitializer */
/** \brief MPEG 4 part 10 == H.264 == AVC */ /** \brief MPEG 4 part 10 == H.264 == AVC */
#define VDP_DECODER_PROFILE_H264_BASELINE (VdpDecoderProfile)6 #define VDP_DECODER_PROFILE_H264_BASELINE ((VdpDecoderProfile)6)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_H264_MAIN (VdpDecoderProfile)7 #define VDP_DECODER_PROFILE_H264_MAIN ((VdpDecoderProfile)7)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_H264_HIGH (VdpDecoderProfile)8 #define VDP_DECODER_PROFILE_H264_HIGH ((VdpDecoderProfile)8)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_VC1_SIMPLE (VdpDecoderProfile)9 #define VDP_DECODER_PROFILE_VC1_SIMPLE ((VdpDecoderProfile)9)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_VC1_MAIN (VdpDecoderProfile)10 #define VDP_DECODER_PROFILE_VC1_MAIN ((VdpDecoderProfile)10)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_VC1_ADVANCED (VdpDecoderProfile)11 #define VDP_DECODER_PROFILE_VC1_ADVANCED ((VdpDecoderProfile)11)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_MPEG4_PART2_SP (VdpDecoderProfile)12 #define VDP_DECODER_PROFILE_MPEG4_PART2_SP ((VdpDecoderProfile)12)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_MPEG4_PART2_ASP (VdpDecoderProfile)13 #define VDP_DECODER_PROFILE_MPEG4_PART2_ASP ((VdpDecoderProfile)13)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_DIVX4_QMOBILE (VdpDecoderProfile)14 #define VDP_DECODER_PROFILE_DIVX4_QMOBILE ((VdpDecoderProfile)14)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_DIVX4_MOBILE (VdpDecoderProfile)15 #define VDP_DECODER_PROFILE_DIVX4_MOBILE ((VdpDecoderProfile)15)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_DIVX4_HOME_THEATER (VdpDecoderProfile)16 #define VDP_DECODER_PROFILE_DIVX4_HOME_THEATER ((VdpDecoderProfile)16)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_DIVX4_HD_1080P (VdpDecoderProfile)17 #define VDP_DECODER_PROFILE_DIVX4_HD_1080P ((VdpDecoderProfile)17)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_DIVX5_QMOBILE (VdpDecoderProfile)18 #define VDP_DECODER_PROFILE_DIVX5_QMOBILE ((VdpDecoderProfile)18)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_DIVX5_MOBILE (VdpDecoderProfile)19 #define VDP_DECODER_PROFILE_DIVX5_MOBILE ((VdpDecoderProfile)19)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_DIVX5_HOME_THEATER (VdpDecoderProfile)20 #define VDP_DECODER_PROFILE_DIVX5_HOME_THEATER ((VdpDecoderProfile)20)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_PROFILE_DIVX5_HD_1080P (VdpDecoderProfile)21 #define VDP_DECODER_PROFILE_DIVX5_HD_1080P ((VdpDecoderProfile)21)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_DECODER_LEVEL_MPEG1_NA 0 #define VDP_DECODER_LEVEL_MPEG1_NA 0
...@@ -3114,7 +3114,7 @@ typedef uint32_t VdpVideoMixerFeature; ...@@ -3114,7 +3114,7 @@ typedef uint32_t VdpVideoMixerFeature;
* enabled, the back-end implementation chooses the best * enabled, the back-end implementation chooses the best
* algorithm to apply. * algorithm to apply.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL (VdpVideoMixerFeature)0 #define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL ((VdpVideoMixerFeature)0)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
...@@ -3127,7 +3127,7 @@ typedef uint32_t VdpVideoMixerFeature; ...@@ -3127,7 +3127,7 @@ typedef uint32_t VdpVideoMixerFeature;
* enabled, the back-end implementation chooses the best * enabled, the back-end implementation chooses the best
* algorithm to apply. * algorithm to apply.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL (VdpVideoMixerFeature)1 #define VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL ((VdpVideoMixerFeature)1)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
...@@ -3136,7 +3136,7 @@ typedef uint32_t VdpVideoMixerFeature; ...@@ -3136,7 +3136,7 @@ typedef uint32_t VdpVideoMixerFeature;
* on interlaced content and the video mixer will try to extract * on interlaced content and the video mixer will try to extract
* progressive frames from pull-down material. * progressive frames from pull-down material.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE (VdpVideoMixerFeature)2 #define VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE ((VdpVideoMixerFeature)2)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
...@@ -3144,7 +3144,7 @@ typedef uint32_t VdpVideoMixerFeature; ...@@ -3144,7 +3144,7 @@ typedef uint32_t VdpVideoMixerFeature;
* When requested and enabled, a noise reduction algorithm will * When requested and enabled, a noise reduction algorithm will
* be applied to the video. * be applied to the video.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION (VdpVideoMixerFeature)3 #define VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION ((VdpVideoMixerFeature)3)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
...@@ -3152,7 +3152,7 @@ typedef uint32_t VdpVideoMixerFeature; ...@@ -3152,7 +3152,7 @@ typedef uint32_t VdpVideoMixerFeature;
* When requested and enabled, a sharpening algorithm will be * When requested and enabled, a sharpening algorithm will be
* applied to the video. * applied to the video.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_SHARPNESS (VdpVideoMixerFeature)4 #define VDP_VIDEO_MIXER_FEATURE_SHARPNESS ((VdpVideoMixerFeature)4)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
...@@ -3165,7 +3165,7 @@ typedef uint32_t VdpVideoMixerFeature; ...@@ -3165,7 +3165,7 @@ typedef uint32_t VdpVideoMixerFeature;
* to \ref VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MAX_LUMA. This * to \ref VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MAX_LUMA. This
* keying is performed after scaling and de-interlacing. * keying is performed after scaling and de-interlacing.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_LUMA_KEY (VdpVideoMixerFeature)5 #define VDP_VIDEO_MIXER_FEATURE_LUMA_KEY ((VdpVideoMixerFeature)5)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
...@@ -3187,63 +3187,63 @@ typedef uint32_t VdpVideoMixerFeature; ...@@ -3187,63 +3187,63 @@ typedef uint32_t VdpVideoMixerFeature;
* If an application requests and enables multiple high quality scaling * If an application requests and enables multiple high quality scaling
* algorithms, the highest level enabled scaling algorithm will be used. * algorithms, the highest level enabled scaling algorithm will be used.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 (VdpVideoMixerFeature)11 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 ((VdpVideoMixerFeature)11)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
* *
* See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details. * See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L2 (VdpVideoMixerFeature)12 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L2 ((VdpVideoMixerFeature)12)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
* *
* See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details. * See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L3 (VdpVideoMixerFeature)13 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L3 ((VdpVideoMixerFeature)13)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
* *
* See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details. * See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L4 (VdpVideoMixerFeature)14 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L4 ((VdpVideoMixerFeature)14)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
* *
* See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details. * See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L5 (VdpVideoMixerFeature)15 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L5 ((VdpVideoMixerFeature)15)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
* *
* See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details. * See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L6 (VdpVideoMixerFeature)16 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L6 ((VdpVideoMixerFeature)16)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
* *
* See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details. * See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L7 (VdpVideoMixerFeature)17 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L7 ((VdpVideoMixerFeature)17)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
* *
* See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details. * See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L8 (VdpVideoMixerFeature)18 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L8 ((VdpVideoMixerFeature)18)
/** /**
* \hideinitializer * \hideinitializer
* \brief A VdpVideoMixerFeature. * \brief A VdpVideoMixerFeature.
* *
* See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details. * See \ref VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 for details.
*/ */
#define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L9 (VdpVideoMixerFeature)19 #define VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L9 ((VdpVideoMixerFeature)19)
/** /**
* \brief A VdpVideoMixer creation parameter. * \brief A VdpVideoMixer creation parameter.
...@@ -3271,7 +3271,7 @@ typedef uint32_t VdpVideoMixerParameter; ...@@ -3271,7 +3271,7 @@ typedef uint32_t VdpVideoMixerParameter;
* The application may query this parameter's supported * The application may query this parameter's supported
* range. * range.
*/ */
#define VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_WIDTH (VdpVideoMixerParameter)0 #define VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_WIDTH ((VdpVideoMixerParameter)0)
/** /**
* \hideinitializer * \hideinitializer
* \brief The exact height of input video surfaces. * \brief The exact height of input video surfaces.
...@@ -3284,7 +3284,7 @@ typedef uint32_t VdpVideoMixerParameter; ...@@ -3284,7 +3284,7 @@ typedef uint32_t VdpVideoMixerParameter;
* The application may query this parameter's supported * The application may query this parameter's supported
* range. * range.
*/ */
#define VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_HEIGHT (VdpVideoMixerParameter)1 #define VDP_VIDEO_MIXER_PARAMETER_VIDEO_SURFACE_HEIGHT ((VdpVideoMixerParameter)1)
/** /**
* \hideinitializer * \hideinitializer
* \brief The chroma type of the input video surfaces the will * \brief The chroma type of the input video surfaces the will
...@@ -3298,7 +3298,7 @@ typedef uint32_t VdpVideoMixerParameter; ...@@ -3298,7 +3298,7 @@ typedef uint32_t VdpVideoMixerParameter;
* The application may not query this application's supported * The application may not query this application's supported
* range, since it is a potentially disjoint enumeration. * range, since it is a potentially disjoint enumeration.
*/ */
#define VDP_VIDEO_MIXER_PARAMETER_CHROMA_TYPE (VdpVideoMixerParameter)2 #define VDP_VIDEO_MIXER_PARAMETER_CHROMA_TYPE ((VdpVideoMixerParameter)2)
/** /**
* \hideinitializer * \hideinitializer
* \brief The number of auxiliary layers in the mixer's * \brief The number of auxiliary layers in the mixer's
...@@ -3317,7 +3317,7 @@ typedef uint32_t VdpVideoMixerParameter; ...@@ -3317,7 +3317,7 @@ typedef uint32_t VdpVideoMixerParameter;
* The application may query this parameter's supported * The application may query this parameter's supported
* range. * range.
*/ */
#define VDP_VIDEO_MIXER_PARAMETER_LAYERS (VdpVideoMixerParameter)3 #define VDP_VIDEO_MIXER_PARAMETER_LAYERS ((VdpVideoMixerParameter)3)
/** /**
* \brief An adjustable attribute of VdpVideoMixer operation. * \brief An adjustable attribute of VdpVideoMixer operation.
...@@ -3346,7 +3346,7 @@ typedef uint32_t VdpVideoMixerAttribute; ...@@ -3346,7 +3346,7 @@ typedef uint32_t VdpVideoMixerAttribute;
* The application may not query this parameter's supported * The application may not query this parameter's supported
* range, since the type is not scalar. * range, since the type is not scalar.
*/ */
#define VDP_VIDEO_MIXER_ATTRIBUTE_BACKGROUND_COLOR (VdpVideoMixerAttribute)0 #define VDP_VIDEO_MIXER_ATTRIBUTE_BACKGROUND_COLOR ((VdpVideoMixerAttribute)0)
/** /**
* \hideinitializer * \hideinitializer
* \brief The color-space conversion matrix used by the * \brief The color-space conversion matrix used by the
...@@ -3374,7 +3374,7 @@ typedef uint32_t VdpVideoMixerAttribute; ...@@ -3374,7 +3374,7 @@ typedef uint32_t VdpVideoMixerAttribute;
* The application may not query this parameter's supported * The application may not query this parameter's supported
* range, since the type is not scalar. * range, since the type is not scalar.
*/ */
#define VDP_VIDEO_MIXER_ATTRIBUTE_CSC_MATRIX (VdpVideoMixerAttribute)1 #define VDP_VIDEO_MIXER_ATTRIBUTE_CSC_MATRIX ((VdpVideoMixerAttribute)1)
/** /**
* \hideinitializer * \hideinitializer
* \brief The amount of noise reduction algorithm to apply. * \brief The amount of noise reduction algorithm to apply.
...@@ -3387,7 +3387,7 @@ typedef uint32_t VdpVideoMixerAttribute; ...@@ -3387,7 +3387,7 @@ typedef uint32_t VdpVideoMixerAttribute;
* The application may query this parameter's supported range. * The application may query this parameter's supported range.
* However, the range is fixed as 0.0...1.0. * However, the range is fixed as 0.0...1.0.
*/ */
#define VDP_VIDEO_MIXER_ATTRIBUTE_NOISE_REDUCTION_LEVEL (VdpVideoMixerAttribute)2 #define VDP_VIDEO_MIXER_ATTRIBUTE_NOISE_REDUCTION_LEVEL ((VdpVideoMixerAttribute)2)
/** /**
* \hideinitializer * \hideinitializer
* \brief The amount of sharpening, or blurring, to apply. * \brief The amount of sharpening, or blurring, to apply.
...@@ -3403,7 +3403,7 @@ typedef uint32_t VdpVideoMixerAttribute; ...@@ -3403,7 +3403,7 @@ typedef uint32_t VdpVideoMixerAttribute;
* The application may query this parameter's supported range. * The application may query this parameter's supported range.
* However, the range is fixed as -1.0...1.0. * However, the range is fixed as -1.0...1.0.
*/ */
#define VDP_VIDEO_MIXER_ATTRIBUTE_SHARPNESS_LEVEL (VdpVideoMixerAttribute)3 #define VDP_VIDEO_MIXER_ATTRIBUTE_SHARPNESS_LEVEL ((VdpVideoMixerAttribute)3)
/** /**
* \hideinitializer * \hideinitializer
* \brief The minimum luma value for the luma key algorithm. * \brief The minimum luma value for the luma key algorithm.
...@@ -3415,7 +3415,7 @@ typedef uint32_t VdpVideoMixerAttribute; ...@@ -3415,7 +3415,7 @@ typedef uint32_t VdpVideoMixerAttribute;
* The application may query this parameter's supported range. * The application may query this parameter's supported range.
* However, the range is fixed as 0.0...1.0. * However, the range is fixed as 0.0...1.0.
*/ */
#define VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MIN_LUMA (VdpVideoMixerAttribute)4 #define VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MIN_LUMA ((VdpVideoMixerAttribute)4)
/** /**
* \hideinitializer * \hideinitializer
* \brief The maximum luma value for the luma key algorithm. * \brief The maximum luma value for the luma key algorithm.
...@@ -3427,7 +3427,7 @@ typedef uint32_t VdpVideoMixerAttribute; ...@@ -3427,7 +3427,7 @@ typedef uint32_t VdpVideoMixerAttribute;
* The application may query this parameter's supported range. * The application may query this parameter's supported range.
* However, the range is fixed as 0.0...1.0. * However, the range is fixed as 0.0...1.0.
*/ */
#define VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MAX_LUMA (VdpVideoMixerAttribute)5 #define VDP_VIDEO_MIXER_ATTRIBUTE_LUMA_KEY_MAX_LUMA ((VdpVideoMixerAttribute)5)
/** /**
* \hideinitializer * \hideinitializer
* \brief Whether de-interlacers should operate solely on luma, and bob chroma. * \brief Whether de-interlacers should operate solely on luma, and bob chroma.
...@@ -3442,7 +3442,7 @@ typedef uint32_t VdpVideoMixerAttribute; ...@@ -3442,7 +3442,7 @@ typedef uint32_t VdpVideoMixerAttribute;
* The application may query this parameter's supported range. * The application may query this parameter's supported range.
* However, the range is fixed as 0 (no/off) ... 1 (yes/on). * However, the range is fixed as 0 (no/off) ... 1 (yes/on).
*/ */
#define VDP_VIDEO_MIXER_ATTRIBUTE_SKIP_CHROMA_DEINTERLACE (VdpVideoMixerAttribute)6 #define VDP_VIDEO_MIXER_ATTRIBUTE_SKIP_CHROMA_DEINTERLACE ((VdpVideoMixerAttribute)6)
/** /**
* \brief Query the implementation's support for a specific * \brief Query the implementation's support for a specific
...@@ -4163,127 +4163,127 @@ typedef VdpStatus VdpPreemptionCallbackRegister( ...@@ -4163,127 +4163,127 @@ typedef VdpStatus VdpPreemptionCallbackRegister(
typedef uint32_t VdpFuncId; typedef uint32_t VdpFuncId;
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_GET_ERROR_STRING (VdpFuncId)0 #define VDP_FUNC_ID_GET_ERROR_STRING ((VdpFuncId)0)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_GET_PROC_ADDRESS (VdpFuncId)1 #define VDP_FUNC_ID_GET_PROC_ADDRESS ((VdpFuncId)1)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_GET_API_VERSION (VdpFuncId)2 #define VDP_FUNC_ID_GET_API_VERSION ((VdpFuncId)2)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_GET_INFORMATION_STRING (VdpFuncId)4 #define VDP_FUNC_ID_GET_INFORMATION_STRING ((VdpFuncId)4)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_DEVICE_DESTROY (VdpFuncId)5 #define VDP_FUNC_ID_DEVICE_DESTROY ((VdpFuncId)5)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_GENERATE_CSC_MATRIX (VdpFuncId)6 #define VDP_FUNC_ID_GENERATE_CSC_MATRIX ((VdpFuncId)6)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_SURFACE_QUERY_CAPABILITIES (VdpFuncId)7 #define VDP_FUNC_ID_VIDEO_SURFACE_QUERY_CAPABILITIES ((VdpFuncId)7)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES (VdpFuncId)8 #define VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES ((VdpFuncId)8)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_SURFACE_CREATE (VdpFuncId)9 #define VDP_FUNC_ID_VIDEO_SURFACE_CREATE ((VdpFuncId)9)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_SURFACE_DESTROY (VdpFuncId)10 #define VDP_FUNC_ID_VIDEO_SURFACE_DESTROY ((VdpFuncId)10)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_SURFACE_GET_PARAMETERS (VdpFuncId)11 #define VDP_FUNC_ID_VIDEO_SURFACE_GET_PARAMETERS ((VdpFuncId)11)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR (VdpFuncId)12 #define VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR ((VdpFuncId)12)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR (VdpFuncId)13 #define VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR ((VdpFuncId)13)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_CAPABILITIES (VdpFuncId)14 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_CAPABILITIES ((VdpFuncId)14)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_GET_PUT_BITS_NATIVE_CAPABILITIES (VdpFuncId)15 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_GET_PUT_BITS_NATIVE_CAPABILITIES ((VdpFuncId)15)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_PUT_BITS_INDEXED_CAPABILITIES (VdpFuncId)16 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_PUT_BITS_INDEXED_CAPABILITIES ((VdpFuncId)16)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_PUT_BITS_Y_CB_CR_CAPABILITIES (VdpFuncId)17 #define VDP_FUNC_ID_OUTPUT_SURFACE_QUERY_PUT_BITS_Y_CB_CR_CAPABILITIES ((VdpFuncId)17)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_CREATE (VdpFuncId)18 #define VDP_FUNC_ID_OUTPUT_SURFACE_CREATE ((VdpFuncId)18)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_DESTROY (VdpFuncId)19 #define VDP_FUNC_ID_OUTPUT_SURFACE_DESTROY ((VdpFuncId)19)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_GET_PARAMETERS (VdpFuncId)20 #define VDP_FUNC_ID_OUTPUT_SURFACE_GET_PARAMETERS ((VdpFuncId)20)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_GET_BITS_NATIVE (VdpFuncId)21 #define VDP_FUNC_ID_OUTPUT_SURFACE_GET_BITS_NATIVE ((VdpFuncId)21)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_NATIVE (VdpFuncId)22 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_NATIVE ((VdpFuncId)22)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_INDEXED (VdpFuncId)23 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_INDEXED ((VdpFuncId)23)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_Y_CB_CR (VdpFuncId)24 #define VDP_FUNC_ID_OUTPUT_SURFACE_PUT_BITS_Y_CB_CR ((VdpFuncId)24)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_BITMAP_SURFACE_QUERY_CAPABILITIES (VdpFuncId)25 #define VDP_FUNC_ID_BITMAP_SURFACE_QUERY_CAPABILITIES ((VdpFuncId)25)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_BITMAP_SURFACE_CREATE (VdpFuncId)26 #define VDP_FUNC_ID_BITMAP_SURFACE_CREATE ((VdpFuncId)26)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_BITMAP_SURFACE_DESTROY (VdpFuncId)27 #define VDP_FUNC_ID_BITMAP_SURFACE_DESTROY ((VdpFuncId)27)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_BITMAP_SURFACE_GET_PARAMETERS (VdpFuncId)28 #define VDP_FUNC_ID_BITMAP_SURFACE_GET_PARAMETERS ((VdpFuncId)28)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_BITMAP_SURFACE_PUT_BITS_NATIVE (VdpFuncId)29 #define VDP_FUNC_ID_BITMAP_SURFACE_PUT_BITS_NATIVE ((VdpFuncId)29)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_OUTPUT_SURFACE (VdpFuncId)33 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_OUTPUT_SURFACE ((VdpFuncId)33)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_BITMAP_SURFACE (VdpFuncId)34 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_BITMAP_SURFACE ((VdpFuncId)34)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_VIDEO_SURFACE_LUMA (VdpFuncId)35 #define VDP_FUNC_ID_OUTPUT_SURFACE_RENDER_VIDEO_SURFACE_LUMA ((VdpFuncId)35)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_DECODER_QUERY_CAPABILITIES (VdpFuncId)36 #define VDP_FUNC_ID_DECODER_QUERY_CAPABILITIES ((VdpFuncId)36)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_DECODER_CREATE (VdpFuncId)37 #define VDP_FUNC_ID_DECODER_CREATE ((VdpFuncId)37)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_DECODER_DESTROY (VdpFuncId)38 #define VDP_FUNC_ID_DECODER_DESTROY ((VdpFuncId)38)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_DECODER_GET_PARAMETERS (VdpFuncId)39 #define VDP_FUNC_ID_DECODER_GET_PARAMETERS ((VdpFuncId)39)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_DECODER_RENDER (VdpFuncId)40 #define VDP_FUNC_ID_DECODER_RENDER ((VdpFuncId)40)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_QUERY_FEATURE_SUPPORT (VdpFuncId)41 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_FEATURE_SUPPORT ((VdpFuncId)41)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_QUERY_PARAMETER_SUPPORT (VdpFuncId)42 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_PARAMETER_SUPPORT ((VdpFuncId)42)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_QUERY_ATTRIBUTE_SUPPORT (VdpFuncId)43 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_ATTRIBUTE_SUPPORT ((VdpFuncId)43)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_QUERY_PARAMETER_VALUE_RANGE (VdpFuncId)44 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_PARAMETER_VALUE_RANGE ((VdpFuncId)44)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_QUERY_ATTRIBUTE_VALUE_RANGE (VdpFuncId)45 #define VDP_FUNC_ID_VIDEO_MIXER_QUERY_ATTRIBUTE_VALUE_RANGE ((VdpFuncId)45)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_CREATE (VdpFuncId)46 #define VDP_FUNC_ID_VIDEO_MIXER_CREATE ((VdpFuncId)46)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_SET_FEATURE_ENABLES (VdpFuncId)47 #define VDP_FUNC_ID_VIDEO_MIXER_SET_FEATURE_ENABLES ((VdpFuncId)47)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_SET_ATTRIBUTE_VALUES (VdpFuncId)48 #define VDP_FUNC_ID_VIDEO_MIXER_SET_ATTRIBUTE_VALUES ((VdpFuncId)48)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_GET_FEATURE_SUPPORT (VdpFuncId)49 #define VDP_FUNC_ID_VIDEO_MIXER_GET_FEATURE_SUPPORT ((VdpFuncId)49)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_GET_FEATURE_ENABLES (VdpFuncId)50 #define VDP_FUNC_ID_VIDEO_MIXER_GET_FEATURE_ENABLES ((VdpFuncId)50)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_GET_PARAMETER_VALUES (VdpFuncId)51 #define VDP_FUNC_ID_VIDEO_MIXER_GET_PARAMETER_VALUES ((VdpFuncId)51)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_GET_ATTRIBUTE_VALUES (VdpFuncId)52 #define VDP_FUNC_ID_VIDEO_MIXER_GET_ATTRIBUTE_VALUES ((VdpFuncId)52)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_DESTROY (VdpFuncId)53 #define VDP_FUNC_ID_VIDEO_MIXER_DESTROY ((VdpFuncId)53)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_VIDEO_MIXER_RENDER (VdpFuncId)54 #define VDP_FUNC_ID_VIDEO_MIXER_RENDER ((VdpFuncId)54)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_DESTROY (VdpFuncId)55 #define VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_DESTROY ((VdpFuncId)55)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_PRESENTATION_QUEUE_CREATE (VdpFuncId)56 #define VDP_FUNC_ID_PRESENTATION_QUEUE_CREATE ((VdpFuncId)56)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_PRESENTATION_QUEUE_DESTROY (VdpFuncId)57 #define VDP_FUNC_ID_PRESENTATION_QUEUE_DESTROY ((VdpFuncId)57)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_PRESENTATION_QUEUE_SET_BACKGROUND_COLOR (VdpFuncId)58 #define VDP_FUNC_ID_PRESENTATION_QUEUE_SET_BACKGROUND_COLOR ((VdpFuncId)58)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_PRESENTATION_QUEUE_GET_BACKGROUND_COLOR (VdpFuncId)59 #define VDP_FUNC_ID_PRESENTATION_QUEUE_GET_BACKGROUND_COLOR ((VdpFuncId)59)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_PRESENTATION_QUEUE_GET_TIME (VdpFuncId)62 #define VDP_FUNC_ID_PRESENTATION_QUEUE_GET_TIME ((VdpFuncId)62)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_PRESENTATION_QUEUE_DISPLAY (VdpFuncId)63 #define VDP_FUNC_ID_PRESENTATION_QUEUE_DISPLAY ((VdpFuncId)63)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_PRESENTATION_QUEUE_BLOCK_UNTIL_SURFACE_IDLE (VdpFuncId)64 #define VDP_FUNC_ID_PRESENTATION_QUEUE_BLOCK_UNTIL_SURFACE_IDLE ((VdpFuncId)64)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_PRESENTATION_QUEUE_QUERY_SURFACE_STATUS (VdpFuncId)65 #define VDP_FUNC_ID_PRESENTATION_QUEUE_QUERY_SURFACE_STATUS ((VdpFuncId)65)
/** \hideinitializer */ /** \hideinitializer */
#define VDP_FUNC_ID_PREEMPTION_CALLBACK_REGISTER (VdpFuncId)66 #define VDP_FUNC_ID_PREEMPTION_CALLBACK_REGISTER ((VdpFuncId)66)
#define VDP_FUNC_ID_BASE_WINSYS 0x1000 #define VDP_FUNC_ID_BASE_WINSYS 0x1000
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment