MCPcopy Create free account
hub / github.com/android/ndk-samples / OnCameraParameterChanged

Method OnCameraParameterChanged

camera/basic/src/main/cpp/camera_engine.cpp:147–149  ·  view source on GitHub ↗

* Process to user's sensitivity and exposure value change * all values are represented in int64_t even exposure is just int32_t * @param code ACAMERA_SENSOR_EXPOSURE_TIME or ACAMERA_SENSOR_SENSITIVITY * @param val corresponding value from user */

Source from the content-addressed store, hash-verified

145 * @param val corresponding value from user
146 */
147void CameraEngine::OnCameraParameterChanged(int32_t code, int64_t val) {
148 camera_->UpdateCameraRequestParameter(code, val);
149}
150
151/**
152 * The main function rendering a frame. In our case, it is yuv to RGBA8888

Callers 2

OnExposureChangedFunction · 0.80
OnSensitivityChangedFunction · 0.80

Calls 1

Tested by

no test coverage detected