diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2007-12-19 22:24:38 +0300 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2007-12-19 22:24:38 +0300 |
commit | 9ba5f2005882e0334487a14b610f171d10cb4708 (patch) | |
tree | 1a9b6c4720f7f30b16eda477e47cc9cf9a9f6e6d /src/filters/transform/mpcvideodec/DXVADecoder.h | |
parent | d3e6cc8bafda33b952d96798767a6bca3b58a0a5 (diff) |
Working release for h264 DXVA decoder, but samples deliver in wrong order
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@346 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/mpcvideodec/DXVADecoder.h')
-rw-r--r-- | src/filters/transform/mpcvideodec/DXVADecoder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filters/transform/mpcvideodec/DXVADecoder.h b/src/filters/transform/mpcvideodec/DXVADecoder.h index a1e2e566d..e0928400c 100644 --- a/src/filters/transform/mpcvideodec/DXVADecoder.h +++ b/src/filters/transform/mpcvideodec/DXVADecoder.h @@ -43,6 +43,7 @@ public : virtual HRESULT DecodeFrame (BYTE* pDataIn, UINT nSize, IMediaSample* pOut) = NULL;
virtual void SetExtraData (BYTE* pDataIn, UINT nSize);
+ virtual void CopyBitstream(BYTE* pDXVABuffer, BYTE* pBuffer, UINT& nSize);
static CDXVADecoder* CreateDecoder (CMPCVideoDecFilter* pFilter, IDirectXVideoDecoder* pDecoder, const GUID* guidDecoder);
@@ -55,5 +56,5 @@ protected : DXVA2_DecodeExecuteParams m_ExecuteParams;
- HRESULT AddExecuteBuffer (DWORD CompressedBufferType, UINT nSize, void* pBuffer);
+ HRESULT AddExecuteBuffer (DWORD CompressedBufferType, UINT nSize, void* pBuffer, UINT* pRealSize = NULL);
};
\ No newline at end of file |