Home
last modified time | relevance | path

Searched refs:dataspace (Results 1 – 25 of 75) sorted by relevance

123

/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.cpp72 bool GetColorPrimary(const int32_t &dataspace, ColorPrimaries *color_primary) { in GetColorPrimary() argument
73 auto standard = dataspace & HAL_DATASPACE_STANDARD_MASK; in GetColorPrimary()
100 bool GetTransfer(const int32_t &dataspace, GammaTransfer *gamma_transfer) { in GetTransfer() argument
101 auto transfer = dataspace & HAL_DATASPACE_TRANSFER_MASK; in GetTransfer()
129 void GetRange(const int32_t &dataspace, ColorRange *color_range) { in GetRange() argument
130 auto range = dataspace & HAL_DATASPACE_RANGE_MASK; in GetRange()
155 bool GetSDMColorSpace(const int32_t &dataspace, ColorMetaData *color_metadata) { in GetSDMColorSpace() argument
157 valid = GetColorPrimary(dataspace, &(color_metadata->colorPrimaries)); in GetSDMColorSpace()
161 valid = GetTransfer(dataspace, &(color_metadata->transfer)); in GetSDMColorSpace()
165 GetRange(dataspace, &(color_metadata->range)); in GetSDMColorSpace()
[all …]
Dhwc_layers.h43 bool GetColorPrimary(const int32_t &dataspace, ColorPrimaries *color_primary);
44 bool GetTransfer(const int32_t &dataspace, GammaTransfer *gamma_transfer);
45 void GetRange(const int32_t &dataspace, ColorRange *color_range);
46 bool GetSDMColorSpace(const int32_t &dataspace, ColorMetaData *color_metadata);
74 HWC2::Error SetLayerDataspace(int32_t dataspace);
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp72 bool GetColorPrimary(const int32_t &dataspace, ColorPrimaries *color_primary) { in GetColorPrimary() argument
73 auto standard = dataspace & HAL_DATASPACE_STANDARD_MASK; in GetColorPrimary()
100 bool GetTransfer(const int32_t &dataspace, GammaTransfer *gamma_transfer) { in GetTransfer() argument
101 auto transfer = dataspace & HAL_DATASPACE_TRANSFER_MASK; in GetTransfer()
132 void GetRange(const int32_t &dataspace, ColorRange *color_range) { in GetRange() argument
133 auto range = dataspace & HAL_DATASPACE_RANGE_MASK; in GetRange()
158 bool GetSDMColorSpace(const int32_t &dataspace, ColorMetaData *color_metadata) { in GetSDMColorSpace() argument
160 valid = GetColorPrimary(dataspace, &(color_metadata->colorPrimaries)); in GetSDMColorSpace()
164 valid = GetTransfer(dataspace, &(color_metadata->transfer)); in GetSDMColorSpace()
168 GetRange(dataspace, &(color_metadata->range)); in GetSDMColorSpace()
[all …]
Dhwc_layers.h43 bool GetColorPrimary(const int32_t &dataspace, ColorPrimaries *color_primary);
44 bool GetTransfer(const int32_t &dataspace, GammaTransfer *gamma_transfer);
45 void GetRange(const int32_t &dataspace, ColorRange *color_range);
46 bool GetSDMColorSpace(const int32_t &dataspace, ColorMetaData *color_metadata);
74 HWC2::Error SetLayerDataspace(int32_t dataspace);
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/
DComposerClient.h72 Dataspace dataspace = Dataspace::UNKNOWN; in getReadbackBufferAttributes_2_3() local
73 Error error = mHal->getReadbackBufferAttributes_2_3(display, &format, &dataspace); in getReadbackBufferAttributes_2_3()
74 hidl_cb(error, format, dataspace); in getReadbackBufferAttributes_2_3()
91 PixelFormat format, Dataspace dataspace) override { in getClientTargetSupport_2_3() argument
92 Error err = mHal->getClientTargetSupport_2_3(display, width, height, format, dataspace); in getClientTargetSupport_2_3()
126 common::V1_2::Dataspace dataspace; in getDisplayedContentSamplingAttributes() local
129 mHal->getDisplayedContentSamplingAttributes(display, format, dataspace, componentMask); in getDisplayedContentSamplingAttributes()
130 hidl_cb(error, format, dataspace, componentMask); in getDisplayedContentSamplingAttributes()
DComposerHal.h56 common::V1_1::Dataspace dataspace) override { in getClientTargetSupport_2_2() argument
58 static_cast<Dataspace>(dataspace)); in getClientTargetSupport_2_2()
93 PixelFormat format, Dataspace dataspace) = 0;
106 uint64_t display, PixelFormat& format, Dataspace& dataspace,
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h62 Dataspace dataspace = Dataspace::UNKNOWN; in getReadbackBufferAttributes() local
63 Error error = mHal->getReadbackBufferAttributes(display, &format, &dataspace); in getReadbackBufferAttributes()
64 hidl_cb(error, format, dataspace); in getReadbackBufferAttributes()
116 PixelFormat format, Dataspace dataspace) override { in getClientTargetSupport_2_2() argument
117 Error err = mHal->getClientTargetSupport_2_2(display, width, height, format, dataspace); in getClientTargetSupport_2_2()
146 Dataspace dataspace, IComposerClient::getDataspaceSaturationMatrix_cb hidl_cb) override { in getDataspaceSaturationMatrix() argument
147 if (dataspace != Dataspace::SRGB_LINEAR) { in getDataspaceSaturationMatrix()
152 hidl_cb(Error::NONE, mHal->getDataspaceSaturationMatrix(dataspace).data()); in getDataspaceSaturationMatrix()
DComposerHal.h48 common::V1_0::Dataspace dataspace) override { in getClientTargetSupport() argument
50 static_cast<Dataspace>(dataspace)); in getClientTargetSupport()
81 PixelFormat format, Dataspace dataspace) = 0;
92 virtual std::array<float, 16> getDataspaceSaturationMatrix(Dataspace dataspace) = 0;
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_layers.cpp69 bool GetColorPrimary(const int32_t &dataspace, ColorPrimaries *color_primary) { in GetColorPrimary() argument
70 auto standard = dataspace & HAL_DATASPACE_STANDARD_MASK; in GetColorPrimary()
97 bool GetTransfer(const int32_t &dataspace, GammaTransfer *gamma_transfer) { in GetTransfer() argument
98 auto transfer = dataspace & HAL_DATASPACE_TRANSFER_MASK; in GetTransfer()
123 void GetRange(const int32_t &dataspace, ColorRange *color_range) { in GetRange() argument
124 auto range = dataspace & HAL_DATASPACE_RANGE_MASK; in GetRange()
168 bool GetSDMColorSpace(const int32_t &dataspace, ColorMetaData *color_metadata) { in GetSDMColorSpace() argument
170 valid = GetColorPrimary(dataspace, &(color_metadata->colorPrimaries)); in GetSDMColorSpace()
174 valid = GetTransfer(dataspace, &(color_metadata->transfer)); in GetSDMColorSpace()
178 GetRange(dataspace, &(color_metadata->range)); in GetSDMColorSpace()
[all …]
Dhwc_layers.h49 bool GetColorPrimary(const int32_t &dataspace, ColorPrimaries *color_primary);
50 bool GetTransfer(const int32_t &dataspace, GammaTransfer *gamma_transfer);
51 void GetRange(const int32_t &dataspace, ColorRange *color_range);
52 bool GetSDMColorSpace(const int32_t &dataspace, ColorMetaData *color_metadata);
83 HWC2::Error SetLayerDataspace(int32_t dataspace);
/hardware/interfaces/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/
DComposerCommandBuffer.h68 Dataspace dataspace, const std::vector<IComposerClient::Rect>& damage) { in setClientTarget() argument
69 setClientTargetInternal(slot, target, acquireFence, static_cast<int32_t>(dataspace), in setClientTarget()
73 void setLayerDataspace(Dataspace dataspace) { in setLayerDataspace() argument
74 setLayerDataspaceInternal(static_cast<int32_t>(dataspace)); in setLayerDataspace()
/hardware/interfaces/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/
DComposerCommandBuffer.h58 void setLayerDataspace(Dataspace dataspace) { in setLayerDataspace() argument
59 setLayerDataspaceInternal(static_cast<int32_t>(dataspace)); in setLayerDataspace()
63 Dataspace dataspace, const std::vector<IComposerClient::Rect>& damage) { in setClientTarget() argument
64 setClientTargetInternal(slot, target, acquireFence, static_cast<int32_t>(dataspace), in setClientTarget()
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcHal.h105 int32_t dataspace = 0; in getReadbackBufferAttributes() local
107 mDispatch.getReadbackBufferAttributes(mDevice, display, &format, &dataspace); in getReadbackBufferAttributes()
110 *outDataspace = static_cast<Dataspace>(dataspace); in getReadbackBufferAttributes()
144 PixelFormat format, Dataspace dataspace) override { in getClientTargetSupport_2_2() argument
147 static_cast<common::V1_0::Dataspace>(dataspace)); in getClientTargetSupport_2_2()
213 std::array<float, 16> getDataspaceSaturationMatrix(Dataspace dataspace) override { in getDataspaceSaturationMatrix() argument
218 error = mDispatch.getDataspaceSaturationMatrix(mDevice, static_cast<int32_t>(dataspace), in getDataspaceSaturationMatrix()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.cpp244 HWC2::Error HWCLayer::SetLayerDataspace(int32_t dataspace) { in SetLayerDataspace() argument
247 if (dataspace & 0xffff) { in SetLayerDataspace()
248 switch (dataspace & 0xffff) { in SetLayerDataspace()
250 dataspace = HAL_DATASPACE_V0_SRGB; in SetLayerDataspace()
253 dataspace = HAL_DATASPACE_V0_JFIF; in SetLayerDataspace()
256 dataspace = HAL_DATASPACE_V0_SRGB_LINEAR; in SetLayerDataspace()
259 dataspace = HAL_DATASPACE_V0_BT601_625; in SetLayerDataspace()
262 dataspace = HAL_DATASPACE_V0_BT601_525; in SetLayerDataspace()
265 dataspace = HAL_DATASPACE_V0_BT709; in SetLayerDataspace()
269 DLOGW_IF(kTagQDCM, "Unsupported dataspace type %d", dataspace); in SetLayerDataspace()
[all …]
/hardware/interfaces/graphics/common/1.1/
Dtypes.hal34 * interpretation is defined by the dataspace.
43 * interpretation is defined by the dataspace.
52 * whose interpretation is defined by the dataspace. The stencil values are
53 * unsigned integers, whose interpretation is defined by the dataspace.
61 * by the dataspace.
70 * defined by the dataspace. The stencil bits are unsigned integers, whose
71 * interpretation is defined by the dataspace.
79 * defined by the dataspace.
107 * interpretation is defined by the dataspace.
154 * This is also true when UNKNOWN is treated as a legacy dataspace.
/hardware/interfaces/graphics/composer/2.2/
DIComposerClient.hal141 * device readback as well as the dataspace in which its contents should be
149 * The format and dataspace provided must be sufficient such that if a
157 * setting a readback buffer such that the returned format and dataspace can
165 * @return dataspace - the dataspace to use when interpreting the
178 Dataspace dataspace);
234 * getReadbackBufferAttributes and is in the dataspace provided by the same.
308 * @param dataspace is the client target dataspace, as described in
319 Dataspace dataspace)
398 * When the layer dataspace is a legacy dataspace (see
409 * Returns the saturation matrix of the specified legacy dataspace.
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/vts/
DComposerVts.cpp106 PixelFormat format, Dataspace dataspace) { in getClientTargetSupport_2_3() argument
107 Error error = mClient->getClientTargetSupport_2_3(display, width, height, format, dataspace); in getClientTargetSupport_2_3()
139 uint64_t display, PixelFormat& format, Dataspace& dataspace, in getDisplayedContentSamplingAttributes() argument
147 dataspace = tmpDataspace; in getDisplayedContentSamplingAttributes()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp113 PixelFormat format, Dataspace dataspace) { in getClientTargetSupport_2_2() argument
114 Error error = mClient->getClientTargetSupport_2_2(display, width, height, format, dataspace); in getClientTargetSupport_2_2()
172 std::array<float, 16> ComposerClient::getDataspaceSaturationMatrix(Dataspace dataspace) { in getDataspaceSaturationMatrix() argument
175 dataspace, [&](const auto& tmpError, const auto& tmpMatrix) { in getDataspaceSaturationMatrix()
/hardware/interfaces/graphics/composer/2.3/vts/functional/
DVtsHalGraphicsComposerV2_3TargetTest.cpp274 Dataspace dataspace; in TEST_F() local
282 dataspace = outDataspace; in TEST_F()
491 auto dataspace = static_cast<Dataspace>(invalid); in TEST_F() local
494 dataspace, componentMask); in TEST_F()
503 EXPECT_NE(dataspace, static_cast<Dataspace>(invalid)); in TEST_F()
529 auto dataspace = static_cast<Dataspace>(invalid); in TEST_F() local
532 dataspace, componentMask); in TEST_F()
/hardware/interfaces/graphics/composer/2.3/utils/vts/include/composer-vts/2.3/
DComposerVts.h73 uint64_t display, PixelFormat& format, Dataspace& dataspace,
97 PixelFormat format, Dataspace dataspace);
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
DComposerCommandBuffer.h249 Dataspace dataspace, const std::vector<IComposerClient::Rect>& damage) { in setClientTarget() argument
250 setClientTargetInternal(slot, target, acquireFence, static_cast<int32_t>(dataspace), in setClientTarget()
343 void setLayerDataspace(Dataspace dataspace) { in setLayerDataspace() argument
344 setLayerDataspaceInternal(static_cast<int32_t>(dataspace)); in setLayerDataspace()
407 int32_t dataspace, in setClientTargetInternal() argument
416 writeSigned(dataspace); in setClientTargetInternal()
426 void setLayerDataspaceInternal(int32_t dataspace) { in setLayerDataspaceInternal() argument
428 writeSigned(dataspace); in setLayerDataspaceInternal()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerHal.h81 PixelFormat format, Dataspace dataspace) = 0;
100 int32_t dataspace, const std::vector<hwc_rect_t>& damage) = 0;
121 virtual Error setLayerDataspace(Display display, Layer layer, int32_t dataspace) = 0;
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
DQCameraHAL3Test.h44 int camid, int w, int h, int format,int usage,int dataspace);
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h76 PixelFormat format, Dataspace dataspace);
87 std::array<float, 16> getDataspaceSaturationMatrix(Dataspace dataspace);
/hardware/qcom/sdm845/display/libhistogram/
Dhistogram_collector.h51 int32_t* dataspace,

123