• Home
  • Raw
  • Download

Lines Matching refs:utils

37 namespace ovutils = overlay::utils;
40 using namespace utils;
66 utils::Whf MdssRot::getDstWhf() const { in getDstWhf()
72 return utils::Whf(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h, in getDstWhf()
76 utils::Dim MdssRot::getDstDimensions() const { in getDstDimensions()
77 return utils::Dim(mRotInfo.dst_rect.x, mRotInfo.dst_rect.y, in getDstDimensions()
84 if(!utils::openDev(mFd, 0, Res::fbPath, O_RDWR)) { in init()
91 void MdssRot::setSource(const overlay::utils::Whf& awhf) { in setSource()
92 utils::Whf whf(awhf); in setSource()
99 void MdssRot::setCrop(const utils::Dim& crop) { in setCrop()
109 void MdssRot::setFlags(const utils::eMdpFlags& flags) { in setFlags()
113 void MdssRot::setTransform(const utils::eTransform& rot) in setTransform()
117 int flags = utils::getMdpOrient(rot); in setTransform()
120 mOrientation = static_cast<utils::eTransform>(flags); in setTransform()
126 if(mOrientation & utils::OVERLAY_TRANSFORM_ROT_90) 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()
137 mRotInfo.src_rect.h = utils::aligndown(mRotInfo.src_rect.h, 4); in commit()
186 bool isSecure = mRotInfo.flags & utils::OV_MDP_SECURE_OVERLAY_SESSION; in open_i()
260 mOrientation = utils::OVERLAY_TRANSFORM_0; in reset()
314 if(utils::isYuv(destWhf.format)) { in calcCompressedBufSize()