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
8888 EXPECT_TRUE (gThis == this);
8989 return static_cast<DECODING_STATE> (5);
9090 }
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+ }
9196 virtual long EXTAPI SetOption (DECODER_OPTION eOptionId, void* pOption) {
9297 EXPECT_TRUE (gThis == this);
93− return 6;
98+ return 7;
9499 }
95100 virtual long EXTAPI GetOption (DECODER_OPTION eOptionId, void* pOption) {
96101 EXPECT_TRUE (gThis == this);
97− return 7;
102+ return 8;
98103 }
99104 };
100105

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