Lines Matching refs:whf

490     Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0);
493 preRotateSource(extorient, whf, inPos);
1493 int configRotator(Rotator *rot, Whf& whf,
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);
1509 if (ovutils::isYuv(whf.format)) {
1567 Whf whf(w, h, getMdpFormat(HAL_PIXEL_FORMAT_RGBA_8888), 0);
1573 PipeArgs parg(mdpFlags, whf, z, isFg, static_cast<eRotFlags>(0),
1592 void updateSource(eTransform& orient, Whf& whf,
1598 preRotateSource(orient, whf, srcCrop);
1607 whf.w = srcCrop.w;
1608 whf.h = srcCrop.h;
1641 Whf whf(getWidth(hnd), getHeight(hnd), format, (uint32_t)hnd->size);
1646 whf.format = getMdpFormat(HAL_PIXEL_FORMAT_BGRA_8888);
1648 whf.format = getMdpFormat(HAL_PIXEL_FORMAT_BGRX_8888);
1675 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) {
1679 whf.format = (*rot)->getDstFormat();
1680 updateSource(orient, whf, crop);
1687 PipeArgs parg(mdpFlags, whf, z, isFg,
1748 Whf whf(getWidth(hnd), getHeight(hnd), format, (uint32_t)hnd->size);
1753 whf.format = getMdpFormat(HAL_PIXEL_FORMAT_BGRA_8888);
1755 whf.format = getMdpFormat(HAL_PIXEL_FORMAT_BGRX_8888);
1771 if(ctx->mAD->prepare(ctx, crop, whf, hnd)) {
1773 whf.format = wb->getOutputFormat();
1781 if(configRotator(*rot, whf, crop, mdpFlagsL, orient, downscale) < 0) {
1785 whf.format = (*rot)->getDstFormat();
1786 updateSource(orient, whf, crop);
1845 PipeArgs pargL(mdpFlagsL, whf, z, isFg,
1858 PipeArgs pargR(mdpFlagsR, whf, z, isFg,
1897 Whf whf(getWidth(hnd), getHeight(hnd),
1914 if(configRotator(*rot, whf, crop, mdpFlagsL, orient, downscale) < 0) {
1918 whf.format = (*rot)->getDstFormat();
1919 updateSource(orient, whf, crop);
1971 PipeArgs pargL(mdpFlagsL, whf, lz, isFg,
1984 PipeArgs pargR(mdpFlagsR, whf, rz, isFg,