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,
146 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()
60 android_dataspace dataSpace, camera3_stream_rotation_t rotation, in Camera3OutputStream() argument
63 format, dataSpace, rotation, setId), in Camera3OutputStream()
90 android_dataspace dataSpace, in Camera3OutputStream() argument
95 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.h101 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int *id,
116 uint32_t *format, android_dataspace *dataSpace);
422 static android_dataspace mapToLegacyDataspace(android_dataspace dataSpace);
DCamera3Device.cpp427 android_dataspace Camera3Device::mapToLegacyDataspace(android_dataspace dataSpace) { in mapToLegacyDataspace() argument
428 switch (dataSpace) { in mapToLegacyDataspace()
442 return dataSpace; in mapToLegacyDataspace()
992 uint32_t width, uint32_t height, int format, android_dataspace dataSpace, in createStream() argument
998 mId, mNextStreamId, width, height, format, dataSpace, rotation); in createStream()
1037 dataSpace = mapToLegacyDataspace(dataSpace); in createStream()
1041 if (dataSpace != HAL_DATASPACE_DEPTH) { in createStream()
1055 width, height, blobBufferSize, format, dataSpace, rotation, in createStream()
1064 width, height, rawOpaqueBufferSize, format, dataSpace, rotation, in createStream()
1068 width, height, format, dataSpace, rotation, in createStream()
[all …]
DCamera3Stream.h398 android_dataspace dataSpace, camera3_stream_rotation_t rotation,
/frameworks/native/include/gui/
DIGraphicBufferProducer.h307 android_dataspace dataSpace, const Rect& crop, int scalingMode,
310 dataSpace(dataSpace), crop(crop), scalingMode(scalingMode), in timestamp()
320 *outDataSpace = dataSpace;
342 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.cpp510 android_dataspace dataSpace, android_pixel_format pixelFormat) { in onDataSpaceChanged_l() argument
511 ALOGD("got buffer with new dataSpace #%x", dataSpace); in onDataSpaceChanged_l()
512 mLastDataSpace = dataSpace; in onDataSpaceChanged_l()
514 if (ColorUtils::convertDataSpaceToV0(dataSpace)) { in onDataSpaceChanged_l()
573 OMX_EventDataSpaceChanged, dataSpace, in onDataSpaceChanged_l()
1015 void GraphicBufferSource::setDefaultDataSpace(android_dataspace dataSpace) { in setDefaultDataSpace() argument
1017 ALOGD("setting dataspace: %#x", dataSpace); in setDefaultDataSpace()
1018 mConsumer->setDefaultBufferDataSpace(dataSpace); in setDefaultDataSpace()
1019 mLastDataSpace = dataSpace; in setDefaultDataSpace()
DGraphicBufferSource.h78 void setDefaultDataSpace(android_dataspace dataSpace);
252 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/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,
134 uint32_t *format, android_dataspace *dataSpace) = 0;
/frameworks/av/include/media/stagefright/
DACodec.h389 DescribeColorAspectsParams &params, android_dataspace *dataSpace /* nonnull */,
405 sp<AMessage> &outputFormat, android_dataspace *dataSpace);
419 android_dataspace *dataSpace /* nonnull */);
427 void onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects);
/frameworks/base/include/android_runtime/
Dandroid_view_Surface.h86 int format, android_dataspace dataSpace);
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp471 android_dataspace dataSpace; in createStream() local
492 reinterpret_cast<int*>(&dataSpace))) != OK) { in createStream()
510 format, dataSpace, mDevice->info(), /*out*/&width, /*out*/&height)) { in createStream()
518 err = mDevice->createStream(surface, width, height, format, dataSpace, in createStream()
525 mCameraId, width, height, format, dataSpace, strerror(-err), err); in createStream()
633 int32_t format, android_dataspace dataSpace, const CameraMetadata& info, in roundBufferDimensionNearest() argument
637 (dataSpace == HAL_DATASPACE_DEPTH) ? in roundBufferDimensionNearest()
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp731 android_dataspace dataSpace; in queueBuffer() local
737 input.deflate(&timestamp, &isAutoTimestamp, &dataSpace, &crop, &scalingMode, in queueBuffer()
798 slot, mCore->mFrameCounter + 1, timestamp, dataSpace, in queueBuffer()
813 if (dataSpace == HAL_DATASPACE_UNKNOWN) { in queueBuffer()
814 dataSpace = mCore->mDefaultBufferDataSpace; in queueBuffer()
833 item.mDataSpace = dataSpace; in queueBuffer()
852 mCore->mSharedBufferCache.dataspace = dataSpace; in queueBuffer()
DIGraphicBufferProducer.cpp709 + sizeof(dataSpace) in getFlattenedSize()
730 FlattenableUtils::write(buffer, size, dataSpace); in flatten()
748 + sizeof(dataSpace) in unflatten()
760 FlattenableUtils::read(buffer, size, dataSpace); in unflatten()
/frameworks/av/media/libstagefright/
DACodec.cpp3335 DescribeColorAspectsParams &params, android_dataspace *dataSpace /* nonnull */, in getDataSpace() argument
3344 *dataSpace = (android_dataspace)params.nDataSpace; in getDataSpace()
3353 *dataSpace = getDataSpaceForColorAspects(params.sAspects, true /* mayexpand */); in getDataSpace()
3361 *dataSpace); in getDataSpace()
3368 android_dataspace *dataSpace) { in getColorAspectsAndDataSpaceForVideoDecoder() argument
3375 if (dataSpace != NULL) { in getColorAspectsAndDataSpaceForVideoDecoder()
3383 if (dataSpace != NULL) { in getColorAspectsAndDataSpaceForVideoDecoder()
3384 status_t res = getDataSpace(params, dataSpace, err == OK /* tryCodec */); in getColorAspectsAndDataSpaceForVideoDecoder()
3408 android_dataspace dataSpace = HAL_DATASPACE_BT709; in setColorAspectsForVideoEncoder() local
3414 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()

12