/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 1596 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/ |
D | android_media_Utils.cpp | 386 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()
|
D | android_media_ImageReader.cpp | 548 Point lt = buffer->mCrop.leftTop(); in ImageReader_imageSetup() 697 image->crop = buffer->mCrop; in Image_getLockedImage()
|
/frameworks/native/libs/gui/ |
D | BufferItem.cpp | 44 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()
|
D | CpuConsumer.cpp | 98 item.mCrop, &ycbcr, fenceFd); in lockBufferItem() 122 item.mCrop, &bufferPointer, fenceFd); in lockBufferItem() 141 outBuffer->crop = item.mCrop; in lockBufferItem()
|
D | LayerDebugInfo.cpp | 45 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()
|
D | BufferQueueCore.cpp | 136 outResult->appendFormat("crop=[%d,%d,%d,%d] ", current->mCrop.left, current->mCrop.top, in dumpState() 137 current->mCrop.right, current->mCrop.bottom); in dumpState()
|
D | StreamSplitter.cpp | 147 bufferItem.mDataSpace, bufferItem.mCrop, in onFrameAvailable()
|
D | Surface.cpp | 55 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()
|
D | BufferQueueConsumer.cpp | 216 outBuffer->mCrop = mCore->mSharedBufferCache.crop; in acquireBuffer()
|
D | BufferQueueProducer.cpp | 874 item.mCrop = crop; in queueBuffer() 1017 mLastQueuedCrop = item.mCrop; in queueBuffer()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamBufferListener.h | 33 Rect mCrop; member
|
D | Camera3StreamSplitter.cpp | 349 bufferItem.mDataSpace, bufferItem.mCrop, in outputBufferLocked()
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferItem.h | 66 Rect mCrop; variable
|
D | LayerDebugInfo.h | 54 Rect mCrop = Rect::INVALID_RECT; variable
|
D | Surface.h | 398 Rect mCrop; variable
|
/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 448 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/ |
D | RingBufferConsumer.h | 88 Rect mCrop; member
|
D | RingBufferConsumer.cpp | 81 cur.mCrop = item.mCrop; in pinSelectedBuffer()
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
D | buffer_hub_queue_producer-test.cpp | 38 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/ |
D | ImageConsumer.cpp | 283 st.mCurrentCrop = item.mCrop; in dequeueImage()
|
D | EGLConsumer.cpp | 308 st.mCurrentCrop = item.mCrop; in updateAndReleaseLocked()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayerConsumer.cpp | 273 mCurrentCrop = item.mCrop; in updateAndReleaseLocked()
|
/frameworks/av/media/libstagefright/ |
D | MediaSync.cpp | 664 bufferItem.mCrop, in renderOneBufferItem_l()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | ZslProcessor.cpp | 632 item.mIsAutoTimestamp, item.mDataSpace, item.mCrop, in enqueueInputBufferByTimestamp()
|