Home
last modified time | relevance | path

Searched refs:mCrop (Results 1 – 25 of 36) 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()
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()
DCpuConsumer.cpp98 item.mCrop, &ycbcr, fenceFd); in lockBufferItem()
122 item.mCrop, &bufferPointer, fenceFd); in lockBufferItem()
141 outBuffer->crop = item.mCrop; in lockBufferItem()
DBufferQueueCore.cpp184 outResult->appendFormat("crop=[%d,%d,%d,%d] ", current->mCrop.left, current->mCrop.top, in dumpState()
185 current->mCrop.right, current->mCrop.bottom); in dumpState()
DBLASTBufferQueue.cpp262 return GLConsumer::scaleDownCrop(item.mCrop, mWidth, mHeight); in computeCrop()
264 return item.mCrop; in computeCrop()
DStreamSplitter.cpp147 bufferItem.mDataSpace, bufferItem.mCrop, in onFrameAvailable()
DSurface.cpp68 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/
DBufferItem.h46 Rect mCrop; variable
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamBufferListener.h34 Rect mCrop; member
/frameworks/native/libs/gui/include/gui/
DBufferItem.h66 Rect mCrop; variable
DLayerDebugInfo.h54 Rect mCrop = Rect::INVALID_RECT; variable
DSurface.h417 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/native/services/surfaceflinger/
DBufferLayer.cpp458 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()
DBufferLayer.h163 Rect mCrop; member
DBufferLayerConsumer.cpp277 mCurrentCrop = item.mCrop; in updateAndReleaseLocked()
DBufferQueueLayer.cpp542 mBufferInfo.mCrop = mConsumer->getCurrentCrop(); in gatherBufferInfo()
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h88 Rect mCrop; member
DRingBufferConsumer.cpp81 cur.mCrop = item.mCrop; in pinSelectedBuffer()
/frameworks/native/libs/nativedisplay/surfacetexture/
DImageConsumer.cpp105 st.mCurrentCrop = item.mCrop; in dequeueBuffer()
/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/av/media/libstagefright/
DFrameCaptureLayer.cpp119 mBufferItem.mCrop, mBufferItem.mTransform, useFiltering); in getLayerSettings()

12