1
0
Fork 0
Commit Graph

113 Commits

Author SHA1 Message Date
Hendrik Leppkes 72e6b6a944 Add support for VS2022 2022-07-28 18:01:14 +02:00
Hendrik Leppkes d1c57d8388 Use proper SDK on VS2019 2019-04-09 23:16:40 +02:00
Hendrik Leppkes e8e44409b6 Add support for Visual Studio 2019 2019-04-03 10:57:31 +02:00
Hendrik Leppkes c3c96bed03 Updated MSDK dispatchers to run on Vista / Server 2008 again 2019-02-17 09:35:46 +01:00
Hendrik Leppkes 8bebb7e01c Update MSDK to 2018R2 2019-02-07 12:43:25 +01:00
Hendrik Leppkes 4425b5b1d0 Remove support for VS2012 2019-02-07 12:31:14 +01:00
Hendrik Leppkes 2d36a094cb Fix build with recent version of Visual Studio 2017 2018-10-05 10:56:14 +02:00
Hendrik Leppkes 99a5f6802a Build with the 8.1 Windows SDK directly 2017-08-19 00:18:37 +02:00
Hendrik Leppkes 339f8d7000 Add support for VS2017 2017-03-07 17:20:11 +01:00
Yusuke Nakamura c0fb039708 Fix possible out-of-bounds read of workaround for DecodeHeader. 2016-01-18 14:01:31 +01:00
Hendrik Leppkes 36b2fcd804 Update MSDK dispatchers and support VS2015 2015-07-23 16:47:18 +02:00
Hendrik Leppkes cadb1790a4 Support building D3D11 support on VS2012/2013 without the env variable 2014-02-05 15:56:01 +01:00
Hendrik Leppkes 032ed9ddd1 Try direct D3D9 init before asking the device manager 2014-02-05 15:56:01 +01:00
Hendrik Leppkes 8760cd4056 Modify project for builds inside LAV 2014-02-05 15:56:00 +01:00
Hendrik Leppkes e90ffb1582 Add .gitignore 2014-02-05 15:56:00 +01:00
egur 05456a249d 0.45:
- Fixed bug: sometimes frames were marked wrongly as interlaced.
- Fixed bug: timestamps are passed 'as is' when ts manipulation is off.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@99 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2014-02-05 14:54:02 +00:00
egur ec528dd53d Fixed improper time stamp behavior when ts manipulation is off. Now time stamps pass "as is".
AVC frame constructor only handles RTP style packets. AnnexB is sent as is.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@98 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2014-02-05 12:22:12 +00:00
egur 2741c2dd26 Fixed bad time stamp behavior in corner case soft 3:2 clip.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@97 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2014-02-04 13:26:45 +00:00
egur b4b645b7c8 Added missing (new) header files.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@96 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2014-01-26 13:04:31 +00:00
egur 0623db72ad * Updated MSDK lib and include directory to MSDK 2014.
* Minor bug (performance) fix.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@95 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2014-01-26 13:02:05 +00:00
egur 37213432a5 0.44:
- Rewrote h264 Nalu parser - now all code is BSD. New parser supports fragmented packets + better error handling.
- Removed MT D3D11 surface copy due to driver bug (15.31 drivers).

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@94 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-06-23 01:26:41 +00:00
egur 266012b971 Removed D3D11 MY copy.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@93 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-06-10 18:04:13 +00:00
egur c700e6b8a4 Experimental:
- Rewrote H264 NALU iterator code. New class identifies partial NALU (e.g. TV streams) and various invalid NALUs.
- Fixed typos + cosmetics

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@92 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-06-08 21:17:19 +00:00
egur f81324d280 fixed compilation warnings/errors when Windows SDK 7.0 was used.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@91 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-05-25 15:07:37 +00:00
egur 4e33dab63d 0.43:
- Default to D3D9 on supported platforms due to better performance.
- GetCodecName now returns acceleration as part of the string (SW, HW D3D9, HW D3D11)
- Tweaked performance of D3D11 allocator (~50% faster) and copy code. Still much slower than D3D9.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@90 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-05-24 14:02:20 +00:00
egur 4148c2e4dc Experimental D3D11 optimizations and cleanup.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@89 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-05-22 21:29:10 +00:00
egur bbc8f581a4 Hopefully fixed compilation on system without Window 8.0 SDK
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@88 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-05-20 13:32:14 +00:00
egur 56dff413a1 v0.42:
- D3D11 decode + VPP. Windows 8 only feature. May not work on switchable graphics solutions.
- Fixed some minor issues with VPP (time stamp interpolation).
- Fixed AVC1 frame constructor. No longer will it process AnnexB streams. This should fix TV streaming. It doesn't support fragmented streams (NALs that span more than 1 packet).
- Made legal license identical across my files.
- Some code cosmetics too.
- Looks stable for both win8 and win7.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@87 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-05-19 21:14:32 +00:00
egur 16f7888f92 Experimental - Fixed D3D11 + VC1 freeze. Fixed D3D9 playback. Win7 is functional too. Need some more testing for release. This commit contains some code cosmetics too.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@86 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-05-16 19:46:37 +00:00
egur 18e36fae96 Experimental - D3D11 playback is working on headless iGPU. No known issues but not validated well.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@85 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-05-16 12:33:00 +00:00
egur 4144d18b10 Experimental: D3D11 not functional. Fixed some compilation issues. Cosmetics. D3D9 HW acceleration should be fine.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@84 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-05-16 10:24:31 +00:00
egur bc28b896da Experimental - D3D11 support. Not fully functional vs2012 project not updated either.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@83 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-05-15 22:49:18 +00:00
egur fcdd800ce9 Reverted to older Media SDK libs to resolve linker warnings and errors.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@82 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-02-24 21:49:41 +00:00
egur f737e7240f * Removed dynamic-link Media SDK dispatcher libraries.
* Replaced static-link Media SDK dispatcher libraries with version w/o debug info to avoid link warnings.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@81 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-02-23 21:04:07 +00:00
egur e8a111d96a v0.41:
* Updated MSDK headers and dispatch library to Intel Media SDK 2013.
* Strip unknown/invalid NALUs from all H264 packets, not just headers.
* Fixed handling of special case of broken H264 header.
* Avoid crash (but not failure) when switching display resolutions during HW init.
* Sync shared code from Media SDK 2013 (allocators, etc).
* Added IQuickSyncDecoder::GetCodecName() - returns name of decoder + active codec.
* Added IQuickSyncDecoder::IsHwAccelerated() - returns true/false when HW is used.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@80 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-01-31 19:55:47 +00:00
egur 7ebf555c26 * Updated MSDK headers and dispatch library to Intel Media SDK 2013.
* Strip unknown/invalid NALUs from all H264 packets, not just headers.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@79 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-01-31 16:30:30 +00:00
egur e45d81da01 * Fixed handling of special case of broken H264 header.
* Avoid crash (but not failure) when switching display resolutions during HW init.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@78 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2013-01-30 16:53:27 +00:00
egur a4cfe2123f Fixes for AVX2 copy function. Now it works. Not 100% optimized
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@77 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-11-13 11:41:39 +00:00
egur 1f047c6717 * fixed linkage issues
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@76 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-11-12 19:30:45 +00:00
egur a662a0980c * Added vs2012 project and solution
* Added automatic option to use AVX2 copy function (Haswell)
* Exported copy function from DLL
* Updated version code to know vs2012 and icl13

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@75 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-11-12 19:25:02 +00:00
egur 6beeef3df5 2 bug fixes from Hendrik Leppkes <h.leppkes@gmail.com>
* Device handle wasn't closed properly.
* Indicate failure when a mandatory flush did not succeed.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@74 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-11-10 18:53:42 +00:00
egur bcd20c9541 * Fixed VPP bug related VPP failing on frames marked with frame doubling/tripling.
* Added support to output GPU memory (read only). Use SetOutputSurfaceType to dynamically set (anytime) this behavior. If the DS decoder supports copy-back, it will save 1 copy.

