• Home
  • Raw
  • Download

Lines Matching refs:utils

33 namespace ovutils = overlay::utils;
44 if(!utils::openDev(mFd, fbnum, in init()
54 utils::memset0(mOVInfo); in reset()
56 mOrientation = utils::OVERLAY_TRANSFORM_0; in reset()
90 void MdpCtrl::setSource(const utils::PipeArgs& args) { in setSource()
104 void MdpCtrl::setCrop(const utils::Dim& d) { in setCrop()
112 void MdpCtrl::setPosition(const overlay::utils::Dim& d) { in setPosition()
116 void MdpCtrl::setTransform(const utils::eTransform& orient) { in setTransform()
117 int rot = utils::getMdpOrient(orient); in setTransform()
119 mOrientation = static_cast<utils::eTransform>(rot); in setTransform()
122 void MdpCtrl::setPipeType(const utils::eMdpPipeType& pType){ in setPipeType()
124 case utils::OV_MDP_PIPE_RGB: in setPipeType()
127 case utils::OV_MDP_PIPE_VG: in setPipeType()
130 case utils::OV_MDP_PIPE_DMA: in setPipeType()
141 utils::Whf whf = getSrcWhf(); in doTransform()
142 utils::Dim dim = getSrcRectDim(); in doTransform()
143 utils::preRotateSource(mOrientation, whf, dim); in doTransform()
150 utils::getDecimationFactor(mOVInfo.src_rect.w, mOVInfo.src_rect.h, in doDownscale()
160 utils::Whf whf = getSrcWhf(); in set()
161 if(utils::isYuv(whf.format)) { in set()
162 utils::normalizeCrop(mOVInfo.src_rect.x, mOVInfo.src_rect.w); in set()
163 utils::normalizeCrop(mOVInfo.src_rect.y, mOVInfo.src_rect.h); in set()
165 utils::even_floor(mOVInfo.dst_rect.w); in set()
166 utils::even_floor(mOVInfo.dst_rect.h); in set()
171 mOVInfo.src_rect.h = utils::aligndown(mOVInfo.src_rect.h, 4); in set()
175 mOVInfo.src_rect.w = utils::aligndown(mOVInfo.src_rect.w, 4); in set()
193 utils::Whf whf = getSrcWhf(); in updateSrcFormat()
378 if(!utils::openDev(mFd, fbnum, Res::fbPath, O_RDWR)){ in init()