Lines Matching refs:crop
840 const C2Rect crop = mImpl->crop(); in Mapped() local
844 crop, in Mapped()
860 if (crop.left % colSampling || crop.right() % colSampling in Mapped()
861 || crop.top % rowSampling || crop.bottom() % rowSampling) { in Mapped()
863 mImpl->getAllocation()->unmap(mData, crop, nullptr); in Mapped()
871 mData[planeIx] + (ssize_t)crop.left * mLayout.planes[planeIx].colInc in Mapped()
872 + (ssize_t)crop.top * mLayout.planes[planeIx].rowInc; in Mapped()
888 mImpl->getAllocation()->unmap(mData, mImpl->crop(), nullptr); in ~Mapped()
976 : _C2PlanarSectionAspect(impl.get(), section.crop()), mImpl(impl) { in C2Block2D()
992 : _C2EditablePlanarSectionAspect(impl.get(), section.crop()), mImpl(impl) { in C2GraphicView()
1033 mapping->error(), fence, GraphicViewBuddy(gvi, C2PlanarSection(*mImpl, crop()))); in map()
1037 return C2ConstGraphicBlock(mImpl, C2PlanarSection(*mImpl, crop().intersect(rect)), mFence); in subBlock()
1054 mapping->error(), fence, GraphicViewBuddy(gvi, C2PlanarSection(*mImpl, crop()))); in map()
1057 C2ConstGraphicBlock C2GraphicBlock::share(const C2Rect &crop, C2Fence fence) { in share() argument
1058 return ConstGraphicBlockBuddy(mImpl, C2PlanarSection(*mImpl, crop), fence); in share()