Home
last modified time | relevance | path

Searched refs:Dataspace (Results 1 – 25 of 157) sorted by relevance

1234567

/hardware/google/graphics/zuma/libhwc2.1/libdevice/
DExynosDeviceModule.cpp23 using Dataspace = aidl::android::hardware::graphics::common::Dataspace; typedef
39 {Dataspace::STANDARD_BT2020, Dataspace::STANDARD_BT709, Dataspace::STANDARD_DCI_P3},
40 {Dataspace::TRANSFER_UNSPECIFIED, Dataspace::TRANSFER_LINEAR, Dataspace::TRANSFER_SRGB,
41 Dataspace::TRANSFER_SMPTE_170M, Dataspace::TRANSFER_GAMMA2_2,
42 Dataspace::TRANSFER_GAMMA2_6, Dataspace::TRANSFER_GAMMA2_8, Dataspace::TRANSFER_ST2084,
43 Dataspace::TRANSFER_HLG},
44 {Dataspace::RANGE_FULL}};
49 {Dataspace::STANDARD_BT2020, Dataspace::STANDARD_BT709, Dataspace::STANDARD_DCI_P3},
50 {Dataspace::TRANSFER_UNSPECIFIED, Dataspace::TRANSFER_LINEAR, Dataspace::TRANSFER_SRGB,
51 Dataspace::TRANSFER_SMPTE_170M, Dataspace::TRANSFER_GAMMA2_2,
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/u_gralloc/
Du_gralloc_imapper4_api.cpp23 using aidl::android::hardware::graphics::common::Dataspace;
194 Dataspace dataspace; in mapper4_get_buffer_color_info()
200 Dataspace standard = in mapper4_get_buffer_color_info()
201 (Dataspace)((int)dataspace & (uint32_t)Dataspace::STANDARD_MASK); in mapper4_get_buffer_color_info()
203 case Dataspace::STANDARD_BT709: in mapper4_get_buffer_color_info()
206 case Dataspace::STANDARD_BT601_625: in mapper4_get_buffer_color_info()
207 case Dataspace::STANDARD_BT601_625_UNADJUSTED: in mapper4_get_buffer_color_info()
208 case Dataspace::STANDARD_BT601_525: in mapper4_get_buffer_color_info()
209 case Dataspace::STANDARD_BT601_525_UNADJUSTED: in mapper4_get_buffer_color_info()
212 case Dataspace::STANDARD_BT2020: in mapper4_get_buffer_color_info()
[all …]
/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/
DOverlayProperties.aidl29 android.hardware.graphics.common.Dataspace[] standards;
30 android.hardware.graphics.common.Dataspace[] transfers;
31 android.hardware.graphics.common.Dataspace[] ranges;
DParcelableDataspace.aidl19 import android.hardware.graphics.common.Dataspace;
23 Dataspace dataspace;
DClientTarget.aidl19 import android.hardware.graphics.common.Dataspace;
33 Dataspace dataspace;
/hardware/interfaces/graphics/composer/aidl/vts/
DReadbackVts.h32 using common::Dataspace;
78 void setDataspace(Dataspace dataspace) { mDataspace = dataspace; } in setDataspace()
107 Dataspace mDataspace = Dataspace::UNKNOWN;
171 static std::string getDataspaceString(Dataspace dataspace);
173 static Dataspace getDataspaceForColorMode(ColorMode mode);
186 static bool readbackSupported(const PixelFormat& pixelFormat, const Dataspace& dataspace);
189 static const std::vector<Dataspace> dataspaces;
202 int32_t height, common::PixelFormat pixelFormat, common::Dataspace dataspace);
216 Dataspace mDataspace;
DReadbackVts.cpp26 const std::vector<Dataspace> ReadbackHelper::dataspaces = {common::Dataspace::SRGB,
27 common::Dataspace::DISPLAY_P3};
52 std::string ReadbackHelper::getDataspaceString(common::Dataspace dataspace) { in getDataspaceString()
54 case common::Dataspace::SRGB: in getDataspaceString()
56 case common::Dataspace::DISPLAY_P3: in getDataspaceString()
58 case common::Dataspace::UNKNOWN: in getDataspaceString()
65 Dataspace ReadbackHelper::getDataspaceForColorMode(ColorMode mode) { in getDataspaceForColorMode()
68 return Dataspace::DISPLAY_P3; in getDataspaceForColorMode()
70 return Dataspace::SRGB; in getDataspaceForColorMode()
72 return Dataspace::UNKNOWN; in getDataspaceForColorMode()
[all …]
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/3/android/hardware/graphics/composer3/
DOverlayProperties.aidl41 android.hardware.graphics.common.Dataspace[] standards;
42 android.hardware.graphics.common.Dataspace[] transfers;
43 android.hardware.graphics.common.Dataspace[] ranges;
DParcelableDataspace.aidl37 android.hardware.graphics.common.Dataspace dataspace;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/2/android/hardware/graphics/composer3/
DOverlayProperties.aidl41 android.hardware.graphics.common.Dataspace[] standards;
42 android.hardware.graphics.common.Dataspace[] transfers;
43 android.hardware.graphics.common.Dataspace[] ranges;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/
DOverlayProperties.aidl41 android.hardware.graphics.common.Dataspace[] standards;
42 android.hardware.graphics.common.Dataspace[] transfers;
43 android.hardware.graphics.common.Dataspace[] ranges;
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/
DComposerHal.h30 using common::V1_2::Dataspace;
56 common::V1_1::Dataspace dataspace) override { in getClientTargetSupport_2_2()
58 static_cast<Dataspace>(dataspace)); in getClientTargetSupport_2_2()
62 common::V1_1::Dataspace* outDataspace) override { in getReadbackBufferAttributes()
64 reinterpret_cast<Dataspace*>(outDataspace)); in getReadbackBufferAttributes()
93 PixelFormat format, Dataspace dataspace) = 0;
95 Dataspace* outDataspace) = 0;
106 uint64_t display, PixelFormat& format, Dataspace& dataspace,
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerHal.h32 using common::V1_1::Dataspace;
48 common::V1_0::Dataspace dataspace) override { in getClientTargetSupport()
50 static_cast<Dataspace>(dataspace)); in getClientTargetSupport()
74 Dataspace* outDataspace) = 0;
81 PixelFormat format, Dataspace dataspace) = 0;
92 virtual std::array<float, 16> getDataspaceSaturationMatrix(Dataspace dataspace) = 0;
DComposerClient.h62 Dataspace dataspace = Dataspace::UNKNOWN; in getReadbackBufferAttributes()
116 PixelFormat format, Dataspace dataspace) override { in getClientTargetSupport_2_2()
146 Dataspace dataspace, IComposerClient::getDataspaceSaturationMatrix_cb hidl_cb) override { in getDataspaceSaturationMatrix()
147 if (dataspace != Dataspace::SRGB_LINEAR) { in getDataspaceSaturationMatrix()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp41 const std::vector<Dataspace> ReadbackHelper::dataspaces = {Dataspace::V0_SRGB,
42 Dataspace::DISPLAY_P3};
55 std::string ReadbackHelper::getDataspaceString(Dataspace dataspace) { in getDataspaceString()
57 case Dataspace::V0_SRGB: in getDataspaceString()
59 case Dataspace::DISPLAY_P3: in getDataspaceString()
61 case Dataspace::UNKNOWN: in getDataspaceString()
68 Dataspace ReadbackHelper::getDataspaceForColorMode(ColorMode mode) { in getDataspaceForColorMode()
71 return Dataspace::DISPLAY_P3; in getDataspaceForColorMode()
74 return Dataspace::UNKNOWN; in getDataspaceForColorMode()
155 bool ReadbackHelper::readbackSupported(const PixelFormat& pixelFormat, const Dataspace& dataspace, in readbackSupported()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DReadbackVts.h38 using common::V1_1::Dataspace;
124 void setDataspace(Dataspace dataspace, const std::shared_ptr<CommandWriterBase>& writer);
144 static std::string getDataspaceString(Dataspace dataspace);
146 static Dataspace getDataspaceForColorMode(ColorMode mode);
160 static bool readbackSupported(const PixelFormat& pixelFormat, const Dataspace& dataspace,
164 static const std::vector<Dataspace> dataspaces;
174 uint32_t height, PixelFormat pixelFormat, Dataspace dataspace);
188 Dataspace mDataspace;
DComposerVts.h40 using common::V1_1::Dataspace;
69 PixelFormat format, Dataspace dataspace);
73 Dataspace* outDataspace);
80 std::array<float, 16> getDataspaceSaturationMatrix(Dataspace dataspace);
/hardware/qcom/sm8150/display/gralloc/
Dgr_buf_mgr.cpp83 using aidl::android::hardware::graphics::common::Dataspace;
141 static Error dataspaceToColorMetadata(Dataspace dataspace, ColorMetaData *color_metadata) { in dataspaceToColorMetadata()
143 uint32_t primaries = (uint32_t)dataspace & (uint32_t)Dataspace::STANDARD_MASK; in dataspaceToColorMetadata()
144 uint32_t transfer = (uint32_t)dataspace & (uint32_t)Dataspace::TRANSFER_MASK; in dataspaceToColorMetadata()
145 uint32_t range = (uint32_t)dataspace & (uint32_t)Dataspace::RANGE_MASK; in dataspaceToColorMetadata()
148 case (uint32_t)Dataspace::STANDARD_BT709: in dataspaceToColorMetadata()
152 case (uint32_t)Dataspace::STANDARD_BT470M: in dataspaceToColorMetadata()
155 case (uint32_t)Dataspace::STANDARD_BT601_625: in dataspaceToColorMetadata()
156 case (uint32_t)Dataspace::STANDARD_BT601_625_UNADJUSTED: in dataspaceToColorMetadata()
159 case (uint32_t)Dataspace::STANDARD_BT601_525: in dataspaceToColorMetadata()
[all …]
/hardware/qcom/sm7250/display/gralloc/
Dgr_buf_mgr.cpp83 using aidl::android::hardware::graphics::common::Dataspace;
138 static Error dataspaceToColorMetadata(Dataspace dataspace, ColorMetaData *color_metadata) { in dataspaceToColorMetadata()
140 uint32_t primaries = (uint32_t)dataspace & (uint32_t)Dataspace::STANDARD_MASK; in dataspaceToColorMetadata()
141 uint32_t transfer = (uint32_t)dataspace & (uint32_t)Dataspace::TRANSFER_MASK; in dataspaceToColorMetadata()
142 uint32_t range = (uint32_t)dataspace & (uint32_t)Dataspace::RANGE_MASK; in dataspaceToColorMetadata()
145 case (uint32_t)Dataspace::STANDARD_BT709: in dataspaceToColorMetadata()
149 case (uint32_t)Dataspace::STANDARD_BT470M: in dataspaceToColorMetadata()
152 case (uint32_t)Dataspace::STANDARD_BT601_625: in dataspaceToColorMetadata()
153 case (uint32_t)Dataspace::STANDARD_BT601_625_UNADJUSTED: in dataspaceToColorMetadata()
156 case (uint32_t)Dataspace::STANDARD_BT601_525: in dataspaceToColorMetadata()
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/vts/include/composer-vts/2.3/
DComposerVts.h36 using common::V1_2::Dataspace;
70 uint64_t display, PixelFormat& format, Dataspace& dataspace,
88 Dataspace* outDataspace);
94 PixelFormat format, Dataspace dataspace);
/hardware/google/gchips/gralloc4/src/hidl_common/
DSharedMetadata.h44 using aidl::android::hardware::graphics::common::Dataspace;
55 void get_dataspace(const private_handle_t *hnd, std::optional<Dataspace> *dataspace);
56 void set_dataspace(const private_handle_t *hnd, const Dataspace &dataspace);
/hardware/qcom/sm7250/display/composer/
Dhwc_layers.cpp208 DisplayError ColorMetadataToDataspace(ColorMetaData color_metadata, Dataspace *dataspace) { in ColorMetadataToDataspace()
209 Dataspace primaries, transfer, range = Dataspace::UNKNOWN; in ColorMetadataToDataspace()
213 primaries = Dataspace::STANDARD_BT709; in ColorMetadataToDataspace()
216 primaries = Dataspace::STANDARD_BT470M; in ColorMetadataToDataspace()
219 primaries = Dataspace::STANDARD_BT601_625; in ColorMetadataToDataspace()
222 primaries = Dataspace::STANDARD_BT601_525; in ColorMetadataToDataspace()
225 primaries = Dataspace::STANDARD_FILM; in ColorMetadataToDataspace()
228 primaries = Dataspace::STANDARD_BT2020; in ColorMetadataToDataspace()
231 primaries = Dataspace::STANDARD_ADOBE_RGB; in ColorMetadataToDataspace()
234 primaries = Dataspace::STANDARD_DCI_P3; in ColorMetadataToDataspace()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/
DComposerCommandBuffer.h51 using android::hardware::graphics::common::V1_1::Dataspace;
68 Dataspace dataspace, const std::vector<IComposerClient::Rect>& damage) { in setClientTarget()
73 void setLayerDataspace(Dataspace dataspace) { in setLayerDataspace()
/hardware/interfaces/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/
DComposerCommandBuffer.h38 using android::hardware::graphics::common::V1_2::Dataspace;
58 void setLayerDataspace(Dataspace dataspace) { in setLayerDataspace()
63 Dataspace dataspace, const std::vector<IComposerClient::Rect>& damage) { in setClientTarget()
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcHal.h38 using common::V1_1::Dataspace;
99 Dataspace* outDataspace) override { in getReadbackBufferAttributes()
110 *outDataspace = static_cast<Dataspace>(dataspace); in getReadbackBufferAttributes()
144 PixelFormat format, Dataspace dataspace) override { in getClientTargetSupport_2_2()
147 static_cast<common::V1_0::Dataspace>(dataspace)); in getClientTargetSupport_2_2()
224 std::array<float, 16> getDataspaceSaturationMatrix(Dataspace dataspace) override { in getDataspaceSaturationMatrix()

1234567