Home
last modified time | relevance | path

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

/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp83 static uint32_t gVideoHeight = 0; variable
160 gVideoWidth, gVideoHeight, kMimeTypeAvc, gBitRate / 1000000.0); in prepareEncoder()
166 format->setInt32("height", gVideoHeight); in prepareEncoder()
198 kMimeTypeAvc, gVideoWidth, gVideoHeight, err); in prepareEncoder()
278 videoHeight = gVideoHeight; in setDisplayProjection()
280 videoWidth = gVideoHeight; in setDisplayProjection()
593 if (gVideoHeight == 0) { in recordScreen()
594 gVideoHeight = rotated ? mainDpyInfo.w : mainDpyInfo.h; in recordScreen()
606 bool needSwap = gVideoWidth < gVideoHeight; in recordScreen()
609 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { in recordScreen()
[all …]