ffmpeg.git
9 years agoAdd -timelimit option
Måns Rullgård [Wed, 20 Jan 2010 06:42:39 +0000 (06:42 +0000)]
Add -timelimit option

This option limits the CPU time used by ffmpeg to the number of seconds
specified.  After this time, the OS sends a SIGXCPU signal, which we
handle and attempt to exit cleanly.  If the process is stuck, the OS
will deliver a SIGKILL one second later, forcibly terminating the
process.

This functionality is useful in automated setups where a runaway ffmpeg
process would otherwise go undetected.

Originally committed as revision 21347 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove COPY3_IF_LT to lavc/mathops.h
Måns Rullgård [Wed, 20 Jan 2010 06:01:54 +0000 (06:01 +0000)]
Move COPY3_IF_LT to lavc/mathops.h

This obscure macro is only used in motion_est.c so having it in lavc
makes more sense.  See discussion here:
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-November/056561.html

Originally committed as revision 21346 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoH.264: Declare bS with DECLARE_ALIGNED_8 for uint64_t casts.
Alexander Strange [Wed, 20 Jan 2010 03:28:57 +0000 (03:28 +0000)]
H.264: Declare bS with DECLARE_ALIGNED_8 for uint64_t casts.

Originally committed as revision 21345 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoDocument some more of SwsContext.
Ramiro Polla [Wed, 20 Jan 2010 03:26:12 +0000 (03:26 +0000)]
Document some more of SwsContext.

Originally committed as revision 30380 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoSimplify/Optimize another of the mbaff loop filter cases.
Michael Niedermayer [Wed, 20 Jan 2010 03:00:08 +0000 (03:00 +0000)]
Simplify/Optimize another of the mbaff loop filter cases.
Its faster but too rarely used to make a differnce.

Originally committed as revision 21344 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoUpdate documentation for make test.
Ramiro Polla [Wed, 20 Jan 2010 02:26:32 +0000 (02:26 +0000)]
Update documentation for make test.

Originally committed as revision 21343 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoOnly calculate the second chroma qp if it differs from the firstin the main
Michael Niedermayer [Wed, 20 Jan 2010 01:49:24 +0000 (01:49 +0000)]
Only calculate the second chroma qp if it differs from the firstin the main
loop filter. (a little faster for the common case where they are equal)

Originally committed as revision 21342 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSet bS with 64bits at a time.
Michael Niedermayer [Wed, 20 Jan 2010 01:38:32 +0000 (01:38 +0000)]
Set bS with 64bits at a time.

Originally committed as revision 21341 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMerge multiple IS_* macro uses where possible.
Michael Niedermayer [Wed, 20 Jan 2010 01:15:30 +0000 (01:15 +0000)]
Merge multiple IS_* macro uses where possible.

Originally committed as revision 21340 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSimplify and optimize intra code in h264_loopfilter.c
Michael Niedermayer [Wed, 20 Jan 2010 00:44:03 +0000 (00:44 +0000)]
Simplify and optimize intra code in h264_loopfilter.c

Originally committed as revision 21339 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFloating point discrete cosine transform
Vitor Sessak [Wed, 20 Jan 2010 00:39:47 +0000 (00:39 +0000)]
Floating point discrete cosine transform

Originally committed as revision 21338 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoUse constant offsets for memory operands since gcc is unable to
David Conrad [Wed, 20 Jan 2010 00:34:10 +0000 (00:34 +0000)]
Use constant offsets for memory operands since gcc is unable to
This fixes gcc failing to fit 6 memory locations into 7 registers on x86-32

Originally committed as revision 21337 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAvoid more pointless tests, the input and output formats need to be
Stefano Sabatini [Wed, 20 Jan 2010 00:22:31 +0000 (00:22 +0000)]
Avoid more pointless tests, the input and output formats need to be
supported both as input and as output, as the conversion performed is:
yuva420p -> src -> dst -> yuva420p.

