summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.c
Commit message (Collapse)AuthorAge
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* h264: deMpegEncContextizeAnton Khirnov2013-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the changes are just trivial are just trivial replacements of fields from MpegEncContext with equivalent fields in H264Context. Everything in h264* other than h264.c are those trivial changes. The nontrivial parts are: 1) extracting a simplified version of the frame management code from mpegvideo.c. We don't need last/next_picture anymore, since h264 uses its own more complex system already and those were set only to appease the mpegvideo parts. 2) some tables that need to be allocated/freed in appropriate places. 3) hwaccels -- mostly trivial replacements. for dxva, the draw_horiz_band() call is moved from ff_dxva2_common_end_frame() to per-codec end_frame() callbacks, because it's now different for h264 and MpegEncContext-based decoders. 4) svq3 -- it does not use h264 complex reference system, so I just added some very simplistic frame management instead and dropped the use of ff_h264_frame_start(). Because of this I also had to move some initialization code to svq3. Additional fixes for chroma format and bit depth changes by Janne Grunau <janne-libav@jannau.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo: split ff_draw_horiz_band().Anton Khirnov2013-02-15
| | | | Split out dependency on MpegEncContext.
* vdpau: Add context and common helpers for hwaccel supportRémi Denis-Courmont2013-01-13
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Revert "mpeg12: move full_pel from MpegEncContext to Mpeg1Context"Janne Grunau2011-10-24
| | | | | | | | This reverts commit da22ba7df461c13bf0b0eabc953303803a285d91 since it broke slice threading. Slice threading just duplicates MpegEncContext so every value used during mpeg_decode_slice has to be in it. A second patch will fix the illusion that Mpeg1Context is available in mpeg_decode_slice.
* mpeg12: move full_pel from MpegEncContext to Mpeg1ContextAnton Khirnov2011-10-23
| | | | It's MPEG-1 specific.
* hwaccel: unbreak buildMans Rullgard2011-07-10
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffmpeg: Fix VDPAU decoding for some H264 samples.Carl Eugen Hoyos2011-07-04
|
* doxygen: Consistently use '@' instead of '\' for Doxygen markup.Diego Biurrun2011-06-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | 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>
* Set VDPAU H264 picture parameter field_order_cnt and frame_num at theStephen Warren2010-03-30
| | | | | | | | | start of decoding a picture instead of at the end. Fixes mmco01.264 Patch by Stephen Warren Originally committed as revision 22728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix VDPAU for H.264 streams with long reference frames.Stephen Warren2010-03-30
| | | | | | Patch by Stephen Warren. Originally committed as revision 22727 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Fix a comment.Carl Eugen Hoyos2010-03-14
| | | | Originally committed as revision 22533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support B-frames when decoding MPEG-4 with VDPAU hardware acceleration.Carl Eugen Hoyos2010-03-03
| | | | | | Based on a patch by NVIDIA. Originally committed as revision 22160 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
* Fix H.264 bitstream field log2_max_pic_order_cnt_lsb_minus4Stephen Warren2009-03-06
| | | | | | | | if sps.poc_type == 0. Patch by Stephen Warren, swarren nvidia com Originally committed as revision 17854 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not set h264.is_reference for pictures that are delayed, but notNVIDIA Corporation2009-02-26
| | | | | | | | actually reference frames. Patch by NVIDIA Originally committed as revision 17596 to svn://svn.ffmpeg.org/ffmpeg/trunk
* The field rangered in VDPAU's VdpPictureInfoVC1 now also containsNVIDIA Corporation2009-02-26
| | | | | | | | rangeredfrm (VC-1 7.1.13) in bit 1. Patch by NVIDIA Originally committed as revision 17595 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, always declare variables at the top of a block, not inside a for ()Reimar Döffinger2009-02-23
| | | | Originally committed as revision 17541 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Instead of crashing, return from ff_vdpau_mpeg_picture_complete()Reimar Döffinger2009-02-18
| | | | | | | | if get_buffer() failed. Patch by Reimar Originally committed as revision 17427 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix MBAFF/PAFF samples.Stephen Warren2009-02-17
| | | | | | Patch by Stephen Warren, swarren nvidia com Originally committed as revision 17401 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Place spaces consistently in pointer types in vdpau.cReimar Döffinger2009-02-15
| | | | Originally committed as revision 17320 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert adding a _pixfmt to vdpau/xvmc header names.Diego Biurrun2009-02-14
| | | | | | Since vdpau.h was an installed header this would break API. Originally committed as revision 17225 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename xvmc_render.h --> xvmc_pixfmt.h and vdpau.h --> vdpau_pixfmt.h asDiego Biurrun2009-02-12
| | | | | | suggested by Michael, the new names better describe the contents of the files. Originally committed as revision 17168 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename vdpauvideo.c --> vdpau.c and xvmcvideo.c --> xvmc.c to better fitDiego Biurrun2009-02-11
the general libavcodec naming structure. Originally committed as revision 17152 to svn://svn.ffmpeg.org/ffmpeg/trunk