summaryrefslogtreecommitdiff
path: root/libavcodec/dxva2.h
Commit message (Collapse)AuthorAgeFilesLines
* all: Make header guard names consistentTimothy Gu2016-01-311-3/+3
|
* Merge commit 'd75b55635a02444c2f188c26e431a1cec992babe'Michael Niedermayer2015-07-281-2/+2
|\ | | | | | | | | | | | | * commit 'd75b55635a02444c2f188c26e431a1cec992babe': dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600 Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600Martin Storsjö2015-07-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If _WIN32_WINNT is unset, we force it to a new enough value to make sure the necessary definitions are visible. When targeting Windows Phone or Windows RT, _WIN32_WINNT should be at least 0x0602 - otherwise the windows headers themselves can cause errors (which technically are bugs in the headers). Raising this value here shouldn't hurt; the alternative would be to not touch it at all if WINAPI_FAMILY is set to phone/app, or to force setting it to 0x0602 in configure if unset (for phone/app). Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'b8962d64cc71af241601bcab5c3fcdc5735ef4ae'Michael Niedermayer2014-09-011-4/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'b8962d64cc71af241601bcab5c3fcdc5735ef4ae': dxva2: Clean up definition of _WIN32_WINNT Conflicts: libavcodec/dxva2.h See: 89946c8403752fbb26234d98f780188df8951a2e Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dxva2: Clean up definition of _WIN32_WINNTDiego Biurrun2014-09-011-0/+4
| | | | | | | | | | | | Only set a value if _WIN32_WINNT is undefined or smaller than 0x0600. This is cleaner than unconditional definition and avoids a number of redefinition warnings. Also only define a value in one of the two dxva2 headers.
| * dxva2_h264: add a workaround for old Intel GPUsHendrik Leppkes2014-04-281-0/+1
| | | | | | | | | | | | | | | | | | | | Old Intel GPUs expect the reference frame index to the actual surface, instead of the index into RefFrameList as specified by the spec. This workaround should be set when using one of the "ClearVideo" decoder devices. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | dxva2_h264: add a workaround for old intel GPUsHendrik Leppkes2014-03-071-0/+1
| | | | | | | | | | | | | | | | | | | | Old Intel GPUs expect the reference frame index to the actual surface, instead of the index into RefFrameList as specified by the spec. This workaround should be set when using one of the "ClearVideo" decoder devices. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dxva2: move _WIN32_WINNT handling to public headerMichael Niedermayer2013-02-221-0/+7
| | | | | | | | | | | | | | This removes duplicate code Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-02-211-1/+1
|\ \ | |/ | | | | | | | | | | | | | | * qatar/master: dxva2: Add missing #define to make header compile standalone arm: vp8: Add missing #includes for header to compile standalone doc: filters: Correct BNF FILTER description Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dxva2: Add missing #define to make header compile standaloneDiego Biurrun2013-02-201-1/+1
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-101-0/+17
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) rv40dsp x86: use only one register, for both increment and loop counter rv40dsp: implement prescaled versions for biweight. avconv: use default channel layouts when they are unknown avconv: parse channel layout string nutdec: K&R formatting cosmetics vda: Signal 4 byte NAL headers to the decoder regardless of what's in the extradata mem: Consistently return NULL for av_malloc(0) vf_overlay: implement poll_frame() vf_scale: support named constants for sws flags. lavc doxy: add all installed headers to doxy groups. lavc doxy: add avfft to the main lavc group. lavc doxy: add remaining avcodec.h functions to a misc doxygen group. lavc doxy: add AVPicture functions to a doxy group. lavc doxy: add resampling functions to a doxy group. lavc doxy: replace \ with / lavc doxy: add encoding functions to a doxy group. lavc doxy: add decoding functions to a doxy group. lavc doxy: fix formatting of AV_PKT_DATA_{PARAM_CHANGE,H263_MB_INFO} lavc doxy: add AVPacket-related stuff to a separate doxy group. lavc doxy: add core functions/definitions to a doxy group. ... Conflicts: ffmpeg.c libavcodec/avcodec.h libavcodec/vda.c libavcodec/x86/rv40dsp.asm libavfilter/vf_scale.c libavformat/nutdec.c libavutil/mem.c tests/ref/acodec/pcm_s24daud Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc doxy: add all installed headers to doxy groups.Anton Khirnov2012-04-091-0/+17
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-081-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: drawtext: remove typo pcm-mpeg: implement new audio decoding api w32thread: port fixes to pthread_cond_broadcast() from x264. doc: add editor configuration section with Vim and Emacs settings dxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9 avformat/utils: Drop unused goto label. doxygen: Replace '\' by '@' in Doxygen markup tags. cosmetics: drop some completely pointless parentheses cljr: simplify CLJRContext drawtext: introduce rand(min, max) drawtext: introduce explicit draw/hide variable rtmp: Use nb_invokes for all invoke commands Conflicts: libavcodec/mpegvideo.c libavfilter/vf_drawtext.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9Rafaël Carré2011-12-071-0/+1
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * dxva: Add ability to enable workaround for older ATI cardsJoakim Plate2011-09-301-0/+2
| | | | | | | | | | | | | | The workaround needs to be enabled per PCI ID which cannot be detected inside libavcodec. So add a flag to manually enable the alternate behavior. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | Added ability to enable workaround for dxva2 decoding using older ATI cardsJoakim Plate2011-07-091-0/+2
| | | | | | | | | | | | The workaround need to be enabled per pci id which can not be detected inside ffmpeg. So this adds a flag that enabled the alternate behavior.
* | 10l, commit that should have been stashed into the merge.Michael Niedermayer2011-04-171-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-171-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ac3dec: fix processing of delta bit allocation information. vc1: fix fate-vc1 after previous commit. wmv3dec: fix playback of complex WMV3 files using simple_idct. make av_dup_packet() more cautious on allocation failures make containers pass palette change in AVPacket introduce side information for AVPacket Politic commits that have not been pulled: Update regtest checksums after revision 6001dad. Replace more FFmpeg references by Libav. Replace references to ffmpeg-devel with libav-devel; fix roundup URL. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace more FFmpeg references by Libav.Diego Biurrun2011-04-171-1/+1
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-5/+5
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* H264 DXVA2 implementationLaurent Aimar2010-01-201-0/+68
It allows VLD H264 decoding using DXVA2 (GPU assisted decoding API under VISTA and Windows 7). It is implemented by using AVHWAccel API. It has been tested successfully for some time in VLC using an nvidia card on Windows 7. To compile it, you need to have the system header dxva2api.h (either from microsoft or using http://downloads.videolan.org/pub/videolan/testing/contrib/dxva2api.h) The generated libavcodec.dll does not depend directly on any new lib as the necessary objects are given by the application using FFmpeg. Originally committed as revision 21353 to svn://svn.ffmpeg.org/ffmpeg/trunk