Home
last modified time | relevance | path

Searched refs:intent (Results 1 – 25 of 43) sorted by relevance

12

/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcHal.h208 Error setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_2() argument
210 if (intent < RenderIntent::COLORIMETRIC || intent > RenderIntent::TONE_MAP_ENHANCE) { in setColorMode_2_2()
213 if (intent != RenderIntent::COLORIMETRIC) { in setColorMode_2_2()
220 mDevice, display, static_cast<int32_t>(mode), static_cast<int32_t>(intent)); in setColorMode_2_2()
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/
DComposerHal.h46 RenderIntent intent) override { in setColorMode_2_2() argument
47 return setColorMode_2_3(display, static_cast<ColorMode>(mode), intent); in setColorMode_2_2()
85 virtual Error setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent) = 0;
DComposerClient.h49 Return<Error> setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_3() argument
50 return mHal->setColorMode_2_3(display, mode, intent); in setColorMode_2_3()
/hardware/interfaces/cas/1.2/
DICas.hal36 * @param intent the intention of the session to be opened.
41 openSession_1_2(SessionIntent intent, ScramblingMode mode)
/hardware/interfaces/cas/1.2/vts/functional/
DVtsHalCasV1_2TargetTest.cpp217 void testStatusUpdate(sp<ICas>& mediaCas, std::vector<uint8_t>* sessionId, SessionIntent intent,
274 SessionIntent intent, ScramblingMode mode) { in testStatusUpdate() argument
278 intent, mode, in testStatusUpdate()
293 EXPECT_EQ(mStatusEvent, static_cast<StatusEvent>(intent)); in testStatusUpdate()
327 SessionIntent intent, ScramblingMode mode);
549 SessionIntent intent = SessionIntent::LIVE; in TEST_P() local
551 mCasListener->testStatusUpdate(mMediaCas, &sessionId, intent, mode); in TEST_P()
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DDescramblerTests.cpp43 SessionIntent intent = SessionIntent::LIVE; in openCasSession() local
46 mCas->openSession_1_2(intent, mode, [&](Status status, const hidl_vec<uint8_t>& id) { in openCasSession()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_pluggable.cpp318 HWC2::Error HWCDisplayPluggable::SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent) { in SetColorModeWithRenderIntent() argument
319 auto status = color_mode_->CacheColorModeWithRenderIntent(mode, intent); in SetColorModeWithRenderIntent()
321 DLOGE("failed for mode = %d intent = %d", mode, intent); in SetColorModeWithRenderIntent()
Dhwc_display_virtual.h55 virtual HWC2::Error SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent) { in SetColorModeWithRenderIntent() argument
Dhwc_display_pluggable.h56 virtual HWC2::Error SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent);
Dhwc_display.h85 HWC2::Error SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent);
92 HWC2::Error CacheColorModeWithRenderIntent(ColorMode mode, RenderIntent intent);
104 HWC2::Error ValidateColorModeWithRenderIntent(ColorMode mode, RenderIntent intent);
270 virtual HWC2::Error SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent) { in SetColorModeWithRenderIntent() argument
Dhwc_display.cpp117 HWC2::Error HWCColorMode::ValidateColorModeWithRenderIntent(ColorMode mode, RenderIntent intent) { in ValidateColorModeWithRenderIntent() argument
125 if (color_mode_map_[mode].find(intent) == color_mode_map_[mode].end()) { in ValidateColorModeWithRenderIntent()
132 HWC2::Error HWCColorMode::SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent) { in SetColorModeWithRenderIntent() argument
134 HWC2::Error hwc_error = ValidateColorModeWithRenderIntent(mode, intent); in SetColorModeWithRenderIntent()
139 if (current_color_mode_ == mode && current_render_intent_ == intent) { in SetColorModeWithRenderIntent()
143 auto mode_string = color_mode_map_[mode][intent][kSdrType]; in SetColorModeWithRenderIntent()
146 DLOGE("failed for mode = %d intent = %d name = %s", mode, intent, mode_string.c_str()); in SetColorModeWithRenderIntent()
153 current_render_intent_ = intent; in SetColorModeWithRenderIntent()
154 DLOGV_IF(kTagClient, "Successfully applied mode = %d intent = %d name = %s", mode, intent, in SetColorModeWithRenderIntent()
159 HWC2::Error HWCColorMode::CacheColorModeWithRenderIntent(ColorMode mode, RenderIntent intent) { in CacheColorModeWithRenderIntent() argument
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/vts/
DComposerVts.cpp73 void ComposerClient::setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent) { in setColorMode_2_3() argument
74 Error error = mClient->setColorMode_2_3(display, mode, intent); in setColorMode_2_3()
/hardware/interfaces/graphics/composer/2.2/
DIComposerClient.hal373 * Sets the color mode and render intent of the given display.
375 * The color mode and render intent change must take effect on next
384 * @param intent is the render intent to set to.
387 * BAD_PARAMETER when mode or intent is invalid
388 * UNSUPPORTED when mode or intent is not supported on this
391 setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent)
399 * [email protected]::Dataspace) and the display render intent is
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h141 Return<Error> setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent) override { in setColorMode_2_2() argument
142 return mHal->setColorMode_2_2(display, mode, intent); in setColorMode_2_2()
DComposerHal.h90 virtual Error setColorMode_2_2(Display display, ColorMode mode, RenderIntent intent) = 0;
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp166 void ComposerClient::setColorMode(Display display, ColorMode mode, RenderIntent intent) { in setColorMode() argument
167 Error error = mClient->setColorMode_2_2(display, mode, intent); in setColorMode()
/hardware/interfaces/cas/1.2/default/
DCasImpl.cpp157 Return<void> CasImpl::openSession_1_2(const SessionIntent intent, const ScramblingMode mode, in openSession_1_2() argument
165 err = holder->openSession(static_cast<uint32_t>(intent), static_cast<uint32_t>(mode), in openSession_1_2()
DCasImpl.h70 virtual Return<void> openSession_1_2(const SessionIntent intent, const ScramblingMode mode,
/hardware/interfaces/graphics/composer/2.3/utils/vts/include/composer-vts/2.3/
DComposerVts.h83 void setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent);
/hardware/interfaces/graphics/composer/2.3/
DIComposerClient.hal431 * Sets the color mode and render intent of the given display.
433 * The color mode and render intent change must take effect on next
442 * @param intent is the render intent to set to.
445 * BAD_PARAMETER when mode or intent is invalid
446 * UNSUPPORTED when mode or intent is not supported on this
449 setColorMode_2_3(Display display, ColorMode mode, RenderIntent intent)
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h86 void setColorMode(Display display, ColorMode mode, RenderIntent intent);
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display.cpp100 HWC2::Error HWCColorMode::SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent) { in SetColorModeWithRenderIntent() argument
109 if (color_mode_map_[mode].find(intent) == color_mode_map_[mode].end()) { in SetColorModeWithRenderIntent()
113 if (current_color_mode_ == mode && current_render_intent_ == intent) { in SetColorModeWithRenderIntent()
117 auto mode_string = color_mode_map_[mode][intent]; in SetColorModeWithRenderIntent()
120 DLOGE("failed for mode = %d intent = %d name = %s", mode, intent, mode_string.c_str()); in SetColorModeWithRenderIntent()
125 current_render_intent_ = intent; in SetColorModeWithRenderIntent()
130 DLOGV_IF(kTagClient, "Successfully applied mode = %d intent = %d name = %s", mode, intent, in SetColorModeWithRenderIntent()
382 auto intent = RenderIntent::COLORIMETRIC; in FindRenderIntent() local
384 intent = RenderIntent::ENHANCE; in FindRenderIntent()
386 color_mode_map_[mode][intent] = mode_string; in FindRenderIntent()
Dhwc_display_primary.h67 virtual HWC2::Error SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent);
Dhwc_display_primary.cpp387 HWC2::Error HWCDisplayPrimary::SetColorModeWithRenderIntent(ColorMode mode, RenderIntent intent) { in SetColorModeWithRenderIntent() argument
388 auto status = color_mode_->SetColorModeWithRenderIntent(mode, intent); in SetColorModeWithRenderIntent()
390 DLOGE("failed for mode = %d intent = %d", mode, intent); in SetColorModeWithRenderIntent()
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedRequestState.cpp1883 uint8_t intent = ANDROID_CONTROL_CAPTURE_INTENT_CUSTOM; in InitializeControlDefaults() local
1899 intent = ANDROID_CONTROL_CAPTURE_INTENT_MANUAL; in InitializeControlDefaults()
1906 intent = ANDROID_CONTROL_CAPTURE_INTENT_ZERO_SHUTTER_LAG; in InitializeControlDefaults()
1912 intent = ANDROID_CONTROL_CAPTURE_INTENT_PREVIEW; in InitializeControlDefaults()
1918 intent = ANDROID_CONTROL_CAPTURE_INTENT_STILL_CAPTURE; in InitializeControlDefaults()
1924 intent = ANDROID_CONTROL_CAPTURE_INTENT_VIDEO_RECORD; in InitializeControlDefaults()
1933 intent = ANDROID_CONTROL_CAPTURE_INTENT_VIDEO_SNAPSHOT; in InitializeControlDefaults()
1946 if (intent != ANDROID_CONTROL_CAPTURE_INTENT_CUSTOM) { in InitializeControlDefaults()
1947 default_requests_[idx]->Set(ANDROID_CONTROL_CAPTURE_INTENT, &intent, 1); in InitializeControlDefaults()

12