Originally committed as revision 30379 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoSightly simplify initialization of int start.
Michael Niedermayer [Wed, 20 Jan 2010 00:17:16 +0000 (00:17 +0000)]
Sightly simplify initialization of int start.
No real speed change.

Originally committed as revision 21336 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove FASTDIV macro to intmath.h
Måns Rullgård [Tue, 19 Jan 2010 23:25:36 +0000 (23:25 +0000)]
Move FASTDIV macro to intmath.h

Originally committed as revision 21335 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: do not use character classes with awk
Måns Rullgård [Tue, 19 Jan 2010 23:18:19 +0000 (23:18 +0000)]
configure: do not use character classes with awk

Some broken versions of awk (mawk, apparently used in debian)
do not handle character classes in regular expressions.

Originally committed as revision 21334 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMark the h264 c loop filter as av_always_inline av_flatten to make sure its
Michael Niedermayer [Tue, 19 Jan 2010 22:54:13 +0000 (22:54 +0000)]
Mark the h264 c loop filter as av_always_inline av_flatten to make sure its
all inlined, its small and horizontal & vertical versions are build out of
them. no change as gcc already did this.

Originally committed as revision 21333 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoskip outer pixels if possible in h264_loop_filter_luma_c().
Michael Niedermayer [Tue, 19 Jan 2010 22:46:58 +0000 (22:46 +0000)]
skip outer pixels if possible in h264_loop_filter_luma_c().
overall 3.7% faster loop filtering (C version only)

Originally committed as revision 21332 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSplit overly long line.
Stefano Sabatini [Tue, 19 Jan 2010 22:36:46 +0000 (22:36 +0000)]
Split overly long line.

Originally committed as revision 30378 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoAdds -aq documentation to the ffmpeg docs.
John Van Sickle [Tue, 19 Jan 2010 22:13:51 +0000 (22:13 +0000)]
Adds -aq documentation to the ffmpeg docs.

Patch by John Van Sickle rot13(<wbua.inafvpxyr@tznvy.pbz>).

Originally committed as revision 21331 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoImprove section 3.2 of the faq by providing more useful examples and a
John Van Sickle [Tue, 19 Jan 2010 22:05:02 +0000 (22:05 +0000)]
Improve section 3.2 of the faq by providing more useful examples and a
simple batch script to rename images to a numerical sequence.

Patch by John Van Sickle printf("%s.%s@%s.com", john, vansickle, gmail).

Originally committed as revision 21330 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMake selfTest() perform tests where both the input and output formats
Stefano Sabatini [Tue, 19 Jan 2010 21:52:00 +0000 (21:52 +0000)]
Make selfTest() perform tests where both the input and output formats
are supported, avoid pointless loops.

Originally committed as revision 30377 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agofetch flv duration from file if it is set to 0 in metadata
Baptiste Coudurier [Tue, 19 Jan 2010 19:41:24 +0000 (19:41 +0000)]
fetch flv duration from file if it is set to 0 in metadata

Originally committed as revision 21329 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoReenable ff_h264_filter_mb_fast() for all slices it supported before.
Michael Niedermayer [Tue, 19 Jan 2010 16:43:57 +0000 (16:43 +0000)]
Reenable ff_h264_filter_mb_fast() for all slices it supported before.

Originally committed as revision 21328 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix h264_loop_filter_strength_mmx2() so it works with b frames.
Michael Niedermayer [Tue, 19 Jan 2010 16:40:36 +0000 (16:40 +0000)]
Fix h264_loop_filter_strength_mmx2() so it works with b frames.

Originally committed as revision 21327 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMake const prototypes for input sources of sws_scale_* stricter.
Alexis Ballier [Tue, 19 Jan 2010 16:30:20 +0000 (16:30 +0000)]
Make const prototypes for input sources of sws_scale_* stricter.
Patch by Alexis Ballier gmailify($firstname, $familyname)

