Searched defs:fWout (Results 1 - 1 of 1) sorted by path

/hardware/interfaces/camera/device/3.4/default/
H A DExternalCameraDeviceSession.cpp1065 float fWout = static_cast<float>(outSz.width); 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
1082 * fWcrop = fHin / fHout * fWout
1085 * Note that fWcrop <= fWin ( because ( fHin / fHout ) * fWout < fWin, which
1086 * is just the inequality above with both sides multiplied by fWout
1088 * on the other hand if ( fWin / fWout ) < ( fHin / fHout) we crop the top
1090 * scaleFactor = fWin / fWout
1092 * fHCrop = fWin / fWout * fHou
[all...]

Completed in 31 milliseconds