Go to file
Gwenole Beauchesne 9cb150c9ab hwaccel: mpeg2: decode first field, if requested.
If user opted to present fields as they come, then the first field
picture needs to be submitted to the HW for decoding. In particular,
this fixes MPEG-2 decoding of interlaced streams.

Tested on Intel Cedar Trail, Sandy Bridge and Ivy Bridge platforms.
Someone reported on the ffmpeg-devel@ list this also works on DXVA
(Windows) and other Linux platforms (NVIDIA, through the VA wrapper).

This also means a similar patch to non-hwaccel VDPAU may be necessary.

Note: I believe the SLICE_FLAG_ALLOW_FIELD is useless since the first
field shall always be submitted to the HW anyway. Nobody uses HW accels
(dxva, vaapi, vdpau, etc.) without that flag though.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-04-08 13:08:52 +03:00
doc avutil: Add av_get_default_channel_layout() 2012-04-05 16:35:14 -04:00
libavcodec hwaccel: mpeg2: decode first field, if requested. 2012-04-08 13:08:52 +03:00
libavdevice cosmetics: Consistently place static, inline and av_cold attributes/keywords. 2012-04-04 14:54:13 +02:00
libavfilter vsrc_buffer: when no frame is available, return an error instead of segfaulting. 2012-04-05 09:30:09 +02:00
libavformat cosmetics: Fix indentation 2012-04-08 12:04:29 +03:00
libavutil avutil: Add av_get_default_channel_layout() 2012-04-05 16:35:14 -04:00
libswscale swscale: handle complete dimensions for monoblack/white. 2012-04-04 10:55:50 -07:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests fate: add BMP tests. 2012-04-04 11:16:23 -07:00
tools Fix a bunch of common typos. 2012-03-09 22:02:49 +01:00
.gitignore Ignore generated files below doc/. 2012-03-25 11:46:15 +02:00
avconv.c avconv: remove an unused function parameter. 2012-04-06 20:21:07 +02:00
avplay.c avplay: Don't try to scale timestamps if the tb isn't set 2012-04-06 20:49:23 +03:00
avprobe.c Mark mutable static data const where appropriate. 2012-02-21 09:47:07 -08:00
avserver.c Replace memset(0) by zero initializations. 2012-03-28 09:38:33 +02:00
Changelog avconv: drop support for building without libavfilter. 2012-04-06 20:21:07 +02:00
cmdutils_common_opts.h avtools: add -v as alias for -loglevel 2011-10-09 16:53:06 +01:00
cmdutils.c Read preset files with suffix .avpreset 2012-03-18 09:26:32 +01:00
cmdutils.h Read preset files with suffix .avpreset 2012-03-18 09:26:32 +01:00
common.mak build: remove unnecessary FFLDFLAGS variable 2011-07-11 11:39:04 +01:00
configure avconv: drop support for building without libavfilter. 2012-04-06 20:21:07 +02:00
COPYING.GPLv2 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1. 2009-06-05 09:51:31 +00:00
COPYING.GPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
COPYING.LGPLv2.1 cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01:00
COPYING.LGPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
CREDITS partially rename FFmpeg to Libav 2011-03-16 21:54:39 +01:00
Doxyfile Fix a bunch of platform name and other typos. 2012-01-11 13:48:30 +01:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
library.mak build: Only clean the architecture subdirectory we build for. 2012-03-26 13:29:03 +02:00
LICENSE Remove libpostproc. 2012-02-23 19:36:16 +01:00
Makefile build: Only clean the architecture subdirectory we build for. 2012-03-26 13:29:03 +02:00
README cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
RELEASE Prepare for 0.8 Release 2012-01-21 14:54:31 +01:00
version.sh Drop git- prefix from version labels 2011-06-19 19:41:23 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.