Originally committed as revision 30374 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoconfigure: inlcude sys/types.h when checking sys/socket.h
Måns Rullgård [Tue, 19 Jan 2010 15:59:04 +0000 (15:59 +0000)]
configure: inlcude sys/types.h when checking sys/socket.h

Silly BSD systems need this despite POSIX requiring nothing of the
kind.  Any system with sys/socket.h should also have sys/types.h,
so this is unlikely to break anything, and we already do this in
another place.

Originally committed as revision 21326 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: drop -A flag to od
Måns Rullgård [Tue, 19 Jan 2010 15:52:43 +0000 (15:52 +0000)]
configure: drop -A flag to od

Originally committed as revision 21325 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: be more liberal with nm output
Måns Rullgård [Tue, 19 Jan 2010 15:52:40 +0000 (15:52 +0000)]
configure: be more liberal with nm output

Originally committed as revision 21324 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoswscale-example: Add comment about the use of av_{malloc,free}.
Ramiro Polla [Tue, 19 Jan 2010 15:42:51 +0000 (15:42 +0000)]
swscale-example: Add comment about the use of av_{malloc,free}.

Originally committed as revision 30373 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoRemove -2 -> -1 remapping, its not needed anymore as we must remap all
Michael Niedermayer [Tue, 19 Jan 2010 14:28:19 +0000 (14:28 +0000)]
Remove -2 -> -1 remapping, its not needed anymore as we must remap all
references per LUT anyway.

Originally committed as revision 21323 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove useless forward declaration.
Ramiro Polla [Tue, 19 Jan 2010 11:35:04 +0000 (11:35 +0000)]
Remove useless forward declaration.

Originally committed as revision 30371 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoUser friendly warning message that gives out names of source and target formats
Zuxy Meng [Tue, 19 Jan 2010 05:21:17 +0000 (05:21 +0000)]
User friendly warning message that gives out names of source and target formats

Originally committed as revision 30370 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoUse avconfig.h in pixfmt.h
Måns Rullgård [Tue, 19 Jan 2010 04:40:18 +0000 (04:40 +0000)]
Use avconfig.h in pixfmt.h

Originally committed as revision 21322 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoCreate and install libavutil/avconfig.h
Måns Rullgård [Tue, 19 Jan 2010 04:40:16 +0000 (04:40 +0000)]
Create and install libavutil/avconfig.h

This file contains a safe subset of the config.h settings.
Only bigendian is included for now, more can be added as
need arises.

Originally committed as revision 21321 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd rules to install generated headers
Måns Rullgård [Tue, 19 Jan 2010 04:40:13 +0000 (04:40 +0000)]
Add rules to install generated headers

Originally committed as revision 21320 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: create dirs before generating config.*
Måns Rullgård [Tue, 19 Jan 2010 04:40:10 +0000 (04:40 +0000)]
configure: create dirs before generating config.*

Originally committed as revision 21319 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: add cp_if_changed function and use for config.h
Måns Rullgård [Tue, 19 Jan 2010 04:40:08 +0000 (04:40 +0000)]
configure: add cp_if_changed function and use for config.h

Originally committed as revision 21318 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoUpdate libx264.c to use new libx264 features
Jason Garrett-Glaser [Tue, 19 Jan 2010 04:00:08 +0000 (04:00 +0000)]
Update libx264.c to use new libx264 features
With b_keyframe instead of IDR for detecting keyframes, ffmpeg should now
support periodic encoding with periodic intra refresh (although there is no
interface option for it yet).
Set the new timebase values for full VFR input support.
Bump configure to check for API version 83.

Originally committed as revision 21317 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoswscale-example: use av_malloc()
Måns Rullgård [Tue, 19 Jan 2010 03:47:11 +0000 (03:47 +0000)]
swscale-example: use av_malloc()

Image buffers require 16-byte alignment, so av_malloc() should be used.
Fixes crash on PPC.

