• Home
  • Raw
  • Download

Lines Matching refs:utils

25 namespace ovutils = overlay::utils;
61 utils::Whf MdpRot::getDstWhf() const { in getDstWhf()
66 return utils::Whf(alW, alH, mRotImgInfo.dst.format); in getDstWhf()
70 utils::Dim MdpRot::getDstDimensions() const { in getDstDimensions()
75 return utils::Dim(0, 0, alW, alH); in getDstDimensions()
81 if ((utils::ROT_DS_EIGHTH == ds) && (mRotImgInfo.src_rect.h & 0xF)) { in setDownscale()
84 mRotImgInfo.src_rect.h = utils::aligndown(mRotImgInfo.src_rect.h, 16); in setDownscale()
111 void MdpRot::setSource(const overlay::utils::Whf& awhf) { in setSource()
112 utils::Whf whf(awhf); in setSource()
125 void MdpRot::setCrop(const utils::Dim& /*crop*/) { in setCrop()
129 void MdpRot::setFlags(const utils::eMdpFlags& flags) { in setFlags()
131 if(flags & utils::OV_MDP_SECURE_OVERLAY_SESSION) in setFlags()
135 void MdpRot::setTransform(const utils::eTransform& rot) in setTransform()
137 int r = utils::getMdpOrient(rot); in setTransform()
139 mOrientation = static_cast<utils::eTransform>(r); in setTransform()
144 if(mOrientation & utils::OVERLAY_TRANSFORM_ROT_90) in doTransform()
145 utils::swap(mRotImgInfo.dst.width, mRotImgInfo.dst.height); in doTransform()
244 mOrientation = utils::OVERLAY_TRANSFORM_0; in reset()
294 int dscale_factor = utils::ROT_DS_NONE; in getDownscaleFactor()
307 dscale_factor = utils::ROT_DS_NONE; in getDownscaleFactor()
310 dscale_factor = utils::ROT_DS_HALF; in getDownscaleFactor()
313 dscale_factor = utils::ROT_DS_FOURTH; in getDownscaleFactor()
316 dscale_factor = utils::ROT_DS_EIGHTH; in getDownscaleFactor()