summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.h
Commit message (Collapse)AuthorAge
* avcodec/vdpau: Remove deprecated av_vdpau_get_profileAndreas Rheinhardt2021-04-27
| | | | | | | Deprecated in b10b6ac7a902f28e09e37a29c392e2f0c19e9526. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '5c1585c4c3b5281835d784c5daef0069915ccd57'James Almer2017-10-21
|\ | | | | | | | | | | | | * commit '5c1585c4c3b5281835d784c5daef0069915ccd57': lavc: Drop deprecated VDPAU buffer fields Merged-by: James Almer <jamrial@gmail.com>
| * lavc: Drop deprecated VDPAU buffer fieldsVittorio Giovara2017-03-23
| | | | | | | | Deprecated in 07/2013.
* | Merge commit '7b917041184874e7d7cba4450813de7e0bb28a33'James Almer2017-10-21
|\| | | | | | | | | | | | | * commit '7b917041184874e7d7cba4450813de7e0bb28a33': lavc: Drop deprecated VDPAU codec capability Merged-by: James Almer <jamrial@gmail.com>
| * lavc: Drop deprecated VDPAU codec capabilityVittorio Giovara2017-03-23
| | | | | | | | Deprecated in 07/2013.
* | Merge commit '932cc6496ef6ab0e589ea51d3adefe5b7d7f1e2a'Clément Bœsch2017-04-15
|\| | | | | | | | | | | | | * commit '932cc6496ef6ab0e589ea51d3adefe5b7d7f1e2a': vdpau: Do not #include vdpau_x11.h from the main vdpau header Merged-by: Clément Bœsch <u@pkh.me>
| * vdpau: Do not #include vdpau_x11.h from the main vdpau headerDiego Biurrun2016-12-09
| | | | | | | | That header should only be included in the special bits that use X11 code.
| * cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit 'b10b6ac7a902f28e09e37a29c392e2f0c19e9526'Hendrik Leppkes2015-09-29
|\| | | | | | | | | | | | | * commit 'b10b6ac7a902f28e09e37a29c392e2f0c19e9526': vdpau: deprecate av_vdpau_get_profile() Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * vdpau: deprecate av_vdpau_get_profile()Rémi Denis-Courmont2015-09-28
| | | | | | | | | | | | | | | | This function can intrinsically not deal with codec profile fallback (for H.264 Constrained Baseline especially), and was made redundant by av_vdpau_bind_context(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec/vdpau: remove incompatible-libav-abi hack from vdpau_render_state structwm42015-09-05
| |
* | Merge commit 'c220a60f92dde9c7c118fc4deddff5c1f617cda9'Michael Niedermayer2014-12-27
|\| | | | | | | | | | | | | | | | | | | | | * commit 'c220a60f92dde9c7c118fc4deddff5c1f617cda9': vdpau: add helper for surface chroma type and size Conflicts: libavcodec/vdpau.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vdpau: add helper for surface chroma type and sizeRémi Denis-Courmont2014-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the VDPAU pixel format does not distinguish between different VDPAU video surface chroma types, we need another way to pass this data to the application. Originally VDPAU in libavcodec only supported decoding to 8-bits YUV with 4:2:0 chroma sampling. Correspondingly, applications assumed that libavcodec expected VDP_CHROMA_TYPE_420 video surfaces for output. However some of the new HEVC profiles proposed for addition to VDPAU would require different depth and/or sampling: http://lists.freedesktop.org/archives/vdpau/2014-July/000167.html ...as would lossless AVC profiles: http://lists.freedesktop.org/archives/vdpau/2014-November/000241.html To preserve backward binary compatibility with existing applications, a new av_vdpau_bind_context() flag is introduced in a further change. Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | doc: fix spelling errorsAndreas Cadhalpun2014-12-01
| | | | | | | | | | | | succesfully => successfully, reproducable => reproducible, specifiying => specifying, isnt => isn't, seperated => separated Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'd565fef1b83b6c5f8afb32229260b79f67c68109'Michael Niedermayer2014-10-15
|\| | | | | | | | | | | | | | | | | | | * commit 'd565fef1b83b6c5f8afb32229260b79f67c68109': vdpau: add AV_HWACCEL_FLAG_IGNORE_LEVEL to skip the codec level check Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vdpau: add AV_HWACCEL_FLAG_IGNORE_LEVEL to skip the codec level checkRémi Denis-Courmont2014-10-15
| | | | | | | | | | | | | | | | | | | | | | | | | | Decoding acceleration may work even if the codec level is higher than the stated limit of the VDPAU driver. Or the problem may be considered acceptable by the user. This flag allows skipping the codec level capability checks and proceed with decoding. Applications should obviously not set this flag by default, but only if the user explicitly requested this behavior (and presumably knows how to turn it back off if it fails). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'e3e158e81f0666b8fe66be9ce1cad63a535920e0'Michael Niedermayer2014-10-06
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'e3e158e81f0666b8fe66be9ce1cad63a535920e0': vdpau: add av_vdpau_bind_context() Conflicts: doc/APIchanges libavcodec/vdpau.h libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vdpau: add av_vdpau_bind_context()Rémi Denis-Courmont2014-10-06
| | | | | | | | | | | | | | | | | | | | | | | | This function provides an explicit VDPAU device and VDPAU driver to libavcodec, so that the application is relieved from codec specifics and VdpDevice life cycle management. A stub flags parameter is added for future extension. For instance, it could be used to ignore codec level capabilities (if someone feels dangerous). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '728c4658563dc82115ade0f1679679eddb7be5ff'Michael Niedermayer2013-11-14
|\| | | | | | | | | | | | | | | | | | | * commit '728c4658563dc82115ade0f1679679eddb7be5ff': vdpau: add a constructor for AVVDPAUContext. Conflicts: libavcodec/vdpau.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vdpau: add a constructor for AVVDPAUContext.Anton Khirnov2013-11-14
| | | | | | | | | | We will likely want to add new fields to it in the future, so this is needed to avoid breaking ABI.
* | Merge commit 'ca22d1dea2842fca0422dd1d2bd09e7eb2c8f118'Michael Niedermayer2013-11-14
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ca22d1dea2842fca0422dd1d2bd09e7eb2c8f118': vdpau: add a convenience function for getting a decoder profile. Conflicts: doc/APIchanges libavcodec/vdpau.c libavcodec/vdpau.h libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vdpau: add a convenience function for getting a decoder profile.Anton Khirnov2013-11-14
| | | | | | | | Based on the code by Rémi Denis-Courmont <remi@remlab.net> from VLC.
| * vdpau: Add missing #includes to fix standalone header compilationDiego Biurrun2013-11-04
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec/vdpau: try to fix version macro useMichael Niedermayer2013-11-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Make new VDPAU easier to use by adding context to callback.Reimar Döffinger2013-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using VDPAU correctly means checking for preemption and possibly regenerating the context all the time. With the current API there is no context or other user-defined pointer and thus this in not possible during decoding unless using some hack like global variables. The need to reinitialize both surfaces and even function pointers makes handling preemption even more difficult. This patch introduces a new render2 function that gets both the AVCodecContext and AVFrame in addition, in both the user can store additional opaque data. This allows even advanced approaches like keeping a "generation counter" for the surfaces so they can be regenerated on the fly and efficiently. In addition, the function has a return value that will be passed through all the way instead of being silently ignored as for the current render function. Unfortunately the HWAccel API has no way of providing API/ABI compatibility, so a currently disallowed state (render pointer being NULL) is used to extend it. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | vdpau: Add an allocation function for AVVDPAUContext.Reimar Döffinger2013-08-11
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | avcodec/vdpau: include attributes.h, needed for attribute_deprecatedMichael Niedermayer2013-08-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/vdpau.h: define FF_API_BUFS_VDPAU if its not definedMichael Niedermayer2013-08-06
| | | | | | | | | | | | Similar to 50fb8c1114b9c2b7d299cbc17a18a457d12069a8 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f824535a4a79c260b59d3178b8d958217caffd78'Michael Niedermayer2013-08-06
|\| | | | | | | | | | | | | | | | | | | * commit 'f824535a4a79c260b59d3178b8d958217caffd78': vdpau: deprecate bitstream buffers within the hardware context Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vdpau: deprecate bitstream buffers within the hardware contextRémi Denis-Courmont2013-08-05
| | | | | | | | | | | | | | | | The bitstream buffers are now private and freed by libavcodec. For backward compatibility, the hold bitstream buffer pointer is left NULL (applications were supposed to av_freep() it). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec/vdpau.h: define FF_API_CAP_VDPAU if its not definedMichael Niedermayer2013-08-06
| | | | | | | | | | | | | | | | Prevent build failure for applicatins using the old API This could be replaced be a include of version.h but some applications would then need extern C wrapers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '549294fbbe1c00fee37dc4d3f291b98945e11094'Michael Niedermayer2013-08-06
|\| | | | | | | | | | | | | | | | | | | * commit '549294fbbe1c00fee37dc4d3f291b98945e11094': vdpau: deprecate VDPAU codec capability Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vdpau: deprecate VDPAU codec capabilityRémi Denis-Courmont2013-08-05
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'c0d973c41b4568d5bad1295879e35cfa611bdcf2'Michael Niedermayer2013-07-12
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'c0d973c41b4568d5bad1295879e35cfa611bdcf2': vdpau: use the correct namespace for the union Conflicts: libavcodec/vdpau.h See: 68dfe530e0fb03b4d21dfe37f8a572b95c68485e Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vdpau: use the correct namespace for the unionLuca Barbato2013-07-12
| | | | | | | | | | | | Vdp is used by libvdpau, use AVVDPAU as used for the rest. Reported-by: Alexis Ballier <aballier@gentoo.org>
* | configure: rename have_incompatible_fork_abi -> have_incompatible_libav_abiStefano Sabatini2013-07-03
| | | | | | | | | | | | | | | | | | "Fork" is an ambiguous term, since there may be more than one fork, also "fork" could be confused with the corresponding function. Also it seems important to point the name of the referenced fork in the symbol. Note: the old --enable-incompatible-fork-abi command is retained for compatibility, although it should be considered deprecated.
* | vdpau.h: change vdpau_render_state layout to match fork if ↵Michael Niedermayer2013-03-21
| | | | | | | | | | | | | | | | AV_HAVE_INCOMPATIBLE_FORK_ABI This might fix a compatibility issue. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vdpau: Rename union, avoid name conflict with vdpauMichael Niedermayer2013-02-06
| | | | | | | | | | | | | | Fixes Ticket2203 Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '44e065d56c87d6a9d0effccec5f31517f72924ec'Michael Niedermayer2013-01-14
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '44e065d56c87d6a9d0effccec5f31517f72924ec': vdpau: Add context and common helpers for hwaccel support Conflicts: Changelog doc/APIchanges libavcodec/vdpau.h libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vdpau: Add context and common helpers for hwaccel supportRémi Denis-Courmont2013-01-13
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-09
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxygen: Consistently use '@' instead of '\' for Doxygen markup. Use av_printf_format to check the usage of printf style functions Add av_printf_format, for marking printf style format strings and their parameters ARM: enable thumb for Cortex-M* CPUs nsvdec: Propagate error values instead of returning 0 in nsv_read_header(). build: remove SRC_PATH_BARE variable build: move basic rules and variables to main Makefile build: move special targets to end of main Makefile lavdev: improve feedback in case of invalid frame rate/size vfwcap: prefer "framerate_q" over "fps" in vfw_read_header() v4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters() fbdev: prefer "framerate_q" over "fps" in device context bktr: prefer "framerate" over "fps" for grab_read_header() ALSA: implement channel layout for playback. alsa: support unsigned variants of already supported signed formats. alsa: add support for more formats. ARM: allow building in Thumb2 mode Conflicts: common.mak doc/APIchanges libavcodec/vdpau.h libavdevice/alsa-audio-common.c libavdevice/fbdev.c libavdevice/libdc1394.c libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: Consistently use '@' instead of '\' for Doxygen markup.Diego Biurrun2011-06-24
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Move the info union to the end of the vdpau_render_state struct.Carl Eugen Hoyos2011-04-20
|/
* Remove stray Doxygen grouping command; fixes one Doxygen warning.Diego Biurrun2010-07-02
| | | | Originally committed as revision 23996 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Fix indentation.Carl Eugen Hoyos2009-11-16
| | | | Originally committed as revision 20542 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be usedNVIDIA Corporation2009-11-10
| | | | | | | | by video players. Original patch by NVIDIA corporation. Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clarify responsibility for freeing a buffer when using vdpau.Carl Eugen Hoyos2009-10-27
| | | | Originally committed as revision 20376 to svn://svn.ffmpeg.org/ffmpeg/trunk