/frameworks/native/include/gui/ |
H A D | CpuConsumer.h | 56 android_dataspace dataSpace; member in struct:android::CpuConsumer::LockedBuffer 81 dataSpace(HAL_DATASPACE_UNKNOWN),
|
H A D | IGraphicBufferProducer.h | 298 // dataSpace - description of the contents, interpretation depends on format 307 android_dataspace dataSpace, const Rect& crop, int scalingMode, 310 dataSpace(dataSpace), crop(crop), scalingMode(scalingMode), 320 *outDataSpace = dataSpace; 342 android_dataspace dataSpace; member in struct:android::IGraphicBufferProducer::QueueBufferInput 306 QueueBufferInput(int64_t timestamp, bool isAutoTimestamp, android_dataspace dataSpace, const Rect& crop, int scalingMode, uint32_t transform, const sp<Fence>& fence, uint32_t sticky = 0) argument
|
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 175 android_dataspace dataSpace; local 178 reinterpret_cast<int*>(&dataSpace)); 181 ASSERT_EQ(TEST_DATASPACE, dataSpace);
|
H A D | BufferQueue_test.cpp | 72 android_dataspace dataSpace; local 78 input.deflate(×tamp, &isAutoTimestamp, &dataSpace, &crop, 82 ASSERT_EQ(dataSpace, item.mDataSpace);
|
H A D | IGraphicBufferProducer_test.cpp | 129 dataSpace = QUEUE_BUFFER_INPUT_DATASPACE; 140 dataSpace, 157 QueueBufferInputBuilder& setDataSpace(android_dataspace dataSpace) { argument 158 this->dataSpace = dataSpace; 185 android_dataspace dataSpace; member in struct:android::IGraphicBufferProducerTest::QueueBufferInputBuilder
|
H A D | SRGB_test.cpp | 221 void checkLockedBuffer(PixelFormat format, android_dataspace dataSpace) { argument 225 ASSERT_EQ(mLockedBuffer.dataSpace, dataSpace); 344 ASSERT_EQ(mLockedBuffer.dataSpace, HAL_DATASPACE_SRGB);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.h | 45 android_dataspace dataSpace; member in struct:android::camera3::StreamInfo 63 dataSpace(ds), 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,
|
H A D | Camera3IOStreamBase.cpp | 34 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) : 36 width, height, maxSize, format, dataSpace, rotation, setId), 32 Camera3IOStreamBase(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
|
H A D | Camera3OutputStream.cpp | 37 android_dataspace dataSpace, camera3_stream_rotation_t rotation, 40 /*maxSize*/0, format, dataSpace, rotation, setId), 60 android_dataspace dataSpace, camera3_stream_rotation_t rotation, 63 format, dataSpace, rotation, setId), 90 android_dataspace dataSpace, 95 format, dataSpace, rotation, setId), 34 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument 57 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument 87 Camera3OutputStream(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
|
H A D | Camera3Stream.cpp | 50 android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) : 69 camera3_stream::data_space = dataSpace; 47 Camera3Stream(int id, camera3_stream_type type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 368 android_dataspace dataSpace; local 369 if (format->findInt32("android._dataspace", (int32_t *)&dataSpace) && dataSpace != mDataSpace) { 370 ALOGD("setting dataspace on output surface to #%x", dataSpace); 371 if ((err = native_window_set_buffers_data_space(mNativeWindow.get(), dataSpace))) { 374 mDataSpace = dataSpace;
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 167 int format, android_dataspace dataSpace) { 200 switch (dataSpace) { 210 switch (dataSpace) { 166 android_view_Surface_mapHalFormatDataspaceToPublicFormat( int format, android_dataspace dataSpace) argument
|
/frameworks/av/media/libstagefright/ |
H A D | OMXClient.cpp | 119 node_id node, OMX_U32 port_index, android_dataspace dataSpace, 408 node_id node, OMX_U32 port_index, android_dataspace dataSpace, 411 node, port_index, dataSpace, bufferProducer, type); 407 createInputSurface( node_id node, OMX_U32 port_index, android_dataspace dataSpace, sp<IGraphicBufferProducer> *bufferProducer, MetadataBufferType *type) argument
|
H A D | CameraSource.cpp | 531 uint32_t format, android_dataspace dataSpace, uint32_t bufferCount) { 569 res = mVideoBufferConsumer->setDefaultBufferDataSpace(dataSpace); 571 ALOGE("%s: Could not set data space %d: %s (%d)", __FUNCTION__, dataSpace, 530 initBufferQueue(uint32_t width, uint32_t height, uint32_t format, android_dataspace dataSpace, uint32_t bufferCount) argument
|
H A D | MediaCodec.cpp | 1424 int32_t dataSpace; local 1425 if (mOutputFormat->findInt32("android._dataspace", &dataSpace)) { 1427 mComponentName.c_str(), dataSpace); 1429 mSurface.get(), (android_dataspace)dataSpace);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ColorUtils.cpp | 426 bool ColorUtils::convertDataSpaceToV0(android_dataspace &dataSpace) { argument 427 (void)sLegacyDataSpaceToV0.lookup(dataSpace, &dataSpace); 428 return (dataSpace & 0xC000FFFF) == 0; 492 android_dataspace dataSpace = (android_dataspace)( local 495 (void)sLegacyDataSpaceToV0.rlookup(dataSpace, &dataSpace); 501 return dataSpace;
|
/frameworks/av/media/libstagefright/omx/ |
H A D | GraphicBufferSource.cpp | 228 ALOGV("clearing last dataSpace"); 510 android_dataspace dataSpace, android_pixel_format pixelFormat) { 511 ALOGD("got buffer with new dataSpace #%x", dataSpace); 512 mLastDataSpace = dataSpace; 514 if (ColorUtils::convertDataSpaceToV0(dataSpace)) { 573 OMX_EventDataSpaceChanged, dataSpace, 1015 void GraphicBufferSource::setDefaultDataSpace(android_dataspace dataSpace) { argument 1017 ALOGD("setting dataspace: %#x", dataSpace); 1018 mConsumer->setDefaultBufferDataSpace(dataSpace); 509 onDataSpaceChanged_l( android_dataspace dataSpace, android_pixel_format pixelFormat) argument [all...] |
H A D | OMX.cpp | 505 node_id node, OMX_U32 port_index, android_dataspace dataSpace, 514 port_index, dataSpace, bufferProducer, type); 504 createInputSurface( node_id node, OMX_U32 port_index, android_dataspace dataSpace, sp<IGraphicBufferProducer> *bufferProducer, MetadataBufferType *type) argument
|
H A D | OMXNodeInstance.cpp | 1009 OMX_U32 portIndex, android_dataspace dataSpace, 1023 mGraphicBufferSource->setDefaultDataSpace(dataSpace); 1008 createInputSurface( OMX_U32 portIndex, android_dataspace dataSpace, sp<IGraphicBufferProducer> *bufferProducer, MetadataBufferType *type) argument
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 731 android_dataspace dataSpace; local 737 input.deflate(×tamp, &isAutoTimestamp, &dataSpace, &crop, &scalingMode, 796 BQ_LOGV("queueBuffer: slot=%d/%" PRIu64 " time=%" PRIu64 " dataSpace=%d" 798 slot, mCore->mFrameCounter + 1, timestamp, dataSpace, 813 if (dataSpace == HAL_DATASPACE_UNKNOWN) { 814 dataSpace = mCore->mDefaultBufferDataSpace; 833 item.mDataSpace = dataSpace; 852 mCore->mSharedBufferCache.dataspace = dataSpace;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.cpp | 507 android_dataspace dataSpace; local 511 input.deflate(×tamp, &isAutoTimestamp, &dataSpace, &crop,
|
/frameworks/av/media/libmedia/ |
H A D | IOMX.cpp | 337 node_id node, OMX_U32 port_index, android_dataspace dataSpace, 344 data.writeInt32(dataSpace); 959 android_dataspace dataSpace = (android_dataspace)data.readInt32(); local 963 status_t err = createInputSurface(node, port_index, dataSpace, &bufferProducer, &type); 336 createInputSurface( node_id node, OMX_U32 port_index, android_dataspace dataSpace, sp<IGraphicBufferProducer> *bufferProducer, MetadataBufferType *type) argument
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 2134 android_dataspace dataSpace; local 2150 reinterpret_cast<int*>(&dataSpace))) != OK) { 2151 ALOGE("%s: Failed to query Surface dataSpace", __FUNCTION__); 2190 l.mParameters.videoDataSpace = dataSpace;
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 471 android_dataspace dataSpace; local 492 reinterpret_cast<int*>(&dataSpace))) != OK) { 510 format, dataSpace, mDevice->info(), /*out*/&width, /*out*/&height)) { 518 err = mDevice->createStream(surface, width, height, format, dataSpace, 524 "Camera %d: Error creating output stream (%d x %d, fmt %x, dataSpace %x): %s (%d)", 525 mCameraId, width, height, format, dataSpace, strerror(-err), err); 633 int32_t format, android_dataspace dataSpace, const CameraMetadata& info, 637 (dataSpace == HAL_DATASPACE_DEPTH) ? 632 roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, android_dataspace dataSpace, const CameraMetadata& info, int32_t* outWidth, int32_t* outHeight) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 101 void setBufferDataspace(android_dataspace dataSpace) { mDataSpace = dataSpace; } argument 400 "Failed to set buffer consumer default dataSpace 0x%x", nativeDataspace); 651 image->dataSpace = buffer->mDataSpace;
|