Searched refs:gVideoWidth (Results 1 – 1 of 1) sorted by relevance
117 static uint32_t gVideoWidth = 0; // default width+height variable188 gVideoWidth, gVideoHeight, kMimeTypeAvc, gBitRate / 1000000.0); in prepareEncoder()193 format->setInt32(KEY_WIDTH, gVideoWidth); in prepareEncoder()231 kMimeTypeAvc, gVideoWidth, gVideoHeight, err); in prepareEncoder()300 videoWidth = gVideoWidth; in setDisplayProjection()304 videoHeight = gVideoWidth; in setDisplayProjection()711 if (gVideoWidth == 0) { in recordScreen()712 gVideoWidth = floorToEven(viewport.getWidth()); in recordScreen()727 bool needSwap = gVideoWidth < gVideoHeight; in recordScreen()730 if (gVideoWidth != newWidth && gVideoHeight != newHeight) { in recordScreen()[all …]