Home
last modified time | relevance | path

Searched refs:mCrop (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/av/media/codec2/core/include/
DC2Buffer.h1596 mCrop(C2Rect(std::min(width - std::min(crop.left, width), crop.width), in _C2PlanarSectionAspect()
1605 inline constexpr C2Rect crop() const { return mCrop; } in crop()
1612 mCrop.width, mCrop.height, in childSection()
1614 C2Rect(c2_min(mCrop.right() - c2_clamp(mCrop.left, crop.left, mCrop.right()), in childSection()
1616 c2_min(mCrop.bottom() - c2_clamp(mCrop.top, crop.top, mCrop.bottom()), in childSection()
1618 .at(c2_clamp(mCrop.left, crop.left, mCrop.right()) - mCrop.left, in childSection()
1619 c2_clamp(mCrop.top, crop.top, mCrop.bottom()) - mCrop.top)); in childSection()
1624 : _C2PlanarCapacityAspect(parent), mCrop(width(), height()) {} in _C2PlanarSectionAspect()
1628 mCrop(parent == nullptr ? C2Rect() : ((C2Rect)*parent).intersect(crop).normalize()) { } in _C2PlanarSectionAspect()
1632 mCrop(parent == nullptr ? C2Rect() : parent->crop().intersect(crop).normalize()) { } in _C2PlanarSectionAspect()
[all …]
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp386 status_t res = lockImageFromBuffer(bufferItem->mGraphicBuffer, inUsage, bufferItem->mCrop, in lockImageFromBuffer()
393 outputImage->crop = bufferItem->mCrop; in lockImageFromBuffer()
406 if (!buffer->mCrop.isEmpty()) { in getBufferWidth()
407 return buffer->mCrop.getWidth(); in getBufferWidth()
417 if (!buffer->mCrop.isEmpty()) { in getBufferHeight()
418 return buffer->mCrop.getHeight(); in getBufferHeight()
Dandroid_media_ImageReader.cpp548 Point lt = buffer->mCrop.leftTop(); in ImageReader_imageSetup()
697 image->crop = buffer->mCrop; in Image_getLockedImage()
/frameworks/native/libs/gui/
DBufferItem.cpp44 mCrop(Rect::INVALID_RECT), in BufferItem()
72 addAligned(size, mCrop); in getPodSize()
166 writeAligned(buffer, size, mCrop); in flatten()
235 readAligned(buffer, size, mCrop); in unflatten()
DCpuConsumer.cpp98 item.mCrop, &ycbcr, fenceFd); in lockBufferItem()
122 item.mCrop, &bufferPointer, fenceFd); in lockBufferItem()
141 outBuffer->crop = item.mCrop; in lockBufferItem()
DLayerDebugInfo.cpp45 RETURN_ON_ERROR(parcel->write(mCrop)); in writeToParcel()
83 RETURN_ON_ERROR(parcel->read(mCrop)); in readFromParcel()
123 StringAppendF(&result, "crop=%s, ", to_string(info.mCrop).c_str()); in to_string()
DBufferQueueCore.cpp136 outResult->appendFormat("crop=[%d,%d,%d,%d] ", current->mCrop.left, current->mCrop.top, in dumpState()
137 current->mCrop.right, current->mCrop.bottom); in dumpState()
DStreamSplitter.cpp147 bufferItem.mDataSpace, bufferItem.mCrop, in onFrameAvailable()
DSurface.cpp55 mCrop(Rect::EMPTY_RECT), in Surface()
732 mCrop.intersect(Rect(buffer->width, buffer->height), &crop); in queueBuffer()
1347 mCrop.clear(); in disconnect()
1455 mCrop = realRect; in setCrop()
DBufferQueueConsumer.cpp216 outBuffer->mCrop = mCore->mSharedBufferCache.crop; in acquireBuffer()
DBufferQueueProducer.cpp874 item.mCrop = crop; in queueBuffer()
1017 mLastQueuedCrop = item.mCrop; in queueBuffer()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamBufferListener.h33 Rect mCrop; member
DCamera3StreamSplitter.cpp349 bufferItem.mDataSpace, bufferItem.mCrop, in outputBufferLocked()
/frameworks/native/libs/gui/include/gui/
DBufferItem.h66 Rect mCrop; variable
DLayerDebugInfo.h54 Rect mCrop = Rect::INVALID_RECT; variable
DSurface.h398 Rect mCrop; variable
/frameworks/av/media/ndk/
DNdkImageReader.cpp448 Point lt = buffer->mCrop.leftTop(); in acquireImageLocked()
589 if (!buffer->mCrop.isEmpty()) { in getBufferWidth()
590 return buffer->mCrop.getWidth(); in getBufferWidth()
600 if (!buffer->mCrop.isEmpty()) { in getBufferHeight()
601 return buffer->mCrop.getHeight(); in getBufferHeight()
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h88 Rect mCrop; member
DRingBufferConsumer.cpp81 cur.mCrop = item.mCrop; in pinSelectedBuffer()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp38 mTimestamp, mIsAutoTimestamp, mDataSpace, mCrop, mScalingMode, in build()
58 this->mCrop = crop; in setCrop()
81 Rect mCrop{Rect(kDefaultWidth, kDefaultHeight)}; member
/frameworks/base/libs/hwui/surfacetexture/
DImageConsumer.cpp283 st.mCurrentCrop = item.mCrop; in dequeueImage()
DEGLConsumer.cpp308 st.mCurrentCrop = item.mCrop; in updateAndReleaseLocked()
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.cpp273 mCurrentCrop = item.mCrop; in updateAndReleaseLocked()
/frameworks/av/media/libstagefright/
DMediaSync.cpp664 bufferItem.mCrop, in renderOneBufferItem_l()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor.cpp632 item.mIsAutoTimestamp, item.mDataSpace, item.mCrop, in enqueueInputBufferByTimestamp()

12