History

update readFrame for thread-decoding test and unit test cases.

xiaotianshi2 committed 6 years ago

Commit 01a50271 parent e793bd33 files · +151 −193Browse files

Showing the changes to test/BaseThreadDecoderTest.h (1 of 3 files). Show all

Unified · Split

test/BaseThreadDecoderTest.h+0−3
@@ -40,7 +40,6 @@ class BaseThreadDecoderTest { · 39 unmodified lines
40 bool ThreadDecodeFile (const char* fileName, Callback* cbk);40 bool ThreadDecodeFile (const char* fileName, Callback* cbk);
41 41
42 bool Open (const char* fileName);42 bool Open (const char* fileName);
43 bool DecodeNextFrame (Callback* cbk);
44 ISVCDecoder* decoder_;43 ISVCDecoder* decoder_;
45 44
46 private:45 private:
@@ -48,8 +47,6 @@ class BaseThreadDecoderTest { · 1 unmodified line
48 void FlushFrame (Callback* cbk);47 void FlushFrame (Callback* cbk);
49 48
50 std::ifstream file_;49 std::ifstream file_;
51 BufferedData buf_;
52 BufferedData buf[16];
53 SBufferInfo sBufInfo;50 SBufferInfo sBufInfo;
54 uint8_t* pData[3];51 uint8_t* pData[3];
55 uint64_t uiTimeStamp;52 uint64_t uiTimeStamp;

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