diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2009-02-15 18:57:23 +0300 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2009-02-15 18:57:23 +0300 |
commit | 74cc5bf8a498ba1a04d6d4ee9a03a09bd7bd4495 (patch) | |
tree | e8d638edcb710d2ac8083e7bc2ea0c0053c9936c /src/filters/transform/mpcvideodec/DXVADecoder.h | |
parent | 78a5c51c87b7f2c2ae90d972974649e84310d350 (diff) |
Changed : improved DXVA VC1 decoder
Added : support for Flac in Ogg splitter
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@995 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/mpcvideodec/DXVADecoder.h')
-rw-r--r-- | src/filters/transform/mpcvideodec/DXVADecoder.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/filters/transform/mpcvideodec/DXVADecoder.h b/src/filters/transform/mpcvideodec/DXVADecoder.h index 694d090d5..d877759c3 100644 --- a/src/filters/transform/mpcvideodec/DXVADecoder.h +++ b/src/filters/transform/mpcvideodec/DXVADecoder.h @@ -90,12 +90,12 @@ public : HRESULT ConfigureDXVA1();
static CDXVADecoder* CreateDecoder (CMPCVideoDecFilter* pFilter, IAMVideoAccelerator* pAMVideoAccelerator, const GUID* guidDecoder, int nPicEntryNumber);
- static CDXVADecoder* CreateDecoder (CMPCVideoDecFilter* pFilter, IDirectXVideoDecoder* pDirectXVideoDec, const GUID* guidDecoder, int nPicEntryNumber);
+ static CDXVADecoder* CreateDecoder (CMPCVideoDecFilter* pFilter, IDirectXVideoDecoder* pDirectXVideoDec, const GUID* guidDecoder, int nPicEntryNumber, DXVA2_ConfigPictureDecode* pDXVA2Config);
protected :
CDXVADecoder (CMPCVideoDecFilter* pFilter, IAMVideoAccelerator* pAMVideoAccelerator, DXVAMode nMode, int nPicEntryNumber);
- CDXVADecoder (CMPCVideoDecFilter* pFilter, IDirectXVideoDecoder* pDirectXVideoDec, DXVAMode nMode, int nPicEntryNumber);
+ CDXVADecoder (CMPCVideoDecFilter* pFilter, IDirectXVideoDecoder* pDirectXVideoDec, DXVAMode nMode, int nPicEntryNumber, DXVA2_ConfigPictureDecode* pDXVA2Config);
CMPCVideoDecFilter* m_pFilter;
bool m_bFlushed;
@@ -111,6 +111,8 @@ protected : HRESULT BeginFrame(int nSurfaceIndex, IMediaSample* pSampleToDeliver);
HRESULT EndFrame(int nSurfaceIndex);
HRESULT QueryStatus(PVOID LPDXVAStatus, UINT nSize);
+ BYTE GetConfigIntraResidUnsigned();
+ BYTE GetConfigResidDiffAccelerator();
// === Picture store functions
bool AddToStore (int nSurfaceIndex, IMediaSample* pSample, bool bRefPicture, REFERENCE_TIME rtStart, REFERENCE_TIME rtStop, bool bIsField, FF_FIELD_TYPE nFieldType, FF_SLICE_TYPE nSliceType);
@@ -137,6 +139,7 @@ private : // === DXVA2 variables
CComPtr<IDirectXVideoDecoder> m_pDirectXVideoDec;
+ DXVA2_ConfigPictureDecode m_DXVA2Config;
DXVA2_DecodeExecuteParams m_ExecuteParams;
PICTURE_STORE* m_pPictureStore; // Store reference picture, and delayed B-frames
|