Home
last modified time | relevance | path

Searched refs:hdrMetadata (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/native/android/
Dsurface_control.cpp579 HdrMetadata hdrMetadata; in ASurfaceTransaction_setHdrMetadata_smpte2086() local
582 hdrMetadata.smpte2086.displayPrimaryRed.x = metadata->displayPrimaryRed.x; in ASurfaceTransaction_setHdrMetadata_smpte2086()
583 hdrMetadata.smpte2086.displayPrimaryRed.y = metadata->displayPrimaryRed.y; in ASurfaceTransaction_setHdrMetadata_smpte2086()
584 hdrMetadata.smpte2086.displayPrimaryGreen.x = metadata->displayPrimaryGreen.x; in ASurfaceTransaction_setHdrMetadata_smpte2086()
585 hdrMetadata.smpte2086.displayPrimaryGreen.y = metadata->displayPrimaryGreen.y; in ASurfaceTransaction_setHdrMetadata_smpte2086()
586 hdrMetadata.smpte2086.displayPrimaryBlue.x = metadata->displayPrimaryBlue.x; in ASurfaceTransaction_setHdrMetadata_smpte2086()
587 hdrMetadata.smpte2086.displayPrimaryBlue.y = metadata->displayPrimaryBlue.y; in ASurfaceTransaction_setHdrMetadata_smpte2086()
588 hdrMetadata.smpte2086.whitePoint.x = metadata->whitePoint.x; in ASurfaceTransaction_setHdrMetadata_smpte2086()
589 hdrMetadata.smpte2086.whitePoint.y = metadata->whitePoint.y; in ASurfaceTransaction_setHdrMetadata_smpte2086()
590 hdrMetadata.smpte2086.minLuminance = metadata->minLuminance; in ASurfaceTransaction_setHdrMetadata_smpte2086()
[all …]
/frameworks/native/services/surfaceflinger/
DLayerFE.cpp245 bool hasSmpte2086 = mSnapshot->hdrMetadata.validTypes & HdrMetadata::SMPTE2086; in prepareBufferStateClientComposition()
246 bool hasCta861_3 = mSnapshot->hdrMetadata.validTypes & HdrMetadata::CTA861_3; in prepareBufferStateClientComposition()
249 maxLuminance = std::min(mSnapshot->hdrMetadata.smpte2086.maxLuminance, in prepareBufferStateClientComposition()
250 mSnapshot->hdrMetadata.cta8613.maxContentLightLevel); in prepareBufferStateClientComposition()
252 maxLuminance = mSnapshot->hdrMetadata.smpte2086.maxLuminance; in prepareBufferStateClientComposition()
254 maxLuminance = mSnapshot->hdrMetadata.cta8613.maxContentLightLevel; in prepareBufferStateClientComposition()
DLayer.cpp183 mDrawingState.hdrMetadata.validTypes = 0; in Layer()
695 snapshot->hdrMetadata = mBufferInfo.mHdrMetadata; in preparePerFrameBufferCompositionState()
3353 bool Layer::setHdrMetadata(const HdrMetadata& hdrMetadata) { in setHdrMetadata() argument
3354 if (mDrawingState.hdrMetadata == hdrMetadata) return false; in setHdrMetadata()
3355 mDrawingState.hdrMetadata = hdrMetadata; in setHdrMetadata()
3669 mBufferInfo.mHdrMetadata = mDrawingState.hdrMetadata; in gatherBufferInfo()
3870 if (mDrawingState.hdrMetadata != s.hdrMetadata) { in isSimpleBufferUpdate()
DLayer.h157 HdrMetadata hdrMetadata; member
DSurfaceFlinger.cpp5753 if (layer->setHdrMetadata(s.hdrMetadata)) flags |= eTraversalNeeded; in setClientStateLocked()
/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp38 hdrMetadata.getFlattenedSize(); in getFlattenedSize()
70 result = hdrMetadata.flatten(buffer, size); in flatten()
74 FlattenableUtils::advance(buffer, size, hdrMetadata.getFlattenedSize()); in flatten()
105 result = hdrMetadata.unflatten(buffer, size); in unflatten()
109 FlattenableUtils::advance(buffer, size, hdrMetadata.getFlattenedSize()); in unflatten()
DLayerState.cpp98 hdrMetadata.validTypes = 0; in layer_state_t()
125 SAFE_PARCEL(output.write, hdrMetadata); in write()
239 SAFE_PARCEL(input.read, hdrMetadata); in read()
608 hdrMetadata = other.hdrMetadata; in merge()
761 CHECK_DIFF(diff, eHdrMetadataChanged, other, hdrMetadata); in diff()
DBufferQueueProducer.cpp901 const HdrMetadata& hdrMetadata = input.getHdrMetadata(); in queueBuffer() local
967 hdrMetadata.validTypes, crop.left, crop.top, crop.right, crop.bottom, in queueBuffer()
1006 item.mHdrMetadata = hdrMetadata; in queueBuffer()
DSurfaceComposerClient.cpp1848 const sp<SurfaceControl>& sc, const HdrMetadata& hdrMetadata) { in setHdrMetadata() argument
1855 s->hdrMetadata = hdrMetadata; in setHdrMetadata()
/frameworks/native/libs/gui/include/gui/
DIGraphicBufferProducer.h365 const HdrMetadata& getHdrMetadata() const { return hdrMetadata; } in getHdrMetadata()
366 void setHdrMetadata(const HdrMetadata& metadata) { hdrMetadata = metadata; } in setHdrMetadata()
379 HdrMetadata hdrMetadata; member
DLayerState.h332 HdrMetadata hdrMetadata; member
DSurfaceComposerClient.h601 Transaction& setHdrMetadata(const sp<SurfaceControl>& sc, const HdrMetadata& hdrMetadata);
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h191 HdrMetadata hdrMetadata; member
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerFECompositionState.cpp122 dumpVal(out, "hdr metadata types", hdrMetadata.validTypes); in dump()
DOutputLayer.cpp673 outputIndependentState.hdrMetadata); in writeBufferStateToHWC()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.cpp390 hdrMetadata = requested.hdrMetadata; in merge()
DRequestedLayerState.cpp104 hdrMetadata.validTypes = 0; in RequestedLayerState()
/frameworks/native/services/surfaceflinger/tests/
DLayerRenderTypeTransaction_test.cpp1395 HdrMetadata hdrMetadata; in TEST_P() local
1396 hdrMetadata.validTypes = 0; in TEST_P()
1397 Transaction().setBuffer(layer, buffer).setHdrMetadata(layer, hdrMetadata).apply(); in TEST_P()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp833 mLayerFEState.hdrMetadata = kHdrMetadata; in OutputLayerWriteStateToHWCTest()