Lines Matching refs:crop
788 * For blocks' Impl's crop is always the allotted crop, even if it is a sub block.
790 * For views' Impl's crop is the mapped portion - which for now is always the
791 * allotted crop.
796 * Impl's crop is always the or part of the allotted crop of the allocation.
849 const C2Rect crop = mImpl->crop();
853 crop,
864 // adjust data pointers to the crop region's top left corner.
869 if (crop.left % colSampling || crop.right() % colSampling
870 || crop.top % rowSampling || crop.bottom() % rowSampling) {
872 mImpl->getAllocation()->unmap(mData, crop, nullptr);
880 mData[planeIx] + (ssize_t)crop.left * mLayout.planes[planeIx].colInc
881 + (ssize_t)crop.top * mLayout.planes[planeIx].rowInc;
897 mImpl->getAllocation()->unmap(mData, mImpl->crop(), nullptr);
984 // always clamp subsection to parent (impl) crop for safety
985 : _C2PlanarSectionAspect(impl.get(), section.crop()), mImpl(impl) {
992 * crop.
1001 : _C2EditablePlanarSectionAspect(impl.get(), section.crop()), mImpl(impl) {
1042 mapping->error(), fence, GraphicViewBuddy(gvi, C2PlanarSection(*mImpl, crop())));
1046 return C2ConstGraphicBlock(mImpl, C2PlanarSection(*mImpl, crop().intersect(rect)), mFence);
1063 mapping->error(), fence, GraphicViewBuddy(gvi, C2PlanarSection(*mImpl, crop())));
1066 C2ConstGraphicBlock C2GraphicBlock::share(const C2Rect &crop, C2Fence fence) {
1067 return ConstGraphicBlockBuddy(mImpl, C2PlanarSection(*mImpl, crop), fence);