History

add API only for decode parser for HW decoding support

huili2 committed 12 years ago

Commit efdefdb1 parent e4b373a6 files · +40 −4Browse files

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

Unified · Split

test/api/cpp_interface_test.cpp+7−2
@@ -88,13 +88,18 @@ struct SVCDecoderImpl : public ISVCDecoder { · 87 unmodified lines
88 EXPECT_TRUE (gThis == this);88 EXPECT_TRUE (gThis == this);
89 return static_cast<DECODING_STATE> (5);89 return static_cast<DECODING_STATE> (5);
90 }90 }
91 virtual DECODING_STATE EXTAPI DecodeParser (const unsigned char* pSrc,
92 const int iSrcLen, SParserBsInfo* pDstInfo) {
93 EXPECT_TRUE (gThis == this);
94 return static_cast<DECODING_STATE> (6);
95 }
91 virtual long EXTAPI SetOption (DECODER_OPTION eOptionId, void* pOption) {96 virtual long EXTAPI SetOption (DECODER_OPTION eOptionId, void* pOption) {
92 EXPECT_TRUE (gThis == this);97 EXPECT_TRUE (gThis == this);
93 return 6;98 return 7;
94 }99 }
95 virtual long EXTAPI GetOption (DECODER_OPTION eOptionId, void* pOption) {100 virtual long EXTAPI GetOption (DECODER_OPTION eOptionId, void* pOption) {
96 EXPECT_TRUE (gThis == this);101 EXPECT_TRUE (gThis == this);
97 return 7;102 return 8;
98 }103 }
99};104};
100 105

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