Home
last modified time | relevance | path

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

/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp80 static uint32_t gVideoHeight = 0; variable
156 gVideoWidth, gVideoHeight, kMimeTypeAvc, gBitRate / 1000000.0); in prepareEncoder()
161 format->setInt32("height", gVideoHeight); in prepareEncoder()
183 kMimeTypeAvc, gVideoWidth, gVideoHeight, err); in prepareEncoder()
253 videoHeight = gVideoHeight; in setDisplayProjection()
255 videoWidth = gVideoHeight; in setDisplayProjection()
563 if (gVideoHeight == 0) { in recordScreen()
564 gVideoHeight = rotated ? mainDpyInfo.w : mainDpyInfo.h; in recordScreen()
576 bool needSwap = gVideoWidth < gVideoHeight; in recordScreen()
579 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { in recordScreen()
[all …]