Home
last modified time | relevance | path

Searched refs:validTypes (Results 1 – 15 of 15) 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.cpp1890 mHdrMetadata.validTypes |= HdrMetadata::SMPTE2086; in setBuffersSmpte2086Metadata()
1892 mHdrMetadata.validTypes &= ~HdrMetadata::SMPTE2086; in setBuffersSmpte2086Metadata()
1902 mHdrMetadata.validTypes |= HdrMetadata::CTA861_3; in setBuffersCta8613Metadata()
1904 mHdrMetadata.validTypes &= ~HdrMetadata::CTA861_3; in setBuffersCta8613Metadata()
1914 mHdrMetadata.validTypes |= HdrMetadata::HDR10PLUS; in setBuffersHdr10PlusMetadata()
1916 mHdrMetadata.validTypes &= ~HdrMetadata::HDR10PLUS; in setBuffersHdr10PlusMetadata()
DBufferQueueProducer.cpp885 hdrMetadata.validTypes, crop.left, crop.top, crop.right, crop.bottom, in queueBuffer()
/frameworks/native/libs/gui/include/gui/
DHdrMetadata.h34 uint32_t validTypes{0};
DLayerState.h145 hdrMetadata.validTypes = 0; in layer_state_t()
/frameworks/base/native/android/
Dsurface_control.cpp496 hdrMetadata.validTypes |= HdrMetadata::SMPTE2086; in ASurfaceTransaction_setHdrMetadata_smpte2086()
498 hdrMetadata.validTypes &= ~HdrMetadata::SMPTE2086; in ASurfaceTransaction_setHdrMetadata_smpte2086()
519 hdrMetadata.validTypes |= HdrMetadata::CTA861_3; in ASurfaceTransaction_setHdrMetadata_cta861_3()
521 hdrMetadata.validTypes &= ~HdrMetadata::CTA861_3; in ASurfaceTransaction_setHdrMetadata_cta861_3()
/frameworks/av/media/libstagefright/
DFrameCaptureLayer.cpp99 bool hasSmpte2086 = mBufferItem.mHdrMetadata.validTypes & HdrMetadata::SMPTE2086; in getLayerSettings()
100 bool hasCta861_3 = mBufferItem.mHdrMetadata.validTypes & HdrMetadata::CTA861_3; in getLayerSettings()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerFECompositionState.cpp110 dumpVal(out, "hdr metadata types", hdrMetadata.validTypes); in dump()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp859 int validTypes = mHdrMetadata.validTypes & supportedPerFrameMetadata; in setPerFrameMetadata() local
861 if (validTypes & HdrMetadata::SMPTE2086) { in setPerFrameMetadata()
885 if (validTypes & HdrMetadata::CTA861_3) { in setPerFrameMetadata()
896 if (validTypes & HdrMetadata::HDR10PLUS) { in setPerFrameMetadata()
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp196 bool hasSmpte2086 = mBufferInfo.mHdrMetadata.validTypes & HdrMetadata::SMPTE2086; in prepareClientComposition()
197 bool hasCta861_3 = mBufferInfo.mHdrMetadata.validTypes & HdrMetadata::CTA861_3; in prepareClientComposition()
DLayer.cpp109 mCurrentState.hdrMetadata.validTypes = 0; in Layer()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp1211 sizeof(HdrMetadata::validTypes); in getFlattenedSize()
1269 FlattenableUtils::write(buffer, size, decltype(HdrMetadata::validTypes)(0)); in flatten()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp789 hdr.validTypes |= HdrMetadata::SMPTE2086; in renderOutputBuffer()
799 hdr.validTypes |= HdrMetadata::CTA861_3; in renderOutputBuffer()
804 hdr.validTypes |= HdrMetadata::HDR10PLUS; in renderOutputBuffer()
/frameworks/ml/nn/runtime/test/
DTestValidation.cpp2256 int32_t validTypes[] = {ANEURALNETWORKS_DEVICE_UNKNOWN, ANEURALNETWORKS_DEVICE_OTHER, in TEST() local
2267 EXPECT_TRUE(std::find(std::begin(validTypes), std::end(validTypes), deviceType) != in TEST()
2268 std::end(validTypes)); in TEST()
/frameworks/native/services/surfaceflinger/tests/
DLayerRenderTypeTransaction_test.cpp1628 hdrMetadata.validTypes = 0; in TEST_P()