Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1755 uint32_t tsLayers = 1; in setupVideoEncoder() local
1766 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()
/frameworks/av/media/libstagefright/
DACodec.cpp4660 size_t tsLayers = 0; in setupVPXEncoderParameters() local
4699 tsLayers = numLayers; in setupVPXEncoderParameters()
4707 tsLayers = numLayers + numBLayers; in setupVPXEncoderParameters()
4711 tsLayers = min(tsLayers, (size_t)OMX_VIDEO_ANDROID_MAXVP8TEMPORALLAYERS); in setupVPXEncoderParameters()
4726 vp8type.nTemporalLayerCount = tsLayers; in setupVPXEncoderParameters()
4727 if (tsLayers > 0) { in setupVPXEncoderParameters()
4730 kVp8LayerRateAlloction[tsLayers - 1][i]; in setupVPXEncoderParameters()
4745 outputFormat->setString("ts-schema", AStringPrintf("webrtc.vp8.%u-layer", tsLayers)); in setupVPXEncoderParameters()
4746 } else if (tsLayers > 0) { in setupVPXEncoderParameters()
4748 outputFormat->setString("ts-schema", AStringPrintf("android.generic.%u", tsLayers)); in setupVPXEncoderParameters()