Lines Matching refs:mRotImgInfo
34 bool MdpRot::enabled() const { return mRotImgInfo.enable; } in enabled()
36 void MdpRot::setRotations(uint32_t r) { mRotImgInfo.rotations = r; } in setRotations()
47 return mRotImgInfo.dst.format; in getDstFormat()
50 uint32_t MdpRot::getSessId() const { return mRotImgInfo.session_id; } in getSessId()
53 if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) { in setDownscale()
56 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 16); in setDownscale()
58 mRotImgInfo.downscale_ratio = ds; in setDownscale()
62 mLSRotImgInfo = mRotImgInfo; in save()
67 if(0 == ::memcmp(&mRotImgInfo, &mLSRotImgInfo, in rotConfChanged()
85 mRotImgInfo.src.format = whf.format; in setSource()
87 mRotImgInfo.src.width = whf.w; in setSource()
88 mRotImgInfo.src.height = whf.h; in setSource()
90 mRotImgInfo.src_rect.w = whf.w; in setSource()
91 mRotImgInfo.src_rect.h = whf.h; in setSource()
93 mRotImgInfo.dst.width = whf.w; in setSource()
94 mRotImgInfo.dst.height = whf.h; in setSource()
102 mRotImgInfo.secure = 0; in setFlags()
104 mRotImgInfo.secure = 1; in setFlags()
117 utils::swap(mRotImgInfo.dst.width, mRotImgInfo.dst.height); in doTransform()
123 mRotImgInfo.enable = 1; in commit()
124 if(!overlay::mdp_wrapper::startRotator(mFd.getFD(), mRotImgInfo)) { in commit()
127 mRotImgInfo.enable = 0; in commit()
131 mRotDataInfo.session_id = mRotImgInfo.session_id; in commit()
137 ovutils::Whf destWhf(mRotImgInfo.dst.width, in calcOutputBufSize()
138 mRotImgInfo.dst.height, mRotImgInfo.dst.format); in calcOutputBufSize()
148 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
212 ovutils::memset0(mRotImgInfo); in reset()
248 mdp_wrapper::dump("mRotImgInfo", mRotImgInfo); in dump()
254 ovutils::getDump(buf, len, "MdpRotCtrl", mRotImgInfo); in getDump()