Searched refs:gVideoWidth (Results 1 – 1 of 1) sorted by relevance
82 static uint32_t gVideoWidth = 0; // default width+height variable160 gVideoWidth, gVideoHeight, kMimeTypeAvc, gBitRate / 1000000.0); in prepareEncoder()165 format->setInt32("width", gVideoWidth); in prepareEncoder()198 kMimeTypeAvc, gVideoWidth, gVideoHeight, err); in prepareEncoder()277 videoWidth = gVideoWidth; in setDisplayProjection()281 videoHeight = gVideoWidth; in setDisplayProjection()590 if (gVideoWidth == 0) { in recordScreen()591 gVideoWidth = rotated ? mainDpyInfo.h : mainDpyInfo.w; in recordScreen()606 bool needSwap = gVideoWidth < gVideoHeight; in recordScreen()609 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { in recordScreen()[all …]