Lines Matching refs:mRotInfo
52 void MdssRot::setRotations(uint32_t flags) { mRotInfo.flags |= flags; } in setRotations()
72 return mRotInfo.src.format; in getDstFormat()
81 return utils::Whf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in getDstWhf()
82 mRotInfo.src.format); in getDstWhf()
86 return utils::Dim(mRotInfo.dst_rect.x, mRotInfo.dst_rect.y, in getDstDimensions()
87 mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in getDstDimensions()
90 uint32_t MdssRot::getSessId() const { return mRotInfo.id; } in getSessId()
93 mLSRotInfo = mRotInfo; in save()
98 if(0 == ::memcmp(&mRotInfo, &mLSRotInfo, in rotConfChanged()
116 mRotInfo.src.format = whf.format; in setSource()
117 mRotInfo.src.width = whf.w; in setSource()
118 mRotInfo.src.height = whf.h; in setSource()
122 mRotInfo.src_rect.x = crop.x; in setCrop()
123 mRotInfo.src_rect.y = crop.y; in setCrop()
124 mRotInfo.src_rect.w = crop.w; in setCrop()
125 mRotInfo.src_rect.h = crop.h; in setCrop()
133 mRotInfo.flags = flags; in setFlags()
139 mRotInfo.flags &= ~MDSS_ROT_MASK; in setTransform()
148 mRotInfo.flags |= mOrientation; in doTransform()
150 utils::swap(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in doTransform()
154 Dim adjCrop(mRotInfo.src_rect.x,mRotInfo.src_rect.y, in commit()
155 mRotInfo.src_rect.w,mRotInfo.src_rect.h); in commit()
156 adjCrop = getFormatAdjustedCrop(adjCrop, mRotInfo.src.format, in commit()
157 mRotInfo.flags & utils::OV_MDP_DEINTERLACE); in commit()
160 mRotInfo.src_rect.x = adjCrop.x; in commit()
161 mRotInfo.src_rect.y = adjCrop.y; in commit()
162 mRotInfo.src_rect.w = adjCrop.w; in commit()
163 mRotInfo.src_rect.h = adjCrop.h; in commit()
165 mRotInfo.dst_rect.x = 0; in commit()
166 mRotInfo.dst_rect.y = 0; in commit()
167 mRotInfo.dst_rect.w = mDownscale ? in commit()
168 mRotInfo.src_rect.w / mDownscale : mRotInfo.src_rect.w; in commit()
169 mRotInfo.dst_rect.h = mDownscale ? in commit()
170 mRotInfo.src_rect.h / mDownscale : mRotInfo.src_rect.h; in commit()
176 mRotInfo.flags |= MDSS_MDP_ROT_ONLY; in commit()
178 if(!overlay::mdp_wrapper::setOverlay(mFd.getFD(), mRotInfo)) { in commit()
183 mRotData.id = mRotInfo.id; in commit()
221 bool isSecure = mRotInfo.flags & utils::OV_MDP_SECURE_OVERLAY_SESSION; in open_i()
289 ovutils::memset0(mRotInfo); in reset()
293 mRotInfo.id = MSMFB_NEW_REQUEST; in reset()
304 mdp_wrapper::dump("mRotInfo", mRotInfo); in dump()
311 ovutils::Whf destWhf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in calcOutputBufSize()
312 mRotInfo.src.format); //mdss src and dst formats are same. in calcOutputBufSize()
314 if (mRotInfo.flags & ovutils::OV_MDSS_MDP_BWC_EN) { in calcOutputBufSize()
324 ovutils::getDump(buf, len, "MdssRotCtrl", mRotInfo); in getDump()