git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@73 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-11-08 14:12:17 +00:00
egur 82720a8cbf v0.40:
* Removed all MT code, cleaning up the design. MT copy is still here
* Wrote basic AVX2 copy function (unused and untested).
* Enabled DVD decode. Not enabled well in ffdshow.
* Out of beta!



git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@72 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-11-07 18:37:28 +00:00
egur aa96d93c4f - Changed default MT options to MT copy only.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@71 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-11-04 20:34:28 +00:00
egur a3995e86b7 * Bugfix - decoder stopped working when moved to another screen. Changed device creation when handed IDirect3D9 interface from renderer.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@70 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-11-04 20:25:29 +00:00
egur 5fd1b3371c v0.39:
* Workaround for DecodeHeader issues in driver families 15.28 and 15.31


git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@69 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-10-09 19:35:46 +00:00
egur b6b39d9a15 Sync with Media SDK 2012 R3 (headers didn't change from R2)
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@68 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-09-11 19:28:12 +00:00
egur 8355246755 v0.38:
* Better handling of incomplete sequence headers.
* Able to recover after multiple initializations. New stream must be from the same codec as the old stream. Calling InitDecoder or SetConfig will reset the decoder.
* Bugfix - init decoder better when h264 DecodeHeader fails.
* A fix for audio sync issues in broken streams.



git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@67 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-07-30 18:29:14 +00:00
egur 3984369274 Bugfix - init decoder better when h264 DecodeHeader fails.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@66 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-07-30 17:24:41 +00:00
egur 71ed471d47 A fix for audio sync issues in broken streams.
git-svn-id: svn://svn.code.sf.net/p/qsdecoder/code/trunk/IntelQuickSyncDecoder@65 dfccccb7-dd81-40b7-a334-5a7ba89c2b1d
2012-07-19 20:32:35 +00:00