Home
last modified time | relevance | path

Searched refs:validTypes (Results 1 – 14 of 14) 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()
60 if (size < sizeof(validTypes)) { in unflatten()
63 FlattenableUtils::read(buffer, size, validTypes); in unflatten()
[all …]
DSurface.cpp1652 mHdrMetadata.validTypes |= HdrMetadata::SMPTE2086; in setBuffersSmpte2086Metadata()
1654 mHdrMetadata.validTypes &= ~HdrMetadata::SMPTE2086; in setBuffersSmpte2086Metadata()
1664 mHdrMetadata.validTypes |= HdrMetadata::CTA861_3; in setBuffersCta8613Metadata()
1666 mHdrMetadata.validTypes &= ~HdrMetadata::CTA861_3; in setBuffersCta8613Metadata()
1676 mHdrMetadata.validTypes |= HdrMetadata::HDR10PLUS; in setBuffersHdr10PlusMetadata()
1678 mHdrMetadata.validTypes &= ~HdrMetadata::HDR10PLUS; in setBuffersHdr10PlusMetadata()
DBufferQueueProducer.cpp844 hdrMetadata.validTypes, crop.left, crop.top, crop.right, crop.bottom, in queueBuffer()
/frameworks/native/libs/gui/include/gui/
DHdrMetadata.h34 uint32_t validTypes{0};
/frameworks/base/native/android/
Dsurface_control.cpp491 hdrMetadata.validTypes |= HdrMetadata::SMPTE2086; in ASurfaceTransaction_setHdrMetadata_smpte2086()
493 hdrMetadata.validTypes &= ~HdrMetadata::SMPTE2086; in ASurfaceTransaction_setHdrMetadata_smpte2086()
514 hdrMetadata.validTypes |= HdrMetadata::CTA861_3; in ASurfaceTransaction_setHdrMetadata_cta861_3()
516 hdrMetadata.validTypes &= ~HdrMetadata::CTA861_3; in ASurfaceTransaction_setHdrMetadata_cta861_3()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerCompositionState.cpp74 dumpVal(out, "hdr metadata types", state.hdrMetadata.validTypes); in dumpFrontEnd()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp911 int validTypes = mHdrMetadata.validTypes & supportedPerFrameMetadata; in setPerFrameMetadata() local
913 if (validTypes & HdrMetadata::SMPTE2086) { in setPerFrameMetadata()
937 if (validTypes & HdrMetadata::CTA861_3) { in setPerFrameMetadata()
948 if (validTypes & HdrMetadata::HDR10PLUS) { in setPerFrameMetadata()
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp446 item.mHdrMetadata.validTypes != 0); in onFrameAvailable()
DBufferStateLayer.cpp235 mCurrentState.hdrMetadata.validTypes != 0); in setBuffer()
DLayer.cpp107 mCurrentState.hdrMetadata.validTypes = 0; in Layer()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp1225 sizeof(HdrMetadata::validTypes); in getFlattenedSize()
1283 FlattenableUtils::write(buffer, size, decltype(HdrMetadata::validTypes)(0)); in flatten()
/frameworks/ml/nn/runtime/test/
DTestValidation.cpp2287 int32_t validTypes[] = {ANEURALNETWORKS_DEVICE_UNKNOWN, ANEURALNETWORKS_DEVICE_OTHER, in TEST() local
2298 EXPECT_TRUE(std::find(std::begin(validTypes), std::end(validTypes), deviceType) != in TEST()
2299 std::end(validTypes)); in TEST()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp694 hdr.validTypes = HdrMetadata::SMPTE2086 | HdrMetadata::CTA861_3; in renderOutputBuffer()
699 hdr.validTypes |= HdrMetadata::HDR10PLUS; in renderOutputBuffer()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp2916 hdrMetadata.validTypes = 0; in TEST_P()