Searched refs:displayAspect (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp234 float displayAspect = (float) sourceHeight / (float) sourceWidth; local
257 if (videoHeight > (uint32_t)(videoWidth * displayAspect)) {
260 outHeight = (uint32_t)(videoWidth * displayAspect);
264 outWidth = (uint32_t)(videoHeight / displayAspect);

Completed in 109 milliseconds