Home
last modified time | relevance | path

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

/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp260 float displayAspect = (float) sourceHeight / (float) sourceWidth; in setDisplayProjection() local
283 if (videoHeight > (uint32_t)(videoWidth * displayAspect)) { in setDisplayProjection()
286 outHeight = (uint32_t)(videoWidth * displayAspect); in setDisplayProjection()
290 outWidth = (uint32_t)(videoHeight / displayAspect); in setDisplayProjection()