@@ -237,35 +237,34 @@ typedef struct {
237
237
} mfxExtThreadsParam ;
238
238
MFX_PACK_END ()
239
239
240
- /*! The PlatformCodeName enumerator itemizes product code names for platforms.
241
- For details about Intel code names, see ark.intel.com. */
240
+ /*! Deprecated. */
242
241
enum {
243
- MFX_PLATFORM_UNKNOWN = 0 , /*!< Unknown platform. */
244
- MFX_PLATFORM_SANDYBRIDGE = 1 , /*!< Intel(r) microarchitecture code name Sandy Bridge. */
245
- MFX_PLATFORM_IVYBRIDGE = 2 , /*!< Intel(r) microarchitecture code name Ivy Bridge. */
246
- MFX_PLATFORM_HASWELL = 3 , /*!< Code name Haswell. */
247
- MFX_PLATFORM_BAYTRAIL = 4 , /*!< Code name Bay Trail. */
248
- MFX_PLATFORM_BROADWELL = 5 , /*!< Intel(r) microarchitecture code name Broadwell. */
249
- MFX_PLATFORM_CHERRYTRAIL = 6 , /*!< Code name Cherry Trail. */
250
- MFX_PLATFORM_SKYLAKE = 7 , /*!< Intel(r) microarchitecture code name Skylake. */
251
- MFX_PLATFORM_APOLLOLAKE = 8 , /*!< Code name Apollo Lake. */
252
- MFX_PLATFORM_KABYLAKE = 9 , /*!< Code name Kaby Lake. */
253
- MFX_PLATFORM_GEMINILAKE = 10 , /*!< Code name Gemini Lake. */
254
- MFX_PLATFORM_COFFEELAKE = 11 , /*!< Code name Coffee Lake. */
255
- MFX_PLATFORM_CANNONLAKE = 20 , /*!< Code name Cannon Lake. */
256
- MFX_PLATFORM_ICELAKE = 30 , /*!< Code name Ice Lake. */
257
- MFX_PLATFORM_JASPERLAKE = 32 , /*!< Code name Jasper Lake. */
258
- MFX_PLATFORM_ELKHARTLAKE = 33 , /*!< Code name Elkhart Lake. */
259
- MFX_PLATFORM_TIGERLAKE = 40 , /*!< Code name Tiger Lake. */
260
- MFX_PLATFORM_ROCKETLAKE = 42 , /*!< Code name Rocket Lake. */
261
- MFX_PLATFORM_ALDERLAKE_S = 43 , /*!< Code name Alder Lake S. */
262
- MFX_PLATFORM_ALDERLAKE_P = 44 , /*!< Code name Alder Lake P. */
263
- MFX_PLATFORM_ARCTICSOUND_P = 45 ,
264
- MFX_PLATFORM_XEHP_SDV = 45 , /*!< Code name XeHP SDV. */
265
- MFX_PLATFORM_DG2 = 46 , /*!< Code name DG2. */
266
- MFX_PLATFORM_ATS_M = 46 , /*!< Code name ATS-M, same media functionality as DG2. */
267
- MFX_PLATFORM_ALDERLAKE_N = 55 , /*!< Code name Alder Lake N. */
268
- MFX_PLATFORM_KEEMBAY = 50 , /*!< Code name Keem Bay. */
242
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_UNKNOWN ) = 0 , /*!< Unknown platform. */
243
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_SANDYBRIDGE ) = 1 , /*!< Intel(r) microarchitecture code name Sandy Bridge. */
244
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_IVYBRIDGE ) = 2 , /*!< Intel(r) microarchitecture code name Ivy Bridge. */
245
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_HASWELL ) = 3 , /*!< Code name Haswell. */
246
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_BAYTRAIL ) = 4 , /*!< Code name Bay Trail. */
247
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_BROADWELL ) = 5 , /*!< Intel(r) microarchitecture code name Broadwell. */
248
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_CHERRYTRAIL ) = 6 , /*!< Code name Cherry Trail. */
249
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_SKYLAKE ) = 7 , /*!< Intel(r) microarchitecture code name Skylake. */
250
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_APOLLOLAKE ) = 8 , /*!< Code name Apollo Lake. */
251
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_KABYLAKE ) = 9 , /*!< Code name Kaby Lake. */
252
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_GEMINILAKE ) = 10 , /*!< Code name Gemini Lake. */
253
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_COFFEELAKE ) = 11 , /*!< Code name Coffee Lake. */
254
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_CANNONLAKE ) = 20 , /*!< Code name Cannon Lake. */
255
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_ICELAKE ) = 30 , /*!< Code name Ice Lake. */
256
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_JASPERLAKE ) = 32 , /*!< Code name Jasper Lake. */
257
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_ELKHARTLAKE ) = 33 , /*!< Code name Elkhart Lake. */
258
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_TIGERLAKE ) = 40 , /*!< Code name Tiger Lake. */
259
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_ROCKETLAKE ) = 42 , /*!< Code name Rocket Lake. */
260
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_ALDERLAKE_S ) = 43 , /*!< Code name Alder Lake S. */
261
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_ALDERLAKE_P ) = 44 , /*!< Code name Alder Lake P. */
262
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_ARCTICSOUND_P ) = 45 ,
263
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_XEHP_SDV ) = 45 , /*!< Code name XeHP SDV. */
264
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_DG2 ) = 46 , /*!< Code name DG2. */
265
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_ATS_M ) = 46 , /*!< Code name ATS-M, same media functionality as DG2. */
266
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_ALDERLAKE_N ) = 55 , /*!< Code name Alder Lake N. */
267
+ MFX_DEPRECATED_ENUM_FIELD_INSIDE ( MFX_PLATFORM_KEEMBAY ) = 50 , /*!< Code name Keem Bay. */
269
268
};
270
269
271
270
/*! The mfxMediaAdapterType enumerator itemizes types of graphics adapters. */
@@ -279,7 +278,7 @@ typedef enum
279
278
MFX_PACK_BEGIN_USUAL_STRUCT ()
280
279
/*! Contains information about hardware platform for the Legacy mode. */
281
280
typedef struct {
282
- mfxU16 CodeName ; /*!< Microarchitecture code name. See the PlatformCodeName enumerator for a list of possible values . */
281
+ MFX_DEPRECATED mfxU16 CodeName ; /*!< Deprecated . */
283
282
mfxU16 DeviceId ; /*!< Unique identifier of graphics device. */
284
283
mfxU16 MediaAdapterType ; /*!< Description of graphics adapter type. See the mfxMediaAdapterType enumerator for a list of possible values. */
285
284
mfxU16 reserved [13 ]; /*!< Reserved for future use. */
@@ -559,11 +558,27 @@ typedef struct {
559
558
mfxU32 DRMPrimaryNodeNum ; /*!< Number of the DRM primary node from the path /dev/dri/card\<num\>.
560
559
Value equals to 0x7FFFFFFF means that this field doesn't contain valid DRM Primary
561
560
Node number.*/
562
- mfxU8 reserved1 [20 ]; /*!< Reserved for future use. */
561
+ mfxU16 RevisionID ; /*!< PCI revision ID. The value contains microarchitecture version. */
562
+ mfxU8 reserved1 [18 ]; /*!< Reserved for future use. */
563
563
mfxChar DeviceName [MFX_STRFIELD_LEN ]; /*!< Null-terminated string in utf-8 with the name of the device. */
564
564
} mfxExtendedDeviceId ;
565
565
MFX_PACK_END ()
566
566
567
+ MFX_PACK_BEGIN_USUAL_STRUCT ()
568
+ /*! Cross domain structure to define device UUID. It is defined here to check backward compatibility.*/
569
+ typedef struct {
570
+ mfxU16 vendor_id ; /*!< PCI vendor ID. Same as mfxExtendedDeviceId::VendorID. */
571
+ mfxU16 device_id ; /*!< PCI device ID. Same as mfxExtendedDeviceId::DeviceID. */
572
+ mfxU16 revision_id ; /*!< PCI revision ID. Same as mfxExtendedDeviceId::RevisionID. */
573
+ mfxU16 pci_domain ; /*!< PCI bus domain. Same as mfxExtendedDeviceId::PCIDomain. */
574
+ mfxU8 pci_bus ; /*!< The number of the bus that the physical device is located on. Same as mfxExtendedDeviceId::PCIBus. */
575
+ mfxU8 pci_dev ; /*!< The index of the physical device on the bus. Same as mfxExtendedDeviceId::PCIDevice. */
576
+ mfxU8 pci_func ; /*!< The function number of the device on the physical device. Same as mfxExtendedDeviceId::PCIFunction. */
577
+ mfxU8 reserved [4 ]; /*!< Reserved for future use. */
578
+ mfxU8 sub_device_id ; /*!< SubDevice ID.*/
579
+ } extDeviceUUID ;
580
+ MFX_PACK_END ()
581
+
567
582
#endif
568
583
569
584
/* The mfxImplCapsDeliveryFormat enumerator specifies delivery format of the implementation capability. */
@@ -608,4 +623,3 @@ MFX_PACK_END()
608
623
#endif /* __cplusplus */
609
624
610
625
#endif
611
-
0 commit comments