Home
last modified time | relevance | path

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

1234

/frameworks/av/media/libstagefright/omx/
DOmxGraphicBufferSource.cpp55 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() argument
56 mOmxNode->dispatchDataSpaceChanged(dataSpace, aspects, pixelFormat); in dispatchDataSpaceChanged()
84 int32_t dataSpace, in configure() argument
94 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.h47 android_dataspace dataSpace; member
67 dataSpace(ds), in streamId()
88 android_dataspace dataSpace, camera_stream_rotation_t rotation,
100 android_dataspace dataSpace, camera_stream_rotation_t rotation,
110 uint64_t consumerUsage, android_dataspace dataSpace,
236 android_dataspace dataSpace, camera_stream_rotation_t rotation,
DCamera3StreamInterface.h105 android_dataspace dataSpace; variable
111 width(-1), height(-1), format(-1), dataSpace(HAL_DATASPACE_UNKNOWN), in OutputStreamInfo()
116 dataSpace(_dataSpace), consumerUsage(_consumerUsage), in OutputStreamInfo()
DCamera3SharedOutputStream.cpp32 uint64_t consumerUsage, android_dataspace dataSpace, in Camera3SharedOutputStream() argument
38 format, dataSpace, rotation, physicalCameraId, sensorPixelModesUsed, in Camera3SharedOutputStream()
393 (infoIt.dataSpace != getDataSpace() && in updateStream()
394 infoIt.dataSpace != getOriginalDataSpace())) { in updateStream()
397 infoIt.format, infoIt.dataSpace, getFormat(), getDataSpace()); in updateStream()
/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.h99 inline void setDataSpace(android_dataspace dataSpace) { in setDataSpace() argument
100 mDataSpace = dataSpace; in setDataSpace()
/frameworks/native/libs/ui/
DPublicFormat.cpp83 PublicFormat mapHalFormatDataspaceToPublicFormat(int format, android_dataspace dataSpace) { in mapHalFormatDataspaceToPublicFormat() argument
84 Dataspace ds = static_cast<Dataspace>(dataSpace); in mapHalFormatDataspaceToPublicFormat()
147 if (dataSpace == static_cast<android_dataspace>(HAL_DATASPACE_DYNAMIC_DEPTH)) { in mapHalFormatDataspaceToPublicFormat()
/frameworks/av/media/libstagefright/renderfright/
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/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/services/camera/libcameraservice/common/
DCameraDeviceBase.h165 android_dataspace dataSpace, camera_stream_rotation_t rotation, int *id,
182 android_dataspace dataSpace, camera_stream_rotation_t rotation, int *id,
206 android_dataspace dataSpace; member
211 dataSpace(HAL_DATASPACE_UNKNOWN), dataSpaceOverridden(false), in StreamInfo()
231 (dataSpace == clientDataSpace)) { in matchDataSpace()
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.cpp203 int32_t format, android_dataspace dataSpace, in roundBufferDimensionNearest() argument
215 (dataSpace == HAL_DATASPACE_DEPTH) ? info.find(depthSizesTag) : in roundBufferDimensionNearest()
216 (dataSpace == static_cast<android_dataspace>(HAL_DATASPACE_HEIF)) ? in roundBufferDimensionNearest()
331 android_dataspace dataSpace; in createSurfaceFromGbp() local
351 reinterpret_cast<int*>(&dataSpace))) != OK) { in createSurfaceFromGbp()
384 format, dataSpace, physicalCameraMetadata, foundInMaxRes, /*out*/&width, in createSurfaceFromGbp()
397 streamInfo.dataSpace = dataSpace; in createSurfaceFromGbp()
421 if (dataSpace != streamInfo.dataSpace) { in createSurfaceFromGbp()
423 logicalCameraId.string(), dataSpace, streamInfo.dataSpace); in createSurfaceFromGbp()
454 stream->v3_4.v3_2.dataSpace = Camera3Device::mapToHidlDataspace(streamInfo.dataSpace); in mapStreamInfo()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp878 C2Color::matrix_t matrix, C2Color::transfer_t transfer, uint32_t *dataSpace) { in map() argument
881 *dataSpace = HAL_DATASPACE_UNKNOWN; // this is 0 in map()
884 case C2Color::RANGE_FULL: *dataSpace |= HAL_DATASPACE_RANGE_FULL; break; in map()
885 case C2Color::RANGE_LIMITED: *dataSpace |= HAL_DATASPACE_RANGE_LIMITED; break; in map()
890 case C2Color::TRANSFER_LINEAR: *dataSpace |= HAL_DATASPACE_TRANSFER_LINEAR; break; in map()
891 case C2Color::TRANSFER_SRGB: *dataSpace |= HAL_DATASPACE_TRANSFER_SRGB; break; in map()
892 case C2Color::TRANSFER_170M: *dataSpace |= HAL_DATASPACE_TRANSFER_SMPTE_170M; break; in map()
893 case C2Color::TRANSFER_GAMMA22: *dataSpace |= HAL_DATASPACE_TRANSFER_GAMMA2_2; break; in map()
894 case C2Color::TRANSFER_GAMMA28: *dataSpace |= HAL_DATASPACE_TRANSFER_GAMMA2_8; break; in map()
895 case C2Color::TRANSFER_ST2084: *dataSpace |= HAL_DATASPACE_TRANSFER_ST2084; break; in map()
[all …]
/frameworks/native/libs/nativewindow/
DANativeWindow.cpp42 static bool isDataSpaceValid(ANativeWindow* window, int32_t dataSpace) { in isDataSpaceValid() argument
44 switch (dataSpace) { in isDataSpaceValid()
134 int32_t ANativeWindow_setBuffersDataSpace(ANativeWindow* window, int32_t dataSpace) { in ANativeWindow_setBuffersDataSpace() argument
148 !isDataSpaceValid(window, dataSpace)) { in ANativeWindow_setBuffersDataSpace()
152 static_cast<android_dataspace_t>(dataSpace)); in ANativeWindow_setBuffersDataSpace()
/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h57 android_dataspace dataSpace; member
82 dataSpace(HAL_DATASPACE_UNKNOWN), in LockedBuffer()
/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/base/native/graphics/jni/
Dbitmap.cpp99 int32_t dataSpace, in AndroidBitmap_compress() argument
111 return ABitmap_compress(info, (ADataSpace) dataSpace, pixels, in AndroidBitmap_compress()
/frameworks/av/camera/include/camera/
DCameraSessionStats.h67 CameraStreamStats(int width, int height, int format, int dataSpace, int64_t usage, in CameraStreamStats() argument
69 : mWidth(width), mHeight(height), mFormat(format), mDataSpace(dataSpace), in CameraStreamStats()
/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java189 int dataSpace = nativeDetectSurfaceDataspace(surface); in getSurfaceDataspace() local
190 if (dataSpace == BAD_VALUE) throw new IllegalArgumentException("Surface was abandoned"); in getSurfaceDataspace()
191 return dataSpace; in getSurfaceDataspace()
/frameworks/av/media/libstagefright/omx/1.0/
DWGraphicBufferSource.cpp67 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged()
72 tMsg.data.eventData.data1 = dataSpace; in dispatchDataSpaceChanged()
79 static_cast<long>(dataSpace), in dispatchDataSpaceChanged()
/frameworks/base/libs/hostgraphics/
DPublicFormat.cpp29 PublicFormat mapHalFormatDataspaceToPublicFormat(int format, android_dataspace dataSpace) { in mapHalFormatDataspaceToPublicFormat() argument
/frameworks/base/core/java/android/hardware/
DCameraStreamStats.java66 int dataSpace, long usage, long requestCount, long errorCount, in CameraStreamStats() argument
71 mDataSpace = dataSpace; in CameraStreamStats()
/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;
/frameworks/base/libs/hwui/apex/
Dandroid_bitmap.cpp208 int ABitmap_compress(const AndroidBitmapInfo* info, ADataSpace dataSpace, const void* pixels, in ABitmap_compress() argument
268 cs = uirenderer::DataSpaceToColorSpace((android_dataspace) dataSpace); in ABitmap_compress()
271 if (!cs || dataSpace == ADATASPACE_UNKNOWN) { in ABitmap_compress()

1234