Lines Matching refs:mRotInfo
51 void MdssRot::setRotations(uint32_t flags) { mRotInfo.flags |= flags; } in setRotations()
63 return mRotInfo.src.format; in getDstFormat()
72 return utils::Whf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in getDstWhf()
73 mRotInfo.src.format); in getDstWhf()
77 return utils::Dim(mRotInfo.dst_rect.x, mRotInfo.dst_rect.y, in getDstDimensions()
78 mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in getDstDimensions()
81 uint32_t MdssRot::getSessId() const { return mRotInfo.id; } in getSessId()
94 mRotInfo.src.format = whf.format; in setSource()
95 mRotInfo.src.width = whf.w; in setSource()
96 mRotInfo.src.height = whf.h; in setSource()
100 mRotInfo.src_rect.x = crop.x; in setCrop()
101 mRotInfo.src_rect.y = crop.y; in setCrop()
102 mRotInfo.src_rect.w = crop.w; in setCrop()
103 mRotInfo.src_rect.h = crop.h; in setCrop()
110 mRotInfo.flags = flags; in setFlags()
116 mRotInfo.flags &= ~MDSS_ROT_MASK; in setTransform()
125 mRotInfo.flags |= mOrientation; in doTransform()
127 utils::swap(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in doTransform()
131 if (utils::isYuv(mRotInfo.src.format)) { in commit()
132 utils::normalizeCrop(mRotInfo.src_rect.x, mRotInfo.src_rect.w); in commit()
133 utils::normalizeCrop(mRotInfo.src_rect.y, mRotInfo.src_rect.h); in commit()
135 if ((mRotInfo.flags & utils::OV_MDP_DEINTERLACE) and in commit()
136 (mRotInfo.src_rect.h % 4)) in commit()
137 mRotInfo.src_rect.h = utils::aligndown(mRotInfo.src_rect.h, 4); in commit()
140 mRotInfo.dst_rect.x = 0; in commit()
141 mRotInfo.dst_rect.y = 0; in commit()
142 mRotInfo.dst_rect.w = mRotInfo.src_rect.w; in commit()
143 mRotInfo.dst_rect.h = mRotInfo.src_rect.h; in commit()
147 mRotInfo.flags |= MDSS_MDP_ROT_ONLY; in commit()
149 if(!overlay::mdp_wrapper::setOverlay(mFd.getFD(), mRotInfo)) { in commit()
154 mRotData.id = mRotInfo.id; in commit()
186 bool isSecure = mRotInfo.flags & utils::OV_MDP_SECURE_OVERLAY_SESSION; in open_i()
254 ovutils::memset0(mRotInfo); in reset()
257 mRotInfo.id = MSMFB_NEW_REQUEST; in reset()
267 mdp_wrapper::dump("mRotInfo", mRotInfo); in dump()
274 ovutils::Whf destWhf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in calcOutputBufSize()
275 mRotInfo.src.format); //mdss src and dst formats are same. in calcOutputBufSize()
277 if (mRotInfo.flags & ovutils::OV_MDSS_MDP_BWC_EN) { in calcOutputBufSize()
287 ovutils::getDump(buf, len, "MdssRotCtrl", mRotInfo); in getDump()