summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jacinto6/sgx_src/eurasia_km/include4/servicesext.h')
-rw-r--r--jacinto6/sgx_src/eurasia_km/include4/servicesext.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/jacinto6/sgx_src/eurasia_km/include4/servicesext.h b/jacinto6/sgx_src/eurasia_km/include4/servicesext.h
index a0aff8c..ffb89b9 100644
--- a/jacinto6/sgx_src/eurasia_km/include4/servicesext.h
+++ b/jacinto6/sgx_src/eurasia_km/include4/servicesext.h
@@ -762,6 +762,9 @@ typedef struct PVRSRV_RESOURCE_TAG
762{ 762{
763 volatile IMG_UINT32 ui32Lock; 763 volatile IMG_UINT32 ui32Lock;
764 IMG_UINT32 ui32ID; 764 IMG_UINT32 ui32ID;
765#if !defined(PVR_LINUX_USING_WORKQUEUES) && defined(__linux__)
766 IMG_VOID *pOSSyncPrimitive;
767#endif /* !defined(PVR_LINUX_USING_WORKQUEUES) && defined(__linux__) */
765}PVRSRV_RESOURCE; 768}PVRSRV_RESOURCE;
766typedef PVRSRV_RESOURCE PVRSRV_RES_HANDLE; 769typedef PVRSRV_RESOURCE PVRSRV_RES_HANDLE;
767 770
@@ -925,12 +928,17 @@ typedef struct _PVRSRV_REGISTRY_INFO_
925PVRSRV_ERROR IMG_CALLCONV PVRSRVReadRegistryString (PPVRSRV_REGISTRY_INFO psRegInfo); 928PVRSRV_ERROR IMG_CALLCONV PVRSRVReadRegistryString (PPVRSRV_REGISTRY_INFO psRegInfo);
926PVRSRV_ERROR IMG_CALLCONV PVRSRVWriteRegistryString (PPVRSRV_REGISTRY_INFO psRegInfo); 929PVRSRV_ERROR IMG_CALLCONV PVRSRVWriteRegistryString (PPVRSRV_REGISTRY_INFO psRegInfo);
927 930
931#define PVRSRV_BC_FLAGS_YUVCSC_RANGE_MASK (0x01)
932#define PVRSRV_BC_FLAGS_YUVCSC_RANGE_SHIFT (0x00)
933#define PVRSRV_BC_FLAGS_YUVCSC_CONFORMANT_RANGE (0 << PVRSRV_BC_FLAGS_YUVCSC_RANGE_SHIFT)
934#define PVRSRV_BC_FLAGS_YUVCSC_FULL_RANGE (1 << PVRSRV_BC_FLAGS_YUVCSC_RANGE_SHIFT)
928 935
929#define PVRSRV_BC_FLAGS_YUVCSC_CONFORMANT_RANGE (0 << 0) 936#define PVRSRV_BC_FLAGS_YUVCSC_CS_MASK (0x02)
930#define PVRSRV_BC_FLAGS_YUVCSC_FULL_RANGE (1 << 0) 937#define PVRSRV_BC_FLAGS_YUVCSC_CS_SHIFT (0x01)
938#define PVRSRV_BC_FLAGS_YUVCSC_BT601 (0 << PVRSRV_BC_FLAGS_YUVCSC_CS_SHIFT)
939#define PVRSRV_BC_FLAGS_YUVCSC_BT709 (1 << PVRSRV_BC_FLAGS_YUVCSC_CS_SHIFT)
931 940
932#define PVRSRV_BC_FLAGS_YUVCSC_BT601 (0 << 1) 941#define PVRSRV_BC_FLAGS_YUVCSC_MASK (PVRSRV_BC_FLAGS_YUVCSC_RANGE_MASK | PVRSRV_BC_FLAGS_YUVCSC_CS_MASK)
933#define PVRSRV_BC_FLAGS_YUVCSC_BT709 (1 << 1)
934 942
935#define MAX_BUFFER_DEVICE_NAME_SIZE (50) /* arbitrary choice! */ 943#define MAX_BUFFER_DEVICE_NAME_SIZE (50) /* arbitrary choice! */
936 944