@@ -1375,6 +1375,16 @@ typedef struct _VAProcFilterParameterBufferHDRToneMapping {
1375
1375
#define VA_3DLUT_CHANNEL_VUY_RGB 0x00000004
1376
1376
/**@}*/
1377
1377
1378
+ /** @name 3DLUT Interpolation Method */
1379
+ /**@{*/
1380
+ /** \brief 3DLUT Interpolation Method is unknown. */
1381
+ #define VA_3DLUT_INTERPOLATION_UNKNOWN 0
1382
+ /** \brief 3DLUT Interpolation Method is Trilinear. */
1383
+ #define VA_3DLUT_INTERPOLATION_TRILINEAR 1
1384
+ /** \brief 3DLUT Interpolation Method is Tetrahedral */
1385
+ #define VA_3DLUT_INTERPOLATION_TETRAHEDRAL 2
1386
+ /**@}*/
1387
+
1378
1388
/**
1379
1389
* \brief 3DLUT filter parametrization.
1380
1390
*
@@ -1426,8 +1436,12 @@ typedef struct _VAProcFilterParameterBuffer3DLUT {
1426
1436
/** \brief channel_mapping defines the mapping of input and output channels, could be one of VA_3DLUT_CHANNEL_XXX*/
1427
1437
uint32_t channel_mapping ;
1428
1438
1439
+ /** \brief interpolation_method defines the 3DLUT interpolation method, could be one of VA_3DLUT_INTERPOLATION_XXX*/
1440
+ uint32_t interpolation_method : 4 ;
1441
+
1429
1442
/** \brief reserved bytes for future use, must be zero */
1430
- uint32_t va_reserved [VA_PADDING_HIGH ];
1443
+ uint32_t va_reserved1 : 28 ;
1444
+ uint32_t va_reserved [VA_PADDING_HIGH - 1 ];
1431
1445
} VAProcFilterParameterBuffer3DLUT ;
1432
1446
1433
1447
/** \brief Capabilities specification for the 3DLUT filter. */
@@ -1442,9 +1456,12 @@ typedef struct _VAProcFilterCap3DLUT {
1442
1456
uint16_t num_channel ;
1443
1457
/** \brief channel_mapping defines the mapping of channels, could be some combination of VA_3DLUT_CHANNEL_XXX*/
1444
1458
uint32_t channel_mapping ;
1459
+ /** \brief interpolation_method defines the 3DLUT interpolation method, could be one of VA_3DLUT_INTERPOLATION_XXX*/
1460
+ uint32_t interpolation_method : 4 ;
1445
1461
1446
1462
/** \brief Reserved bytes for future use, must be zero */
1447
- uint32_t va_reserved [VA_PADDING_HIGH ];
1463
+ uint32_t va_reserved1 : 28 ;
1464
+ uint32_t va_reserved [VA_PADDING_HIGH - 1 ];
1448
1465
} VAProcFilterCap3DLUT ;
1449
1466
1450
1467
/**
0 commit comments