• Home
  • Raw
  • Download

Lines Matching refs:mRotImgInfo

35 bool MdpRot::enabled() const { return mRotImgInfo.enable; }  in enabled()
37 void MdpRot::setRotations(uint32_t r) { mRotImgInfo.rotations = (uint8_t)r; } in setRotations()
48 return mRotImgInfo.dst.format; in getDstFormat()
54 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstWhf()
55 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstWhf()
57 return utils::Whf(alW, alH, mRotImgInfo.dst.format); in getDstWhf()
63 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstDimensions()
64 getBufferSizeAndDimensions(mRotImgInfo.dst.width, mRotImgInfo.dst.height, in getDstDimensions()
69 uint32_t MdpRot::getSessId() const { return mRotImgInfo.session_id; } in getSessId()
72 if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) { in setDownscale()
75 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 16); in setDownscale()
77 mRotImgInfo.downscale_ratio = ds; in setDownscale()
81 mLSRotImgInfo = mRotImgInfo; in save()
86 if(0 == ::memcmp(&mRotImgInfo, &mLSRotImgInfo, in rotConfChanged()
104 mRotImgInfo.src.format = whf.format; in setSource()
106 mRotImgInfo.src.width = whf.w; in setSource()
107 mRotImgInfo.src.height = whf.h; in setSource()
109 mRotImgInfo.src_rect.w = whf.w; in setSource()
110 mRotImgInfo.src_rect.h = whf.h; in setSource()
112 mRotImgInfo.dst.width = whf.w; in setSource()
113 mRotImgInfo.dst.height = whf.h; in setSource()
121 mRotImgInfo.secure = 0; in setFlags()
123 mRotImgInfo.secure = 1; in setFlags()
136 utils::swap(mRotImgInfo.dst.width, mRotImgInfo.dst.height); in doTransform()
142 mRotImgInfo.enable = 1; in commit()
143 if(!overlay::mdp_wrapper::startRotator(mFd.getFD(), mRotImgInfo)) { in commit()
146 mRotImgInfo.enable = 0; in commit()
150 mRotDataInfo.session_id = mRotImgInfo.session_id; in commit()
156 ovutils::Whf destWhf(mRotImgInfo.dst.width, in calcOutputBufSize()
157 mRotImgInfo.dst.height, mRotImgInfo.dst.format); in calcOutputBufSize()
167 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
231 ovutils::memset0(mRotImgInfo); in reset()
267 mdp_wrapper::dump("mRotImgInfo", mRotImgInfo); in dump()
273 ovutils::getDump(buf, len, "MdpRotCtrl", mRotImgInfo); in getDump()