Home
last modified time | relevance | path

Searched refs:validTypes (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/libs/gui/
DHdrMetadata.cpp23 size_t size = sizeof(validTypes); in getFlattenedSize()
24 if (validTypes & SMPTE2086) { in getFlattenedSize()
27 if (validTypes & CTA861_3) { in getFlattenedSize()
30 if (validTypes & HDR10PLUS) { in getFlattenedSize()
42 FlattenableUtils::write(buffer, size, validTypes); in flatten()
43 if (validTypes & SMPTE2086) { in flatten()
46 if (validTypes & CTA861_3) { in flatten()
49 if (validTypes & HDR10PLUS) { in flatten()
61 if (size < sizeof(validTypes)) { in unflatten()
64 FlattenableUtils::read(buffer, size, validTypes); in unflatten()
[all …]
DSurface.cpp2240 mHdrMetadata.validTypes |= HdrMetadata::SMPTE2086; in setBuffersSmpte2086Metadata()
2242 mHdrMetadata.validTypes &= ~HdrMetadata::SMPTE2086; in setBuffersSmpte2086Metadata()
2253 mHdrMetadata.validTypes |= HdrMetadata::CTA861_3; in setBuffersCta8613Metadata()
2255 mHdrMetadata.validTypes &= ~HdrMetadata::CTA861_3; in setBuffersCta8613Metadata()
2266 mHdrMetadata.validTypes |= HdrMetadata::HDR10PLUS; in setBuffersHdr10PlusMetadata()
2268 mHdrMetadata.validTypes &= ~HdrMetadata::HDR10PLUS; in setBuffersHdr10PlusMetadata()
DLayerState.cpp98 hdrMetadata.validTypes = 0; in layer_state_t()
DBufferQueueProducer.cpp967 hdrMetadata.validTypes, crop.left, crop.top, crop.right, crop.bottom, in queueBuffer()
/frameworks/native/libs/gui/include/gui/
DHdrMetadata.h36 uint32_t validTypes{0};
49 if (validTypes & Type::SMPTE2086) { in getSmpte2086()
56 if (validTypes & Type::CTA861_3) { in getCta8613()
63 if (validTypes & Type::HDR10PLUS) { in getHdr10Plus()
/frameworks/av/media/libstagefright/
DFrameCaptureLayer.cpp90 bool hasSmpte2086 = mBufferItem.mHdrMetadata.validTypes & HdrMetadata::SMPTE2086; in getLayerSettings()
91 bool hasCta861_3 = mBufferItem.mHdrMetadata.validTypes & HdrMetadata::CTA861_3; in getLayerSettings()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerFECompositionState.cpp122 dumpVal(out, "hdr metadata types", hdrMetadata.validTypes); in dump()
/frameworks/base/native/android/
Dsurface_control.cpp593 hdrMetadata.validTypes |= HdrMetadata::SMPTE2086; in ASurfaceTransaction_setHdrMetadata_smpte2086()
595 hdrMetadata.validTypes &= ~HdrMetadata::SMPTE2086; in ASurfaceTransaction_setHdrMetadata_smpte2086()
616 hdrMetadata.validTypes |= HdrMetadata::CTA861_3; in ASurfaceTransaction_setHdrMetadata_cta861_3()
618 hdrMetadata.validTypes &= ~HdrMetadata::CTA861_3; in ASurfaceTransaction_setHdrMetadata_cta861_3()
/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()
DLayer.cpp183 mDrawingState.hdrMetadata.validTypes = 0; in Layer()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp845 int validTypes = mHdrMetadata.validTypes & supportedPerFrameMetadata; in setPerFrameMetadata() local
847 if (validTypes & HdrMetadata::SMPTE2086) { in setPerFrameMetadata()
871 if (validTypes & HdrMetadata::CTA861_3) { in setPerFrameMetadata()
886 if (validTypes & HdrMetadata::HDR10PLUS) { in setPerFrameMetadata()
/frameworks/native/libs/nativedisplay/surfacetexture/
Dsurface_texture.cpp209 *outHdrType = static_cast<AHdrMetadataType>(metadata.validTypes); in ASurfaceTexture_dequeueBuffer()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSignalThresholdInfoTest.java372 Set validTypes = VALID_RAN_TO_MEASUREMENT_TYPE_MAP.get(ran); in testBuilderWithInvalidParameter() local
376 if (!validTypes.contains(type)) { in testBuilderWithInvalidParameter()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp1205 sizeof(HdrMetadata::validTypes); in getFlattenedSize()
1263 FlattenableUtils::write(buffer, size, decltype(HdrMetadata::validTypes)(0)); in flatten()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp1285 hdr.validTypes |= HdrMetadata::SMPTE2086; in renderOutputBuffer()
1295 hdr.validTypes |= HdrMetadata::CTA861_3; in renderOutputBuffer()
1300 if (!(hdr.validTypes & (HdrMetadata::SMPTE2086 | HdrMetadata::CTA861_3))) { in renderOutputBuffer()
1306 hdr.validTypes |= HdrMetadata::HDR10PLUS; in renderOutputBuffer()
/frameworks/native/services/surfaceflinger/FrontEnd/
DRequestedLayerState.cpp104 hdrMetadata.validTypes = 0; in RequestedLayerState()
/frameworks/native/services/surfaceflinger/tests/
DLayerRenderTypeTransaction_test.cpp1396 hdrMetadata.validTypes = 0; in TEST_P()