fix remote-android/redroid-doc#185 libva 2.15
This commit is contained in:
Binary file not shown.
@@ -1021,6 +1021,13 @@ typedef enum {
|
|||||||
* VAConfigAttribValEncAV1Ext2 union.
|
* VAConfigAttribValEncAV1Ext2 union.
|
||||||
*/
|
*/
|
||||||
VAConfigAttribEncAV1Ext2 = 54,
|
VAConfigAttribEncAV1Ext2 = 54,
|
||||||
|
/** \brief Settings per block attribute for Encoding. Read-only.
|
||||||
|
*
|
||||||
|
* This attribute describes whether to support delta qp per block,
|
||||||
|
* the supported size of delta qp block and the size of delta QP in bytes.
|
||||||
|
* The value returned uses the VAConfigAttribValEncPerBlockControl type.
|
||||||
|
*/
|
||||||
|
VAConfigAttribEncPerBlockControl = 55,
|
||||||
/**@}*/
|
/**@}*/
|
||||||
VAConfigAttribTypeMax
|
VAConfigAttribTypeMax
|
||||||
} VAConfigAttribType;
|
} VAConfigAttribType;
|
||||||
@@ -1401,6 +1408,21 @@ typedef union _VAConfigAttribValContextPriority {
|
|||||||
uint32_t value;
|
uint32_t value;
|
||||||
} VAConfigAttribValContextPriority;
|
} VAConfigAttribValContextPriority;
|
||||||
|
|
||||||
|
/** brief Attribute value VAConfigAttribEncPerBlockControl */
|
||||||
|
typedef union _VAConfigAttribValEncPerBlockControl {
|
||||||
|
struct {
|
||||||
|
/** \brief whether to support dela qp per block */
|
||||||
|
uint32_t delta_qp_support : 1;
|
||||||
|
/** \brief supported size of delta qp block */
|
||||||
|
uint32_t log2_delta_qp_block_size : 4;
|
||||||
|
/** \brief size of delta qp per block in bytes*/
|
||||||
|
uint32_t delta_qp_size_in_bytes : 3;
|
||||||
|
/** \brief reserved bit for future, must be zero */
|
||||||
|
uint32_t reserved : 24;
|
||||||
|
} bits;
|
||||||
|
uint32_t value;
|
||||||
|
} VAConfigAttribValEncPerBlockControl;
|
||||||
|
|
||||||
/** @name Attribute values for VAConfigAttribProtectedContentCipherAlgorithm */
|
/** @name Attribute values for VAConfigAttribProtectedContentCipherAlgorithm */
|
||||||
/** \brief AES cipher */
|
/** \brief AES cipher */
|
||||||
#define VA_PC_CIPHER_AES 0x00000001
|
#define VA_PC_CIPHER_AES 0x00000001
|
||||||
@@ -2069,6 +2091,17 @@ typedef enum {
|
|||||||
*/
|
*/
|
||||||
VAEncryptionParameterBufferType = 60,
|
VAEncryptionParameterBufferType = 60,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Encoding delta QP per block buffer
|
||||||
|
*
|
||||||
|
* This buffer only could be created and accepted
|
||||||
|
* when \c VAConfigAttribValEncPerBlockControl delta_qp_support == 1.
|
||||||
|
* This input buffer contains delta QP per block for encoding.
|
||||||
|
* The supported size of delta QP block and the size of delta QP
|
||||||
|
* must be quried from \c VAConfigAttribValEncPerBlockControl.
|
||||||
|
*/
|
||||||
|
VAEncDeltaQpPerBlockBufferType = 61,
|
||||||
|
|
||||||
VABufferTypeMax
|
VABufferTypeMax
|
||||||
} VABufferType;
|
} VABufferType;
|
||||||
|
|
||||||
@@ -5036,6 +5069,11 @@ typedef enum {
|
|||||||
* modes of vaCopy
|
* modes of vaCopy
|
||||||
*/
|
*/
|
||||||
VADisplayAttribCopy = 20,
|
VADisplayAttribCopy = 20,
|
||||||
|
/*
|
||||||
|
* HW attribute. read only. retrieve the device information from backend driver
|
||||||
|
* the value should be combined with vendor ID << 16 | device ID
|
||||||
|
*/
|
||||||
|
VADisplayPCIID = 21,
|
||||||
} VADisplayAttribType;
|
} VADisplayAttribType;
|
||||||
|
|
||||||
/* flags for VADisplayAttribute */
|
/* flags for VADisplayAttribute */
|
||||||
|
|||||||
49
prebuilts/aarch64/include/va/va_android.h
Normal file
49
prebuilts/aarch64/include/va/va_android.h
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2012 Intel Corporation. All Rights Reserved.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the
|
||||||
|
* "Software"), to deal in the Software without restriction, including
|
||||||
|
* without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
* distribute, sub license, and/or sell copies of the Software, and to
|
||||||
|
* permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
* the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice (including the
|
||||||
|
* next paragraph) shall be included in all copies or substantial portions
|
||||||
|
* of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||||
|
* IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
|
||||||
|
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
#ifndef _VA_ANDROID_H_
|
||||||
|
#define _VA_ANDROID_H_
|
||||||
|
|
||||||
|
#include <va/va.h>
|
||||||
|
|
||||||
|
/** \brief Android Gralloc buffer memory type. */
|
||||||
|
#define VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC 0x00100000
|
||||||
|
/** \brief Android ION buffer memory type. */
|
||||||
|
#define VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_ION 0x00200000
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns a suitable VADisplay for VA API
|
||||||
|
*/
|
||||||
|
VADisplay vaGetDisplay(
|
||||||
|
void *android_dpy
|
||||||
|
);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* _VA_ANDROID_H_ */
|
||||||
@@ -305,8 +305,14 @@ typedef struct _VAEncSequenceParameterBufferAV1 {
|
|||||||
uint32_t enable_cdef : 1;
|
uint32_t enable_cdef : 1;
|
||||||
/** \brief Corresponds to AV1 syntax element of the same name. */
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
uint32_t enable_restoration : 1;
|
uint32_t enable_restoration : 1;
|
||||||
|
/** \brief Sepcify number of bits for every channel(Y, U or V). */
|
||||||
|
uint32_t bit_depth_minus8 : 3;
|
||||||
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint32_t subsampling_x : 1;
|
||||||
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint32_t subsampling_y : 1;
|
||||||
/** \brief Reserved bytes for future use, must be zero. */
|
/** \brief Reserved bytes for future use, must be zero. */
|
||||||
uint32_t reserved_bits : 18;
|
uint32_t reserved_bits : 13;
|
||||||
} bits;
|
} bits;
|
||||||
uint32_t value;
|
uint32_t value;
|
||||||
} seq_fields;
|
} seq_fields;
|
||||||
@@ -588,7 +594,10 @@ typedef struct _VAEncPictureParameterBufferAV1
|
|||||||
/** \brief Corresponds to AV1 syntax element of the same name. */
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
uint8_t order_hint;
|
uint8_t order_hint;
|
||||||
|
|
||||||
uint16_t reserved16bits0;
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint8_t refresh_frame_flags;
|
||||||
|
|
||||||
|
uint8_t reserved8bits1;
|
||||||
|
|
||||||
/** \brief Suggest which frames to be used as references.
|
/** \brief Suggest which frames to be used as references.
|
||||||
* see struct #VARefFrameCtrl for details.
|
* see struct #VARefFrameCtrl for details.
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
*
|
*
|
||||||
* The minor version of VA-API (2, if %VA_VERSION is 1.2.3)
|
* The minor version of VA-API (2, if %VA_VERSION is 1.2.3)
|
||||||
*/
|
*/
|
||||||
#define VA_MINOR_VERSION 14
|
#define VA_MINOR_VERSION 15
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_MICRO_VERSION:
|
* VA_MICRO_VERSION:
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
*
|
*
|
||||||
* The full version of VA-API, like 1.2.3
|
* The full version of VA-API, like 1.2.3
|
||||||
*/
|
*/
|
||||||
#define VA_VERSION 1.14.0
|
#define VA_VERSION 1.15.0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_VERSION_S:
|
* VA_VERSION_S:
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
* The full version of VA-API, in string form (suited for string
|
* The full version of VA-API, in string form (suited for string
|
||||||
* concatenation)
|
* concatenation)
|
||||||
*/
|
*/
|
||||||
#define VA_VERSION_S "1.14.0"
|
#define VA_VERSION_S "1.15.0"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_VERSION_HEX:
|
* VA_VERSION_HEX:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
libva-drm.so.2.1400.0
|
libva-drm.so.2.1500.0
|
||||||
Binary file not shown.
BIN
prebuilts/aarch64/lib/libva-drm.so.2.1500.0
Executable file
BIN
prebuilts/aarch64/lib/libva-drm.so.2.1500.0
Executable file
Binary file not shown.
@@ -1 +1 @@
|
|||||||
libva.so.2.1400.0
|
libva.so.2.1500.0
|
||||||
Binary file not shown.
BIN
prebuilts/aarch64/lib/libva.so.2.1500.0
Executable file
BIN
prebuilts/aarch64/lib/libva.so.2.1500.0
Executable file
Binary file not shown.
Binary file not shown.
@@ -1021,6 +1021,13 @@ typedef enum {
|
|||||||
* VAConfigAttribValEncAV1Ext2 union.
|
* VAConfigAttribValEncAV1Ext2 union.
|
||||||
*/
|
*/
|
||||||
VAConfigAttribEncAV1Ext2 = 54,
|
VAConfigAttribEncAV1Ext2 = 54,
|
||||||
|
/** \brief Settings per block attribute for Encoding. Read-only.
|
||||||
|
*
|
||||||
|
* This attribute describes whether to support delta qp per block,
|
||||||
|
* the supported size of delta qp block and the size of delta QP in bytes.
|
||||||
|
* The value returned uses the VAConfigAttribValEncPerBlockControl type.
|
||||||
|
*/
|
||||||
|
VAConfigAttribEncPerBlockControl = 55,
|
||||||
/**@}*/
|
/**@}*/
|
||||||
VAConfigAttribTypeMax
|
VAConfigAttribTypeMax
|
||||||
} VAConfigAttribType;
|
} VAConfigAttribType;
|
||||||
@@ -1401,6 +1408,21 @@ typedef union _VAConfigAttribValContextPriority {
|
|||||||
uint32_t value;
|
uint32_t value;
|
||||||
} VAConfigAttribValContextPriority;
|
} VAConfigAttribValContextPriority;
|
||||||
|
|
||||||
|
/** brief Attribute value VAConfigAttribEncPerBlockControl */
|
||||||
|
typedef union _VAConfigAttribValEncPerBlockControl {
|
||||||
|
struct {
|
||||||
|
/** \brief whether to support dela qp per block */
|
||||||
|
uint32_t delta_qp_support : 1;
|
||||||
|
/** \brief supported size of delta qp block */
|
||||||
|
uint32_t log2_delta_qp_block_size : 4;
|
||||||
|
/** \brief size of delta qp per block in bytes*/
|
||||||
|
uint32_t delta_qp_size_in_bytes : 3;
|
||||||
|
/** \brief reserved bit for future, must be zero */
|
||||||
|
uint32_t reserved : 24;
|
||||||
|
} bits;
|
||||||
|
uint32_t value;
|
||||||
|
} VAConfigAttribValEncPerBlockControl;
|
||||||
|
|
||||||
/** @name Attribute values for VAConfigAttribProtectedContentCipherAlgorithm */
|
/** @name Attribute values for VAConfigAttribProtectedContentCipherAlgorithm */
|
||||||
/** \brief AES cipher */
|
/** \brief AES cipher */
|
||||||
#define VA_PC_CIPHER_AES 0x00000001
|
#define VA_PC_CIPHER_AES 0x00000001
|
||||||
@@ -2069,6 +2091,17 @@ typedef enum {
|
|||||||
*/
|
*/
|
||||||
VAEncryptionParameterBufferType = 60,
|
VAEncryptionParameterBufferType = 60,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Encoding delta QP per block buffer
|
||||||
|
*
|
||||||
|
* This buffer only could be created and accepted
|
||||||
|
* when \c VAConfigAttribValEncPerBlockControl delta_qp_support == 1.
|
||||||
|
* This input buffer contains delta QP per block for encoding.
|
||||||
|
* The supported size of delta QP block and the size of delta QP
|
||||||
|
* must be quried from \c VAConfigAttribValEncPerBlockControl.
|
||||||
|
*/
|
||||||
|
VAEncDeltaQpPerBlockBufferType = 61,
|
||||||
|
|
||||||
VABufferTypeMax
|
VABufferTypeMax
|
||||||
} VABufferType;
|
} VABufferType;
|
||||||
|
|
||||||
@@ -5036,6 +5069,11 @@ typedef enum {
|
|||||||
* modes of vaCopy
|
* modes of vaCopy
|
||||||
*/
|
*/
|
||||||
VADisplayAttribCopy = 20,
|
VADisplayAttribCopy = 20,
|
||||||
|
/*
|
||||||
|
* HW attribute. read only. retrieve the device information from backend driver
|
||||||
|
* the value should be combined with vendor ID << 16 | device ID
|
||||||
|
*/
|
||||||
|
VADisplayPCIID = 21,
|
||||||
} VADisplayAttribType;
|
} VADisplayAttribType;
|
||||||
|
|
||||||
/* flags for VADisplayAttribute */
|
/* flags for VADisplayAttribute */
|
||||||
|
|||||||
49
prebuilts/arm/include/va/va_android.h
Normal file
49
prebuilts/arm/include/va/va_android.h
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2012 Intel Corporation. All Rights Reserved.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the
|
||||||
|
* "Software"), to deal in the Software without restriction, including
|
||||||
|
* without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
* distribute, sub license, and/or sell copies of the Software, and to
|
||||||
|
* permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
* the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice (including the
|
||||||
|
* next paragraph) shall be included in all copies or substantial portions
|
||||||
|
* of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||||
|
* IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
|
||||||
|
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
#ifndef _VA_ANDROID_H_
|
||||||
|
#define _VA_ANDROID_H_
|
||||||
|
|
||||||
|
#include <va/va.h>
|
||||||
|
|
||||||
|
/** \brief Android Gralloc buffer memory type. */
|
||||||
|
#define VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC 0x00100000
|
||||||
|
/** \brief Android ION buffer memory type. */
|
||||||
|
#define VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_ION 0x00200000
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns a suitable VADisplay for VA API
|
||||||
|
*/
|
||||||
|
VADisplay vaGetDisplay(
|
||||||
|
void *android_dpy
|
||||||
|
);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* _VA_ANDROID_H_ */
|
||||||
@@ -305,8 +305,14 @@ typedef struct _VAEncSequenceParameterBufferAV1 {
|
|||||||
uint32_t enable_cdef : 1;
|
uint32_t enable_cdef : 1;
|
||||||
/** \brief Corresponds to AV1 syntax element of the same name. */
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
uint32_t enable_restoration : 1;
|
uint32_t enable_restoration : 1;
|
||||||
|
/** \brief Sepcify number of bits for every channel(Y, U or V). */
|
||||||
|
uint32_t bit_depth_minus8 : 3;
|
||||||
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint32_t subsampling_x : 1;
|
||||||
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint32_t subsampling_y : 1;
|
||||||
/** \brief Reserved bytes for future use, must be zero. */
|
/** \brief Reserved bytes for future use, must be zero. */
|
||||||
uint32_t reserved_bits : 18;
|
uint32_t reserved_bits : 13;
|
||||||
} bits;
|
} bits;
|
||||||
uint32_t value;
|
uint32_t value;
|
||||||
} seq_fields;
|
} seq_fields;
|
||||||
@@ -588,7 +594,10 @@ typedef struct _VAEncPictureParameterBufferAV1
|
|||||||
/** \brief Corresponds to AV1 syntax element of the same name. */
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
uint8_t order_hint;
|
uint8_t order_hint;
|
||||||
|
|
||||||
uint16_t reserved16bits0;
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint8_t refresh_frame_flags;
|
||||||
|
|
||||||
|
uint8_t reserved8bits1;
|
||||||
|
|
||||||
/** \brief Suggest which frames to be used as references.
|
/** \brief Suggest which frames to be used as references.
|
||||||
* see struct #VARefFrameCtrl for details.
|
* see struct #VARefFrameCtrl for details.
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
*
|
*
|
||||||
* The minor version of VA-API (2, if %VA_VERSION is 1.2.3)
|
* The minor version of VA-API (2, if %VA_VERSION is 1.2.3)
|
||||||
*/
|
*/
|
||||||
#define VA_MINOR_VERSION 14
|
#define VA_MINOR_VERSION 15
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_MICRO_VERSION:
|
* VA_MICRO_VERSION:
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
*
|
*
|
||||||
* The full version of VA-API, like 1.2.3
|
* The full version of VA-API, like 1.2.3
|
||||||
*/
|
*/
|
||||||
#define VA_VERSION 1.14.0
|
#define VA_VERSION 1.15.0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_VERSION_S:
|
* VA_VERSION_S:
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
* The full version of VA-API, in string form (suited for string
|
* The full version of VA-API, in string form (suited for string
|
||||||
* concatenation)
|
* concatenation)
|
||||||
*/
|
*/
|
||||||
#define VA_VERSION_S "1.14.0"
|
#define VA_VERSION_S "1.15.0"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_VERSION_HEX:
|
* VA_VERSION_HEX:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
libva-drm.so.2.1400.0
|
libva-drm.so.2.1500.0
|
||||||
Binary file not shown.
BIN
prebuilts/arm/lib/libva-drm.so.2.1500.0
Executable file
BIN
prebuilts/arm/lib/libva-drm.so.2.1500.0
Executable file
Binary file not shown.
@@ -1 +1 @@
|
|||||||
libva.so.2.1400.0
|
libva.so.2.1500.0
|
||||||
Binary file not shown.
BIN
prebuilts/arm/lib/libva.so.2.1500.0
Executable file
BIN
prebuilts/arm/lib/libva.so.2.1500.0
Executable file
Binary file not shown.
Binary file not shown.
@@ -1021,6 +1021,13 @@ typedef enum {
|
|||||||
* VAConfigAttribValEncAV1Ext2 union.
|
* VAConfigAttribValEncAV1Ext2 union.
|
||||||
*/
|
*/
|
||||||
VAConfigAttribEncAV1Ext2 = 54,
|
VAConfigAttribEncAV1Ext2 = 54,
|
||||||
|
/** \brief Settings per block attribute for Encoding. Read-only.
|
||||||
|
*
|
||||||
|
* This attribute describes whether to support delta qp per block,
|
||||||
|
* the supported size of delta qp block and the size of delta QP in bytes.
|
||||||
|
* The value returned uses the VAConfigAttribValEncPerBlockControl type.
|
||||||
|
*/
|
||||||
|
VAConfigAttribEncPerBlockControl = 55,
|
||||||
/**@}*/
|
/**@}*/
|
||||||
VAConfigAttribTypeMax
|
VAConfigAttribTypeMax
|
||||||
} VAConfigAttribType;
|
} VAConfigAttribType;
|
||||||
@@ -1401,6 +1408,21 @@ typedef union _VAConfigAttribValContextPriority {
|
|||||||
uint32_t value;
|
uint32_t value;
|
||||||
} VAConfigAttribValContextPriority;
|
} VAConfigAttribValContextPriority;
|
||||||
|
|
||||||
|
/** brief Attribute value VAConfigAttribEncPerBlockControl */
|
||||||
|
typedef union _VAConfigAttribValEncPerBlockControl {
|
||||||
|
struct {
|
||||||
|
/** \brief whether to support dela qp per block */
|
||||||
|
uint32_t delta_qp_support : 1;
|
||||||
|
/** \brief supported size of delta qp block */
|
||||||
|
uint32_t log2_delta_qp_block_size : 4;
|
||||||
|
/** \brief size of delta qp per block in bytes*/
|
||||||
|
uint32_t delta_qp_size_in_bytes : 3;
|
||||||
|
/** \brief reserved bit for future, must be zero */
|
||||||
|
uint32_t reserved : 24;
|
||||||
|
} bits;
|
||||||
|
uint32_t value;
|
||||||
|
} VAConfigAttribValEncPerBlockControl;
|
||||||
|
|
||||||
/** @name Attribute values for VAConfigAttribProtectedContentCipherAlgorithm */
|
/** @name Attribute values for VAConfigAttribProtectedContentCipherAlgorithm */
|
||||||
/** \brief AES cipher */
|
/** \brief AES cipher */
|
||||||
#define VA_PC_CIPHER_AES 0x00000001
|
#define VA_PC_CIPHER_AES 0x00000001
|
||||||
@@ -2069,6 +2091,17 @@ typedef enum {
|
|||||||
*/
|
*/
|
||||||
VAEncryptionParameterBufferType = 60,
|
VAEncryptionParameterBufferType = 60,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Encoding delta QP per block buffer
|
||||||
|
*
|
||||||
|
* This buffer only could be created and accepted
|
||||||
|
* when \c VAConfigAttribValEncPerBlockControl delta_qp_support == 1.
|
||||||
|
* This input buffer contains delta QP per block for encoding.
|
||||||
|
* The supported size of delta QP block and the size of delta QP
|
||||||
|
* must be quried from \c VAConfigAttribValEncPerBlockControl.
|
||||||
|
*/
|
||||||
|
VAEncDeltaQpPerBlockBufferType = 61,
|
||||||
|
|
||||||
VABufferTypeMax
|
VABufferTypeMax
|
||||||
} VABufferType;
|
} VABufferType;
|
||||||
|
|
||||||
@@ -5036,6 +5069,11 @@ typedef enum {
|
|||||||
* modes of vaCopy
|
* modes of vaCopy
|
||||||
*/
|
*/
|
||||||
VADisplayAttribCopy = 20,
|
VADisplayAttribCopy = 20,
|
||||||
|
/*
|
||||||
|
* HW attribute. read only. retrieve the device information from backend driver
|
||||||
|
* the value should be combined with vendor ID << 16 | device ID
|
||||||
|
*/
|
||||||
|
VADisplayPCIID = 21,
|
||||||
} VADisplayAttribType;
|
} VADisplayAttribType;
|
||||||
|
|
||||||
/* flags for VADisplayAttribute */
|
/* flags for VADisplayAttribute */
|
||||||
|
|||||||
49
prebuilts/x86/include/va/va_android.h
Normal file
49
prebuilts/x86/include/va/va_android.h
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2012 Intel Corporation. All Rights Reserved.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
* copy of this software and associated documentation files (the
|
||||||
|
* "Software"), to deal in the Software without restriction, including
|
||||||
|
* without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
* distribute, sub license, and/or sell copies of the Software, and to
|
||||||
|
* permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
* the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice (including the
|
||||||
|
* next paragraph) shall be included in all copies or substantial portions
|
||||||
|
* of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||||
|
* IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
|
||||||
|
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
#ifndef _VA_ANDROID_H_
|
||||||
|
#define _VA_ANDROID_H_
|
||||||
|
|
||||||
|
#include <va/va.h>
|
||||||
|
|
||||||
|
/** \brief Android Gralloc buffer memory type. */
|
||||||
|
#define VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC 0x00100000
|
||||||
|
/** \brief Android ION buffer memory type. */
|
||||||
|
#define VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_ION 0x00200000
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Returns a suitable VADisplay for VA API
|
||||||
|
*/
|
||||||
|
VADisplay vaGetDisplay(
|
||||||
|
void *android_dpy
|
||||||
|
);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* _VA_ANDROID_H_ */
|
||||||
@@ -305,8 +305,14 @@ typedef struct _VAEncSequenceParameterBufferAV1 {
|
|||||||
uint32_t enable_cdef : 1;
|
uint32_t enable_cdef : 1;
|
||||||
/** \brief Corresponds to AV1 syntax element of the same name. */
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
uint32_t enable_restoration : 1;
|
uint32_t enable_restoration : 1;
|
||||||
|
/** \brief Sepcify number of bits for every channel(Y, U or V). */
|
||||||
|
uint32_t bit_depth_minus8 : 3;
|
||||||
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint32_t subsampling_x : 1;
|
||||||
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint32_t subsampling_y : 1;
|
||||||
/** \brief Reserved bytes for future use, must be zero. */
|
/** \brief Reserved bytes for future use, must be zero. */
|
||||||
uint32_t reserved_bits : 18;
|
uint32_t reserved_bits : 13;
|
||||||
} bits;
|
} bits;
|
||||||
uint32_t value;
|
uint32_t value;
|
||||||
} seq_fields;
|
} seq_fields;
|
||||||
@@ -588,7 +594,10 @@ typedef struct _VAEncPictureParameterBufferAV1
|
|||||||
/** \brief Corresponds to AV1 syntax element of the same name. */
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
uint8_t order_hint;
|
uint8_t order_hint;
|
||||||
|
|
||||||
uint16_t reserved16bits0;
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint8_t refresh_frame_flags;
|
||||||
|
|
||||||
|
uint8_t reserved8bits1;
|
||||||
|
|
||||||
/** \brief Suggest which frames to be used as references.
|
/** \brief Suggest which frames to be used as references.
|
||||||
* see struct #VARefFrameCtrl for details.
|
* see struct #VARefFrameCtrl for details.
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
*
|
*
|
||||||
* The minor version of VA-API (2, if %VA_VERSION is 1.2.3)
|
* The minor version of VA-API (2, if %VA_VERSION is 1.2.3)
|
||||||
*/
|
*/
|
||||||
#define VA_MINOR_VERSION 14
|
#define VA_MINOR_VERSION 15
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_MICRO_VERSION:
|
* VA_MICRO_VERSION:
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
*
|
*
|
||||||
* The full version of VA-API, like 1.2.3
|
* The full version of VA-API, like 1.2.3
|
||||||
*/
|
*/
|
||||||
#define VA_VERSION 1.14.0
|
#define VA_VERSION 1.15.0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_VERSION_S:
|
* VA_VERSION_S:
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
* The full version of VA-API, in string form (suited for string
|
* The full version of VA-API, in string form (suited for string
|
||||||
* concatenation)
|
* concatenation)
|
||||||
*/
|
*/
|
||||||
#define VA_VERSION_S "1.14.0"
|
#define VA_VERSION_S "1.15.0"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_VERSION_HEX:
|
* VA_VERSION_HEX:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
libva-drm.so.2.1400.0
|
libva-drm.so.2.1500.0
|
||||||
Binary file not shown.
BIN
prebuilts/x86/lib/libva-drm.so.2.1500.0
Executable file
BIN
prebuilts/x86/lib/libva-drm.so.2.1500.0
Executable file
Binary file not shown.
@@ -1 +1 @@
|
|||||||
libva.so.2.1400.0
|
libva.so.2.1500.0
|
||||||
Binary file not shown.
BIN
prebuilts/x86/lib/libva.so.2.1500.0
Executable file
BIN
prebuilts/x86/lib/libva.so.2.1500.0
Executable file
Binary file not shown.
Binary file not shown.
@@ -1021,6 +1021,13 @@ typedef enum {
|
|||||||
* VAConfigAttribValEncAV1Ext2 union.
|
* VAConfigAttribValEncAV1Ext2 union.
|
||||||
*/
|
*/
|
||||||
VAConfigAttribEncAV1Ext2 = 54,
|
VAConfigAttribEncAV1Ext2 = 54,
|
||||||
|
/** \brief Settings per block attribute for Encoding. Read-only.
|
||||||
|
*
|
||||||
|
* This attribute describes whether to support delta qp per block,
|
||||||
|
* the supported size of delta qp block and the size of delta QP in bytes.
|
||||||
|
* The value returned uses the VAConfigAttribValEncPerBlockControl type.
|
||||||
|
*/
|
||||||
|
VAConfigAttribEncPerBlockControl = 55,
|
||||||
/**@}*/
|
/**@}*/
|
||||||
VAConfigAttribTypeMax
|
VAConfigAttribTypeMax
|
||||||
} VAConfigAttribType;
|
} VAConfigAttribType;
|
||||||
@@ -1401,6 +1408,21 @@ typedef union _VAConfigAttribValContextPriority {
|
|||||||
uint32_t value;
|
uint32_t value;
|
||||||
} VAConfigAttribValContextPriority;
|
} VAConfigAttribValContextPriority;
|
||||||
|
|
||||||
|
/** brief Attribute value VAConfigAttribEncPerBlockControl */
|
||||||
|
typedef union _VAConfigAttribValEncPerBlockControl {
|
||||||
|
struct {
|
||||||
|
/** \brief whether to support dela qp per block */
|
||||||
|
uint32_t delta_qp_support : 1;
|
||||||
|
/** \brief supported size of delta qp block */
|
||||||
|
uint32_t log2_delta_qp_block_size : 4;
|
||||||
|
/** \brief size of delta qp per block in bytes*/
|
||||||
|
uint32_t delta_qp_size_in_bytes : 3;
|
||||||
|
/** \brief reserved bit for future, must be zero */
|
||||||
|
uint32_t reserved : 24;
|
||||||
|
} bits;
|
||||||
|
uint32_t value;
|
||||||
|
} VAConfigAttribValEncPerBlockControl;
|
||||||
|
|
||||||
/** @name Attribute values for VAConfigAttribProtectedContentCipherAlgorithm */
|
/** @name Attribute values for VAConfigAttribProtectedContentCipherAlgorithm */
|
||||||
/** \brief AES cipher */
|
/** \brief AES cipher */
|
||||||
#define VA_PC_CIPHER_AES 0x00000001
|
#define VA_PC_CIPHER_AES 0x00000001
|
||||||
@@ -2069,6 +2091,17 @@ typedef enum {
|
|||||||
*/
|
*/
|
||||||
VAEncryptionParameterBufferType = 60,
|
VAEncryptionParameterBufferType = 60,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Encoding delta QP per block buffer
|
||||||
|
*
|
||||||
|
* This buffer only could be created and accepted
|
||||||
|
* when \c VAConfigAttribValEncPerBlockControl delta_qp_support == 1.
|
||||||
|
* This input buffer contains delta QP per block for encoding.
|
||||||
|
* The supported size of delta QP block and the size of delta QP
|
||||||
|
* must be quried from \c VAConfigAttribValEncPerBlockControl.
|
||||||
|
*/
|
||||||
|
VAEncDeltaQpPerBlockBufferType = 61,
|
||||||
|
|
||||||
VABufferTypeMax
|
VABufferTypeMax
|
||||||
} VABufferType;
|
} VABufferType;
|
||||||
|
|
||||||
@@ -5036,6 +5069,11 @@ typedef enum {
|
|||||||
* modes of vaCopy
|
* modes of vaCopy
|
||||||
*/
|
*/
|
||||||
VADisplayAttribCopy = 20,
|
VADisplayAttribCopy = 20,
|
||||||
|
/*
|
||||||
|
* HW attribute. read only. retrieve the device information from backend driver
|
||||||
|
* the value should be combined with vendor ID << 16 | device ID
|
||||||
|
*/
|
||||||
|
VADisplayPCIID = 21,
|
||||||
} VADisplayAttribType;
|
} VADisplayAttribType;
|
||||||
|
|
||||||
/* flags for VADisplayAttribute */
|
/* flags for VADisplayAttribute */
|
||||||
|
|||||||
@@ -305,8 +305,14 @@ typedef struct _VAEncSequenceParameterBufferAV1 {
|
|||||||
uint32_t enable_cdef : 1;
|
uint32_t enable_cdef : 1;
|
||||||
/** \brief Corresponds to AV1 syntax element of the same name. */
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
uint32_t enable_restoration : 1;
|
uint32_t enable_restoration : 1;
|
||||||
|
/** \brief Sepcify number of bits for every channel(Y, U or V). */
|
||||||
|
uint32_t bit_depth_minus8 : 3;
|
||||||
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint32_t subsampling_x : 1;
|
||||||
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint32_t subsampling_y : 1;
|
||||||
/** \brief Reserved bytes for future use, must be zero. */
|
/** \brief Reserved bytes for future use, must be zero. */
|
||||||
uint32_t reserved_bits : 18;
|
uint32_t reserved_bits : 13;
|
||||||
} bits;
|
} bits;
|
||||||
uint32_t value;
|
uint32_t value;
|
||||||
} seq_fields;
|
} seq_fields;
|
||||||
@@ -588,7 +594,10 @@ typedef struct _VAEncPictureParameterBufferAV1
|
|||||||
/** \brief Corresponds to AV1 syntax element of the same name. */
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
uint8_t order_hint;
|
uint8_t order_hint;
|
||||||
|
|
||||||
uint16_t reserved16bits0;
|
/** \brief Corresponds to AV1 syntax element of the same name. */
|
||||||
|
uint8_t refresh_frame_flags;
|
||||||
|
|
||||||
|
uint8_t reserved8bits1;
|
||||||
|
|
||||||
/** \brief Suggest which frames to be used as references.
|
/** \brief Suggest which frames to be used as references.
|
||||||
* see struct #VARefFrameCtrl for details.
|
* see struct #VARefFrameCtrl for details.
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
*
|
*
|
||||||
* The minor version of VA-API (2, if %VA_VERSION is 1.2.3)
|
* The minor version of VA-API (2, if %VA_VERSION is 1.2.3)
|
||||||
*/
|
*/
|
||||||
#define VA_MINOR_VERSION 14
|
#define VA_MINOR_VERSION 15
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_MICRO_VERSION:
|
* VA_MICRO_VERSION:
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
*
|
*
|
||||||
* The full version of VA-API, like 1.2.3
|
* The full version of VA-API, like 1.2.3
|
||||||
*/
|
*/
|
||||||
#define VA_VERSION 1.14.0
|
#define VA_VERSION 1.15.0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_VERSION_S:
|
* VA_VERSION_S:
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
* The full version of VA-API, in string form (suited for string
|
* The full version of VA-API, in string form (suited for string
|
||||||
* concatenation)
|
* concatenation)
|
||||||
*/
|
*/
|
||||||
#define VA_VERSION_S "1.14.0"
|
#define VA_VERSION_S "1.15.0"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* VA_VERSION_HEX:
|
* VA_VERSION_HEX:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
libva-drm.so.2.1400.0
|
libva-drm.so.2.1500.0
|
||||||
Binary file not shown.
BIN
prebuilts/x86_64/lib/libva-drm.so.2.1500.0
Executable file
BIN
prebuilts/x86_64/lib/libva-drm.so.2.1500.0
Executable file
Binary file not shown.
@@ -1 +1 @@
|
|||||||
libva.so.2.1400.0
|
libva.so.2.1500.0
|
||||||
Binary file not shown.
BIN
prebuilts/x86_64/lib/libva.so.2.1500.0
Executable file
BIN
prebuilts/x86_64/lib/libva.so.2.1500.0
Executable file
Binary file not shown.
Reference in New Issue
Block a user