Searched defs:whf (Results 1 - 23 of 23) 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);
141 utils::Whf whf = getSrcWhf(); local
142 if(utils::isYuv(whf.format)) {
195 utils::Whf whf = getSrcWhf(); local
196 whf.format = rotDestFmt;
197 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.cpp298 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { argument
300 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w);
303 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h);
307 srcCrop.x = compute(whf.h,
311 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/msm8084/libhwcomposer/
H A Dhwc_ad.cpp173 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 Dhwc_utils.cpp490 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...]
/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayMdp.cpp92 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 DoverlayMdp.h104 /* 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 DoverlayUtils.cpp308 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 DoverlayUtils.h152 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/msm8226/libhwcomposer/
H A Dhwc_ad.cpp152 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 Dhwc_utils.cpp477 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...]
/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayMdp.cpp91 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 DoverlayMdp.h104 /* 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 DoverlayUtils.cpp319 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 DoverlayUtils.h172 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 Dhwc_utils.cpp838 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...]

Completed in 378 milliseconds