Home
last modified time | relevance | path

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

/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp276 float displayAspect = (float) mainDpyInfo.viewportH / (float) mainDpyInfo.viewportW; in setDisplayProjection() local
299 if (videoHeight > (uint32_t)(videoWidth * displayAspect)) { in setDisplayProjection()
302 outHeight = (uint32_t)(videoWidth * displayAspect); in setDisplayProjection()
306 outWidth = (uint32_t)(videoHeight / displayAspect); in setDisplayProjection()