Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp2078 uint32_t tsLayers = 1; in setupVideoEncoder() local
2089 tsLayers = 2; // use at least two layers as resulting video will likely be sped up in setupVideoEncoder()
2110 if (tryLayers > tsLayers) { in setupVideoEncoder()
2111 tsLayers = tryLayers; in setupVideoEncoder()
2120 if (tsLayers > 1) { in setupVideoEncoder()
2121 uint32_t bLayers = std::min(2u, tsLayers - 1); // use up-to 2 B-layers in setupVideoEncoder()
2127 uint32_t pLayers = tsLayers - bLayers; in setupVideoEncoder()
/frameworks/av/media/libstagefright/
DACodec.cpp4918 size_t tsLayers = 0; in setupVPXEncoderParameters() local
4957 tsLayers = numLayers; in setupVPXEncoderParameters()
4965 tsLayers = numLayers + numBLayers; in setupVPXEncoderParameters()
4969 tsLayers = min(tsLayers, (size_t)OMX_VIDEO_ANDROID_MAXVP8TEMPORALLAYERS); in setupVPXEncoderParameters()
4984 vp8type.nTemporalLayerCount = tsLayers; in setupVPXEncoderParameters()
4985 if (tsLayers > 0) { in setupVPXEncoderParameters()
4988 kVp8LayerRateAlloction[tsLayers - 1][i]; in setupVPXEncoderParameters()
5003 outputFormat->setString("ts-schema", AStringPrintf("webrtc.vp8.%u-layer", tsLayers)); in setupVPXEncoderParameters()
5004 } else if (tsLayers > 0) { in setupVPXEncoderParameters()
5006 outputFormat->setString("ts-schema", AStringPrintf("android.generic.%u", tsLayers)); in setupVPXEncoderParameters()