Originally committed as revision 30369 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoApply changes made in r21308 to svq3.c.
Jai Menon [Tue, 19 Jan 2010 03:16:48 +0000 (03:16 +0000)]
Apply changes made in r21308 to svq3.c.
Fixes compilation with gcc and -O0.

Originally committed as revision 21316 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoDont waste time initializing stuff for deblocking intra mbs, none of
Michael Niedermayer [Tue, 19 Jan 2010 03:14:45 +0000 (03:14 +0000)]
Dont waste time initializing stuff for deblocking intra mbs, none of
it is used.

Originally committed as revision 21315 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove 2 checks from fetch_diagonal_mv() that apparently serve no purpose.
Michael Niedermayer [Tue, 19 Jan 2010 02:28:26 +0000 (02:28 +0000)]
Remove 2 checks from fetch_diagonal_mv() that apparently serve no purpose.

Originally committed as revision 21314 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove a few things into a deeper if() in fetch_diagonal_mv().
Michael Niedermayer [Tue, 19 Jan 2010 02:07:12 +0000 (02:07 +0000)]
Move a few things into a deeper if() in fetch_diagonal_mv().

Originally committed as revision 21313 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove code that handles the case of a MB pair to our right being available.
Michael Niedermayer [Tue, 19 Jan 2010 01:23:19 +0000 (01:23 +0000)]
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

9 years agoreindent
Baptiste Coudurier [Mon, 18 Jan 2010 23:58:10 +0000 (23:58 +0000)]
reindent

Originally committed as revision 21311 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoset average frame rate in mov demuxer
Baptiste Coudurier [Mon, 18 Jan 2010 23:56:04 +0000 (23:56 +0000)]
set average frame rate in mov demuxer

Originally committed as revision 21310 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoCosmetic, get rid of &x[0]
Michael Niedermayer [Mon, 18 Jan 2010 23:55:19 +0000 (23:55 +0000)]
Cosmetic, get rid of &x[0]

Originally committed as revision 21309 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix compilation with -O0.
Michael Niedermayer [Mon, 18 Jan 2010 23:41:12 +0000 (23:41 +0000)]
Fix compilation with -O0.

Originally committed as revision 21308 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix accumulated indention errors.
Michael Niedermayer [Mon, 18 Jan 2010 23:34:37 +0000 (23:34 +0000)]
Fix accumulated indention errors.

Originally committed as revision 21307 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSplit long line.
Stefano Sabatini [Mon, 18 Jan 2010 23:34:07 +0000 (23:34 +0000)]
Split long line.

Originally committed as revision 30368 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoConvert int -> enum PixelFormat in doTest().
Stefano Sabatini [Mon, 18 Jan 2010 23:33:17 +0000 (23:33 +0000)]
Convert int -> enum PixelFormat in doTest().

Originally committed as revision 30367 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoOptimize top non_zero_count_cache init.
Michael Niedermayer [Mon, 18 Jan 2010 23:31:14 +0000 (23:31 +0000)]
Optimize top non_zero_count_cache init.

Originally committed as revision 21306 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoDont init chroma elements of non_zero_count_cache for deblock.
Michael Niedermayer [Mon, 18 Jan 2010 23:30:21 +0000 (23:30 +0000)]
Dont init chroma elements of non_zero_count_cache for deblock.

Originally committed as revision 21305 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove unneeded for_deblock check, this code was alraedy under for_deblock.
Michael Niedermayer [Mon, 18 Jan 2010 23:27:53 +0000 (23:27 +0000)]
Remove unneeded for_deblock check, this code was alraedy under for_deblock.

Originally committed as revision 21304 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: add --disable-asm option
Måns Rullgård [Mon, 18 Jan 2010 23:12:55 +0000 (23:12 +0000)]
configure: add --disable-asm option

