Home | History | Annotate | Download | only in liboverlay

Lines Matching defs:Whf

93 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);
354 PipeArgs(eMdpFlags f, Whf _whf,
358 whf(_whf),
367 Whf whf;
551 inline void Whf::dump() const {
552 ALOGE("== Dump WHF w=%d h=%d f=%d s=%d start/end ==",
562 inline Dim getPositionS3DImpl(const Whf& whf)
564 switch (whf.format & OUTPUT_3D_MASK)
568 return Dim(0, 0, whf.w/2, whf.h);
570 return Dim(0, 0, whf.w, whf.h/2);
579 whf.format);
585 inline Dim getPositionS3DImpl<utils::OV_RIGHT_SPLIT>(const Whf& whf)
587 switch (whf.format & OUTPUT_3D_MASK)
590 return Dim(whf.w/2, 0, whf.w/2, whf.h);
592 return Dim(0, whf.h/2, whf.w, whf.h/2);
594 return Dim(0, 0, whf.w, whf.h);
601 whf.format);
607 inline bool getPositionS3D(const Whf& whf, Dim& out) {
608 out = getPositionS3DImpl<CHAN>(whf);
689 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);