Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.h45 android_dataspace dataSpace; member
63 dataSpace(ds), in streamId()
83 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
94 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
103 uint32_t consumerUsage, android_dataspace dataSpace,
171 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
DCamera3OutputStream.cpp37 android_dataspace dataSpace, camera3_stream_rotation_t rotation, in Camera3OutputStream() argument
40 /*maxSize*/0, format, dataSpace, rotation, setId), in Camera3OutputStream()
61 android_dataspace dataSpace, camera3_stream_rotation_t rotation, in Camera3OutputStream() argument
64 format, dataSpace, rotation, setId), in Camera3OutputStream()
91 uint32_t consumerUsage, android_dataspace dataSpace, in Camera3OutputStream() argument
94 /*maxSize*/0, format, dataSpace, rotation, setId), in Camera3OutputStream()
125 android_dataspace dataSpace, in Camera3OutputStream() argument
130 format, dataSpace, rotation, setId), in Camera3OutputStream()
DCamera3IOStreamBase.cpp34 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) : in Camera3IOStreamBase() argument
36 width, height, maxSize, format, dataSpace, rotation, setId), in Camera3IOStreamBase()
DCamera3IOStreamBase.h37 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
DCamera3Device.h104 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id,
120 uint32_t *format, android_dataspace *dataSpace);
432 static android_dataspace mapToLegacyDataspace(android_dataspace dataSpace);
DCamera3Device.cpp428 android_dataspace Camera3Device::mapToLegacyDataspace(android_dataspace dataSpace) { in mapToLegacyDataspace() argument
429 switch (dataSpace) { in mapToLegacyDataspace()
443 return dataSpace; in mapToLegacyDataspace()
1009 uint32_t width, uint32_t height, int format, android_dataspace dataSpace, in createStream() argument
1015 " consumer usage 0x%x", mId, mNextStreamId, width, height, format, dataSpace, rotation, in createStream()
1068 dataSpace = mapToLegacyDataspace(dataSpace); in createStream()
1072 if (dataSpace != HAL_DATASPACE_DEPTH) { in createStream()
1086 width, height, blobBufferSize, format, dataSpace, rotation, in createStream()
1095 width, height, rawOpaqueBufferSize, format, dataSpace, rotation, in createStream()
1099 width, height, format, consumerUsage, dataSpace, rotation, in createStream()
[all …]
DCamera3Stream.h399 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
/frameworks/native/include/gui/
DIGraphicBufferProducer.h309 android_dataspace dataSpace, const Rect& crop, int scalingMode,
312 dataSpace(dataSpace), crop(crop), scalingMode(scalingMode), in timestamp()
322 *outDataSpace = dataSpace;
344 android_dataspace dataSpace; member
DCpuConsumer.h56 android_dataspace dataSpace; member
81 dataSpace(HAL_DATASPACE_UNKNOWN), in LockedBuffer()
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp368 android_dataspace dataSpace; in render() local
369 if (format->findInt32("android._dataspace", (int32_t *)&dataSpace) && dataSpace != mDataSpace) { in render()
370 ALOGD("setting dataspace on output surface to #%x", dataSpace); in render()
371 if ((err = native_window_set_buffers_data_space(mNativeWindow.get(), dataSpace))) { in render()
374 mDataSpace = dataSpace; in render()
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp511 android_dataspace dataSpace, android_pixel_format pixelFormat) { in onDataSpaceChanged_l() argument
512 ALOGD("got buffer with new dataSpace #%x", dataSpace); in onDataSpaceChanged_l()
513 mLastDataSpace = dataSpace; in onDataSpaceChanged_l()
515 if (ColorUtils::convertDataSpaceToV0(dataSpace)) { in onDataSpaceChanged_l()
574 OMX_EventDataSpaceChanged, dataSpace, in onDataSpaceChanged_l()
1024 void GraphicBufferSource::setDefaultDataSpace(android_dataspace dataSpace) { in setDefaultDataSpace() argument
1026 ALOGD("setting dataspace: %#x", dataSpace); in setDefaultDataSpace()
1027 mConsumer->setDefaultBufferDataSpace(dataSpace); in setDefaultDataSpace()
1028 mLastDataSpace = dataSpace; in setDefaultDataSpace()
DGraphicBufferSource.h78 void setDefaultDataSpace(android_dataspace dataSpace);
256 void onDataSpaceChanged_l(android_dataspace dataSpace, android_pixel_format pixelFormat);
/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp426 bool ColorUtils::convertDataSpaceToV0(android_dataspace &dataSpace) { in convertDataSpaceToV0() argument
427 (void)sLegacyDataSpaceToV0.lookup(dataSpace, &dataSpace); in convertDataSpaceToV0()
428 return (dataSpace & 0xC000FFFF) == 0; in convertDataSpaceToV0()
492 android_dataspace dataSpace = (android_dataspace)( in getDataSpaceForColorAspects() local
495 (void)sLegacyDataSpaceToV0.rlookup(dataSpace, &dataSpace); in getDataSpaceForColorAspects()
501 return dataSpace; in getDataSpaceForColorAspects()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp449 android_dataspace dataSpace; in createStream() local
516 reinterpret_cast<int*>(&dataSpace))) != OK) { in createStream()
534 format, dataSpace, mDevice->info(), /*out*/&width, /*out*/&height)) { in createStream()
542 err = mDevice->createStream(surface, width, height, format, dataSpace, in createStream()
549 mCameraId, width, height, format, dataSpace, strerror(-err), err); in createStream()
572 android_dataspace dataSpace; in createDeferredSurfaceStreamLocked() local
585 dataSpace = android_dataspace_t::HAL_DATASPACE_UNKNOWN; in createDeferredSurfaceStreamLocked()
592 err = mDevice->createStream(/*surface*/nullptr, width, height, format, dataSpace, in createDeferredSurfaceStreamLocked()
599 mCameraId, width, height, format, dataSpace, strerror(-err), err); in createDeferredSurfaceStreamLocked()
718 int32_t format, android_dataspace dataSpace, const CameraMetadata& info, in roundBufferDimensionNearest() argument
[all …]
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp129 dataSpace = QUEUE_BUFFER_INPUT_DATASPACE; in QueueBufferInputBuilder()
140 dataSpace, in build()
157 QueueBufferInputBuilder& setDataSpace(android_dataspace dataSpace) { in setDataSpace()
158 this->dataSpace = dataSpace; in setDataSpace()
185 android_dataspace dataSpace; member
DSurface_test.cpp175 android_dataspace dataSpace; in TEST_F() local
178 reinterpret_cast<int*>(&dataSpace)); in TEST_F()
181 ASSERT_EQ(TEST_DATASPACE, dataSpace); in TEST_F()
DSRGB_test.cpp221 void checkLockedBuffer(PixelFormat format, android_dataspace dataSpace) { in checkLockedBuffer() argument
225 ASSERT_EQ(mLockedBuffer.dataSpace, dataSpace); in checkLockedBuffer()
344 ASSERT_EQ(mLockedBuffer.dataSpace, HAL_DATASPACE_SRGB); in copyToDebugSurface()
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h112 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id,
135 uint32_t *format, android_dataspace *dataSpace) = 0;
/frameworks/av/include/media/stagefright/
DACodec.h393 DescribeColorAspectsParams &params, android_dataspace *dataSpace /* nonnull */,
409 sp<AMessage> &outputFormat, android_dataspace *dataSpace);
423 android_dataspace *dataSpace /* nonnull */);
431 void onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects);
/frameworks/base/include/android_runtime/
Dandroid_view_Surface.h86 int format, android_dataspace dataSpace);
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp736 android_dataspace dataSpace; in queueBuffer() local
742 input.deflate(&timestamp, &isAutoTimestamp, &dataSpace, &crop, &scalingMode, in queueBuffer()
803 slot, mCore->mFrameCounter + 1, timestamp, dataSpace, in queueBuffer()
818 if (dataSpace == HAL_DATASPACE_UNKNOWN) { in queueBuffer()
819 dataSpace = mCore->mDefaultBufferDataSpace; in queueBuffer()
838 item.mDataSpace = dataSpace; in queueBuffer()
857 mCore->mSharedBufferCache.dataspace = dataSpace; in queueBuffer()
/frameworks/av/media/libstagefright/
DACodec.cpp3479 DescribeColorAspectsParams &params, android_dataspace *dataSpace /* nonnull */, in getDataSpace() argument
3488 *dataSpace = (android_dataspace)params.nDataSpace; in getDataSpace()
3497 *dataSpace = getDataSpaceForColorAspects(params.sAspects, true /* mayexpand */); in getDataSpace()
3505 *dataSpace); in getDataSpace()
3512 android_dataspace *dataSpace) { in getColorAspectsAndDataSpaceForVideoDecoder() argument
3519 if (dataSpace != NULL) { in getColorAspectsAndDataSpaceForVideoDecoder()
3527 if (dataSpace != NULL) { in getColorAspectsAndDataSpaceForVideoDecoder()
3528 status_t res = getDataSpace(params, dataSpace, err == OK /* tryCodec */); in getColorAspectsAndDataSpaceForVideoDecoder()
3552 android_dataspace dataSpace = HAL_DATASPACE_BT709; in setColorAspectsForVideoEncoder() local
3558 params, &dataSpace, mDescribeColorAspectsIndex /* tryCodec */); in setColorAspectsForVideoEncoder()
[all …]
DOMXClient.cpp119 node_id node, OMX_U32 port_index, android_dataspace dataSpace,
408 node_id node, OMX_U32 port_index, android_dataspace dataSpace, in createInputSurface() argument
411 node, port_index, dataSpace, bufferProducer, type); in createInputSurface()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp167 int format, android_dataspace dataSpace) { in android_view_Surface_mapHalFormatDataspaceToPublicFormat() argument
200 switch (dataSpace) { in android_view_Surface_mapHalFormatDataspaceToPublicFormat()
210 switch (dataSpace) { in android_view_Surface_mapHalFormatDataspaceToPublicFormat()
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp449 static android_dataspace modifyBufferDataspace( android_dataspace dataSpace, in modifyBufferDataspace() argument
456 return dataSpace; in modifyBufferDataspace()
486 android_dataspace dataSpace = HAL_DATASPACE_UNKNOWN; in eglCreateWindowSurface() local
512 dataSpace = modifyBufferDataspace(dataSpace, *(attr+1)); in eglCreateWindowSurface()
536 if (dataSpace != 0) { in eglCreateWindowSurface()
537 int err = native_window_set_buffers_data_space(window, dataSpace); in eglCreateWindowSurface()

12