/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 | 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 | CpuConsumer.cpp | 98 item.mCrop, &ycbcr, fenceFd); in lockBufferItem() 122 item.mCrop, &bufferPointer, fenceFd); in lockBufferItem() 141 outBuffer->crop = item.mCrop; in lockBufferItem()
|
D | BufferQueueCore.cpp | 184 outResult->appendFormat("crop=[%d,%d,%d,%d] ", current->mCrop.left, current->mCrop.top, in dumpState() 185 current->mCrop.right, current->mCrop.bottom); in dumpState()
|
D | BLASTBufferQueue.cpp | 262 return GLConsumer::scaleDownCrop(item.mCrop, mWidth, mHeight); in computeCrop() 264 return item.mCrop; in computeCrop()
|
D | StreamSplitter.cpp | 147 bufferItem.mDataSpace, bufferItem.mCrop, in onFrameAvailable()
|
D | Surface.cpp | 68 mCrop(Rect::EMPTY_RECT), in Surface() 816 mCrop.intersect(Rect(buffer->width, buffer->height), &crop); in queueBuffer() 1582 mCrop.clear(); in disconnect() 1693 mCrop = realRect; in setCrop()
|
/frameworks/base/libs/hostgraphics/gui/ |
D | BufferItem.h | 46 Rect mCrop; variable
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamBufferListener.h | 34 Rect mCrop; member
|
/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 | 417 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/native/services/surfaceflinger/ |
D | BufferLayer.cpp | 458 if ((mBufferInfo.mCrop != oldBufferInfo.mCrop) || in latchBuffer() 737 if (!mBufferInfo.mCrop.isEmpty()) { in getBufferCrop() 739 return mBufferInfo.mCrop; in getBufferCrop() 791 GLConsumer::computeTransformMatrix(outMatrix, mBufferInfo.mBuffer, mBufferInfo.mCrop, in getDrawingTransformMatrix()
|
D | BufferLayer.h | 163 Rect mCrop; member
|
D | BufferLayerConsumer.cpp | 277 mCurrentCrop = item.mCrop; in updateAndReleaseLocked()
|
D | BufferQueueLayer.cpp | 542 mBufferInfo.mCrop = mConsumer->getCurrentCrop(); in gatherBufferInfo()
|
/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/nativedisplay/surfacetexture/ |
D | ImageConsumer.cpp | 105 st.mCurrentCrop = item.mCrop; in dequeueBuffer()
|
/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/av/media/libstagefright/ |
D | FrameCaptureLayer.cpp | 119 mBufferItem.mCrop, mBufferItem.mTransform, useFiltering); in getLayerSettings()
|