Diego Biurrun
47c0ac96aa
Replace AVFrame pointer casts by proper struct member accesses.
13 years ago
Martin Storsjö
efd29844eb
mpegvideo: Add ff_ prefix to nonstatic functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Donald Ovcharov
ac84f2edd4
error_resilience: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
5ea20630b4
Fix a bunch of platform name and other typos.
13 years ago
Diego Biurrun
3dc99a18d4
cosmetics: drop some pointless parentheses
13 years ago
Diego Biurrun
8fd35b1aac
Fix a bunch of typos.
13 years ago
Luca Barbato
63ccd46687
lavc: introduce ER_MB_END and ER_MB_ERROR
...
Simplify a little error resilience calls
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Luca Barbato
5bf2ac2b37
error_resilience: use the ER_ namespace
...
Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Diego Biurrun
58c42af722
doxygen: misc consistency, spelling and wording fixes
13 years ago
Dustin Brody
5b22d6e132
lavc: convert error_recognition to err_recognition.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Diego Biurrun
da9cea77e3
Fix a bunch of common typos.
13 years ago
Laurent Aimar
e8ac80fb2c
error_resilience: fix the check for missing references in ff_er_frame_end() for H264
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Diego Biurrun
657ccb5ac7
Eliminate FF_COMMON_FRAME macro.
...
FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied
to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
14 years ago
Ronald Bultje
20153fb8f6
error_resilience: skip last-MV predictor step if MVs are not available.
...
Fixes crashes when playing broken MPEG2-TS streams.
14 years ago
Ronald Bultje
d42aaa802e
error_resilience: actually add counter when adding a MV predictor.
...
Without, the predictor isn't actually used.
14 years ago
Alexander Strange
6a9c859444
H264/MPEG frame-level multi-threading.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Diego Biurrun
e6ff064845
Eliminate pointless '#if 1' statements without matching '#else'.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e5d2bdec11
Add rectangle.h #include for fill_rectangle().
...
Originally committed as revision 22877 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
c28112fab6
Make sure the EC code does not attempt to use inter based concealment if there
...
is no reference frame available. (this can happen because the EC code will attempt
to use reference frames even for I/IDR frames)
Originally committed as revision 22732 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fc4a2d1e8c
Change ref_index structure so it matches how its organized in h264.
...
Also revert the related error concealment hotfix.
Originally committed as revision 22640 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
3546fa8d87
fix compilation with --disable-everything --enable-decoder=mpeg2video
...
Originally committed as revision 22612 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b297129bdb
Hotfix for regtest-error failure
...
a proper fix appears to require changing h263/mpeg2/motion est to index ref_index like
h264. Ill do this change and then revert this hotfix but it will take a bit time.
Originally committed as revision 22608 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
673fc6388f
Error concealment of h264 with multiple references.
...
Originally committed as revision 22603 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
68f0bc7e62
Use H264s MC instead of mpeg4-asp qpel for h264 error resilience.
...
Originally committed as revision 22572 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
686c781766
Make sure all mvs of a mb are set in the error concealment code.
...
Originally committed as revision 22520 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
bb4fcfa395
Ensure that the deblock filter accesses the correct MVs for h264.
...
Originally committed as revision 22517 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
2c4bc23e7a
Fix guess_mv() so that it works correctly with 4x4 MV blocks.
...
Originally committed as revision 22485 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
358b5b1a59
Get rid of mb2b8_xy and b8_stride, change arrays organized based on b8_stride to
...
ones based on mb_stride in h264.
about 20 cpu cycles faster overall per MB
Originally committed as revision 22065 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f40a7fd316
4:2:2 4:4:4 bugfix for the error concealment code.
...
Originally committed as revision 20678 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fd1ef13bb4
Disable error resilience for field pictures, this was never supported,
...
results where more or less random but should not have crashed.
Originally committed as revision 20671 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
b6b6676085
Make sure error resilience does not try to use unavailable reference frames.
...
Fixes the crash described in issue 706.
Originally committed as revision 18407 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
11647a9f8c
Return early if a HW accelerator is used.
...
Patch by Gwenole Beauchesne.
Originally committed as revision 17635 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
40e5d31b57
More approved hunks for VAAPI & our new and cleaner hwaccel API.
...
patch by Gwenole Beauchesne gbeauchesne splitted-desktop com
Originally committed as revision 17540 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
83344066d3
Get rid of some '#if CONFIG_MPEG_XVMC_DECODER' preprocessor checks around if
...
statements by merging the CONFIG_MPEG_XVMC_DECODER check into the if condition.
Originally committed as revision 17369 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
fc2dd7e3de
Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.
...
Originally committed as revision 17229 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
7eb6ed78ea
Move VDPAU check, make future VDPAU patches smaller.
...
Originally committed as revision 16508 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
b24298badc
Switch xvmc over to a CONFIG_ option.
...
Originally committed as revision 16153 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
8c07cee91a
Do not attempt to perform error concealment in lowres mode as this is
...
not supported currently.
Originally committed as revision 15465 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
68997192eb
Ensure that no non-existing frame is used.
...
Fixes issue624.
Originally committed as revision 15416 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
047599a4ba
Rename error_resilience to error_recognition.
...
Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
04932b0d97
cosmetics: typo fixes
...
Originally committed as revision 12554 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
d952638699
typo: occured --> occurred
...
Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9701840bb5
add FF_ prefix to all (frame)_TYPE usage
...
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5e53486545
typo fix: inited --> initialized
...
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ivan Kalvachev
551109d48a
On bitstream error is_intra_more_likely() could use dsp.sad[0]() that will segfault when xvmc is in use.
...
Originally committed as revision 10610 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago