MCPcopy Create free account
hub / github.com/cisco/openh264 / GenerateParam

Method GenerateParam

test/encoder/EncUT_ParameterSetStrategy.cpp:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45void ParameterSetStrategyTest::GenerateParam (SWelsSvcCodingParam* pParam) {
46 SEncParamBase sEncParamBase;
47 //TODO: consider randomize it
48 sEncParamBase.iUsageType = CAMERA_VIDEO_REAL_TIME;
49 sEncParamBase.iPicWidth = 1280;
50 sEncParamBase.iPicHeight = 720;
51 sEncParamBase.iTargetBitrate = 1000000;
52 sEncParamBase.iRCMode = RC_BITRATE_MODE;
53 sEncParamBase.fMaxFrameRate = 30.0f;
54 pParam->ParamBaseTranscode (sEncParamBase);
55}
56
57TEST_F (ParameterSetStrategyTest, FindExistingSps) {
58 int iDlayerIndex = 0;

Callers

nothing calls this directly

Calls 1

ParamBaseTranscodeMethod · 0.80

Tested by

no test coverage detected