Home
last modified time | relevance | path

Searched refs:dataSpace (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/av/media/libstagefright/omx/
DOmxGraphicBufferSource.cpp49 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() argument
50 mOmxNode->dispatchDataSpaceChanged(dataSpace, aspects, pixelFormat); in dispatchDataSpaceChanged()
75 int32_t dataSpace, in configure() argument
85 new OmxComponentWrapper(omxNode), dataSpace, bufferCount, in configure()
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp91 android_dataspace dataSpace; in resetFormatIfChanged() local
94 && format->findInt32("android._dataspace", (int32_t *)&dataSpace) in resetFormatIfChanged()
95 && dataSpace != mDataSpace) { in resetFormatIfChanged()
159 if (((dataSpace & HAL_DATASPACE_STANDARD_MASK) == HAL_DATASPACE_STANDARD_BT2020) in resetFormatIfChanged()
160 && ((dataSpace & HAL_DATASPACE_TRANSFER_MASK) == HAL_DATASPACE_TRANSFER_ST2084)) { in resetFormatIfChanged()
433 android_dataspace dataSpace; in render() local
434 if (format->findInt32("android._dataspace", (int32_t *)&dataSpace) && dataSpace != mDataSpace) { in render()
435 mDataSpace = dataSpace; in render()
440 dataSpace = (android_dataspace) in render()
441 ((dataSpace & ~HAL_DATASPACE_RANGE_MASK) | HAL_DATASPACE_RANGE_FULL); in render()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.h46 android_dataspace dataSpace; member
64 dataSpace(ds), in streamId()
84 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
96 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
106 uint64_t consumerUsage, android_dataspace dataSpace,
216 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
DCamera3StreamInterface.h54 android_dataspace dataSpace; variable
58 width(-1), height(-1), format(-1), dataSpace(HAL_DATASPACE_UNKNOWN), in OutputStreamInfo()
63 dataSpace(_dataSpace), consumerUsage(_consumerUsage) {} in OutputStreamInfo()
DCamera3SharedOutputStream.cpp32 uint64_t consumerUsage, android_dataspace dataSpace, in Camera3SharedOutputStream() argument
37 format, dataSpace, rotation, physicalCameraId, in Camera3SharedOutputStream()
392 (infoIt.dataSpace != getDataSpace() && in updateStream()
393 infoIt.dataSpace != getOriginalDataSpace())) { in updateStream()
396 infoIt.format, infoIt.dataSpace, getFormat(), getDataSpace()); in updateStream()
DCamera3OutputStream.cpp37 android_dataspace dataSpace, camera3_stream_rotation_t rotation, in Camera3OutputStream() argument
41 /*maxSize*/0, format, dataSpace, rotation, in Camera3OutputStream()
64 android_dataspace dataSpace, camera3_stream_rotation_t rotation, in Camera3OutputStream() argument
67 format, dataSpace, rotation, physicalCameraId, setId), in Camera3OutputStream()
95 uint64_t consumerUsage, android_dataspace dataSpace, in Camera3OutputStream() argument
99 /*maxSize*/0, format, dataSpace, rotation, in Camera3OutputStream()
132 android_dataspace dataSpace, in Camera3OutputStream() argument
139 format, dataSpace, rotation, in Camera3OutputStream()
/frameworks/native/libs/nativewindow/
DANativeWindow.cpp36 static bool isDataSpaceValid(ANativeWindow* window, int32_t dataSpace) { in isDataSpaceValid() argument
38 switch (dataSpace) { in isDataSpaceValid()
128 int32_t ANativeWindow_setBuffersDataSpace(ANativeWindow* window, int32_t dataSpace) { in ANativeWindow_setBuffersDataSpace() argument
137 !isDataSpaceValid(window, dataSpace)) { in ANativeWindow_setBuffersDataSpace()
141 static_cast<android_dataspace_t>(dataSpace)); in ANativeWindow_setBuffersDataSpace()
/frameworks/native/libs/ui/
DPublicFormat.cpp80 PublicFormat mapHalFormatDataspaceToPublicFormat(int format, android_dataspace dataSpace) { in mapHalFormatDataspaceToPublicFormat() argument
81 Dataspace ds = static_cast<Dataspace>(dataSpace); in mapHalFormatDataspaceToPublicFormat()
137 if (dataSpace == static_cast<android_dataspace>(HAL_DATASPACE_DYNAMIC_DEPTH)) { in mapHalFormatDataspaceToPublicFormat()
/frameworks/av/media/codec2/sfplugin/
DOmx2IGraphicBufferSource.cpp73 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged()
78 msg.u.event_data.data1 = dataSpace; in dispatchDataSpaceChanged()
143 const sp<IOMXNode>& omxNode, int32_t dataSpace) { in configure() argument
177 dataSpace, in configure()
DInputSurfaceWrapper.h98 inline void setDataSpace(android_dataspace dataSpace) { in setDataSpace() argument
99 mDataSpace = dataSpace; in setDataSpace()
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h136 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id,
151 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id,
173 android_dataspace dataSpace; member
178 dataSpace(HAL_DATASPACE_UNKNOWN), dataSpaceOverridden(false), in StreamInfo()
198 (dataSpace == clientDataSpace)) { in matchDataSpace()
/frameworks/native/libs/renderengine/
DDescription.cpp26 Description::TransferFunction Description::dataSpaceToTransferFunction(ui::Dataspace dataSpace) { in dataSpaceToTransferFunction() argument
27 ui::Dataspace transfer = static_cast<ui::Dataspace>(dataSpace & ui::Dataspace::TRANSFER_MASK); in dataSpaceToTransferFunction()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp871 C2Color::matrix_t matrix, C2Color::transfer_t transfer, uint32_t *dataSpace) { in map() argument
874 *dataSpace = HAL_DATASPACE_UNKNOWN; // this is 0 in map()
877 case C2Color::RANGE_FULL: *dataSpace |= HAL_DATASPACE_RANGE_FULL; break; in map()
878 case C2Color::RANGE_LIMITED: *dataSpace |= HAL_DATASPACE_RANGE_LIMITED; break; in map()
883 case C2Color::TRANSFER_LINEAR: *dataSpace |= HAL_DATASPACE_TRANSFER_LINEAR; break; in map()
884 case C2Color::TRANSFER_SRGB: *dataSpace |= HAL_DATASPACE_TRANSFER_SRGB; break; in map()
885 case C2Color::TRANSFER_170M: *dataSpace |= HAL_DATASPACE_TRANSFER_SMPTE_170M; break; in map()
886 case C2Color::TRANSFER_GAMMA22: *dataSpace |= HAL_DATASPACE_TRANSFER_GAMMA2_2; break; in map()
887 case C2Color::TRANSFER_GAMMA28: *dataSpace |= HAL_DATASPACE_TRANSFER_GAMMA2_8; break; in map()
888 case C2Color::TRANSFER_ST2084: *dataSpace |= HAL_DATASPACE_TRANSFER_ST2084; break; in map()
[all …]
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp470 ui::Dataspace dataSpace = getDrawingDataSpace(); in latchBuffer() local
472 switch (dataSpace) { in latchBuffer()
474 dataSpace = ui::Dataspace::V0_SRGB; in latchBuffer()
477 dataSpace = ui::Dataspace::V0_SRGB_LINEAR; in latchBuffer()
480 dataSpace = ui::Dataspace::V0_JFIF; in latchBuffer()
483 dataSpace = ui::Dataspace::V0_BT601_625; in latchBuffer()
486 dataSpace = ui::Dataspace::V0_BT601_525; in latchBuffer()
489 dataSpace = ui::Dataspace::V0_BT709; in latchBuffer()
494 mCurrentDataSpace = dataSpace; in latchBuffer()
/frameworks/av/media/libmedia/omx/1.0/
DWGraphicBufferSource.cpp34 const sp<IOMXNode>& omxNode, int32_t dataSpace) { in configure() argument
38 toHardwareDataspace(dataSpace))); in configure()
/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h57 android_dataspace dataSpace; member
82 dataSpace(HAL_DATASPACE_UNKNOWN), in LockedBuffer()
DIGraphicBufferProducer.h340 dataSpace(_dataSpace), crop(_crop), scalingMode(_scalingMode), in timestamp()
352 *outDataSpace = dataSpace;
380 android_dataspace dataSpace{HAL_DATASPACE_UNKNOWN};
/frameworks/av/media/libstagefright/omx/1.0/
DWGraphicBufferSource.cpp62 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged()
67 tMsg.data.eventData.data1 = dataSpace; in dispatchDataSpaceChanged()
74 static_cast<long>(dataSpace), in dispatchDataSpaceChanged()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp605 stream->v3_2.dataSpace = Camera3Device::mapToHidlDataspace(streamInfo.dataSpace); in mapStreamInfo()
692 streamInfo.dataSpace = android_dataspace_t::HAL_DATASPACE_UNKNOWN; in isSessionConfigurationSupported()
977 streamInfo.height, streamInfo.format, streamInfo.dataSpace, in createStream()
987 streamInfo.dataSpace, strerror(-err), err); in createStream()
1021 android_dataspace dataSpace; in createDeferredSurfaceStreamLocked() local
1034 dataSpace = android_dataspace_t::HAL_DATASPACE_UNKNOWN; in createDeferredSurfaceStreamLocked()
1045 height, format, dataSpace, in createDeferredSurfaceStreamLocked()
1054 mCameraIdStr.string(), width, height, format, dataSpace, strerror(-err), err); in createDeferredSurfaceStreamLocked()
1062 std::forward_as_tuple(width, height, format, dataSpace, consumerUsage)); in createDeferredSurfaceStreamLocked()
1363 android_dataspace dataSpace; in createSurfaceFromGbp() local
[all …]
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp154 dataSpace = QUEUE_BUFFER_INPUT_DATASPACE; in QueueBufferInputBuilder()
165 dataSpace, in build()
182 QueueBufferInputBuilder& setDataSpace(android_dataspace dataSpace) { in setDataSpace()
183 this->dataSpace = dataSpace; in setDataSpace()
210 android_dataspace dataSpace; member
/frameworks/av/media/libmedia/aidl/android/
DIGraphicBufferSource.aidl27 void configure(IOMXNode omxNode, int dataSpace); in configure() argument
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DIOmxNodeWrapper.h34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
DOmxGraphicBufferSource.h70 int32_t dataSpace,
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
DComponentWrapper.h34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
/frameworks/native/libs/ui/include/ui/
DPublicFormat.h72 extern PublicFormat mapHalFormatDataspaceToPublicFormat(int format, android_dataspace dataSpace);

1234