| 128 | } |
| 129 | |
| 130 | void 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 | |
| 141 | void EncoderInterfaceTest::InitializeParamExt() { |
| 142 | pParamExt->iPicWidth = 1280; |
nothing calls this directly
no test coverage detected