VA-API  2.22.0
va_vpp.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2007-2011 Intel Corporation. All Rights Reserved.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the
6  * "Software"), to deal in the Software without restriction, including
7  * without limitation the rights to use, copy, modify, merge, publish,
8  * distribute, sub license, and/or sell copies of the Software, and to
9  * permit persons to whom the Software is furnished to do so, subject to
10  * the following conditions:
11  *
12  * The above copyright notice and this permission notice (including the
13  * next paragraph) shall be included in all copies or substantial portions
14  * of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
19  * IN NO EVENT SHALL INTEL AND/OR ITS SUPPLIERS BE LIABLE FOR
20  * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23  */
24 
32 #ifndef VA_VPP_H
33 #define VA_VPP_H
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
238 typedef enum _VAProcFilterType {
239  VAProcFilterNone = 0,
261 
263 typedef enum _VAProcDeinterlacingType {
264  VAProcDeinterlacingNone = 0,
276 
278 typedef enum _VAProcColorBalanceType {
279  VAProcColorBalanceNone = 0,
297 
306 typedef enum _VAProcColorStandardType {
307  VAProcColorStandardNone = 0,
417 
419 typedef enum _VAProcTotalColorCorrectionType {
420  VAProcTotalColorCorrectionNone = 0,
436 
438 typedef enum _VAProcHighDynamicRangeMetadataType {
439  VAProcHighDynamicRangeMetadataNone = 0,
445 
447 typedef enum _VAProcMode {
465 
469 #define VA_BLEND_GLOBAL_ALPHA 0x0001
471 #define VA_BLEND_PREMULTIPLIED_ALPHA 0x0002
473 #define VA_BLEND_LUMA_KEY 0x0010
477 typedef struct _VABlendState {
479  unsigned int flags;
494  float min_luma;
502  float max_luma;
503 } VABlendState;
504 
508 #define VA_PROC_PIPELINE_SUBPICTURES 0x00000001
519 #define VA_PROC_PIPELINE_FAST 0x00000002
525 #define VA_PROC_FILTER_MANDATORY 0x00000001
531 #define VA_PIPELINE_FLAG_END 0x00000004
538 #define VA_CHROMA_SITING_UNKNOWN 0x00
540 #define VA_CHROMA_SITING_VERTICAL_TOP 0x01
542 #define VA_CHROMA_SITING_VERTICAL_CENTER 0x02
544 #define VA_CHROMA_SITING_VERTICAL_BOTTOM 0x03
546 #define VA_CHROMA_SITING_HORIZONTAL_LEFT 0x04
548 #define VA_CHROMA_SITING_HORIZONTAL_CENTER 0x08
559 #define VA_SOURCE_RANGE_UNKNOWN 0
560 #define VA_SOURCE_RANGE_REDUCED 1
561 #define VA_SOURCE_RANGE_FULL 2
562 
566 #define VA_TONE_MAPPING_HDR_TO_HDR 0x0001
568 #define VA_TONE_MAPPING_HDR_TO_SDR 0x0002
570 #define VA_TONE_MAPPING_HDR_TO_EDR 0x0004
572 #define VA_TONE_MAPPING_SDR_TO_HDR 0x0008
576 typedef struct _VAProcPipelineCaps {
578  uint32_t pipeline_flags;
580  uint32_t filter_flags;
593 
619  uint32_t rotation_flags;
621  uint32_t blend_flags;
630  uint32_t mirror_flags;
633 
642 
644  uint32_t max_input_width;
648  uint32_t min_input_width;
651 
661 #if defined(__AMD64__) || defined(__x86_64__) || defined(__amd64__) || defined(__LP64__)
662  uint32_t va_reserved[VA_PADDING_HIGH - 2];
663 #else
664  uint32_t va_reserved[VA_PADDING_HIGH];
665 #endif
667 
669 typedef struct _VAProcFilterValueRange {
671  float min_value;
673  float max_value;
677  float step;
678 
680  uint32_t va_reserved[VA_PADDING_LOW];
682 
683 typedef struct _VAProcColorProperties {
685  uint8_t chroma_sample_location;
687  uint8_t color_range;
715  uint8_t colour_primaries;
740  uint8_t transfer_characteristics;
746  uint8_t matrix_coefficients;
748  uint8_t reserved[3];
749 } VAProcColorProperties;
750 
765 typedef struct _VAHdrMetaDataHDR10 {
774  uint16_t display_primaries_x[3];
783  uint16_t display_primaries_y[3];
789  uint16_t white_point_x;
795  uint16_t white_point_y;
821  uint16_t reserved[VA_PADDING_HIGH];
823 
825 typedef struct _VAProcFilterCapHighDynamicRange {
835  uint16_t caps_flag;
837  uint16_t va_reserved[VA_PADDING_HIGH];
839 
841 typedef struct _VAHdrMetaData {
849  void* metadata;
853  uint32_t metadata_size;
855  uint32_t reserved[VA_PADDING_LOW];
856 } VAHdrMetaData;
857 
886 typedef struct _VAProcPipelineParameterBuffer {
894  VASurfaceID surface;
956  uint32_t pipeline_flags;
976  uint32_t filter_flags;
991  uint32_t num_filters;
993  VASurfaceID *forward_references;
997  VASurfaceID *backward_references;
1024  uint32_t rotation_state;
1051  uint32_t mirror_state;
1053  VASurfaceID *additional_outputs;
1114  VAProcColorProperties input_color_properties;
1118  VAProcColorProperties output_color_properties;
1129 
1131 #if defined(__AMD64__) || defined(__x86_64__) || defined(__amd64__)|| defined(__LP64__)
1132  uint32_t va_reserved[VA_PADDING_LARGE - 16];
1133 #else
1134  uint32_t va_reserved[VA_PADDING_LARGE - 13];
1135 #endif
1137 
1145 typedef struct _VAProcFilterParameterBufferBase {
1149 
1156 typedef struct _VAProcFilterParameterBuffer {
1160  float value;
1161 
1163  uint32_t va_reserved[VA_PADDING_LOW];
1165 
1172 #define VA_DEINTERLACING_BOTTOM_FIELD_FIRST 0x0001
1177 #define VA_DEINTERLACING_BOTTOM_FIELD 0x0002
1182 #define VA_DEINTERLACING_ONE_FIELD 0x0004
1188 #define VA_DEINTERLACING_FMD_ENABLE 0x0008
1189 
1190 //Scene change parameter for ADI on Linux, if enabled, driver use spatial DI(Bob), instead of ADI. if not, use old behavior for ADI
1191 //Input stream is TFF(set flags = 0), SRC0,1,2,3 are interlaced frame (top +bottom fields), DSTs are progressive frames
1192 //30i->30p
1193 //SRC0 -> BOBDI, no reference, set flag = 0, output DST0
1194 //SRC1 -> ADI, reference frame=SRC0, set flags = 0, call VP, output DST1
1195 //SRC2 -> ADI, reference frame=SRC1, set flags = 0x0010(decimal 16), call VP, output DST2(T4)
1196 //SRC3 -> ADI, reference frame=SRC2, set flags = 0, call VP, output DST3
1197 //30i->60p
1198 //SRC0 -> BOBDI, no reference, set flag = 0, output DST0
1199 //SRC0 -> BOBDI, no reference, set flag =0x0002, output DST1
1200 
1201 //SRC1 -> ADI, reference frame =SRC0, set flags = 0, call VP, output DST2
1202 //SRC1 -> ADI, reference frame =SRC0, set flags = 0x0012(decimal18), call VP, output DST3(B3)
1203 
1204 //SRC2 -> ADI, reference frame =SRC1, set flags = 0x0010(decimal 16), call VP, output DST4(T4)
1205 //SRC2 -> ADI, reference frame =SRC1, set flags = 0x0002, call VP, output DST5
1206 
1207 //SRC3 -> ADI, reference frame =SRC2, set flags = 0, call VP, output DST6
1208 //SRC3 -> ADI, reference frame =SRC1, set flags = 0x0002, call VP, output DST7
1209 
1210 #define VA_DEINTERLACING_SCD_ENABLE 0x0010
1211 
1215 typedef struct _VAProcFilterParameterBufferDeinterlacing {
1221  uint32_t flags;
1222 
1224  uint32_t va_reserved[VA_PADDING_LOW];
1226 
1267 typedef struct _VAProcFilterParameterBufferColorBalance {
1285  float value;
1286 
1288  uint32_t va_reserved[VA_PADDING_LOW];
1290 
1292 typedef struct _VAProcFilterParameterBufferTotalColorCorrection {
1298  float value;
1300 
1307 #define VA_PROC_HVS_DENOISE_DEFAULT 0x0000
1312 #define VA_PROC_HVS_DENOISE_AUTO_BDRATE 0x0001
1317 #define VA_PROC_HVS_DENOISE_AUTO_SUBJECTIVE 0x0002
1322 #define VA_PROC_HVS_DENOISE_MANUAL 0x0003
1326 typedef struct _VAProcFilterParameterBufferHVSNoiseReduction {
1330  uint16_t qp;
1339  uint16_t strength;
1345  uint16_t mode;
1347  uint16_t va_reserved[VA_PADDING_HIGH - 1];
1349 
1351 typedef struct _VAProcFilterParameterBufferHDRToneMapping {
1363  uint32_t va_reserved[VA_PADDING_HIGH];
1365 
1369 #define VA_3DLUT_CHANNEL_UNKNOWN 0x00000000
1371 #define VA_3DLUT_CHANNEL_RGB_RGB 0x00000001
1373 #define VA_3DLUT_CHANNEL_YUV_RGB 0x00000002
1375 #define VA_3DLUT_CHANNEL_VUY_RGB 0x00000004
1403 typedef struct _VAProcFilterParameterBuffer3DLUT {
1406 
1408  VASurfaceID lut_surface;
1414  uint16_t lut_size;
1420  uint16_t lut_stride[3];
1422  uint16_t bit_depth;
1424  uint16_t num_channel;
1425 
1428 
1430  uint32_t va_reserved[VA_PADDING_HIGH];
1432 
1434 typedef struct _VAProcFilterCap3DLUT {
1436  uint16_t lut_size;
1438  uint16_t lut_stride[3];
1440  uint16_t bit_depth;
1442  uint16_t num_channel;
1445 
1447  uint32_t va_reserved[VA_PADDING_HIGH];
1449 
1456 typedef struct _VAProcFilterCap {
1459 
1461  uint32_t va_reserved[VA_PADDING_LOW];
1462 } VAProcFilterCap;
1463 
1465 typedef struct _VAProcFilterCapDeinterlacing {
1468 
1470  uint32_t va_reserved[VA_PADDING_LOW];
1472 
1474 typedef struct _VAProcFilterCapColorBalance {
1479 
1481  uint32_t va_reserved[VA_PADDING_LOW];
1483 
1485 typedef struct _VAProcFilterCapTotalColorCorrection {
1491 
1517 VAStatus
1519  VADisplay dpy,
1520  VAContextID context,
1521  VAProcFilterType *filters,
1522  unsigned int *num_filters
1523 );
1524 
1544 VAStatus
1546  VADisplay dpy,
1547  VAContextID context,
1548  VAProcFilterType type,
1549  void *filter_caps,
1550  unsigned int *num_filter_caps
1551 );
1552 
1575 VAStatus
1577  VADisplay dpy,
1578  VAContextID context,
1579  VABufferID *filters,
1580  unsigned int num_filters,
1581  VAProcPipelineCaps *pipeline_caps
1582 );
1583 
1586 #ifdef __cplusplus
1587 }
1588 #endif
1589 
1590 #endif /* VA_VPP_H */
VAGenericID VAContextID
Definition: va.h:1620
#define VA_PADDING_LOW
Definition: va.h:360
VAGenericID VABufferID
Definition: va.h:2019
void * VADisplay
Definition: va.h:260
VAStatus vaQueryVideoProcFilters(VADisplay dpy, VAContextID context, VAProcFilterType *filters, unsigned int *num_filters)
Queries video processing filters.
VAProcDeinterlacingType
Deinterlacing types.
Definition: va_vpp.h:263
VAProcHighDynamicRangeMetadataType
High Dynamic Range Metadata types.
Definition: va_vpp.h:438
VAStatus vaQueryVideoProcFilterCaps(VADisplay dpy, VAContextID context, VAProcFilterType type, void *filter_caps, unsigned int *num_filter_caps)
Queries video filter capabilities.
VAProcFilterType
Video filter types.
Definition: va_vpp.h:238
VAProcColorBalanceType
Color balance types.
Definition: va_vpp.h:278
VAProcMode
Video Processing Mode.
Definition: va_vpp.h:447
VAProcColorStandardType
Color standard types.
Definition: va_vpp.h:306
VAProcTotalColorCorrectionType
Total color correction types.
Definition: va_vpp.h:419
VAStatus vaQueryVideoProcPipelineCaps(VADisplay dpy, VAContextID context, VABufferID *filters, unsigned int num_filters, VAProcPipelineCaps *pipeline_caps)
Queries video processing pipeline capabilities.
@ VAProcDeinterlacingMotionAdaptive
Motion adaptive deinterlacing algorithm.
Definition: va_vpp.h:270
@ VAProcDeinterlacingMotionCompensated
Motion compensated deinterlacing algorithm.
Definition: va_vpp.h:272
@ VAProcDeinterlacingCount
Number of deinterlacing algorithms.
Definition: va_vpp.h:274
@ VAProcDeinterlacingWeave
Weave deinterlacing algorithm.
Definition: va_vpp.h:268
@ VAProcDeinterlacingBob
Bob deinterlacing algorithm.
Definition: va_vpp.h:266
@ VAProcHighDynamicRangeMetadataHDR10
Metadata type for HDR10.
Definition: va_vpp.h:441
@ VAProcHighDynamicRangeMetadataTypeCount
Number of Metadata type.
Definition: va_vpp.h:443
@ VAProcFilterSkinToneEnhancement
Skin Tone Enhancement.
Definition: va_vpp.h:249
@ VAProcFilterHVSNoiseReduction
Human Vision System(HVS) Noise reduction filter.
Definition: va_vpp.h:253
@ VAProcFilterCount
Number of video filters.
Definition: va_vpp.h:259
@ VAProcFilterNoiseReduction
Noise reduction filter.
Definition: va_vpp.h:241
@ VAProcFilterColorBalance
Color balance parameters.
Definition: va_vpp.h:247
@ VAProcFilterHighDynamicRangeToneMapping
High Dynamic Range Tone Mapping.
Definition: va_vpp.h:255
@ VAProcFilterSharpening
Sharpening filter.
Definition: va_vpp.h:245
@ VAProcFilterDeinterlacing
Deinterlacing filter.
Definition: va_vpp.h:243
@ VAProcFilterTotalColorCorrection
Total Color Correction.
Definition: va_vpp.h:251
@ VAProcFilter3DLUT
Three-Dimensional Look Up Table (3DLUT).
Definition: va_vpp.h:257
@ VAProcColorBalanceContrast
Contrast.
Definition: va_vpp.h:287
@ VAProcColorBalanceAutoContrast
Automatically adjusted contrast.
Definition: va_vpp.h:293
@ VAProcColorBalanceHue
Hue.
Definition: va_vpp.h:281
@ VAProcColorBalanceCount
Number of color balance attributes.
Definition: va_vpp.h:295
@ VAProcColorBalanceAutoBrightness
Automatically adjusted brightness.
Definition: va_vpp.h:291
@ VAProcColorBalanceSaturation
Saturation.
Definition: va_vpp.h:283
@ VAProcColorBalanceAutoSaturation
Automatically adjusted saturation.
Definition: va_vpp.h:289
@ VAProcColorBalanceBrightness
Brightness.
Definition: va_vpp.h:285
@ VAProcPerformanceMode
Performance Mode. In this mode, pipeline is optimized for performance.
Definition: va_vpp.h:463
@ VAProcDefaultMode
Default Mode. In this mode, pipeline is decided in driver to the appropriate mode....
Definition: va_vpp.h:453
@ VAProcPowerSavingMode
Power Saving Mode. In this mode, pipeline is optimized for power saving.
Definition: va_vpp.h:458
@ VAProcColorStandardXVYCC709
xvYCC709.
Definition: va_vpp.h:396
@ VAProcColorStandardBT2020
ITU-R BT.2020.
Definition: va_vpp.h:404
@ VAProcColorStandardBT709
ITU-R BT.709.
Definition: va_vpp.h:327
@ VAProcColorStandardGenericFilm
Generic film.
Definition: va_vpp.h:367
@ VAProcColorStandardBT470M
ITU-R BT.470-2 System M.
Definition: va_vpp.h:335
@ VAProcColorStandardBT470BG
ITU-R BT.470-2 System B, G.
Definition: va_vpp.h:343
@ VAProcColorStandardExplicit
Explicitly specified color properties.
Definition: va_vpp.h:413
@ VAProcColorStandardSMPTE170M
SMPTE-170M.
Definition: va_vpp.h:351
@ VAProcColorStandardSRGB
sRGB.
Definition: va_vpp.h:375
@ VAProcColorStandardXVYCC601
xvYCC601.
Definition: va_vpp.h:388
@ VAProcColorStandardSTRGB
stRGB.
Definition: va_vpp.h:380
@ VAProcColorStandardBT601
ITU-R BT.601.
Definition: va_vpp.h:319
@ VAProcColorStandardCount
Number of color standards.
Definition: va_vpp.h:415
@ VAProcColorStandardSMPTE240M
SMPTE-240M.
Definition: va_vpp.h:359
@ VAProcTotalColorCorrectionYellow
Yellow Saturation.
Definition: va_vpp.h:432
@ VAProcTotalColorCorrectionCount
Number of color correction attributes.
Definition: va_vpp.h:434
@ VAProcTotalColorCorrectionBlue
Blue Saturation.
Definition: va_vpp.h:426
@ VAProcTotalColorCorrectionMagenta
Magenta Saturation.
Definition: va_vpp.h:430
@ VAProcTotalColorCorrectionGreen
Green Saturation.
Definition: va_vpp.h:424
@ VAProcTotalColorCorrectionCyan
Cyan Saturation.
Definition: va_vpp.h:428
@ VAProcTotalColorCorrectionRed
Red Saturation.
Definition: va_vpp.h:422
Video blending state definition.
Definition: va_vpp.h:477
float max_luma
Maximum luma value.
Definition: va_vpp.h:502
unsigned int flags
Video blending flags.
Definition: va_vpp.h:479
float min_luma
Minimum luma value.
Definition: va_vpp.h:494
float global_alpha
Global alpha value.
Definition: va_vpp.h:486
Describes High Dynamic Range Meta Data for HDR10.
Definition: va_vpp.h:765
uint32_t min_display_mastering_luminance
The minumum display luminance of the mastering display.
Definition: va_vpp.h:807
uint16_t white_point_x
X chromaticity coordinate of the white point of the mastering display.
Definition: va_vpp.h:789
uint16_t max_pic_average_light_level
The maximum picture average light level (MaxFALL).
Definition: va_vpp.h:819
uint16_t max_content_light_level
The maximum content light level (MaxCLL).
Definition: va_vpp.h:813
uint32_t max_display_mastering_luminance
The maximum display luminance of the mastering display.
Definition: va_vpp.h:801
uint16_t white_point_y
Y chromaticity coordinate of the white point of the mastering display.
Definition: va_vpp.h:795
High Dynamic Range Meta Data.
Definition: va_vpp.h:841
VAProcHighDynamicRangeMetadataType metadata_type
high dynamic range metadata type, HDR10 etc.
Definition: va_vpp.h:843
void * metadata
Pointer to high dynamic range metadata.
Definition: va_vpp.h:849
uint32_t metadata_size
Size of high dynamic range metadata.
Definition: va_vpp.h:853
Capabilities specification for the 3DLUT filter.
Definition: va_vpp.h:1434
uint16_t bit_depth
bit_depth is the number of bits for every channel R, G or B (or Y, U, V)
Definition: va_vpp.h:1440
uint32_t channel_mapping
channel_mapping defines the mapping of channels, could be some combination of VA_3DLUT_CHANNEL_XXX
Definition: va_vpp.h:1444
uint16_t lut_size
lut_size is the number of valid points on every dimension of the three dimensional look up table.
Definition: va_vpp.h:1436
uint16_t num_channel
num_channel is the number of channels
Definition: va_vpp.h:1442
Capabilities specification for the color balance filter.
Definition: va_vpp.h:1474
VAProcColorBalanceType type
Color balance operation.
Definition: va_vpp.h:1476
VAProcFilterValueRange range
Range of supported values for the specified operation.
Definition: va_vpp.h:1478
Capabilities specification for the deinterlacing filter.
Definition: va_vpp.h:1465
VAProcDeinterlacingType type
Deinterlacing algorithm.
Definition: va_vpp.h:1467
Capabilities specification for the High Dynamic Range filter.
Definition: va_vpp.h:825
uint16_t caps_flag
flag for high dynamic range tone mapping
Definition: va_vpp.h:835
VAProcHighDynamicRangeMetadataType metadata_type
high dynamic range type.
Definition: va_vpp.h:827
Capabilities specification for the Total Color Correction filter.
Definition: va_vpp.h:1485
VAProcFilterValueRange range
Range of supported values for the specified color.
Definition: va_vpp.h:1489
VAProcTotalColorCorrectionType type
Color to correct.
Definition: va_vpp.h:1487
Default filter cap specification (single range value).
Definition: va_vpp.h:1456
VAProcFilterValueRange range
Range of supported values for the filter.
Definition: va_vpp.h:1458
3DLUT filter parametrization.
Definition: va_vpp.h:1403
uint16_t lut_size
lut_size is the number of valid points on every dimension of the three dimensional look up table....
Definition: va_vpp.h:1414
VAProcFilterType type
Filter type. Shall be set to VAProcFilter3DLUT.
Definition: va_vpp.h:1405
uint16_t bit_depth
bit_depth is the number of bits for every channel R, G or B (or Y, U, V)
Definition: va_vpp.h:1422
VASurfaceID lut_surface
lut_surface contains 3DLUT data in the 3DLUT memory layout, must be linear
Definition: va_vpp.h:1408
uint32_t channel_mapping
channel_mapping defines the mapping of input and output channels, could be one of VA_3DLUT_CHANNEL_XX...
Definition: va_vpp.h:1427
uint16_t num_channel
num_channel is the number of channels
Definition: va_vpp.h:1424
Filter parameter buffer base.
Definition: va_vpp.h:1145
VAProcFilterType type
Filter type.
Definition: va_vpp.h:1147
Color balance filter parametrization.
Definition: va_vpp.h:1267
float value
Color balance value.
Definition: va_vpp.h:1285
VAProcFilterType type
Filter type. Shall be set to VAProcFilterColorBalance.
Definition: va_vpp.h:1269
VAProcColorBalanceType attrib
Color balance attribute.
Definition: va_vpp.h:1271
Deinterlacing filter parametrization.
Definition: va_vpp.h:1215
VAProcDeinterlacingType algorithm
Deinterlacing algorithm.
Definition: va_vpp.h:1219
uint32_t flags
Deinterlacing flags.
Definition: va_vpp.h:1221
VAProcFilterType type
Filter type. Shall be set to VAProcFilterDeinterlacing.
Definition: va_vpp.h:1217
High Dynamic Range(HDR) Tone Mapping filter parametrization.
Definition: va_vpp.h:1351
VAProcFilterType type
Filter type. Shall be set to VAProcFilterHighDynamicRangeToneMapping.
Definition: va_vpp.h:1353
VAHdrMetaData data
High Dynamic Range metadata, could be HDR10 etc.
Definition: va_vpp.h:1361
Human Vision System(HVS) Noise reduction filter parametrization.
Definition: va_vpp.h:1326
uint16_t strength
QP to Noise Reduction Strength Mode, used for Human Vision System Based Noise Reduction....
Definition: va_vpp.h:1339
VAProcFilterType type
Filter type. Shall be set to VAProcFilterHVSNoiseReduction.
Definition: va_vpp.h:1328
uint16_t mode
HVS Denoise Mode which controls denoise method. It is a value of VA_PROC_HVS_DENOISE_xxx....
Definition: va_vpp.h:1345
uint16_t qp
QP for encoding, used for HVS Denoise.
Definition: va_vpp.h:1330
Total color correction filter parametrization.
Definition: va_vpp.h:1292
VAProcTotalColorCorrectionType attrib
Color to correct.
Definition: va_vpp.h:1296
VAProcFilterType type
Filter type. Shall be set to VAProcFilterTotalColorCorrection.
Definition: va_vpp.h:1294
float value
Color correction value.
Definition: va_vpp.h:1298
Default filter parametrization.
Definition: va_vpp.h:1156
VAProcFilterType type
Filter type.
Definition: va_vpp.h:1158
float value
Value.
Definition: va_vpp.h:1160
Specification of values supported by the filter.
Definition: va_vpp.h:669
float min_value
Minimum value supported, inclusive.
Definition: va_vpp.h:671
float default_value
Default value.
Definition: va_vpp.h:675
float step
Step value that alters the filter behaviour in a sensible way.
Definition: va_vpp.h:677
float max_value
Maximum value supported, inclusive.
Definition: va_vpp.h:673
Video processing pipeline capabilities.
Definition: va_vpp.h:576
uint32_t blend_flags
Blend flags. See "Video blending flags".
Definition: va_vpp.h:621
uint32_t num_output_color_standards
Number of elements in output_color_standards array.
Definition: va_vpp.h:592
uint32_t num_input_color_standards
Number of elements in input_color_standards array.
Definition: va_vpp.h:588
uint32_t min_input_height
Min supported input height in pixels.
Definition: va_vpp.h:650
uint32_t max_input_height
Max supported input height in pixels.
Definition: va_vpp.h:646
VAProcColorStandardType * input_color_standards
List of color standards supported on input.
Definition: va_vpp.h:586
uint32_t max_output_width
Max supported output width in pixels.
Definition: va_vpp.h:653
uint32_t mirror_flags
Mirroring flags.
Definition: va_vpp.h:630
uint32_t num_additional_outputs
Number of additional output surfaces supported by the pipeline
Definition: va_vpp.h:632
uint32_t num_backward_references
Number of backward reference frames that are needed.
Definition: va_vpp.h:584
uint32_t rotation_flags
Rotation flags.
Definition: va_vpp.h:619
uint32_t * input_pixel_format
List of input pixel formats in fourcc.
Definition: va_vpp.h:637
uint32_t filter_flags
Extra filter flags. See VAProcPipelineParameterBuffer::filter_flags.
Definition: va_vpp.h:580
VAProcColorStandardType * output_color_standards
List of color standards supported on output.
Definition: va_vpp.h:590
uint32_t min_input_width
Min supported input width in pixels.
Definition: va_vpp.h:648
uint32_t max_input_width
Max supported input width in pixels.
Definition: va_vpp.h:644
uint32_t * output_pixel_format
List of output pixel formats in fourcc.
Definition: va_vpp.h:641
uint32_t min_output_height
Min supported output height in pixels.
Definition: va_vpp.h:659
uint32_t max_output_height
Max supported output height in pixels.
Definition: va_vpp.h:655
uint32_t num_forward_references
Number of forward reference frames that are needed.
Definition: va_vpp.h:582
uint32_t num_input_pixel_formats
Number of elements in input_pixel_format array.
Definition: va_vpp.h:635
uint32_t num_output_pixel_formats
Number of elements in output_pixel_format array.
Definition: va_vpp.h:639
uint32_t pipeline_flags
Pipeline flags. See VAProcPipelineParameterBuffer::pipeline_flags.
Definition: va_vpp.h:578
uint32_t min_output_width
Min supported output width in pixels.
Definition: va_vpp.h:657
Video processing pipeline configuration.
Definition: va_vpp.h:886
VASurfaceID * forward_references
Array of forward reference frames (past frames).
Definition: va_vpp.h:993
VAProcColorProperties input_color_properties
Input Color Properties. See "VAProcColorProperties".
Definition: va_vpp.h:1114
VAProcColorStandardType surface_color_standard
Requested input color standard.
Definition: va_vpp.h:914
const VARectangle * surface_region
Region within the source surface to be processed.
Definition: va_vpp.h:902
uint32_t num_filters
Actual number of filters.
Definition: va_vpp.h:991
VASurfaceID * backward_references
Array of backward reference frames (future frames).
Definition: va_vpp.h:997
uint32_t num_additional_outputs
Number of additional output surfaces.
Definition: va_vpp.h:1055
uint32_t num_forward_references
Number of forward reference frames that were supplied.
Definition: va_vpp.h:995
uint32_t mirror_state
mirroring state. See "Mirroring directions".
Definition: va_vpp.h:1051
uint32_t pipeline_flags
Pipeline filters. See video pipeline flags.
Definition: va_vpp.h:956
const VARectangle * output_region
Region within the output surface.
Definition: va_vpp.h:925
uint32_t output_background_color
Background color.
Definition: va_vpp.h:941
VAProcColorProperties output_color_properties
Output Color Properties. See "VAProcColorProperties".
Definition: va_vpp.h:1118
VASurfaceID surface
Source surface ID.
Definition: va_vpp.h:894
uint32_t rotation_state
Rotation state. See rotation angles.
Definition: va_vpp.h:1024
uint32_t filter_flags
Extra filter flags. See vaPutSurface() flags.
Definition: va_vpp.h:976
VAProcColorStandardType output_color_standard
Requested output color standard.
Definition: va_vpp.h:948
VABufferID * filters
Array of filters to apply to the surface.
Definition: va_vpp.h:989
VAHdrMetaData * output_hdr_metadata
Output High Dynamic Metadata.
Definition: va_vpp.h:1128
VAProcMode processing_mode
Processing mode. See "VAProcMode".
Definition: va_vpp.h:1122
uint32_t num_backward_references
Number of backward reference frames that were supplied.
Definition: va_vpp.h:999
const VABlendState * blend_state
blending state. See "Video blending state definition".
Definition: va_vpp.h:1043
VASurfaceID * additional_outputs
Array of additional output surfaces.
Definition: va_vpp.h:1053
uint32_t input_surface_flag
Flag to indicate the input surface flag.
Definition: va_vpp.h:1093
uint32_t output_surface_flag
Flag to indicate the output surface flag.
Definition: va_vpp.h:1110
Structure to describe rectangle.
Definition: va.h:406