Originally committed as revision 21303 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: rename a variable in check_asm
Måns Rullgård [Mon, 18 Jan 2010 23:12:53 +0000 (23:12 +0000)]
configure: rename a variable in check_asm

Originally committed as revision 21302 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agomove aspect ratio code at the end of the track parsing, fix cathedral-beta2-400extra...
Baptiste Coudurier [Mon, 18 Jan 2010 21:38:39 +0000 (21:38 +0000)]
move aspect ratio code at the end of the track parsing, fix cathedral-beta2-400extra-crop-avc.mp4

Originally committed as revision 21301 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: fix cpu=generic case
Måns Rullgård [Mon, 18 Jan 2010 21:32:57 +0000 (21:32 +0000)]
configure: fix cpu=generic case

Originally committed as revision 21300 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRather call filter_mb_mbaff_edge*v() more often than do extra calculations
Michael Niedermayer [Mon, 18 Jan 2010 21:22:09 +0000 (21:22 +0000)]
Rather call filter_mb_mbaff_edge*v() more often than do extra calculations
in the innerst loop. ~150 cpu cycles faster

Originally committed as revision 21299 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: simplify $cpu handling for some architectures
Måns Rullgård [Mon, 18 Jan 2010 21:05:12 +0000 (21:05 +0000)]
configure: simplify $cpu handling for some architectures

Originally committed as revision 21298 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: indent
Måns Rullgård [Mon, 18 Jan 2010 21:05:08 +0000 (21:05 +0000)]
configure: indent

Originally committed as revision 21297 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: split $cpu handling by arch
Måns Rullgård [Mon, 18 Jan 2010 21:05:05 +0000 (21:05 +0000)]
configure: split $cpu handling by arch

Originally committed as revision 21296 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: simplify $arch handling
Måns Rullgård [Mon, 18 Jan 2010 21:05:01 +0000 (21:05 +0000)]
configure: simplify $arch handling

Originally committed as revision 21295 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: group arch extention deps by arch
Måns Rullgård [Mon, 18 Jan 2010 21:04:57 +0000 (21:04 +0000)]
configure: group arch extention deps by arch

Originally committed as revision 21294 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix 10l segfault with threads.
Michael Niedermayer [Mon, 18 Jan 2010 20:19:19 +0000 (20:19 +0000)]
Fix 10l segfault with threads.

Originally committed as revision 21293 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoUse h->slice_num where possible.
Michael Niedermayer [Mon, 18 Jan 2010 20:13:53 +0000 (20:13 +0000)]
Use h->slice_num where possible.

Originally committed as revision 21292 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoEnable filter_mb_fast for CAVLC P slices.
Michael Niedermayer [Mon, 18 Jan 2010 19:45:56 +0000 (19:45 +0000)]
Enable filter_mb_fast for CAVLC P slices.

Originally committed as revision 21291 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agofilter_mb_fast needs cbp_table to be set.
Michael Niedermayer [Mon, 18 Jan 2010 19:45:02 +0000 (19:45 +0000)]
filter_mb_fast needs cbp_table to be set.

Originally committed as revision 21290 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoPAFF CABAC P slices seem to work as well, so enable them for ff_h264_filter_mb_fast...
Michael Niedermayer [Mon, 18 Jan 2010 16:29:16 +0000 (16:29 +0000)]
PAFF CABAC P slices seem to work as well, so enable them for ff_h264_filter_mb_fast() too.

Originally committed as revision 21289 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoReenable filter_mb_fast for I slices and progressive CABAC P slices.
Michael Niedermayer [Mon, 18 Jan 2010 16:16:22 +0000 (16:16 +0000)]
Reenable filter_mb_fast for I slices and progressive CABAC P slices.

Originally committed as revision 21288 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSet h->cbp for ff_h264_filter_mb_fast().
Michael Niedermayer [Mon, 18 Jan 2010 16:11:13 +0000 (16:11 +0000)]
Set h->cbp for ff_h264_filter_mb_fast().

