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 codec/decoder/plus (2 of 6 files). Show all

Unified · Split

2 files
  1. codec/decoder/plus/inc/welsDecoderExt.h +3 −0
  2. codec/decoder/plus/src/welsDecoderExt.cpp +7 −0
codec/decoder/plus/inc/welsDecoderExt.h+3−0
@@ -85,6 +85,9 @@ virtual DECODING_STATE EXTAPI DecodeFrame2 (const unsigned char* kpSrc, · 84 unmodified lines
8585 const int kiSrcLen,
8686 unsigned char** ppDst,
8787 SBufferInfo* pDstInfo);
88+virtual DECODING_STATE EXTAPI DecodeParser (const unsigned char* kpSrc,
89+ const int kiSrcLen,
90+ SParserBsInfo* pDstInfo);
8891 virtual DECODING_STATE EXTAPI DecodeFrameEx (const unsigned char* kpSrc,
8992 const int kiSrcLen,
9093 unsigned char* pDst,
codec/decoder/plus/src/welsDecoderExt.cpp+7−0
@@ -453,6 +453,13 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 452 unmodified lines
453453 return dsErrorFree;
454454 }
455455
456+DECODING_STATE CWelsDecoder::DecodeParser (const unsigned char* kpSrc,
457+ const int kiSrcLen,
458+ SParserBsInfo* pDstInfo) {
459+//TODO, add function here
460+ return (DECODING_STATE) m_pDecContext->iErrorCode;
461+}
462+
456463 DECODING_STATE CWelsDecoder::DecodeFrame (const unsigned char* kpSrc,
457464 const int kiSrcLen,
458465 unsigned char** ppDst,

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