Home
last modified time | relevance | path

Searched refs:HistogramErrorCode (Results 1 – 25 of 29) sorted by relevance

12

/hardware/google/graphics/zuma/libhwc2.1/libdevice/
DHistogramController.cpp57 HistogramErrorCode histogramErrorCode = HistogramErrorCode::NONE; in queryOPR()
67 HistogramErrorCode::NONE) in queryOPR()
70 if ((histogramErrorCode = preemptOPRChannels()) != HistogramErrorCode::NONE) in queryOPR()
97 if (histogramErrorCode != HistogramErrorCode::NONE) return errorToStatus(histogramErrorCode); in queryOPR()
102 HistogramController::HistogramErrorCode HistogramController::getOPRVals( in getOPRVals()
110 std::array<HistogramErrorCode, kOPRConfigsCount> errorCodes; in getOPRVals()
117 return HistogramErrorCode::ENABLE_HIST_ERROR; in getOPRVals()
136 errorCodes[i] = HistogramErrorCode::NONE; in getOPRVals()
143 if (errorCodes[i] != HistogramErrorCode::NONE) continue; in getOPRVals()
164 if (error != HistogramErrorCode::NONE) return error; in getOPRVals()
[all …]
DHistogramController.h66 HistogramErrorCode getOPRVals(const std::array<uint32_t, kOPRConfigsCount>& blobIds,
71 HistogramErrorCode calculateOPRVal(const char* configName,
77 HistogramErrorCode getOPRBlobs(std::array<uint32_t, kOPRConfigsCount>& blobIds,
84 HistogramErrorCode preemptOPRChannels() REQUIRES(mHistogramMutex)
/hardware/google/graphics/common/libhwc2.1/
Dhistogram_mediator.cpp32 histogram::HistogramErrorCode histogram::HistogramMediator::requestHist() { in requestHist()
34 return histogram::HistogramErrorCode::DRM_PLAYING; in requestHist()
43 return histogram::HistogramErrorCode::ENABLE_HIST_ERROR; in requestHist()
47 return histogram::HistogramErrorCode::NONE; in requestHist()
50 histogram::HistogramErrorCode histogram::HistogramMediator::cancelHistRequest() { in cancelHistRequest()
56 return histogram::HistogramErrorCode::DISABLE_HIST_ERROR; in cancelHistRequest()
58 return histogram::HistogramErrorCode::NONE; in cancelHistRequest()
75 histogram::HistogramErrorCode histogram::HistogramMediator::setRoiWeightThreshold( in setRoiWeightThreshold()
85 return histogram::HistogramErrorCode::NONE; in setRoiWeightThreshold()
88 histogram::HistogramErrorCode histogram::HistogramMediator::collectRoiLuma( in collectRoiLuma()
[all …]
Dhistogram_mediator.h49 using HistogramErrorCode = ::aidl::com::google::hardware::pixel::display::HistogramErrorCode; variable
60 HistogramErrorCode requestHist();
61 HistogramErrorCode cancelHistRequest();
62 HistogramErrorCode collectRoiLuma(std::vector<char16_t> *buf);
63 HistogramErrorCode setRoiWeightThreshold(const RoiRect &roi, const Weight &weight,
Dpixel-display.h36 using HistogramErrorCode = histogram::HistogramErrorCode; variable
60 HistogramErrorCode *_aidl_return) override;
70 HistogramErrorCode *_aidl_return) override;
73 HistogramErrorCode *_aidl_return) override;
76 HistogramErrorCode *_aidl_return) override;
78 HistogramErrorCode *_aidl_return) override;
Dpixel-display.cpp215 if (mMediator.setRoiWeightThreshold(roi, weight, pos) != HistogramErrorCode::NONE) { in runMediator()
224 mMediator.requestHist() == HistogramErrorCode::ENABLE_HIST_ERROR) { in runMediator()
237 if (mMediator.collectRoiLuma(histogrambuffer) != HistogramErrorCode::NONE) { in runMediator()
247 HistogramErrorCode *_aidl_return) { in histogramSample()
254 *_aidl_return = HistogramErrorCode::BAD_HIST_DATA; in histogramSample()
258 *_aidl_return = HistogramErrorCode::DISPLAY_POWEROFF; // panel is off in histogramSample()
262 *_aidl_return = HistogramErrorCode::DRM_PLAYING; // panel is playing DRM content in histogramSample()
267 *_aidl_return = HistogramErrorCode::BAD_ROI; in histogramSample()
273 *_aidl_return = HistogramErrorCode::BAD_WEIGHT; in histogramSample()
279 *_aidl_return = HistogramErrorCode::BAD_POSITION; in histogramSample()
[all …]
/hardware/google/graphics/common/libhwc2.1/libdevice/
DHistogramDevice.cpp39 HistogramDevice::HistogramErrorCode histogramErrorCode; in histogramOnBinderDied()
47 if (histogramErrorCode != HistogramDevice::HistogramErrorCode::NONE) { in histogramOnBinderDied()
119 return errorToStatus(HistogramErrorCode::TRY_AGAIN); in getHistogramCapability()
131 HistogramErrorCode* histogramErrorCode) { in registerHistogram()
150 if (!binderStatus.isOk() || *histogramErrorCode != HistogramErrorCode::NONE) { in registerHistogram()
171 *histogramErrorCode = HistogramErrorCode::BAD_TOKEN; in registerHistogram()
216 HistogramErrorCode* histogramErrorCode) { in registerHistogram()
225 HistogramErrorCode* histogramErrorCode) { in queryHistogram()
255 HistogramErrorCode* histogramErrorCode) { in reconfigHistogram()
268 if (!binderStatus.isOk() || *histogramErrorCode != HistogramErrorCode::NONE) { in reconfigHistogram()
[all …]
DHistogramDevice.h70 using HistogramErrorCode = aidl::com::google::hardware::pixel::display::HistogramErrorCode; variable
250 HistogramErrorCode* histogramErrorCode)
269 HistogramErrorCode* histogramErrorCode)
287 HistogramErrorCode* histogramErrorCode)
303 HistogramErrorCode* histogramErrorCode)
362 inline ndk::ScopedAStatus errorToStatus(const HistogramErrorCode histogramErrorCode) const { in errorToStatus()
465 HistogramErrorCode searchTokenInfo(const ndk::SpAIBinder& token, TokenInfo*& tokenInfo)
538 void getChanIdBlobId(const ndk::SpAIBinder& token, HistogramErrorCode* histogramErrorCode,
554 HistogramErrorCode* histogramErrorCode)
570 HistogramErrorCode* histogramErrorCode, const int channelId,
[all …]
/hardware/google/interfaces/display/com/google/hardware/pixel/display/
DIDisplay.aidl24 import com.google.hardware.pixel.display.HistogramErrorCode;
172 HistogramErrorCode histogramSample(in Rect roi, in Weight weight, in HistogramPos pos, in histogramSample()
253 HistogramErrorCode registerHistogram(in IBinder token, in HistogramConfig histogramConfig); in registerHistogram()
272 HistogramErrorCode queryHistogram(in IBinder token, out char[] histogramBuffer); in queryHistogram()
292 HistogramErrorCode reconfigHistogram(in IBinder token, in HistogramConfig histogramConfig); in reconfigHistogram()
304 HistogramErrorCode unregisterHistogram(in IBinder token); in unregisterHistogram()
DHistogramErrorCode.aidl21 enum HistogramErrorCode { enum
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/9/com/google/hardware/pixel/display/
DIDisplay.aidl50 …com.google.hardware.pixel.display.HistogramErrorCode histogramSample(in android.hardware.graphics.… in histogramSample()
58 …com.google.hardware.pixel.display.HistogramErrorCode registerHistogram(in IBinder token, in com.go… in registerHistogram()
59 …com.google.hardware.pixel.display.HistogramErrorCode queryHistogram(in IBinder token, out char[] h… in queryHistogram()
60 …com.google.hardware.pixel.display.HistogramErrorCode reconfigHistogram(in IBinder token, in com.go… in reconfigHistogram()
61 com.google.hardware.pixel.display.HistogramErrorCode unregisterHistogram(in IBinder token); in unregisterHistogram()
DHistogramErrorCode.aidl36 enum HistogramErrorCode { enum
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/10/com/google/hardware/pixel/display/
DIDisplay.aidl50 …com.google.hardware.pixel.display.HistogramErrorCode histogramSample(in android.hardware.graphics.… in histogramSample()
58 …com.google.hardware.pixel.display.HistogramErrorCode registerHistogram(in IBinder token, in com.go… in registerHistogram()
59 …com.google.hardware.pixel.display.HistogramErrorCode queryHistogram(in IBinder token, out char[] h… in queryHistogram()
60 …com.google.hardware.pixel.display.HistogramErrorCode reconfigHistogram(in IBinder token, in com.go… in reconfigHistogram()
61 com.google.hardware.pixel.display.HistogramErrorCode unregisterHistogram(in IBinder token); in unregisterHistogram()
DHistogramErrorCode.aidl36 enum HistogramErrorCode { enum
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/11/com/google/hardware/pixel/display/
DIDisplay.aidl50 …com.google.hardware.pixel.display.HistogramErrorCode histogramSample(in android.hardware.graphics.… in histogramSample()
58 …com.google.hardware.pixel.display.HistogramErrorCode registerHistogram(in IBinder token, in com.go… in registerHistogram()
59 …com.google.hardware.pixel.display.HistogramErrorCode queryHistogram(in IBinder token, out char[] h… in queryHistogram()
60 …com.google.hardware.pixel.display.HistogramErrorCode reconfigHistogram(in IBinder token, in com.go… in reconfigHistogram()
61 com.google.hardware.pixel.display.HistogramErrorCode unregisterHistogram(in IBinder token); in unregisterHistogram()
DHistogramErrorCode.aidl36 enum HistogramErrorCode { enum
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/12/com/google/hardware/pixel/display/
DIDisplay.aidl50 …com.google.hardware.pixel.display.HistogramErrorCode histogramSample(in android.hardware.graphics.… in histogramSample()
58 …com.google.hardware.pixel.display.HistogramErrorCode registerHistogram(in IBinder token, in com.go… in registerHistogram()
59 …com.google.hardware.pixel.display.HistogramErrorCode queryHistogram(in IBinder token, out char[] h… in queryHistogram()
60 …com.google.hardware.pixel.display.HistogramErrorCode reconfigHistogram(in IBinder token, in com.go… in reconfigHistogram()
61 com.google.hardware.pixel.display.HistogramErrorCode unregisterHistogram(in IBinder token); in unregisterHistogram()
DHistogramErrorCode.aidl36 enum HistogramErrorCode { enum
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/current/com/google/hardware/pixel/display/
DIDisplay.aidl50 …com.google.hardware.pixel.display.HistogramErrorCode histogramSample(in android.hardware.graphics.… in histogramSample()
58 …com.google.hardware.pixel.display.HistogramErrorCode registerHistogram(in IBinder token, in com.go… in registerHistogram()
59 …com.google.hardware.pixel.display.HistogramErrorCode queryHistogram(in IBinder token, out char[] h… in queryHistogram()
60 …com.google.hardware.pixel.display.HistogramErrorCode reconfigHistogram(in IBinder token, in com.go… in reconfigHistogram()
61 com.google.hardware.pixel.display.HistogramErrorCode unregisterHistogram(in IBinder token); in unregisterHistogram()
DHistogramErrorCode.aidl36 enum HistogramErrorCode { enum
/hardware/google/graphics/zumapro/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp397 HistogramDevice::HistogramErrorCode err = HistogramDevice::HistogramErrorCode::NONE; in prepare()
405 if (err != HistogramDevice::HistogramErrorCode::NONE) { in prepare()
424 HistogramDevice::HistogramErrorCode err = HistogramDevice::HistogramErrorCode::NONE; in unprepare()
426 if (err != HistogramDevice::HistogramErrorCode::NONE) { in unprepare()
491 HistogramDevice::HistogramErrorCode err = HistogramDevice::HistogramErrorCode::NONE; in Routine()
496 if (status.isOk() && err != HistogramDevice::HistogramErrorCode::BAD_TOKEN) { in Routine()
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/6/com/google/hardware/pixel/display/
DHistogramErrorCode.aidl36 enum HistogramErrorCode { enum
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/5/com/google/hardware/pixel/display/
DHistogramErrorCode.aidl36 enum HistogramErrorCode { enum
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/8/com/google/hardware/pixel/display/
DHistogramErrorCode.aidl36 enum HistogramErrorCode { enum
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/7/com/google/hardware/pixel/display/
DHistogramErrorCode.aidl36 enum HistogramErrorCode { enum

12