Home | History | Annotate | Download | only in liboverlay

Lines Matching defs:Whf

97 struct Whf;
152 bool getPositionS3D(const Whf& whf, Dim& out);
196 struct Whf {
197 Whf() : w(0), h(0), format(0), size(0) {}
198 Whf(uint32_t wi, uint32_t he, uint32_t f) :
200 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) :
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);
361 PipeArgs(eMdpFlags f, Whf _whf,
365 whf(_whf),
374 Whf whf;
571 inline void Whf::dump() const {
572 ALOGE("== Dump WHF w=%d h=%d f=%d s=%d start/end ==",
582 inline Dim getPositionS3DImpl(const Whf& whf)
584 switch (whf.format & OUTPUT_3D_MASK)
588 return Dim(0, 0, whf.w/2, whf.h);
590 return Dim(0, 0, whf.w, whf.h/2);
599 whf.format);
605 inline Dim getPositionS3DImpl<utils::OV_RIGHT_SPLIT>(const Whf& whf)
607 switch (whf.format & OUTPUT_3D_MASK)
610 return Dim(whf.w/2, 0, whf.w/2, whf.h);
612 return Dim(0, whf.h/2, whf.w, whf.h/2);
614 return Dim(0, 0, whf.w, whf.h);
621 whf.format);
627 inline bool getPositionS3D(const Whf& whf, Dim& out) {
628 out = getPositionS3DImpl<CHAN>(whf);
709 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);