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

Method EncodeOneIDRandP

test/encoder/EncUT_EncoderExt.cpp:130–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void EncoderInterfaceTest::EncodeOneIDRandP (ISVCEncoder* pPtrEnc) {
131 int iResult;
132 iResult = pPtrEnc->EncodeFrame (pSrcPic, &sFbi);
133 EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
134 EXPECT_EQ (sFbi.eFrameType, static_cast<int> (videoFrameTypeIDR));
135
136 pSrcPic->uiTimeStamp += 30;
137 iResult = pPtrEnc->EncodeFrame (pSrcPic, &sFbi);
138 EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
139}
140
141void EncoderInterfaceTest::InitializeParamExt() {
142 pParamExt->iPicWidth = 1280;

Callers

nothing calls this directly

Calls 1

EncodeFrameMethod · 0.45

Tested by

no test coverage detected