Home
last modified time | relevance | path

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

/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp235 float displayAspect = (float) sourceHeight / (float) sourceWidth; in setDisplayProjection() local
258 if (videoHeight > (uint32_t)(videoWidth * displayAspect)) { in setDisplayProjection()
261 outHeight = (uint32_t)(videoWidth * displayAspect); in setDisplayProjection()
265 outWidth = (uint32_t)(videoHeight / displayAspect); in setDisplayProjection()