Mans Rullgard
4d1418cd4f
h264: fix signed overflows in x*0x01010101 expressions
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
806212498a
h264: move fill_decode_neighbors()/fill_decode_caches() to h264_mvpred.h
...
This fixes a bunch of unused function warnings.
14 years ago
Diego Biurrun
028216b2c2
h264: move decode_mb_skip() from h264.h to h.264_mvpred.h
...
This resolves a circular dependency between the headers.
14 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
Jason Garrett-Glaser
ef0c594801
H.264: merge fill_rectangle into P-SKIP MV prediction, to match B-SKIP
14 years ago
Jason Garrett-Glaser
5136ba7c69
H.264: faster P-SKIP decoding
...
Inline the relevant parts of fill_decode_caches into P-SKIP mv prediction to
avoid calling the whole thing.
14 years ago
Jason Garrett-Glaser
bbdd52ed34
H.264: av_always_inline some more functions
...
These weren't getting inlined all the time in all gcc versions.
14 years ago
Mans Rullgard
21accb3bb2
h264: remove assert() immediately following return statement
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
Michael Niedermayer
aa5ee59eee
Simplify code in mv_pred.
...
Not benchmarked as this is petty much just code removial.
Originally committed as revision 22066 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
Måns Rullgård
19769ece3b
H264: use alias-safe macros
...
This eliminates all aliasing violation warnings in h264 code.
No measurable speed difference with gcc-4.4.3 on i7.
Originally committed as revision 21881 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
580920f8dc
Remove 2 checks from fetch_diagonal_mv() that apparently serve no purpose.
...
Originally committed as revision 21314 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
26c83a4161
Move a few things into a deeper if() in fetch_diagonal_mv().
...
Originally committed as revision 21313 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
350fc614b4
Remove code that handles the case of a MB pair to our right being available.
...
Thats not possible except maybe in FMO which noone uses anyway.
iam also not sure if this wasnt missing a part_width.
Originally committed as revision 21312 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e2dd8586d8
Add forgotton multiple inclusion guards to h264_mvpred.h.
...
Originally committed as revision 21220 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
188d3c510d
Split motion vector prediction off h264.c/h.
...
Originally committed as revision 21174 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago