Home | History | Annotate | Download | only in liboverlay

Lines Matching defs:whf

94 struct Whf;
148 bool getPositionS3D(const Whf& whf, Dim& out);
192 struct Whf {
193 Whf() : w(0), h(0), format(0), size(0) {}
194 Whf(uint32_t wi, uint32_t he, uint32_t f) :
196 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) :
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);
353 PipeArgs(eMdpFlags f, Whf _whf,
357 whf(_whf),
366 Whf whf;
550 inline void Whf::dump() const {
551 ALOGE("== Dump WHF w=%d h=%d f=%d s=%d start/end ==",
584 inline Dim getPositionS3DImpl(const Whf& whf)
586 switch (whf.format & OUTPUT_3D_MASK)
590 return Dim(0, 0, whf.w/2, whf.h);
592 return Dim(0, 0, whf.w, whf.h/2);
601 whf.format);
607 inline Dim getPositionS3DImpl<utils::OV_RIGHT_SPLIT>(const Whf& whf)
609 switch (whf.format & OUTPUT_3D_MASK)
612 return Dim(whf.w/2, 0, whf.w/2, whf.h);
614 return Dim(0, whf.h/2, whf.w, whf.h/2);
616 return Dim(0, 0, whf.w, whf.h);
623 whf.format);
629 inline bool getPositionS3D(const Whf& whf, Dim& out) {
630 out = getPositionS3DImpl<CHAN>(whf);
711 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);