Home
last modified time | relevance | path

Searched refs:outDataspace (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/cmds/screencap/
Dscreencap.cpp205 ui::Dataspace outDataspace; in main() local
208 status_t result = ScreenshotClient::capture(*displayId, &outDataspace, &outBuffer); in main()
237 dataSpaceToColorSpace(outDataspace)); in main()
254 uint32_t c = dataSpaceToInt(outDataspace); in main()
/frameworks/native/libs/nativedisplay/surfacetexture/
DImageConsumer.cpp30 sp<GraphicBuffer> ImageConsumer::dequeueBuffer(int* outSlotid, android_dataspace* outDataspace, in dequeueBuffer() argument
45 *outDataspace = st.mCurrentDataSpace; in dequeueBuffer()
116 *outDataspace = item.mDataSpace; in dequeueBuffer()
Dsurface_texture.cpp197 android_dataspace* outDataspace, in ASurfaceTexture_dequeueBuffer() argument
205 buffer = st->consumer->dequeueBuffer(outSlotid, outDataspace, outTransformMatrix, in ASurfaceTexture_dequeueBuffer()
DSurfaceTexture.cpp466 sp<GraphicBuffer> SurfaceTexture::dequeueBuffer(int* outSlotid, android_dataspace* outDataspace, in dequeueBuffer() argument
484 buffer = mImageConsumer.dequeueBuffer(outSlotid, outDataspace, outQueueEmpty, *this, in dequeueBuffer()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp117 Dataspace& outDataspace) { in nextBuffer() argument
150 outDataspace = static_cast<Dataspace>(item.mDataSpace); in nextBuffer()
151 status_t result = mHwc.setClientTarget(mDisplayId, outSlot, outFence, outBuffer, outDataspace); in nextBuffer()
DFramebufferSurface.h70 sp<Fence>& outFence, ui::Dataspace& outDataspace);
DHWComposer.h159 ui::Dataspace* outDataspace,
305 ui::Dataspace* outDataspace,
/frameworks/native/libs/nativedisplay/
DADisplay.cpp245 void ADisplay_getPreferredWideColorFormat(ADisplay* display, ADataSpace* outDataspace, in ADisplay_getPreferredWideColorFormat() argument
248 CHECK_NOT_NULL(outDataspace); in ADisplay_getPreferredWideColorFormat()
252 *outDataspace = impl->wcgDataspace; in ADisplay_getPreferredWideColorFormat()
/frameworks/native/libs/nativedisplay/include/apex/
Ddisplay.h84 void ADisplay_getPreferredWideColorFormat(ADisplay* display, ADataSpace* outDataspace,
/frameworks/native/libs/nativedisplay/include/surfacetexture/
DImageConsumer.h44 sp<GraphicBuffer> dequeueBuffer(int* outSlotid, android_dataspace* outDataspace,
Dsurface_texture_platform.h86 android_dataspace* outDataspace,
DSurfaceTexture.h274 sp<GraphicBuffer> dequeueBuffer(int* outSlotid, android_dataspace* outDataspace,
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplayColorProfile.cpp358 Dataspace* outDataspace, ColorMode* outMode, in getBestColorMode() argument
362 *outDataspace = iter->second.dataspace; in getBestColorMode()
373 *outDataspace = Dataspace::UNKNOWN; in getBestColorMode()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplayColorProfile.h62 ui::Dataspace* outDataspace, ui::ColorMode* outMode,
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDisplayColorProfile.h44 ui::Dataspace* outDataspace, ui::ColorMode* outMode,
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h306 virtual status_t captureScreen(uint64_t displayOrLayerStack, ui::Dataspace* outDataspace,
385 ui::Dataspace* outDataspace,
DSurfaceComposerClient.h571 ui::Dataspace* outDataspace,
606 static status_t capture(uint64_t displayOrLayerStack, ui::Dataspace* outDataspace,
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp280 ui::Dataspace* outDataspace) { in getDataspace() argument
281 return mMapper->getDataspace(bufferHandle, outDataspace); in getDataspace()
DGralloc4.cpp596 ui::Dataspace* outDataspace) const { in getDataspace()
597 if (!outDataspace) { in getDataspace()
608 *outDataspace = static_cast<ui::Dataspace>(dataspace); in getDataspace()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp148 virtual status_t captureScreen(uint64_t displayOrLayerStack, ui::Dataspace* outDataspace, in captureScreen() argument
164 *outDataspace = static_cast<ui::Dataspace>(reply.readInt32()); in captureScreen()
761 ui::Dataspace* outDataspace, in getDisplayedContentSamplingAttributes() argument
763 if (!outFormat || !outDataspace || !outComponentMask) return BAD_VALUE; in getDisplayedContentSamplingAttributes()
786 *outDataspace = static_cast<ui::Dataspace>(value); in getDisplayedContentSamplingAttributes()
1328 ui::Dataspace outDataspace = ui::Dataspace::V0_SRGB; in onTransact() local
1330 status_t res = captureScreen(displayOrLayerStack, &outDataspace, &outBuffer); in onTransact()
1333 reply->writeInt32(static_cast<int32_t>(outDataspace)); in onTransact()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.h141 graphics::common::V1_1::Dataspace* outDataspace) override;
188 graphics::common::V1_2::Dataspace* outDataspace) override;
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h123 status_t getDataspace(buffer_handle_t bufferHandle, ui::Dataspace* outDataspace);
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h123 status_t getDataspace(buffer_handle_t bufferHandle, ui::Dataspace* outDataspace);
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp1087 status_t encodeDataspace(const Dataspace& dataspace, hidl_vec<uint8_t>* outDataspace) { in encodeDataspace() argument
1088 return encodeMetadata(MetadataType_Dataspace, static_cast<int32_t>(dataspace), outDataspace, in encodeDataspace()
1092 status_t decodeDataspace(const hidl_vec<uint8_t>& dataspace, Dataspace* outDataspace) { in decodeDataspace() argument
1093 … return decodeMetadata(MetadataType_Dataspace, dataspace, reinterpret_cast<int32_t*>(outDataspace), in decodeDataspace()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h436 status_t captureScreen(uint64_t displayOrLayerStack, ui::Dataspace* outDataspace,
470 status_t getCompositionPreference(ui::Dataspace* outDataspace, ui::PixelFormat* outPixelFormat,
475 ui::Dataspace* outDataspace,

12