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

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

Completed in 28 milliseconds