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(mRotImgInfo.src.format == MDP_Y_CR_CB_GH2V2){ in setDownscale()
54 if((utils::ROT_DS_HALF == ds) && (mRotImgInfo.src_rect.h &0x3)) in setDownscale()
55 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 4); in setDownscale()
56 else if(((utils::ROT_DS_FOURTH == ds) && (mRotImgInfo.src_rect.h &0x7))) in setDownscale()
57 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 8); in setDownscale()
58 else if(((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h &0xf))) in setDownscale()
59 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 16); in setDownscale()
60 } else if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) { in setDownscale()
65 mRotImgInfo.src_rect.h = utils::alignup(mRotImgInfo.src_rect.h, 16); in setDownscale()
67 mRotImgInfo.downscale_ratio = ds; in setDownscale()
71 mLSRotImgInfo = mRotImgInfo; in save()
76 if(0 == ::memcmp(&mRotImgInfo, &mLSRotImgInfo, in rotConfChanged()
94 mRotImgInfo.src.format = whf.format; in setSource()
96 mRotImgInfo.src.width = whf.w; in setSource()
97 mRotImgInfo.src.height = whf.h; in setSource()
99 mRotImgInfo.src_rect.w = whf.w; in setSource()
100 mRotImgInfo.src_rect.h = whf.h; in setSource()
102 mRotImgInfo.dst.width = whf.w; in setSource()
103 mRotImgInfo.dst.height = whf.h; in setSource()
112 mRotImgInfo.secure = 0; in setFlags()
114 mRotImgInfo.secure = 1; in setFlags()
129 utils::swap(mRotImgInfo.dst.width, mRotImgInfo.dst.height); in doTransform()
135 mRotImgInfo.enable = 1; in commit()
136 if(!overlay::mdp_wrapper::startRotator(mFd.getFD(), mRotImgInfo)) { in commit()
139 mRotImgInfo.enable = 0; in commit()
143 mRotDataInfo.session_id = mRotImgInfo.session_id; in commit()
153 mRotImgInfo.dst.format); in calcOutputBufSize()
163 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
223 ovutils::memset0(mRotImgInfo); in reset()
270 mdp_wrapper::dump("mRotImgInfo", mRotImgInfo); in dump()
276 ovutils::getDump(buf, len, "MdpRotCtrl(msm_rotator_img_info)", mRotImgInfo); in getDump()