Home
last modified time | relevance | path

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

/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp111 static uint32_t gVideoWidth = 0; // default width+height variable
182 gVideoWidth, gVideoHeight, kMimeTypeAvc, gBitRate / 1000000.0); in prepareEncoder()
187 format->setInt32(KEY_WIDTH, gVideoWidth); in prepareEncoder()
225 kMimeTypeAvc, gVideoWidth, gVideoHeight, err); in prepareEncoder()
293 videoWidth = gVideoWidth; in setDisplayProjection()
297 videoHeight = gVideoWidth; in setDisplayProjection()
621 if (gVideoWidth == 0) { in recordScreen()
622 gVideoWidth = floorToEven(mainDpyInfo.viewportW); in recordScreen()
637 bool needSwap = gVideoWidth < gVideoHeight; in recordScreen()
640 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { in recordScreen()
[all …]