/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayUtils.h | 148 bool getPositionS3D(const Whf& whf, Dim& out); 199 bool operator==(const Whf& whf) const { 200 return whf.w == w && whf.h == h && 201 whf.format == format; 203 bool operator!=(const Whf& whf) const { 204 return !operator==(whf); 357 whf(_whf), in PipeArgs() 366 Whf whf; member 584 inline Dim getPositionS3DImpl(const Whf& whf) in getPositionS3DImpl() argument 586 switch (whf.format & OUTPUT_3D_MASK) in getPositionS3DImpl() [all …]
|
D | overlayMdssRot.cpp | 74 utils::Whf whf(awhf); in setSource() local 76 mRotInfo.src.format = whf.format; in setSource() 78 mRotInfo.src.width = whf.w; in setSource() 79 mRotInfo.src.height = whf.h; in setSource() 81 mRotInfo.src_rect.w = whf.w; in setSource() 82 mRotInfo.src_rect.h = whf.h; in setSource() 84 mRotInfo.dst_rect.w = whf.w; in setSource() 85 mRotInfo.dst_rect.h = whf.h; in setSource()
|
D | overlayMdp.h | 109 void setSrcWhf(const utils::Whf& whf); 150 void setWh(const utils::Whf& whf); 303 inline void MdpCtrl::setSrcWhf(const overlay::utils::Whf& whf) { in setSrcWhf() argument 304 mOVInfo.src.width = whf.w; in setSrcWhf() 305 mOVInfo.src.height = whf.h; in setSrcWhf() 306 mOVInfo.src.format = whf.format; in setSrcWhf() 370 inline void MdpCtrl3D::setWh(const utils::Whf& whf) { in setWh() argument 372 m3DOVInfo.width = whf.w; in setWh() 373 m3DOVInfo.height = whf.h; in setWh()
|
D | overlayMdpRot.cpp | 93 utils::Whf whf(awhf); in setSource() local 94 mRotImgInfo.src.format = whf.format; in setSource() 96 mRotImgInfo.src.width = whf.w; in setSource() 97 mRotImgInfo.src.height = whf.h; in setSource() 99 mRotImgInfo.src_rect.w = whf.w; in setSource() 100 mRotImgInfo.src_rect.h = whf.h; in setSource() 102 mRotImgInfo.dst.width = whf.w; in setSource() 103 mRotImgInfo.dst.height = whf.h; in setSource()
|
D | overlayUtils.cpp | 231 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument 233 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource() 236 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource() 240 srcCrop.x = compute(whf.h, in preRotateSource() 244 swap(whf.w, whf.h); in preRotateSource()
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayUtils.h | 152 bool getPositionS3D(const Whf& whf, Dim& out); 203 bool operator==(const Whf& whf) const { 204 return whf.w == w && whf.h == h && 205 whf.format == format; 207 bool operator!=(const Whf& whf) const { 208 return !operator==(whf); 365 whf(_whf), in mdpFlags() 374 Whf whf; member 582 inline Dim getPositionS3DImpl(const Whf& whf) in getPositionS3DImpl() argument 584 switch (whf.format & OUTPUT_3D_MASK) in getPositionS3DImpl() [all …]
|
D | overlayMdpRot.cpp | 84 utils::Whf whf(awhf); in setSource() local 85 mRotImgInfo.src.format = whf.format; in setSource() 87 mRotImgInfo.src.width = whf.w; in setSource() 88 mRotImgInfo.src.height = whf.h; in setSource() 90 mRotImgInfo.src_rect.w = whf.w; in setSource() 91 mRotImgInfo.src_rect.h = whf.h; in setSource() 93 mRotImgInfo.dst.width = whf.w; in setSource() 94 mRotImgInfo.dst.height = whf.h; in setSource()
|
D | overlayMdp.h | 112 void setSrcWhf(const utils::Whf& whf); 144 void setWh(const utils::Whf& whf); 265 inline void MdpCtrl::setSrcWhf(const overlay::utils::Whf& whf) { in setSrcWhf() argument 266 mOVInfo.src.width = whf.w; in setSrcWhf() 267 mOVInfo.src.height = whf.h; in setSrcWhf() 268 mOVInfo.src.format = whf.format; in setSrcWhf() 336 inline void MdpCtrl3D::setWh(const utils::Whf& whf) { in setWh() argument 338 m3DOVInfo.width = whf.w; in setWh() 339 m3DOVInfo.height = whf.h; in setWh()
|
D | overlayMdp.cpp | 92 setSrcWhf(args.whf); in setSource() 125 utils::Whf whf = getSrcWhf(); in doTransform() local 127 utils::preRotateSource(mOrientation, whf, dim); in doTransform() 128 setSrcWhf(whf); in doTransform() 173 utils::Whf whf = getSrcWhf(); in set() local 174 if(utils::isYuv(whf.format)) { in set() 206 utils::Whf whf = getSrcWhf(); in updateSrcFormat() local 207 whf.format = rotDestFmt; in updateSrcFormat() 208 setSrcWhf(whf); in updateSrcFormat()
|
D | overlayUtils.cpp | 308 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument 310 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource() 313 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource() 317 srcCrop.x = compute(whf.h, in preRotateSource() 321 swap(whf.w, whf.h); in preRotateSource()
|
D | overlayMdssRot.cpp | 77 utils::Whf whf(awhf); in setSource() local 79 mRotInfo.src.format = whf.format; in setSource() 80 mRotInfo.src.width = whf.w; in setSource() 81 mRotInfo.src.height = whf.h; in setSource()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayMdpRot.cpp | 103 utils::Whf whf(awhf); in setSource() local 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()
|
D | overlayMdp.cpp | 91 setSrcWhf(args.whf); in setSource() 141 utils::Whf whf = getSrcWhf(); in doTransform() local 143 utils::preRotateSource(mOrientation, whf, dim); in doTransform() 144 setSrcWhf(whf); in doTransform() 160 utils::Whf whf = getSrcWhf(); in set() local 161 if(utils::isYuv(whf.format)) { in set() 193 utils::Whf whf = getSrcWhf(); in updateSrcFormat() local 194 whf.format = rotDestFmt; in updateSrcFormat() 195 setSrcWhf(whf); in updateSrcFormat()
|
D | overlayMdp.h | 112 void setSrcWhf(const utils::Whf& whf); 235 inline void MdpCtrl::setSrcWhf(const overlay::utils::Whf& whf) { in setSrcWhf() argument 236 mOVInfo.src.width = whf.w; in setSrcWhf() 237 mOVInfo.src.height = whf.h; in setSrcWhf() 238 mOVInfo.src.format = whf.format; in setSrcWhf()
|
D | overlayUtils.cpp | 319 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument 321 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource() 324 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource() 328 srcCrop.x = compute(whf.h, in preRotateSource() 332 swap(whf.w, whf.h); in preRotateSource()
|
D | overlayUtils.h | 172 bool operator==(const Whf& whf) const { 173 return whf.w == w && whf.h == h && 174 whf.format == format; 176 bool operator!=(const Whf& whf) const { 177 return !operator==(whf); 334 whf(_whf), in mdpFlags() 343 Whf whf; member 554 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
|
D | overlayMdssRot.cpp | 92 utils::Whf whf(awhf); in setSource() local 94 mRotInfo.src.format = whf.format; in setSource() 95 mRotInfo.src.width = whf.w; in setSource() 96 mRotInfo.src.height = whf.h; in setSource()
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayMdpRot.cpp | 112 utils::Whf whf(awhf); in setSource() local 113 mRotImgInfo.src.format = whf.format; in setSource() 115 mRotImgInfo.src.width = whf.w; in setSource() 116 mRotImgInfo.src.height = whf.h; in setSource() 118 mRotImgInfo.src_rect.w = whf.w; in setSource() 119 mRotImgInfo.src_rect.h = whf.h; in setSource() 121 mRotImgInfo.dst.width = whf.w; in setSource() 122 mRotImgInfo.dst.height = whf.h; in setSource()
|
D | overlayMdp.cpp | 92 setSrcWhf(args.whf); in setSource() 141 utils::Whf whf = getSrcWhf(); in doTransform() local 143 utils::preRotateSource(mOrientation, whf, dim); in doTransform() 144 setSrcWhf(whf); in doTransform() 160 utils::Whf whf = getSrcWhf(); in set() local 161 if(utils::isYuv(whf.format)) { in set() 193 utils::Whf whf = getSrcWhf(); in updateSrcFormat() local 194 whf.format = rotDestFmt; in updateSrcFormat() 195 setSrcWhf(whf); in updateSrcFormat()
|
D | overlayMdp.h | 110 void setSrcWhf(const utils::Whf& whf); 229 inline void MdpCtrl::setSrcWhf(const overlay::utils::Whf& whf) { in setSrcWhf() argument 230 mOVInfo.src.width = whf.w; in setSrcWhf() 231 mOVInfo.src.height = whf.h; in setSrcWhf() 232 mOVInfo.src.format = whf.format; in setSrcWhf()
|
D | overlayUtils.cpp | 312 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument 314 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource() 317 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource() 321 srcCrop.x = compute(whf.h, in preRotateSource() 325 swap(whf.w, whf.h); in preRotateSource()
|
D | overlayUtils.h | 172 bool operator==(const Whf& whf) const { 173 return whf.w == w && whf.h == h && 174 whf.format == format; 176 bool operator!=(const Whf& whf) const { 177 return !operator==(whf); 327 whf(_whf), in mdpFlags() 335 Whf whf; member 551 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 490 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0); in getAspectRatioPosition() local 493 preRotateSource(extorient, whf, inPos); in getAspectRatioPosition() 1501 int configRotator(Rotator *rot, Whf& whf, in configRotator() argument 1506 if(whf.format == MDP_Y_CRCB_H2V2_TILE || in configRotator() 1507 whf.format == MDP_Y_CBCR_H2V2_TILE) { in configRotator() 1508 whf.w = utils::alignup(whf.w, 64); in configRotator() 1509 whf.h = utils::alignup(whf.h, 32); in configRotator() 1511 rot->setSource(whf); in configRotator() 1517 if (ovutils::isYuv(whf.format)) { in configRotator() 1575 Whf whf(w, h, getMdpFormat(HAL_PIXEL_FORMAT_RGBA_8888), 0); in configColorLayer() local [all …]
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 477 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0); in getAspectRatioPosition() local 480 preRotateSource(extorient, whf, inPos); in getAspectRatioPosition() 1517 int configRotator(Rotator *rot, Whf& whf, in configRotator() argument 1522 if(whf.format == MDP_Y_CRCB_H2V2_TILE || in configRotator() 1523 whf.format == MDP_Y_CBCR_H2V2_TILE) { in configRotator() 1524 whf.w = utils::alignup(whf.w, 64); in configRotator() 1525 whf.h = utils::alignup(whf.h, 32); in configRotator() 1527 rot->setSource(whf); in configRotator() 1581 Whf whf(w, h, getMdpFormat(HAL_PIXEL_FORMAT_RGBA_8888), 0); in configColorLayer() local 1587 PipeArgs parg(mdpFlags, whf, z, isFg, static_cast<eRotFlags>(0), in configColorLayer() [all …]
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 839 static inline int configRotator(Rotator *rot, const Whf& whf, in configRotator() argument 843 rot->setSource(whf, origWhf); in configRotator() 918 static inline void updateSource(eTransform& orient, Whf& whf, in updateSource() argument 926 preRotateSource(orient, whf, srcCrop); in updateSource() 951 Whf whf(getWidth(hnd), getHeight(hnd), in configureLowRes() local 988 if(configRotator(*rot, whf, origWhf, mdpFlags, orient, downscale) < 0) in configureLowRes() 991 whf.format = (*rot)->getDstFormat(); in configureLowRes() 992 updateSource(orient, whf, crop); in configureLowRes() 1000 PipeArgs parg(mdpFlags, whf, z, isFg, in configureLowRes() 1033 Whf whf(getWidth(hnd), getHeight(hnd), in configureHighRes() local [all …]
|