VA-API  2.13.0.pre1
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
766 {
775  uint16_t display_primaries_x[3];
784  uint16_t display_primaries_y[3];
790  uint16_t white_point_x;
796  uint16_t white_point_y;
822  uint16_t reserved[VA_PADDING_HIGH];
824 
826 typedef struct _VAProcFilterCapHighDynamicRange {
828  VAProcHighDynamicRangeMetadataType metadata_type;
836  uint16_t caps_flag;
838  uint16_t va_reserved[VA_PADDING_HIGH];
840 
842 typedef struct _VAHdrMetaData
843 {
845  VAProcHighDynamicRangeMetadataType metadata_type;
851  void* metadata;
855  uint32_t metadata_size;
857  uint32_t reserved[VA_PADDING_LOW];
858 } VAHdrMetaData;
859 
888 typedef struct _VAProcPipelineParameterBuffer {
896  VASurfaceID surface;
904  const VARectangle *surface_region;
916  VAProcColorStandardType surface_color_standard;
927  const VARectangle *output_region;
950  VAProcColorStandardType output_color_standard;
958  uint32_t pipeline_flags;
978  uint32_t filter_flags;
993  uint32_t num_filters;
995  VASurfaceID *forward_references;
999  VASurfaceID *backward_references;
1026  uint32_t rotation_state;
1053  uint32_t mirror_state;
1055  VASurfaceID *additional_outputs;
1116  VAProcColorProperties input_color_properties;
1120  VAProcColorProperties output_color_properties;
1124  VAProcMode processing_mode;
1131 
1133  #if defined(__AMD64__) || defined(__x86_64__) || defined(__amd64__)|| defined(__LP64__)
1134  uint32_t va_reserved[VA_PADDING_LARGE - 16];
1135  #else
1136  uint32_t va_reserved[VA_PADDING_LARGE - 13];
1137  #endif
1139 
1147 typedef struct _VAProcFilterParameterBufferBase {
1149  VAProcFilterType type;
1151 
1158 typedef struct _VAProcFilterParameterBuffer {
1160  VAProcFilterType type;
1162  float value;
1163 
1165  uint32_t va_reserved[VA_PADDING_LOW];
1167 
1174 #define VA_DEINTERLACING_BOTTOM_FIELD_FIRST 0x0001
1175 
1179 #define VA_DEINTERLACING_BOTTOM_FIELD 0x0002
1180 
1184 #define VA_DEINTERLACING_ONE_FIELD 0x0004
1185 
1190 #define VA_DEINTERLACING_FMD_ENABLE 0x0008
1191 
1192 //Scene change parameter for ADI on Linux, if enabled, driver use spatial DI(Bob), instead of ADI. if not, use old behavior for ADI
1193 //Input stream is TFF(set flags = 0), SRC0,1,2,3 are interlaced frame (top +bottom fields), DSTs are progressive frames
1194 //30i->30p
1195 //SRC0 -> BOBDI, no reference, set flag = 0, output DST0
1196 //SRC1 -> ADI, reference frame=SRC0, set flags = 0, call VP, output DST1
1197 //SRC2 -> ADI, reference frame=SRC1, set flags = 0x0010(decimal 16), call VP, output DST2(T4)
1198 //SRC3 -> ADI, reference frame=SRC2, set flags = 0, call VP, output DST3
1199 //30i->60p
1200 //SRC0 -> BOBDI, no reference, set flag = 0, output DST0
1201 //SRC0 -> BOBDI, no reference, set flag =0x0002, output DST1
1202 
1203 //SRC1 -> ADI, reference frame =SRC0, set flags = 0, call VP, output DST2
1204 //SRC1 -> ADI, reference frame =SRC0, set flags = 0x0012(decimal18), call VP, output DST3(B3)
1205 
1206 //SRC2 -> ADI, reference frame =SRC1, set flags = 0x0010(decimal 16), call VP, output DST4(T4)
1207 //SRC2 -> ADI, reference frame =SRC1, set flags = 0x0002, call VP, output DST5
1208 
1209 //SRC3 -> ADI, reference frame =SRC2, set flags = 0, call VP, output DST6
1210 //SRC3 -> ADI, reference frame =SRC1, set flags = 0x0002, call VP, output DST7
1211 
1212 #define VA_DEINTERLACING_SCD_ENABLE 0x0010
1213 
1217 typedef struct _VAProcFilterParameterBufferDeinterlacing {
1219  VAProcFilterType type;
1221  VAProcDeinterlacingType algorithm;
1223  uint32_t flags;
1224 
1226  uint32_t va_reserved[VA_PADDING_LOW];
1228 
1269 typedef struct _VAProcFilterParameterBufferColorBalance {
1271  VAProcFilterType type;
1273  VAProcColorBalanceType attrib;
1287  float value;
1288 
1290  uint32_t va_reserved[VA_PADDING_LOW];
1292 
1294 typedef struct _VAProcFilterParameterBufferTotalColorCorrection {
1296  VAProcFilterType type;
1298  VAProcTotalColorCorrectionType attrib;
1300  float value;
1302 
1309 #define VA_PROC_HVS_DENOISE_DEFAULT 0x0000
1310 
1314 #define VA_PROC_HVS_DENOISE_AUTO_BDRATE 0x0001
1315 
1319 #define VA_PROC_HVS_DENOISE_AUTO_SUBJECTIVE 0x0002
1320 
1324 #define VA_PROC_HVS_DENOISE_MANUAL 0x0003
1325 
1328 typedef struct _VAProcFilterParameterBufferHVSNoiseReduction {
1330  VAProcFilterType type;
1332  uint16_t qp;
1341  uint16_t strength;
1347  uint16_t mode;
1349  uint16_t va_reserved[VA_PADDING_HIGH - 1];
1351 
1353 typedef struct _VAProcFilterParameterBufferHDRToneMapping {
1355  VAProcFilterType type;
1365  uint32_t va_reserved[VA_PADDING_HIGH];
1367 
1371 #define VA_3DLUT_CHANNEL_UNKNOWN 0x00000000
1372 
1373 #define VA_3DLUT_CHANNEL_RGB_RGB 0x00000001
1374 
1375 #define VA_3DLUT_CHANNEL_YUV_RGB 0x00000002
1376 
1377 #define VA_3DLUT_CHANNEL_VUY_RGB 0x00000004
1378 
1405 typedef struct _VAProcFilterParameterBuffer3DLUT {
1407  VAProcFilterType type;
1408 
1410  VASurfaceID lut_surface;
1416  uint16_t lut_size;
1422  uint16_t lut_stride[3];
1424  uint16_t bit_depth;
1426  uint16_t num_channel;
1427 
1430 
1432  uint32_t va_reserved[VA_PADDING_HIGH];
1434 
1436 typedef struct _VAProcFilterCap3DLUT {
1438  uint16_t lut_size;
1440  uint16_t lut_stride[3];
1442  uint16_t bit_depth;
1444  uint16_t num_channel;
1447 
1449  uint32_t va_reserved[VA_PADDING_HIGH];
1451 
1458 typedef struct _VAProcFilterCap {
1461 
1463  uint32_t va_reserved[VA_PADDING_LOW];
1464 } VAProcFilterCap;
1465 
1467 typedef struct _VAProcFilterCapDeinterlacing {
1469  VAProcDeinterlacingType type;
1470 
1472  uint32_t va_reserved[VA_PADDING_LOW];
1474 
1476 typedef struct _VAProcFilterCapColorBalance {
1478  VAProcColorBalanceType type;
1481 
1483  uint32_t va_reserved[VA_PADDING_LOW];
1485 
1487 typedef struct _VAProcFilterCapTotalColorCorrection {
1489  VAProcTotalColorCorrectionType type;
1493 
1519 VAStatus
1521  VADisplay dpy,
1522  VAContextID context,
1523  VAProcFilterType *filters,
1524  unsigned int *num_filters
1525 );
1526 
1546 VAStatus
1548  VADisplay dpy,
1549  VAContextID context,
1550  VAProcFilterType type,
1551  void *filter_caps,
1552  unsigned int *num_filter_caps
1553 );
1554 
1577 VAStatus
1579  VADisplay dpy,
1580  VAContextID context,
1581  VABufferID *filters,
1582  unsigned int num_filters,
1583  VAProcPipelineCaps *pipeline_caps
1584 );
1585 
1588 #ifdef __cplusplus
1589 }
1590 #endif
1591 
1592 #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:1158
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:855
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:1491
VASurfaceID lut_surface
lut_surface contains 3DLUT data in the 3DLUT memory layout, must be linear
Definition: va_vpp.h:1410
uint32_t pipeline_flags
Pipeline filters. See video pipeline flags.
Definition: va_vpp.h:958
Capabilities specification for the Total Color Correction filter.
Definition: va_vpp.h:1487
uint16_t num_channel
num_channel is the number of channels
Definition: va_vpp.h:1426
uint16_t qp
QP for encoding, used for HVS Denoise.
Definition: va_vpp.h:1332
High Dynamic Range(HDR) Tone Mapping filter parametrization.
Definition: va_vpp.h:1353
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:916
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:845
VAGenericID VAContextID
Definition: va.h:1550
Weave deinterlacing algorithm.
Definition: va_vpp.h:268
Capabilities specification for the color balance filter.
Definition: va_vpp.h:1476
Deinterlacing filter parametrization.
Definition: va_vpp.h:1217
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:1147
Capabilities specification for the deinterlacing filter.
Definition: va_vpp.h:1467
VAProcFilterValueRange range
Range of supported values for the filter.
Definition: va_vpp.h:1460
uint16_t white_point_y
Y chromaticity coordinate of the white point of the mastering display.
Definition: va_vpp.h:796
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:1330
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:1045
3DLUT filter parametrization.
Definition: va_vpp.h:1405
VAProcDeinterlacingType algorithm
Deinterlacing algorithm.
Definition: va_vpp.h:1221
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:1458
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:1444
High Dynamic Range Tone Mapping.
Definition: va_vpp.h:255
VAProcFilterType type
Filter type. Shall be set to VAProcFilterTotalColorCorrection.
Definition: va_vpp.h:1296
VAProcTotalColorCorrectionType attrib
Color to correct.
Definition: va_vpp.h:1298
VAProcDeinterlacingType type
Deinterlacing algorithm.
Definition: va_vpp.h:1469
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
float value
Value.
Definition: va_vpp.h:1162
Capabilities specification for the 3DLUT filter.
Definition: va_vpp.h:1436
VAProcFilterType type
Filter type.
Definition: va_vpp.h:1149
float value
Color correction value.
Definition: va_vpp.h:1300
VAProcFilterType type
Filter type.
Definition: va_vpp.h:1160
Capabilities specification for the High Dynamic Range filter.
Definition: va_vpp.h:826
uint32_t rotation_state
Rotation state. See rotation angles.
Definition: va_vpp.h:1026
float max_value
Maximum value supported, inclusive.
Definition: va_vpp.h:673
uint32_t num_filters
Actual number of filters.
Definition: va_vpp.h:993
VAHdrMetaData * output_hdr_metadata
Output High Dynamic Metadata.
Definition: va_vpp.h:1130
uint32_t filter_flags
Extra filter flags. See vaPutSurface() flags.
Definition: va_vpp.h:978
VAProcFilterType type
Filter type. Shall be set to VAProcFilter3DLUT.
Definition: va_vpp.h:1407
VASurfaceID * additional_outputs
Array of additional output surfaces.
Definition: va_vpp.h:1055
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:1442
VAProcMode processing_mode
Processing mode. See "VAProcMode".
Definition: va_vpp.h:1124
Explicitly specified color properties.
Definition: va_vpp.h:413
High Dynamic Range Meta Data.
Definition: va_vpp.h:842
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:1424
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:1416
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:1429
VAProcColorBalanceType attrib
Color balance attribute.
Definition: va_vpp.h:1273
unsigned int flags
Video blending flags.
Definition: va_vpp.h:479
Video processing pipeline configuration.
Definition: va_vpp.h:888
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:820
VAGenericID VABufferID
Definition: va.h:1926
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:836
Skin Tone Enhancement.
Definition: va_vpp.h:249
VAProcColorBalanceType type
Color balance operation.
Definition: va_vpp.h:1478
uint32_t input_surface_flag
Flag to indicate the input surface flag.
Definition: va_vpp.h:1095
const VARectangle * surface_region
Region within the source surface to be processed.
Definition: va_vpp.h:904
void * metadata
Pointer to high dynamic range metadata.
Definition: va_vpp.h:851
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:1341
uint32_t output_background_color
Background color.
Definition: va_vpp.h:943
VABufferID * filters
Array of filters to apply to the surface.
Definition: va_vpp.h:991
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:927
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:790
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:808
uint32_t max_display_mastering_luminance
The maximum display luminance of the mastering display.
Definition: va_vpp.h:802
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:1363
VAProcTotalColorCorrectionType type
Color to correct.
Definition: va_vpp.h:1489
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:1271
VAProcColorProperties input_color_properties
Input Color Properties. See "VAProcColorProperties".
Definition: va_vpp.h:1116
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:828
Hue.
Definition: va_vpp.h:281
VAProcFilterType type
Filter type. Shall be set to VAProcFilterHighDynamicRangeToneMapping.
Definition: va_vpp.h:1355
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:1001
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:1287
VASurfaceID * forward_references
Array of forward reference frames (past frames).
Definition: va_vpp.h:995
VASurfaceID surface
Source surface ID.
Definition: va_vpp.h:896
Total Color Correction.
Definition: va_vpp.h:251
uint16_t max_content_light_level
The maximum content light level (MaxCLL).
Definition: va_vpp.h:814
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:1347
float max_luma
Maximum luma value.
Definition: va_vpp.h:502
#define VA_PADDING_LOW
Definition: va.h:358
Number of color balance attributes.
Definition: va_vpp.h:295
Color balance filter parametrization.
Definition: va_vpp.h:1269
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:258
uint32_t mirror_state
Definition: va_vpp.h:1053
Blue Saturation.
Definition: va_vpp.h:426
Human Vision System(HVS) Noise reduction filter parametrization.
Definition: va_vpp.h:1328
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:1120
VAProcFilterValueRange range
Range of supported values for the specified operation.
Definition: va_vpp.h:1480
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:1112
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:1438
VASurfaceID * backward_references
Array of backward reference frames (future frames).
Definition: va_vpp.h:999
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:1294
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:1446
uint32_t num_additional_outputs
Number of additional output surfaces.
Definition: va_vpp.h:1057
VAProcFilterType type
Filter type. Shall be set to VAProcFilterDeinterlacing.
Definition: va_vpp.h:1219
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:997
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:950
Sharpening filter.
Definition: va_vpp.h:245
uint32_t flags
Deinterlacing flags.
Definition: va_vpp.h:1223
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