Searched refs:tsLayers (Results 1 – 2 of 2) sorted by relevance
1755 uint32_t tsLayers = 1; in setupVideoEncoder() local1766 tsLayers = 2; // use at least two layers as resulting video will likely be sped up in setupVideoEncoder()1787 if (tryLayers > tsLayers) { in setupVideoEncoder()1788 tsLayers = tryLayers; in setupVideoEncoder()1797 if (tsLayers > 1) { in setupVideoEncoder()1798 uint32_t bLayers = std::min(2u, tsLayers - 1); // use up-to 2 B-layers in setupVideoEncoder()1799 uint32_t pLayers = tsLayers - bLayers; in setupVideoEncoder()
4629 size_t tsLayers = 0; in setupVPXEncoderParameters() local4668 tsLayers = numLayers; in setupVPXEncoderParameters()4676 tsLayers = numLayers + numBLayers; in setupVPXEncoderParameters()4680 tsLayers = min(tsLayers, (size_t)OMX_VIDEO_ANDROID_MAXVP8TEMPORALLAYERS); in setupVPXEncoderParameters()4695 vp8type.nTemporalLayerCount = tsLayers; in setupVPXEncoderParameters()4696 if (tsLayers > 0) { in setupVPXEncoderParameters()4699 kVp8LayerRateAlloction[tsLayers - 1][i]; in setupVPXEncoderParameters()4714 outputFormat->setString("ts-schema", AStringPrintf("webrtc.vp8.%u-layer", tsLayers)); in setupVPXEncoderParameters()4715 } else if (tsLayers > 0) { in setupVPXEncoderParameters()4717 outputFormat->setString("ts-schema", AStringPrintf("android.generic.%u", tsLayers)); in setupVPXEncoderParameters()