VA-API  2.19.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 {
464 } VAProcMode;
465 
469 #define VA_BLEND_GLOBAL_ALPHA 0x0001
470 
471 #define VA_BLEND_PREMULTIPLIED_ALPHA 0x0002
472 
473 #define VA_BLEND_LUMA_KEY 0x0010
474 
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
509 
519 #define VA_PROC_PIPELINE_FAST 0x00000002
520 
525 #define VA_PROC_FILTER_MANDATORY 0x00000001
526 
531 #define VA_PIPELINE_FLAG_END 0x00000004
532 
538 #define VA_CHROMA_SITING_UNKNOWN 0x00
539 
540 #define VA_CHROMA_SITING_VERTICAL_TOP 0x01
541 
542 #define VA_CHROMA_SITING_VERTICAL_CENTER 0x02
543 
544 #define VA_CHROMA_SITING_VERTICAL_BOTTOM 0x03
545 
546 #define VA_CHROMA_SITING_HORIZONTAL_LEFT 0x04
547 
548 #define VA_CHROMA_SITING_HORIZONTAL_CENTER 0x08
549 
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
567 
568 #define VA_TONE_MAPPING_HDR_TO_SDR 0x0002
569 
570 #define VA_TONE_MAPPING_HDR_TO_EDR 0x0004
571 
572 #define VA_TONE_MAPPING_SDR_TO_HDR 0x0008
573 
576 typedef struct _VAProcPipelineCaps {
578  uint32_t pipeline_flags;
580  uint32_t filter_flags;
586  VAProcColorStandardType *input_color_standards;
590  VAProcColorStandardType *output_color_standards;
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 {
827  VAProcHighDynamicRangeMetadataType metadata_type;
835  uint16_t caps_flag;
837  uint16_t va_reserved[VA_PADDING_HIGH];
839 
841 typedef struct _VAHdrMetaData {
843  VAProcHighDynamicRangeMetadataType metadata_type;
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;
914  VAProcColorStandardType surface_color_standard;
948  VAProcColorStandardType output_color_standard;
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;
1122  VAProcMode processing_mode;
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 {
1147  VAProcFilterType type;
1149 
1156 typedef struct _VAProcFilterParameterBuffer {
1158  VAProcFilterType type;
1160  float value;
1161 
1163  uint32_t va_reserved[VA_PADDING_LOW];
1165 
1172 #define VA_DEINTERLACING_BOTTOM_FIELD_FIRST 0x0001
1173 
1177 #define VA_DEINTERLACING_BOTTOM_FIELD 0x0002
1178 
1182 #define VA_DEINTERLACING_ONE_FIELD 0x0004
1183 
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 {
1217  VAProcFilterType type;
1219  VAProcDeinterlacingType algorithm;
1221  uint32_t flags;
1222 
1224  uint32_t va_reserved[VA_PADDING_LOW];
1226 
1267 typedef struct _VAProcFilterParameterBufferColorBalance {
1269  VAProcFilterType type;
1271  VAProcColorBalanceType attrib;
1285  float value;
1286 
1288  uint32_t va_reserved[VA_PADDING_LOW];
1290 
1292 typedef struct _VAProcFilterParameterBufferTotalColorCorrection {
1294  VAProcFilterType type;
1296  VAProcTotalColorCorrectionType attrib;
1298  float value;
1300 
1307 #define VA_PROC_HVS_DENOISE_DEFAULT 0x0000
1308 
1312 #define VA_PROC_HVS_DENOISE_AUTO_BDRATE 0x0001
1313 
1317 #define VA_PROC_HVS_DENOISE_AUTO_SUBJECTIVE 0x0002
1318 
1322 #define VA_PROC_HVS_DENOISE_MANUAL 0x0003
1323 
1326 typedef struct _VAProcFilterParameterBufferHVSNoiseReduction {
1328  VAProcFilterType type;
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 {
1353  VAProcFilterType type;
1363  uint32_t va_reserved[VA_PADDING_HIGH];
1365 
1369 #define VA_3DLUT_CHANNEL_UNKNOWN 0x00000000
1370 
1371 #define VA_3DLUT_CHANNEL_RGB_RGB 0x00000001
1372 
1373 #define VA_3DLUT_CHANNEL_YUV_RGB 0x00000002
1374 
1375 #define VA_3DLUT_CHANNEL_VUY_RGB 0x00000004
1376 
1403 typedef struct _VAProcFilterParameterBuffer3DLUT {
1405  VAProcFilterType type;
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 {
1467  VAProcDeinterlacingType type;
1468 
1470  uint32_t va_reserved[VA_PADDING_LOW];
1472 
1474 typedef struct _VAProcFilterCapColorBalance {
1476  VAProcColorBalanceType type;
1479 
1481  uint32_t va_reserved[VA_PADDING_LOW];
1483 
1485 typedef struct _VAProcFilterCapTotalColorCorrection {
1487  VAProcTotalColorCorrectionType type;
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 */
uint32_t num_backward_references
Number of backward reference frames that are needed.
Definition: va_vpp.h:584
uint32_t blend_flags
Blend flags. See "Video blending flags".
Definition: va_vpp.h:621
Brightness.
Definition: va_vpp.h:285
VAProcColorStandardType * input_color_standards
List of color standards supported on input.
Definition: va_vpp.h:586
Default filter parametrization.
Definition: va_vpp.h:1156
Color balance parameters.
Definition: va_vpp.h:247
ITU-R BT.601.
Definition: va_vpp.h:319
uint32_t metadata_size
Size of high dynamic range metadata.
Definition: va_vpp.h:853
Contrast.
Definition: va_vpp.h:287
Yellow Saturation.
Definition: va_vpp.h:432
VAProcFilterValueRange range
Range of supported values for the specified color.
Definition: va_vpp.h:1489
VASurfaceID lut_surface
lut_surface contains 3DLUT data in the 3DLUT memory layout, must be linear
Definition: va_vpp.h:1408
uint32_t pipeline_flags
Pipeline filters. See video pipeline flags.
Definition: va_vpp.h:956
Capabilities specification for the Total Color Correction filter.
Definition: va_vpp.h:1485
uint16_t num_channel
num_channel is the number of channels
Definition: va_vpp.h:1424
uint16_t qp
QP for encoding, used for HVS Denoise.
Definition: va_vpp.h:1330
High Dynamic Range(HDR) Tone Mapping filter parametrization.
Definition: va_vpp.h:1351
ITU-R BT.709.
Definition: va_vpp.h:327
Motion adaptive deinterlacing algorithm.
Definition: va_vpp.h:270
float min_luma
Minimum luma value.
Definition: va_vpp.h:494
VAProcColorStandardType surface_color_standard
Requested input color standard.
Definition: va_vpp.h:914
uint32_t min_input_height
Min supported input height in pixels.
Definition: va_vpp.h:650
uint32_t max_input_width
Max supported input width in pixels.
Definition: va_vpp.h:644
VAProcHighDynamicRangeMetadataType metadata_type
high dynamic range metadata type, HDR10 etc.
Definition: va_vpp.h:843
VAGenericID VAContextID
Definition: va.h:1601
Weave deinterlacing algorithm.
Definition: va_vpp.h:268
Capabilities specification for the color balance filter.
Definition: va_vpp.h:1474
Deinterlacing filter parametrization.
Definition: va_vpp.h:1215
Generic film.
Definition: va_vpp.h:367
uint32_t min_output_height
Min supported output height in pixels.
Definition: va_vpp.h:659
Filter parameter buffer base.
Definition: va_vpp.h:1145
Capabilities specification for the deinterlacing filter.
Definition: va_vpp.h:1465
VAProcFilterValueRange range
Range of supported values for the filter.
Definition: va_vpp.h:1458
uint16_t white_point_y
Y chromaticity coordinate of the white point of the mastering display.
Definition: va_vpp.h:795
Performance Mode. In this mode, pipeline is optimized for performance.
Definition: va_vpp.h:463
SMPTE-240M.
Definition: va_vpp.h:359
Automatically adjusted brightness.
Definition: va_vpp.h:291
VAProcFilterType type
Filter type. Shall be set to VAProcFilterHVSNoiseReduction.
Definition: va_vpp.h:1328
Automatically adjusted contrast.
Definition: va_vpp.h:293
uint32_t num_input_pixel_formats
Number of elements in input_pixel_format array.
Definition: va_vpp.h:635
const VABlendState * blend_state
blending state. See "Video blending state definition".
Definition: va_vpp.h:1043
3DLUT filter parametrization.
Definition: va_vpp.h:1403
VAProcDeinterlacingType algorithm
Deinterlacing algorithm.
Definition: va_vpp.h:1219
Default Mode. In this mode, pipeline is decided in driver to the appropriate mode. e.g. a mode that's a balance between power and performance.
Definition: va_vpp.h:453
Default filter cap specification (single range value).
Definition: va_vpp.h:1456
Automatically adjusted saturation.
Definition: va_vpp.h:289
uint32_t max_output_width
Max supported output width in pixels.
Definition: va_vpp.h:653
uint32_t min_output_width
Min supported output width in pixels.
Definition: va_vpp.h:657
uint16_t num_channel
num_channel is the number of channels
Definition: va_vpp.h:1442
High Dynamic Range Tone Mapping.
Definition: va_vpp.h:255
VAProcFilterType type
Filter type. Shall be set to VAProcFilterTotalColorCorrection.
Definition: va_vpp.h:1294
VAProcTotalColorCorrectionType attrib
Color to correct.
Definition: va_vpp.h:1296
VAProcDeinterlacingType type
Deinterlacing algorithm.
Definition: va_vpp.h:1467
Bob deinterlacing algorithm.
Definition: va_vpp.h:266
uint32_t num_input_color_standards
Number of elements in input_color_standards array.
Definition: va_vpp.h:588
uint32_t num_output_pixel_formats
Number of elements in output_pixel_format array.
Definition: va_vpp.h:639
Structure to describe rectangle.
Definition: va.h:405
float value
Value.
Definition: va_vpp.h:1160
Capabilities specification for the 3DLUT filter.
Definition: va_vpp.h:1434
VAProcFilterType type
Filter type.
Definition: va_vpp.h:1147
float value
Color correction value.
Definition: va_vpp.h:1298
VAProcFilterType type
Filter type.
Definition: va_vpp.h:1158
Capabilities specification for the High Dynamic Range filter.
Definition: va_vpp.h:825
uint32_t rotation_state
Rotation state. See rotation angles.
Definition: va_vpp.h:1024
float max_value
Maximum value supported, inclusive.
Definition: va_vpp.h:673
uint32_t num_filters
Actual number of filters.
Definition: va_vpp.h:991
VAHdrMetaData * output_hdr_metadata
Output High Dynamic Metadata.
Definition: va_vpp.h:1128
uint32_t filter_flags
Extra filter flags. See vaPutSurface() flags.
Definition: va_vpp.h:976
VAProcFilterType type
Filter type. Shall be set to VAProcFilter3DLUT.
Definition: va_vpp.h:1405
VASurfaceID * additional_outputs
Array of additional output surfaces.
Definition: va_vpp.h:1053
Video blending state definition.
Definition: va_vpp.h:477
sRGB.
Definition: va_vpp.h:375
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
VAProcMode processing_mode
Processing mode. See "VAProcMode".
Definition: va_vpp.h:1122
Explicitly specified color properties.
Definition: va_vpp.h:413
High Dynamic Range Meta Data.
Definition: va_vpp.h:841
xvYCC601.
Definition: va_vpp.h:388
Human Vision System(HVS) Noise reduction filter.
Definition: va_vpp.h:253
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
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
SMPTE-170M.
Definition: va_vpp.h:351
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
VAProcColorBalanceType attrib
Color balance attribute.
Definition: va_vpp.h:1271
unsigned int flags
Video blending flags.
Definition: va_vpp.h:479
Video processing pipeline configuration.
Definition: va_vpp.h:886
VAStatus vaQueryVideoProcFilters(VADisplay dpy, VAContextID context, VAProcFilterType *filters, unsigned int *num_filters)
Queries video processing filters.
uint16_t max_pic_average_light_level
The maximum picture average light level (MaxFALL).
Definition: va_vpp.h:819
VAGenericID VABufferID
Definition: va.h:1977
Describes High Dynamic Range Meta Data for HDR10.
Definition: va_vpp.h:765
Number of video filters.
Definition: va_vpp.h:259
uint16_t caps_flag
flag for high dynamic range tone mapping
Definition: va_vpp.h:835
Skin Tone Enhancement.
Definition: va_vpp.h:249
VAProcColorBalanceType type
Color balance operation.
Definition: va_vpp.h:1476
uint32_t input_surface_flag
Flag to indicate the input surface flag.
Definition: va_vpp.h:1093
const VARectangle * surface_region
Region within the source surface to be processed.
Definition: va_vpp.h:902
void * metadata
Pointer to high dynamic range metadata.
Definition: va_vpp.h:849
Magenta Saturation.
Definition: va_vpp.h:430
Motion compensated deinterlacing algorithm.
Definition: va_vpp.h:272
uint16_t strength
QP to Noise Reduction Strength Mode, used for Human Vision System Based Noise Reduction. Controls Noise Reduction strength of conservative and aggressive mode. It is an integer from [0-16]. Value 0 means completely turn off Noise Reduction; Value 16 means the most aggressive mode of Noise Reduction; Value 10 is the default value.
Definition: va_vpp.h:1339
uint32_t output_background_color
Background color.
Definition: va_vpp.h:941
VABufferID * filters
Array of filters to apply to the surface.
Definition: va_vpp.h:989
float default_value
Default value.
Definition: va_vpp.h:675
Metadata type for HDR10.
Definition: va_vpp.h:441
const VARectangle * output_region
Region within the output surface.
Definition: va_vpp.h:925
float min_value
Minimum value supported, inclusive.
Definition: va_vpp.h:671
uint16_t white_point_x
X chromaticity coordinate of the white point of the mastering display.
Definition: va_vpp.h:789
Number of color correction attributes.
Definition: va_vpp.h:434
uint32_t min_display_mastering_luminance
The minumum display luminance of the mastering display.
Definition: va_vpp.h:807
uint32_t max_display_mastering_luminance
The maximum display luminance of the mastering display.
Definition: va_vpp.h:801
uint32_t min_input_width
Min supported input width in pixels.
Definition: va_vpp.h:648
xvYCC709.
Definition: va_vpp.h:396
Power Saving Mode. In this mode, pipeline is optimized for power saving.
Definition: va_vpp.h:458
Specification of values supported by the filter.
Definition: va_vpp.h:669
ITU-R BT.2020.
Definition: va_vpp.h:404
stRGB.
Definition: va_vpp.h:380
Red Saturation.
Definition: va_vpp.h:422
VAHdrMetaData data
High Dynamic Range metadata, could be HDR10 etc.
Definition: va_vpp.h:1361
VAProcTotalColorCorrectionType type
Color to correct.
Definition: va_vpp.h:1487
Saturation.
Definition: va_vpp.h:283
Number of deinterlacing algorithms.
Definition: va_vpp.h:274
Deinterlacing filter.
Definition: va_vpp.h:243
uint32_t num_forward_references
Number of forward reference frames that are needed.
Definition: va_vpp.h:582
VAStatus vaQueryVideoProcPipelineCaps(VADisplay dpy, VAContextID context, VABufferID *filters, unsigned int num_filters, VAProcPipelineCaps *pipeline_caps)
Queries video processing pipeline capabilities.
VAProcFilterType type
Filter type. Shall be set to VAProcFilterColorBalance.
Definition: va_vpp.h:1269
VAProcColorProperties input_color_properties
Input Color Properties. See "VAProcColorProperties".
Definition: va_vpp.h:1114
VAStatus vaQueryVideoProcFilterCaps(VADisplay dpy, VAContextID context, VAProcFilterType type, void *filter_caps, unsigned int *num_filter_caps)
Queries video filter capabilities.
float global_alpha
Global alpha value.
Definition: va_vpp.h:486
VAProcMode
Video Processing Mode.
Definition: va_vpp.h:447
VAProcHighDynamicRangeMetadataType metadata_type
high dynamic range type.
Definition: va_vpp.h:827
Hue.
Definition: va_vpp.h:281
VAProcFilterType type
Filter type. Shall be set to VAProcFilterHighDynamicRangeToneMapping.
Definition: va_vpp.h:1353
VAProcFilterType
Video filter types.
Definition: va_vpp.h:238
uint32_t num_backward_references
Number of backward reference frames that were supplied.
Definition: va_vpp.h:999
VAProcColorStandardType
Color standard types.
Definition: va_vpp.h:306
uint32_t pipeline_flags
Pipeline flags. See VAProcPipelineParameterBuffer::pipeline_flags.
Definition: va_vpp.h:578
float value
Color balance value.
Definition: va_vpp.h:1285
VASurfaceID * forward_references
Array of forward reference frames (past frames).
Definition: va_vpp.h:993
VASurfaceID surface
Source surface ID.
Definition: va_vpp.h:894
Total Color Correction.
Definition: va_vpp.h:251
uint16_t max_content_light_level
The maximum content light level (MaxCLL).
Definition: va_vpp.h:813
uint16_t mode
HVS Denoise Mode which controls denoise method. It is a value of VA_PROC_HVS_DENOISE_xxx. Please see the definition of VA_PROC_HVS_DENOISE_xxx.
Definition: va_vpp.h:1345
float max_luma
Maximum luma value.
Definition: va_vpp.h:502
#define VA_PADDING_LOW
Definition: va.h:359
Number of color balance attributes.
Definition: va_vpp.h:295
Color balance filter parametrization.
Definition: va_vpp.h:1267
uint32_t filter_flags
Extra filter flags. See VAProcPipelineParameterBuffer::filter_flags.
Definition: va_vpp.h:580
VAProcHighDynamicRangeMetadataType
High Dynamic Range Metadata types.
Definition: va_vpp.h:438
Green Saturation.
Definition: va_vpp.h:424
uint32_t num_output_color_standards
Number of elements in output_color_standards array.
Definition: va_vpp.h:592
void * VADisplay
Definition: va.h:259
uint32_t mirror_state
mirroring state. See "Mirroring directions".
Definition: va_vpp.h:1051
Blue Saturation.
Definition: va_vpp.h:426
Human Vision System(HVS) Noise reduction filter parametrization.
Definition: va_vpp.h:1326
VAProcTotalColorCorrectionType
Total color correction types.
Definition: va_vpp.h:419
VAProcColorBalanceType
Color balance types.
Definition: va_vpp.h:278
VAProcColorProperties output_color_properties
Output Color Properties. See "VAProcColorProperties".
Definition: va_vpp.h:1118
VAProcFilterValueRange range
Range of supported values for the specified operation.
Definition: va_vpp.h:1478
float step
Step value that alters the filter behaviour in a sensible way.
Definition: va_vpp.h:677
uint32_t output_surface_flag
Flag to indicate the output surface flag.
Definition: va_vpp.h:1110
ITU-R BT.470-2 System M.
Definition: va_vpp.h:335
Noise reduction filter.
Definition: va_vpp.h:241
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
VASurfaceID * backward_references
Array of backward reference frames (future frames).
Definition: va_vpp.h:997
uint32_t max_input_height
Max supported input height in pixels.
Definition: va_vpp.h:646
Number of color standards.
Definition: va_vpp.h:415
ITU-R BT.470-2 System B, G.
Definition: va_vpp.h:343
Number of Metadata type.
Definition: va_vpp.h:443
Total color correction filter parametrization.
Definition: va_vpp.h:1292
uint32_t rotation_flags
Rotation flags.
Definition: va_vpp.h:619
uint32_t max_output_height
Max supported output height in pixels.
Definition: va_vpp.h:655
Three-Dimensional Look Up Table (3DLUT).
Definition: va_vpp.h:257
uint32_t mirror_flags
Mirroring flags.
Definition: va_vpp.h:630
Video processing pipeline capabilities.
Definition: va_vpp.h:576
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
uint32_t num_additional_outputs
Number of additional output surfaces.
Definition: va_vpp.h:1055
VAProcFilterType type
Filter type. Shall be set to VAProcFilterDeinterlacing.
Definition: va_vpp.h:1217
uint32_t * input_pixel_format
List of input pixel formats in fourcc.
Definition: va_vpp.h:637
uint32_t * output_pixel_format
List of output pixel formats in fourcc.
Definition: va_vpp.h:641
uint32_t num_forward_references
Number of forward reference frames that were supplied.
Definition: va_vpp.h:995
uint32_t num_additional_outputs
Number of additional output surfaces supported by the pipeline.
Definition: va_vpp.h:632
VAProcColorStandardType output_color_standard
Requested output color standard.
Definition: va_vpp.h:948
Sharpening filter.
Definition: va_vpp.h:245
uint32_t flags
Deinterlacing flags.
Definition: va_vpp.h:1221
VAProcColorStandardType * output_color_standards
List of color standards supported on output.
Definition: va_vpp.h:590
VAProcDeinterlacingType
Deinterlacing types.
Definition: va_vpp.h:263
Cyan Saturation.
Definition: va_vpp.h:428