/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_ad.cpp | 173 const Whf& whf, 237 PipeArgs parg(mdpFlags, whf, ZORDER_0, IS_FG_OFF, 171 prepare(hwc_context_t *ctx, const hwc_rect_t& crop, const Whf& whf, const private_handle_t *hnd) argument
|
H A D | hwc_ad.h | 45 const overlay::utils::Whf& whf,
|
H A D | hwc_mdpcomp.cpp | 2099 Whf whf(getWidth(hnd), getHeight(hnd), format, hnd->size); 2107 whf.format = getMdpFormat(HAL_PIXEL_FORMAT_BGRA_8888); 2109 whf.format = getMdpFormat(HAL_PIXEL_FORMAT_BGRX_8888); 2129 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { 2133 whf.format = (*rot)->getDstFormat(); 2134 updateSource(orient, whf, crop); 2165 PipeArgs pargL(mdpFlags, whf, z, isFg, 2178 PipeArgs pargR(mdpFlags, whf, z, isFg,
|
H A D | hwc_utils.cpp | 490 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0); 493 preRotateSource(extorient, whf, inPos); 1493 int configRotator(Rotator *rot, Whf& whf, argument 1498 if(whf.format == MDP_Y_CRCB_H2V2_TILE || 1499 whf.format == MDP_Y_CBCR_H2V2_TILE) { 1500 whf.w = utils::alignup(whf.w, 64); 1501 whf.h = utils::alignup(whf.h, 32); 1503 rot->setSource(whf); 1592 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop) argument [all...] |
H A D | hwc_utils.h | 326 int configRotator(overlay::Rotator *rot, ovutils::Whf& whf, 339 void updateSource(ovutils::eTransform& orient, ovutils::Whf& whf,
|
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlayMdp.cpp | 92 setSrcWhf(args.whf); 125 utils::Whf whf = getSrcWhf(); local 127 utils::preRotateSource(mOrientation, whf, dim); 128 setSrcWhf(whf); 173 utils::Whf whf = getSrcWhf(); local 174 if(utils::isYuv(whf.format)) { 206 utils::Whf whf = getSrcWhf(); local 207 whf.format = rotDestFmt; 208 setSrcWhf(whf);
|
H A D | overlayMdp.h | 104 /* return a copy of src whf*/ 111 /* set src whf */ 112 void setSrcWhf(const utils::Whf& whf); 144 void setWh(const utils::Whf& whf); 265 inline void MdpCtrl::setSrcWhf(const overlay::utils::Whf& whf) { argument 266 mOVInfo.src.width = whf.w; 267 mOVInfo.src.height = whf.h; 268 mOVInfo.src.format = whf.format; 336 inline void MdpCtrl3D::setWh(const utils::Whf& whf) { argument 338 m3DOVInfo.width = whf [all...] |
H A D | overlayMdpRot.cpp | 84 utils::Whf whf(awhf); 85 mRotImgInfo.src.format = whf.format; 87 mRotImgInfo.src.width = whf.w; 88 mRotImgInfo.src.height = whf.h; 90 mRotImgInfo.src_rect.w = whf.w; 91 mRotImgInfo.src_rect.h = whf.h; 93 mRotImgInfo.dst.width = whf.w; 94 mRotImgInfo.dst.height = whf.h;
|
H A D | overlayMdssRot.cpp | 77 utils::Whf whf(awhf); 79 mRotInfo.src.format = whf.format; 80 mRotInfo.src.width = whf.w; 81 mRotInfo.src.height = whf.h;
|
H A D | overlayUtils.cpp | 308 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { argument 310 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); 313 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); 317 srcCrop.x = compute(whf.h, 321 swap(whf.w, whf.h);
|
H A 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), 374 Whf whf; member in struct:overlay::utils::PipeArgs 582 inline Dim getPositionS3DImpl(const Whf& whf) argument 605 getPositionS3DImpl(const Whf& whf) argument 627 getPositionS3D(const Whf& whf, Dim& out) argument [all...] |
/hardware/qcom/display/msm8084/liboverlay/pipes/ |
H A D | overlay3DPipe.h | 224 mM3Dfmt = utils::format3DInput(utils::getS3DFormat(args.whf.format)) | 280 mM3Dfmt = utils::format3DInput(utils::getS3DFormat(args.whf.format)) | 345 mS3Dfmt = utils::getS3DFormat(args.whf.format); 454 mS3Dfmt = utils::getS3DFormat(args.whf.format);
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_ad.cpp | 152 const Whf& whf, 212 PipeArgs parg(mdpFlags, whf, ZORDER_0, IS_FG_OFF, 150 prepare(hwc_context_t *ctx, const hwc_rect_t& crop, const Whf& whf, const private_handle_t *hnd) argument
|
H A D | hwc_ad.h | 45 const overlay::utils::Whf& whf,
|
H A D | hwc_mdpcomp.cpp | 2311 Whf whf(getWidth(hnd), getHeight(hnd), format, hnd->size); 2319 whf.format = getMdpFormat(HAL_PIXEL_FORMAT_BGRA_8888); 2321 whf.format = getMdpFormat(HAL_PIXEL_FORMAT_BGRX_8888); 2341 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { 2345 updateSource(orient, whf, crop, *rot); 2376 PipeArgs pargL(mdpFlags, whf, z, isFg, 2389 PipeArgs pargR(mdpFlags, whf, z, isFg,
|
H A D | hwc_utils.cpp | 477 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0); 480 preRotateSource(extorient, whf, inPos); 1514 int configRotator(Rotator *rot, Whf& whf, argument 1519 if(whf.format == MDP_Y_CRCB_H2V2_TILE || 1520 whf.format == MDP_Y_CBCR_H2V2_TILE) { 1521 whf.w = utils::alignup(whf.w, 64); 1522 whf.h = utils::alignup(whf.h, 32); 1524 rot->setSource(whf); 1603 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop, Rotator *rot) argument [all...] |
H A D | hwc_utils.h | 344 int configRotator(overlay::Rotator *rot, ovutils::Whf& whf, 357 void updateSource(ovutils::eTransform& orient, ovutils::Whf& whf,
|
/hardware/qcom/display/msm8226/liboverlay/ |
H A D | overlayMdp.cpp | 91 setSrcWhf(args.whf); 141 utils::Whf whf = getSrcWhf(); local 143 utils::preRotateSource(mOrientation, whf, dim); 144 setSrcWhf(whf); 160 utils::Whf whf = getSrcWhf(); local 161 if(utils::isYuv(whf.format)) { 193 utils::Whf whf = getSrcWhf(); local 194 whf.format = rotDestFmt; 195 setSrcWhf(whf);
|
H A D | overlayMdp.h | 104 /* return a copy of src whf*/ 111 /* set src whf */ 112 void setSrcWhf(const utils::Whf& whf); 235 inline void MdpCtrl::setSrcWhf(const overlay::utils::Whf& whf) { argument 236 mOVInfo.src.width = whf.w; 237 mOVInfo.src.height = whf.h; 238 mOVInfo.src.format = whf.format;
|
H A D | overlayMdpRot.cpp | 103 utils::Whf whf(awhf); 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;
|
H A D | overlayMdssRot.cpp | 92 utils::Whf whf(awhf); 94 mRotInfo.src.format = whf.format; 95 mRotInfo.src.width = whf.w; 96 mRotInfo.src.height = whf.h;
|
H A D | overlayUtils.cpp | 319 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { argument 321 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); 324 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); 328 srcCrop.x = compute(whf.h, 332 swap(whf.w, whf.h);
|
H A 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), 343 Whf whf; member in struct:overlay::utils::PipeArgs 554 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_utils.cpp | 838 static inline int configRotator(Rotator *rot, const Whf& whf, argument 842 rot->setSource(whf, origWhf); 918 static inline void updateSource(eTransform& orient, Whf& whf, argument 926 preRotateSource(orient, whf, srcCrop); 951 Whf whf(getWidth(hnd), getHeight(hnd), 988 if(configRotator(*rot, whf, origWhf, mdpFlags, orient, downscale) < 0) 991 whf.format = (*rot)->getDstFormat(); 992 updateSource(orient, whf, crop); 1000 PipeArgs parg(mdpFlags, whf, z, isFg, 1033 Whf whf(getWidt [all...] |
/hardware/qcom/display/msm8960/liboverlay/ |
H A D | overlayMdp.cpp | 97 setSrcWhf(args.whf); 128 utils::Whf whf = getSrcWhf(); local 130 utils::preRotateSource(mOrientation, whf, dim); 131 setSrcWhf(whf); 146 utils::Whf whf = getSrcWhf(); local 147 if(utils::isYuv(whf.format)) { 182 utils::Whf whf = getSrcWhf(); local 183 whf.format = rotDestFmt; 184 setSrcWhf(whf);
|