Home
last modified time | relevance | path

Searched refs:ColorMode (Results 1 – 21 of 21) sorted by relevance

/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerHal.h31 using common::V1_1::ColorMode;
58 Error getColorModes(Display display, hidl_vec<common::V1_0::ColorMode>* outModes) override { in getColorModes()
59 return getColorModes_2_2(display, reinterpret_cast<hidl_vec<ColorMode>*>(outModes)); in getColorModes()
63 Error setColorMode(Display display, common::V1_0::ColorMode mode) override { in setColorMode()
64 return setColorMode_2_2(display, static_cast<ColorMode>(mode), RenderIntent::COLORIMETRIC); in setColorMode()
87 virtual Error getColorModes_2_2(Display display, hidl_vec<ColorMode>* outModes) = 0;
88 virtual Error getRenderIntents(Display display, ColorMode mode,
90 virtual Error setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent) = 0;
DComposerClient.h127 hidl_vec<ColorMode> modes; in getColorModes_2_2()
133 Return<void> getRenderIntents(Display display, ColorMode mode, in getRenderIntents()
147 Return<Error> setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_2()
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h40 using android::hardware::graphics::common::V1_1::ColorMode;
82 std::vector<ColorMode> getColorModes(Display display);
83 std::vector<RenderIntent> getRenderIntents(Display display, ColorMode mode);
84 void setColorMode(Display display, ColorMode mode, RenderIntent intent);
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2TargetTest.cpp38 using android::hardware::graphics::common::V1_1::ColorMode;
336 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F()
338 auto nativeMode = std::find(modes.cbegin(), modes.cend(), ColorMode::NATIVE); in TEST_F()
346 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F()
353 case ColorMode::BT2100_PQ: in TEST_F()
354 case ColorMode::BT2100_HLG: in TEST_F()
373 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F()
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h37 using android::hardware::graphics::common::V1_0::ColorMode;
89 std::vector<ColorMode> getColorModes(Display display);
101 void setColorMode(Display display, ColorMode mode);
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcHal.h37 using common::V1_1::ColorMode;
168 Error getColorModes_2_2(Display display, hidl_vec<ColorMode>* outModes) override { in getColorModes_2_2()
170 reinterpret_cast<hidl_vec<common::V1_0::ColorMode>*>(outModes)); in getColorModes_2_2()
173 Error getRenderIntents(Display display, ColorMode mode, in getRenderIntents()
200 Error setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_2()
205 return setColorMode(display, static_cast<common::V1_0::ColorMode>(mode)); in setColorMode_2_2()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp153 std::vector<ColorMode> ComposerClient_v2_2::getColorModes(Display display) { in getColorModes()
154 std::vector<ColorMode> modes; in getColorModes()
162 std::vector<RenderIntent> ComposerClient_v2_2::getRenderIntents(Display display, ColorMode mode) { in getRenderIntents()
172 void ComposerClient_v2_2::setColorMode(Display display, ColorMode mode, RenderIntent intent) { in setColorMode()
/hardware/interfaces/graphics/common/1.0/
DAndroid.bp15 "ColorMode",
/hardware/interfaces/graphics/common/1.1/
DAndroid.bp18 "ColorMode",
Dtypes.hal20 import @1.0::ColorMode;
181 enum ColorMode : @1.0::ColorMode {
246 * modes. It is ignored when the color mode is ColorMode::NATIVE, because
247 * ColorMode::NATIVE colors are already display colors.
257 * ColorMode::NATIVE is the only supported color mode.
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerHal.h39 using common::V1_0::ColorMode;
82 virtual Error getColorModes(Display display, hidl_vec<ColorMode>* outModes) = 0;
94 virtual Error setColorMode(Display display, ColorMode mode) = 0;
DComposerClient.h196 hidl_vec<ColorMode> modes; in getColorModes()
259 Return<Error> setColorMode(Display display, ColorMode mode) override { in setColorMode()
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp178 std::vector<ColorMode> ComposerClient::getColorModes(Display display) { in getColorModes()
179 std::vector<ColorMode> modes; in getColorModes()
267 void ComposerClient::setColorMode(Display display, ColorMode mode) { in setColorMode()
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp45 using android::hardware::graphics::common::V1_0::ColorMode;
295 std::unordered_set<ColorMode> validModes; in TEST_F()
296 for (auto mode : hidl_enum_iterator<ColorMode>()) { in TEST_F()
300 std::vector<ColorMode> modes = mComposerClient->getColorModes(mPrimaryDisplay); in TEST_F()
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcHal.h47 using android::hardware::graphics::common::V1_0::ColorMode;
182 Error getColorModes(Display display, hidl_vec<ColorMode>* outModes) override { in getColorModes()
192 reinterpret_cast<std::underlying_type<ColorMode>::type*>(outModes->data())); in getColorModes()
194 *outModes = hidl_vec<ColorMode>(); in getColorModes()
289 Error setColorMode(Display display, ColorMode mode) override { in setColorMode()
/hardware/interfaces/graphics/composer/2.2/
DIComposerClient.hal19 import android.hardware.graphics.common@1.1::ColorMode;
343 * All devices must support at least ColorMode::NATIVE.
352 vec<ColorMode> modes);
368 getRenderIntents(Display display, ColorMode mode)
378 * All devices must support at least ColorMode::NATIVE and
391 setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent)
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.h234 class ColorMode {
687 qhwc::ColorMode *mColorMode;
Dhwc_utils.cpp423 ctx->mColorMode = new ColorMode(); in initContext()
2855 void ColorMode::init() { in init()
2887 int ColorMode::applyDefaultMode() { in applyDefaultMode()
2900 int ColorMode::applyModeByID(int modeID) { in applyModeByID()
2913 int ColorMode::applyModeByIndex(int index) { in applyModeByIndex()
2928 int ColorMode::setDefaultMode(int modeID) { in setDefaultMode()
2937 int ColorMode::getModeForIndex(int index) { in getModeForIndex()
2945 int ColorMode::getIndexForMode(int mode) { in getIndexForMode()
2954 void ColorMode::destroy() { in destroy()
DHWC2On1Adapter.cpp78 static constexpr Attribute ColorMode = static_cast<Attribute>(6); variable
1203 newConfig->setAttribute(ColorMode, in populateConfigs()
1683 android_color_mode_t colorMode = static_cast<android_color_mode_t>(getAttribute(ColorMode)); in setHwc1Id()
1734 static_cast<android_color_mode_t>(other.getAttribute(ColorMode)); in merge()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp53 static constexpr Attribute ColorMode = static_cast<Attribute>(6); variable
1159 newConfig->setAttribute(ColorMode, in populateConfigs()
1596 android_color_mode_t colorMode = static_cast<android_color_mode_t>(getAttribute(ColorMode)); in setHwc1Id()
1643 static_cast<android_color_mode_t>(other.getAttribute(ColorMode)); in merge()
/hardware/interfaces/graphics/composer/2.1/
DIComposerClient.hal379 * All devices must support at least ColorMode::NATIVE.
389 vec<ColorMode> modes);
524 * All devices must support at least ColorMode::NATIVE, and displays are
535 setColorMode(Display display, ColorMode mode) generates (Error error);