History

change profile and level setting and add ut cases

Karina committed 9 years ago

Commit f09c85f1 parent a683dae14 files · +6051 −5856Browse files

Showing the changes to test/api/encode_decode_api_test.cpp (1 of 14 files). Show all

Unified · Split

test/api/encode_decode_api_test.cpp+1−2
@@ -101,9 +101,8 @@ void EncodeDecodeTestAPIBase::EncDecOneFrame (const int iWidth, const int iHeigh · 100 unmodified lines
101101 //call decoder
102102 unsigned char* pData[3] = { NULL };
103103 memset (&dstBufInfo_, 0, sizeof (SBufferInfo));
104− rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_);
104+ rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_);
105105 EXPECT_TRUE (rv == cmResultSuccess) << " rv = " << rv << " iFrameIdx = " << iFrame;
106−
107106 if (NULL != pfEnc) {
108107 fwrite (info.sLayerInfo[0].pBsBuf, iLen, 1, pfEnc);
109108 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t