Lines Matching refs:mRotImgInfo

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