/third_party/openh264/test/api/ |
D | decoder_ec_test.cpp | 65 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_P() 68 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P() 71 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P() 75 ASSERT_TRUE (dstBufInfo_.iBufferStatus == 0); in TEST_P() 121 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_P() 126 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P() 129 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P() 183 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_P() 194 … info.sLayerInfo[0].pNalLengthInByte[iPacketNum], pData, &dstBufInfo_); in TEST_P() 196 EXPECT_EQ (dstBufInfo_.iBufferStatus, 0); in TEST_P() [all …]
|
D | decode_api_test.cpp | 41 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_P() 42 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P() 46 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P() 77 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_P() 78 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P() 83 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P() 128 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_P() 129 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P() 133 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P() 172 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_P() [all …]
|
D | encode_options_test.cpp | 334 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_F() 336 iResult = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F() 338 iResult = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); in TEST_F() 340 EXPECT_EQ (dstBufInfo_.iBufferStatus, 1); in TEST_F() 379 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_F() 381 iResult = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F() 383 iResult = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); in TEST_F() 385 EXPECT_EQ (dstBufInfo_.iBufferStatus, 1); in TEST_F() 1027 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_F() 1032 iResult = decoder[iIdx]->DecodeFrame2 (pBsBuf[iIdx], aLen[iIdx], pData, &dstBufInfo_); in TEST_F() [all …]
|
D | encode_decode_api_test.template | 119 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); 125 iResult = decoder[iIdx]->DecodeFrame2 (pBsBuf[iIdx], aLen[iIdx], pData, &dstBufInfo_); 128 iResult = decoder[iIdx]->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); 130 …EXPECT_EQ (dstBufInfo_.iBufferStatus, 1) << "LayerIdx=" << iIdx << " LayerLen=" << aLen[iIdx] << "…
|
D | encode_decode_api_test.cpp | 115 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in EncDecOneFrame() 116 rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); in EncDecOneFrame() 179 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TestOneSimulcastAVC() 185 iResult = decoder[iIdx]->DecodeFrame2 (pBsBuf[iIdx], aLen[iIdx], pData, &dstBufInfo_); in TestOneSimulcastAVC() 188 iResult = decoder[iIdx]->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); in TestOneSimulcastAVC() 190 EXPECT_EQ (dstBufInfo_.iBufferStatus, 1) << "LayerIdx=" << iIdx; in TestOneSimulcastAVC()
|
D | ltr_test.cpp | 146 memset (&dstBufInfo_, 0, sizeof (SBufferInfo)); in TEST_P() 148 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P() 151 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P()
|
D | encode_decode_api_test.h | 109 SBufferInfo dstBufInfo_; variable
|