Lines Matching refs:whf
148 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;
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);