Home
last modified time | relevance | path

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

/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp79 static uint32_t gVideoWidth = 0; // default width+height variable
156 gVideoWidth, gVideoHeight, kMimeTypeAvc, gBitRate / 1000000.0); in prepareEncoder()
160 format->setInt32("width", gVideoWidth); in prepareEncoder()
183 kMimeTypeAvc, gVideoWidth, gVideoHeight, err); in prepareEncoder()
252 videoWidth = gVideoWidth; in setDisplayProjection()
256 videoHeight = gVideoWidth; in setDisplayProjection()
560 if (gVideoWidth == 0) { in recordScreen()
561 gVideoWidth = rotated ? mainDpyInfo.h : mainDpyInfo.w; in recordScreen()
576 bool needSwap = gVideoWidth < gVideoHeight; in recordScreen()
579 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { in recordScreen()
[all …]