Searched defs:fHout (Results 1 - 1 of 1) sorted by relevance

/hardware/interfaces/camera/device/3.4/default/
H A DExternalCameraDeviceSession.cpp1066 float fHout = static_cast<float>(outSz.height); local
1070 float scaleFactor = std::min( fHin / fHout, fWin / fWout );
1075 * being {fWin, fHin} respectively because fHout or fWout cancels out the
1079 * if ( fHin / fHout ) < ( fWin / fWout ) we crop the sides off
1081 * scaleFactor = fHin / fHout
1082 * fWcrop = fHin / fHout * fWout
1085 * Note that fWcrop <= fWin ( because ( fHin / fHout ) * fWout < fWin, which
1088 * on the other hand if ( fWin / fWout ) < ( fHin / fHout) we crop the top
1092 * fHCrop = fWin / fWout * fHout
1095 float fHcrop = scaleFactor * fHout;
[all...]

Completed in 83 milliseconds