Lines Matching refs:DataSpace
43 using DataSpace = aidl::android::hardware::graphics::common::Dataspace; typedef
558 DataSpace GetNativeDataspace(VkColorSpaceKHR colorspace, VkFormat format) { in GetNativeDataspace()
561 return DataSpace::SRGB; in GetNativeDataspace()
563 return DataSpace::DISPLAY_P3; in GetNativeDataspace()
565 return DataSpace::SCRGB_LINEAR; in GetNativeDataspace()
567 return DataSpace::SCRGB; in GetNativeDataspace()
569 return DataSpace::DCI_P3_LINEAR; in GetNativeDataspace()
571 return DataSpace::DCI_P3; in GetNativeDataspace()
573 return DataSpace::SRGB_LINEAR; in GetNativeDataspace()
575 return DataSpace::SRGB; in GetNativeDataspace()
578 return DataSpace::BT2020_LINEAR_EXTENDED; in GetNativeDataspace()
580 return DataSpace::BT2020_LINEAR; in GetNativeDataspace()
583 return DataSpace::BT2020_PQ; in GetNativeDataspace()
585 return DataSpace::BT2020_PQ; in GetNativeDataspace()
587 return DataSpace::BT2020_HLG; in GetNativeDataspace()
589 return DataSpace::ADOBE_RGB_LINEAR; in GetNativeDataspace()
591 return DataSpace::ADOBE_RGB; in GetNativeDataspace()
595 return DataSpace::ARBITRARY; in GetNativeDataspace()
601 return DataSpace::UNKNOWN; in GetNativeDataspace()
771 if (GetNativeDataspace(colorSpace, format) != DataSpace::UNKNOWN) { in GetPhysicalDeviceSurfaceFormatsKHR()
777 if (GetNativeDataspace(colorSpace, format) != DataSpace::UNKNOWN) { in GetPhysicalDeviceSurfaceFormatsKHR()
797 DataSpace::UNKNOWN) { in GetPhysicalDeviceSurfaceFormatsKHR()
814 DataSpace::UNKNOWN) { in GetPhysicalDeviceSurfaceFormatsKHR()
824 DataSpace::UNKNOWN) { in GetPhysicalDeviceSurfaceFormatsKHR()
841 DataSpace::UNKNOWN) { in GetPhysicalDeviceSurfaceFormatsKHR()
882 DataSpace::UNKNOWN) { in GetPhysicalDeviceSurfaceFormatsKHR()
1663 DataSpace native_dataspace = GetNativeDataspace( in CreateSwapchainKHR()
1665 if (native_dataspace == DataSpace::UNKNOWN) { in CreateSwapchainKHR()
1771 if (native_dataspace != DataSpace::ARBITRARY) { in CreateSwapchainKHR()