Home
last modified time | relevance | path

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

/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp112 static uint32_t gVideoHeight = 0; variable
182 gVideoWidth, gVideoHeight, kMimeTypeAvc, gBitRate / 1000000.0); in prepareEncoder()
188 format->setInt32(KEY_HEIGHT, gVideoHeight); in prepareEncoder()
225 kMimeTypeAvc, gVideoWidth, gVideoHeight, err); in prepareEncoder()
294 videoHeight = gVideoHeight; in setDisplayProjection()
296 videoWidth = gVideoHeight; in setDisplayProjection()
624 if (gVideoHeight == 0) { in recordScreen()
625 gVideoHeight = floorToEven(mainDpyInfo.viewportH); in recordScreen()
637 bool needSwap = gVideoWidth < gVideoHeight; in recordScreen()
640 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { in recordScreen()
[all …]