Originally committed as revision 21287 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years ago10l for someone, Store chroma_qp_diff in the correct struct.
Michael Niedermayer [Mon, 18 Jan 2010 14:05:30 +0000 (14:05 +0000)]
10l for someone, Store chroma_qp_diff in the correct struct.

Originally committed as revision 21286 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoInstall <libavcodec/vaapi.h> header.
Gwenole Beauchesne [Mon, 18 Jan 2010 13:52:20 +0000 (13:52 +0000)]
Install <libavcodec/vaapi.h> header.

Originally committed as revision 21285 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRename the RTP muxer sources so that the packetisation functions are in
Luca Abeni [Mon, 18 Jan 2010 13:44:12 +0000 (13:44 +0000)]
Rename the RTP muxer sources so that the packetisation functions are in
rtpenc_*.c files.

Originally committed as revision 21284 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove CAVLC 8x8 DCT special case from ff_h264_filter_mb() to fill_caches
Michael Niedermayer [Mon, 18 Jan 2010 13:09:53 +0000 (13:09 +0000)]
Move CAVLC 8x8 DCT special case from ff_h264_filter_mb() to fill_caches
that way it is also available for ff_h264_filter_mb_fast().

Originally committed as revision 21283 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove the ff_rtp_send_h264() prototype from rtp_h264.h (such function
Luca Abeni [Mon, 18 Jan 2010 11:18:25 +0000 (11:18 +0000)]
Remove the ff_rtp_send_h264() prototype from rtp_h264.h (such function
belongs to the RTP muxer, and its prototype already is in rtpenc.h)

Originally committed as revision 21282 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd macros for 64- and 128-bit write-combining optimization to intreadwrite.h.
Alexander Strange [Mon, 18 Jan 2010 10:24:33 +0000 (10:24 +0000)]
Add macros for 64- and 128-bit write-combining optimization to intreadwrite.h.

Add x86 implementation using MMX/SSE.

Originally committed as revision 21281 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoDefine out currently unused static functions.
Zuxy Meng [Mon, 18 Jan 2010 08:42:04 +0000 (08:42 +0000)]
Define out currently unused static functions.

Originally committed as revision 30365 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoPerform reference remapping at fill_cache() time instead of in the
Michael Niedermayer [Mon, 18 Jan 2010 05:15:31 +0000 (05:15 +0000)]
Perform reference remapping at fill_cache() time instead of in the
loop filter. This removes one obstacle of getting ff_h264_filter_mb_fast()
bitexact. code is maybe 0.1% faster

Originally committed as revision 21280 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoadd uldx fourcc to mpeg4 in riff.c
Ben Littler [Mon, 18 Jan 2010 03:57:01 +0000 (03:57 +0000)]
add uldx fourcc to mpeg4 in riff.c

Originally committed as revision 21279 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMark all intreadwrite functions av_always_inline
Måns Rullgård [Mon, 18 Jan 2010 01:35:19 +0000 (01:35 +0000)]
Mark all intreadwrite functions av_always_inline

Originally committed as revision 21278 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoOnly set HAVE_MMX when a supported CPU is specified
Måns Rullgård [Mon, 18 Jan 2010 01:25:57 +0000 (01:25 +0000)]
Only set HAVE_MMX when a supported CPU is specified

Originally committed as revision 21277 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMake qp check for loop filter skiping also work with MBAFF.
Michael Niedermayer [Mon, 18 Jan 2010 00:34:28 +0000 (00:34 +0000)]
Make qp check for loop filter skiping also work with MBAFF.

Originally committed as revision 21276 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoComment about a cornercase we ignore currently
Michael Niedermayer [Mon, 18 Jan 2010 00:21:58 +0000 (00:21 +0000)]
Comment about a cornercase we ignore currently

Originally committed as revision 21275 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove the qp check to skip the loop filter up.
Michael Niedermayer [Mon, 18 Jan 2010 00:20:44 +0000 (00:20 +0000)]
Move the qp check to skip the loop filter up.

Originally committed as revision 21274 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoReorganize how values are stored in h->non_zero_count.
Michael Niedermayer [Sun, 17 Jan 2010 23:44:23 +0000 (23:44 +0000)]
Reorganize how values are stored in h->non_zero_count.
~1% faster

Originally committed as revision 21273 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove stray '\' at the end of macro definitions.
Stefano Sabatini [Sun, 17 Jan 2010 23:29:31 +0000 (23:29 +0000)]
Remove stray '\' at the end of macro definitions.

Originally committed as revision 30362 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoRemove duplicated or pointless newlines.
Stefano Sabatini [Sun, 17 Jan 2010 23:17:47 +0000 (23:17 +0000)]
Remove duplicated or pointless newlines.

Originally committed as revision 30361 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoFactorize error message logging, log it if the converter cannot be
Stefano Sabatini [Sun, 17 Jan 2010 23:07:37 +0000 (23:07 +0000)]
Factorize error message logging, log it if the converter cannot be
set.

Originally committed as revision 30360 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoReindent after the last commit.
Stefano Sabatini [Sun, 17 Jan 2010 23:02:20 +0000 (23:02 +0000)]
Reindent after the last commit.

Originally committed as revision 30359 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoMake the pal2rgbWrapper set and use the converter in pal2rgbWrapper
Stefano Sabatini [Sun, 17 Jan 2010 23:00:01 +0000 (23:00 +0000)]
Make the pal2rgbWrapper set and use the converter in pal2rgbWrapper
only if the input format is paletted.

Fix potential crashes/weirdness if the input format is non-paletted.

Originally committed as revision 30358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoDisable a few things in fill_filter_caches() that arent needed.
Michael Niedermayer [Sun, 17 Jan 2010 22:05:36 +0000 (22:05 +0000)]
Disable a few things in fill_filter_caches() that arent needed.
0.1% speedup

Originally committed as revision 21272 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSplit fill_caches() between filter and decoder.
Michael Niedermayer [Sun, 17 Jan 2010 21:43:08 +0000 (21:43 +0000)]
Split fill_caches() between filter and decoder.

Originally committed as revision 21271 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRearchitecturing the stiched up goose part 1
Michael Niedermayer [Sun, 17 Jan 2010 20:35:55 +0000 (20:35 +0000)]
Rearchitecturing the stiched up goose part 1
Run loop filter per row instead of per MB, this also should make it
much easier to switch to per frame filtering and also doing so in a
seperate thread in the future if some volunteer wants to try.
Overall decoding speedup of 1.7% (single thread on pentium dual / cathedral sample)
This change also allows some optimizations to be tried that would not have
been possible before.

Originally committed as revision 21270 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove double const
Måns Rullgård [Sun, 17 Jan 2010 19:26:35 +0000 (19:26 +0000)]
Remove double const

Originally committed as revision 30357 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoadd vspx fourcc to mpeg4 in riff.c
Ben Littler [Sun, 17 Jan 2010 19:25:49 +0000 (19:25 +0000)]
add vspx fourcc to mpeg4 in riff.c

Originally committed as revision 21269 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: simplify libsdl check
Måns Rullgård [Sun, 17 Jan 2010 19:10:05 +0000 (19:10 +0000)]
configure: simplify libsdl check

Originally committed as revision 21268 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: add check_struct function
Måns Rullgård [Sun, 17 Jan 2010 19:10:03 +0000 (19:10 +0000)]
configure: add check_struct function

This adds a check_struct function to test for availability of a
member within a struct.

Originally committed as revision 21267 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: simplify check_lib2
Måns Rullgård [Sun, 17 Jan 2010 19:05:57 +0000 (19:05 +0000)]
configure: simplify check_lib2

Originally committed as revision 21266 to svn://svn.ffmpeg.org/ffmpeg/trunk