Searched defs:whf (Results 1 - 16 of 16) sorted by relevance

/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayMdp.cpp97 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);
H A DoverlayMdp.h101 /* return a copy of src whf*/
108 /* set src whf */
109 void setSrcWhf(const utils::Whf& whf);
150 void setWh(const utils::Whf& whf);
303 inline void MdpCtrl::setSrcWhf(const overlay::utils::Whf& whf) { argument
304 mOVInfo.src.width = whf.w;
305 mOVInfo.src.height = whf.h;
306 mOVInfo.src.format = whf.format;
370 inline void MdpCtrl3D::setWh(const utils::Whf& whf) { argument
372 m3DOVInfo.width = whf
[all...]
H A DoverlayUtils.cpp231 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { argument
233 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w);
236 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h);
240 srcCrop.x = compute(whf.h,
244 swap(whf.w, whf.h);
H A DoverlayUtils.h148 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),
366 Whf whf; member in struct:overlay::utils::PipeArgs
584 inline Dim getPositionS3DImpl(const Whf& whf) argument
607 getPositionS3DImpl(const Whf& whf) argument
629 getPositionS3D(const Whf& whf, Dim& out) argument
[all...]
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc_ad.cpp158 const Whf& whf,
209 PipeArgs parg(mdpFlags, whf, ZORDER_0, IS_FG_OFF,
156 prepare(hwc_context_t *ctx, const hwc_rect_t& crop, const Whf& whf, const private_handle_t *hnd) argument
H A Dhwc_utils.cpp798 int configRotator(Rotator *rot, const Whf& whf, argument
801 rot->setSource(whf);
807 if (ovutils::isYuv(whf.format)) {
853 void updateSource(eTransform& orient, Whf& whf, argument
859 preRotateSource(orient, whf, srcCrop);
868 whf.w = srcCrop.w;
869 whf.h = srcCrop.h;
897 Whf whf(getWidth(hnd), getHeight(hnd),
931 if(ctx->mAD->prepare(ctx, crop, whf, hnd)) {
933 whf
[all...]
/hardware/qcom/display/msm8974/liboverlay/
H A DoverlayMdp.cpp87 setSrcWhf(args.whf);
116 utils::Whf whf = getSrcWhf(); local
118 utils::preRotateSource(mOrientation, whf, dim);
119 setSrcWhf(whf);
164 utils::Whf whf = getSrcWhf(); local
165 if(utils::isYuv(whf.format)) {
218 utils::Whf whf = getSrcWhf(); local
219 whf.format = rotDestFmt;
220 setSrcWhf(whf);
H A DoverlayMdp.h102 /* return a copy of src whf*/
109 /* set src whf */
110 void setSrcWhf(const utils::Whf& whf);
153 void setWh(const utils::Whf& whf);
304 inline void MdpCtrl::setSrcWhf(const overlay::utils::Whf& whf) { argument
305 mOVInfo.src.width = whf.w;
306 mOVInfo.src.height = whf.h;
307 mOVInfo.src.format = whf.format;
375 inline void MdpCtrl3D::setWh(const utils::Whf& whf) { argument
377 m3DOVInfo.width = whf
[all...]
H A DoverlayUtils.cpp281 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { argument
283 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w);
286 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h);
290 srcCrop.x = compute(whf.h,
294 swap(whf.w, whf.h);
H A DoverlayUtils.h148 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);
358 whf(_whf),
367 Whf whf; member in struct:overlay::utils::PipeArgs
562 inline Dim getPositionS3DImpl(const Whf& whf) argument
585 getPositionS3DImpl(const Whf& whf) argument
607 getPositionS3D(const Whf& whf, Dim& out) argument
[all...]
/hardware/qcom/display/msm8x26/liboverlay/
H A DoverlayMdp.cpp97 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);
H A DoverlayMdp.h101 /* return a copy of src whf*/
108 /* set src whf */
109 void setSrcWhf(const utils::Whf& whf);
150 void setWh(const utils::Whf& whf);
303 inline void MdpCtrl::setSrcWhf(const overlay::utils::Whf& whf) { argument
304 mOVInfo.src.width = whf.w;
305 mOVInfo.src.height = whf.h;
306 mOVInfo.src.format = whf.format;
370 inline void MdpCtrl3D::setWh(const utils::Whf& whf) { argument
372 m3DOVInfo.width = whf
[all...]
H A DoverlayUtils.cpp231 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { argument
233 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w);
236 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h);
240 srcCrop.x = compute(whf.h,
244 swap(whf.w, whf.h);
H A DoverlayUtils.h148 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),
366 Whf whf; member in struct:overlay::utils::PipeArgs
584 inline Dim getPositionS3DImpl(const Whf& whf) argument
607 getPositionS3DImpl(const Whf& whf) argument
629 getPositionS3D(const Whf& whf, Dim& out) argument
[all...]
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_utils.cpp831 static inline int configRotator(Rotator *rot, const Whf& whf, argument
835 rot->setSource(whf, origWhf);
911 static inline void updateSource(eTransform& orient, Whf& whf, argument
919 preRotateSource(orient, whf, srcCrop);
944 Whf whf(getWidth(hnd), getHeight(hnd),
981 if(configRotator(*rot, whf, origWhf, mdpFlags, orient, downscale) < 0)
984 whf.format = (*rot)->getDstFormat();
985 updateSource(orient, whf, crop);
993 PipeArgs parg(mdpFlags, whf, z, isFg,
1026 Whf whf(getWidt
[all...]
/hardware/qcom/display/msm8x26/libhwcomposer/
H A Dhwc_utils.cpp792 static inline int configRotator(Rotator *rot, const Whf& whf, argument
795 rot->setSource(whf);
871 static inline void updateSource(eTransform& orient, Whf& whf, argument
879 preRotateSource(orient, whf, srcCrop);
904 Whf whf(getWidth(hnd), getHeight(hnd),
927 if(configRotator(*rot, whf, mdpFlags, orient, downscale) < 0)
930 whf.format = (*rot)->getDstFormat();
931 updateSource(orient, whf, crop);
939 PipeArgs parg(mdpFlags, whf, z, isFg,
972 Whf whf(getWidt
[all...]

Completed in 53 milliseconds