Age | Commit message (Collapse) | Author |
|
|
|
This way it does not look like a constant.
|
|
|
|
|
|
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>
|
|
|
|
Fixes null pointer dereference.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
|
|
Compute dist_scale_factor_field only for MBAFF since that is the only
case in which it is used.
|
|
Prevents writing beyond array bounds.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
|
|
prediction.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
|
|
|
|
Replace our incomplete w32threads implementation with x264's pthreads
w32threads wrapper.
Relicensed to LGPL with kind permission by Pegasys Inc.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
|
|
This fixes build failures with -DDEBUG in CPPFLAGS.
|
|
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.
|
|
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
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
|
|
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
|
|
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
|
|
Originally committed as revision 21830 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21829 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21817 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21794 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21791 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21790 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21789 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
is closer at the top.
50-130 cpu cycles faster depending on which kind of direct MBs are meassured.
Originally committed as revision 21788 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
A little faster and needed for future optimizations.
This sadly leads to some code duplication (which i hope i can factor out
again after the optimizations on the direcr mv code are done)
Originally committed as revision 21787 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
a little less than 200 cpu cycles faster with the cathedral sample.
Originally committed as revision 21785 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
and is a bit faster (5-10 cpu cycles depending on what is meassured).
Originally committed as revision 21784 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21694 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
11cylcles slower MV generation
98cycles faster MC
Originally committed as revision 21691 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
as 16x16 (except ones changing interlacing relative to the colocated MB).
20 cycles slower during MV generation
175 cycles faster during MC
Originally committed as revision 21690 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
19 cycles slower MV generation
575 cycles faster MC
Originally committed as revision 21689 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
7 cpu cycles faster.
Originally committed as revision 21685 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21684 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
and simplify cases that cannot happen away.
8 cpu cycles faster
Originally committed as revision 21683 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21681 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21679 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
a bit more than 10 cpu cycles faster.
Originally committed as revision 21678 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21677 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
true partitioning.
Originally committed as revision 21675 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21674 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21669 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21667 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21664 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21663 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21662 to svn://svn.ffmpeg.org/ffmpeg/trunk
|