VA-API  2.22.0
Classes | Macros | Enumerations | Functions
va_vpp.h File Reference

The video processing API. More...

Go to the source code of this file.

Classes

struct  VABlendState
 Video blending state definition. More...
 
struct  VAProcPipelineCaps
 Video processing pipeline capabilities. More...
 
struct  VAProcFilterValueRange
 Specification of values supported by the filter. More...
 
struct  VAHdrMetaDataHDR10
 Describes High Dynamic Range Meta Data for HDR10. More...
 
struct  VAProcFilterCapHighDynamicRange
 Capabilities specification for the High Dynamic Range filter. More...
 
struct  VAHdrMetaData
 High Dynamic Range Meta Data. More...
 
struct  VAProcPipelineParameterBuffer
 Video processing pipeline configuration. More...
 
struct  VAProcFilterParameterBufferBase
 Filter parameter buffer base. More...
 
struct  VAProcFilterParameterBuffer
 Default filter parametrization. More...
 
struct  VAProcFilterParameterBufferDeinterlacing
 Deinterlacing filter parametrization. More...
 
struct  VAProcFilterParameterBufferColorBalance
 Color balance filter parametrization. More...
 
struct  VAProcFilterParameterBufferTotalColorCorrection
 Total color correction filter parametrization. More...
 
struct  VAProcFilterParameterBufferHVSNoiseReduction
 Human Vision System(HVS) Noise reduction filter parametrization. More...
 
struct  VAProcFilterParameterBufferHDRToneMapping
 High Dynamic Range(HDR) Tone Mapping filter parametrization. More...
 
struct  VAProcFilterParameterBuffer3DLUT
 3DLUT filter parametrization. More...
 
struct  VAProcFilterCap3DLUT
 Capabilities specification for the 3DLUT filter. More...
 
struct  VAProcFilterCap
 Default filter cap specification (single range value). More...
 
struct  VAProcFilterCapDeinterlacing
 Capabilities specification for the deinterlacing filter. More...
 
struct  VAProcFilterCapColorBalance
 Capabilities specification for the color balance filter. More...
 
struct  VAProcFilterCapTotalColorCorrection
 Capabilities specification for the Total Color Correction filter. More...
 

Macros

#define VA_SOURCE_RANGE_UNKNOWN   0
 
Video blending flags
#define VA_BLEND_GLOBAL_ALPHA   0x0001
 Global alpha blending.
 
#define VA_BLEND_PREMULTIPLIED_ALPHA   0x0002
 Premultiplied alpha blending (RGBA surfaces only).
 
#define VA_BLEND_LUMA_KEY   0x0010
 Luma color key (YUV surfaces only).
 
Video pipeline flags
#define VA_PROC_PIPELINE_SUBPICTURES   0x00000001
 Specifies whether to apply subpictures when processing a surface.
 
#define VA_PROC_PIPELINE_FAST   0x00000002
 Specifies whether to apply power or performance optimizations to a pipeline. More...
 
Video filter flags
#define VA_PROC_FILTER_MANDATORY   0x00000001
 Specifies whether the filter shall be present in the pipeline.
 
Pipeline end flags
#define VA_PIPELINE_FLAG_END   0x00000004
 Specifies the pipeline is the last.
 
Chroma Siting flag
#define VA_CHROMA_SITING_UNKNOWN   0x00
 
#define VA_CHROMA_SITING_VERTICAL_TOP   0x01
 Chroma samples are co-sited vertically on the top with the luma samples.
 
#define VA_CHROMA_SITING_VERTICAL_CENTER   0x02
 Chroma samples are not co-sited vertically with the luma samples.
 
#define VA_CHROMA_SITING_VERTICAL_BOTTOM   0x03
 Chroma samples are co-sited vertically on the bottom with the luma samples.
 
#define VA_CHROMA_SITING_HORIZONTAL_LEFT   0x04
 Chroma samples are co-sited horizontally on the left with the luma samples.
 
#define VA_CHROMA_SITING_HORIZONTAL_CENTER   0x08
 Chroma samples are not co-sited horizontally with the luma samples.
 
Tone Mapping flags multiple HDR mode
#define VA_TONE_MAPPING_HDR_TO_HDR   0x0001
 Tone Mapping from HDR content to HDR display.
 
#define VA_TONE_MAPPING_HDR_TO_SDR   0x0002
 Tone Mapping from HDR content to SDR display.
 
#define VA_TONE_MAPPING_HDR_TO_EDR   0x0004
 Tone Mapping from HDR content to EDR display.
 
#define VA_TONE_MAPPING_SDR_TO_HDR   0x0008
 Tone Mapping from SDR content to HDR display.
 
De-interlacing flags
#define VA_DEINTERLACING_BOTTOM_FIELD_FIRST   0x0001
 Bottom field first in the input frame. if this is not set then assumes top field first.
 
#define VA_DEINTERLACING_BOTTOM_FIELD   0x0002
 Bottom field used in deinterlacing. if this is not set then assumes top field is used.
 
#define VA_DEINTERLACING_ONE_FIELD   0x0004
 A single field is stored in the input frame. if this is not set then assumes the frame contains two interleaved fields.
 
#define VA_DEINTERLACING_FMD_ENABLE   0x0008
 Film Mode Detection is enabled. If enabled, driver performs inverse of various pulldowns, such as 3:2 pulldown. if this is not set then assumes FMD is disabled.
 
#define VA_DEINTERLACING_SCD_ENABLE   0x0010
 
Video Processing Human Vision System (HVS) Denoise Mode.
#define VA_PROC_HVS_DENOISE_DEFAULT   0x0000
 Default Mode. This mode is decided in driver to the appropriate mode.
 
#define VA_PROC_HVS_DENOISE_AUTO_BDRATE   0x0001
 Auto BDRate Mode. Indicates auto BD rate improvement in pre-processing (such as before video encoding), ignore Strength.
 
#define VA_PROC_HVS_DENOISE_AUTO_SUBJECTIVE   0x0002
 Auto Subjective Mode. Indicates auto subjective quality improvement in pre-processing (such as before video encoding), ignore Strength.
 
#define VA_PROC_HVS_DENOISE_MANUAL   0x0003
 Manual Mode. Indicates manual mode, allow to adjust the denoise strength manually (need to set Strength explicitly).
 
3DLUT Channel Layout and Mapping
#define VA_3DLUT_CHANNEL_UNKNOWN   0x00000000
 3DLUT Channel Layout is unknown.
 
#define VA_3DLUT_CHANNEL_RGB_RGB   0x00000001
 3DLUT Channel Layout is R, G, B, the default layout. Map RGB to RGB.
 
#define VA_3DLUT_CHANNEL_YUV_RGB   0x00000002
 3DLUT Channel Layout is Y, U, V. Map YUV to RGB.
 
#define VA_3DLUT_CHANNEL_VUY_RGB   0x00000004
 3DLUT Channel Layout is V, U, Y. Map VUY to RGB.
 

Enumerations

enum  VAProcFilterType {
}
 Video filter types. More...
 
enum  VAProcDeinterlacingType {
}
 Deinterlacing types. More...
 
enum  VAProcColorBalanceType {
}
 Color balance types. More...
 
enum  VAProcColorStandardType {
}
 Color standard types. More...
 
enum  VAProcTotalColorCorrectionType {
}
 Total color correction types. More...
 
enum  VAProcHighDynamicRangeMetadataType { }
 High Dynamic Range Metadata types. More...
 
enum  VAProcMode { VAProcDefaultMode = 0 , VAProcPowerSavingMode , VAProcPerformanceMode }
 Video Processing Mode. More...
 

Functions

VAStatus vaQueryVideoProcFilters (VADisplay dpy, VAContextID context, VAProcFilterType *filters, unsigned int *num_filters)
 Queries video processing filters. More...
 
VAStatus vaQueryVideoProcFilterCaps (VADisplay dpy, VAContextID context, VAProcFilterType type, void *filter_caps, unsigned int *num_filter_caps)
 Queries video filter capabilities. More...
 
VAStatus vaQueryVideoProcPipelineCaps (VADisplay dpy, VAContextID context, VABufferID *filters, unsigned int num_filters, VAProcPipelineCaps *pipeline_caps)
 Queries video processing pipeline capabilities. More...
 

Detailed Description

The video processing API.

This file contains the Video processing API.