ffmpeg.git
10 years agoFactorize get_duration() out of 4 places of the avi demuxer.
Michael Niedermayer [Thu, 1 Jul 2010 13:50:15 +0000 (13:50 +0000)]
Factorize get_duration() out of 4 places of the avi demuxer.

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

10 years agoMaybe fix threaded mpeg*video encoding
Måns Rullgård [Thu, 1 Jul 2010 11:51:01 +0000 (11:51 +0000)]
Maybe fix threaded mpeg*video encoding

This allocates per-thread copies of some MpegEncContext.ac_val which
is used concurrently from the encoding threads.

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

10 years agorandom_seed: simplify
Måns Rullgård [Thu, 1 Jul 2010 11:43:30 +0000 (11:43 +0000)]
random_seed: simplify

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

10 years agoReindent
Måns Rullgård [Thu, 1 Jul 2010 11:40:54 +0000 (11:40 +0000)]
Reindent

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

10 years agorandom_seed: allow to block on /dev/random
Måns Rullgård [Thu, 1 Jul 2010 11:40:50 +0000 (11:40 +0000)]
random_seed: allow to block on /dev/random

If both /dev/random and /dev/urandom failed to return data, an
uninitialised value might be returned.  Since most systems have a
non-blocking /dev/urandom or have /dev/random with similar properties,
the chance of blocking is minimal, and the alternative of returning
non-random data is worse.

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

10 years agoconfigure: replace unwarranted gcc bashing with a real explanation
Måns Rullgård [Thu, 1 Jul 2010 11:11:23 +0000 (11:11 +0000)]
configure: replace unwarranted gcc bashing with a real explanation

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

10 years agoUse new librtmp APIs instead of grubbing around in RTMP struct
Howard Chu [Thu, 1 Jul 2010 10:59:44 +0000 (10:59 +0000)]
Use new librtmp APIs instead of grubbing around in RTMP struct

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

10 years agoFix h264/vp8 intra pred on Athlon XP
Jason Garrett-Glaser [Thu, 1 Jul 2010 10:29:47 +0000 (10:29 +0000)]
Fix h264/vp8 intra pred on Athlon XP
Whose idea was it to have a CPU that didn't SIGILL on an invalid instruction?

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

10 years agompegaudioenc: Remove write-only variables from the context.
Rafaël Carré [Thu, 1 Jul 2010 05:17:02 +0000 (05:17 +0000)]
mpegaudioenc: Remove write-only variables from the context.

Patch by Rafaël Carré (rafael <dot> carre <at> gmail).

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

10 years agoPrevent infinite recursion of odml indexes.
Michael Niedermayer [Thu, 1 Jul 2010 00:09:08 +0000 (00:09 +0000)]
Prevent infinite recursion of odml indexes.
This fixes a stack overflow.

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

10 years agoEliminate another redundant instruction in vp56/8 arithcoder
Jason Garrett-Glaser [Wed, 30 Jun 2010 23:59:27 +0000 (23:59 +0000)]
Eliminate another redundant instruction in vp56/8 arithcoder
Necessary because of this GCC bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44474
To do this, convert some, but not all (!) of the variables in VP56RangeCoder
into local variables.
If we convert c->high into a local variable, gcc gets the stupids and refuses
to use a conditional move for the unpredictable main branch.

TODO: dispense with this bullshit and write an asm version.

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

10 years agoSet pad description with NULL_IF_CONFIG_SMALL(), consistent with the
Stefano Sabatini [Wed, 30 Jun 2010 23:52:28 +0000 (23:52 +0000)]
Set pad description with NULL_IF_CONFIG_SMALL(), consistent with the
other filters.

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

10 years agoImprove description for the pad filter.
Stefano Sabatini [Wed, 30 Jun 2010 23:52:26 +0000 (23:52 +0000)]
Improve description for the pad filter.

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

10 years agoCMOV-ify vp56 arithcoder
Jason Garrett-Glaser [Wed, 30 Jun 2010 23:18:47 +0000 (23:18 +0000)]
CMOV-ify vp56 arithcoder
This incantation causes gcc 4.3 to generate cmov on x86, a vastly better option
than a completely unpredictable branch.
Hopefully this carries over to newer versions and other CPUs with conditionals.
~5 cycles saved per call on a Core i7.

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

10 years agoOptimize vp56 arithmetic decoder
Jason Garrett-Glaser [Wed, 30 Jun 2010 23:15:25 +0000 (23:15 +0000)]
Optimize vp56 arithmetic decoder
Negate "bits" to eliminate a negate in cache refilling.

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

10 years agoMake "invalid dts/pts combination" a debug instead of a warning message.
XBMC [Wed, 30 Jun 2010 23:01:44 +0000 (23:01 +0000)]
Make "invalid dts/pts combination" a debug instead of a warning message.

Patch by XBMC

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

10 years agoAllow setting streamid when muxing mpegts.
Mike Scheutzow [Wed, 30 Jun 2010 22:39:13 +0000 (22:39 +0000)]
Allow setting streamid when muxing mpegts.

Patch by Mike Scheutzow, scheutzow alcatel-lucent com

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

10 years agoAdd new option "streamid" to set the value of an outfile streamid.
Mike Scheutzow [Wed, 30 Jun 2010 22:35:57 +0000 (22:35 +0000)]
Add new option "streamid" to set the value of an outfile streamid.

Patch by Mike Scheutzow, scheutzow alcatel-lucent com

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

10 years agoAdd more int packing macros, name them consistently
Måns Rullgård [Wed, 30 Jun 2010 22:33:38 +0000 (22:33 +0000)]
Add more int packing macros, name them consistently

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

10 years agorenormalize VP5/6/7/8 range coder without loop
Stefan Gehrer [Wed, 30 Jun 2010 22:05:29 +0000 (22:05 +0000)]
renormalize VP5/6/7/8 range coder without loop

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

10 years agoDo not skip one of three bits zero padding.
Daniel Kristjansson [Wed, 30 Jun 2010 21:46:03 +0000 (21:46 +0000)]
Do not skip one of three bits zero padding.

Patch by Daniel Kristjansson, danielk cuymedia net

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

10 years agoAdd missed file dct32.c
Måns Rullgård [Wed, 30 Jun 2010 21:45:51 +0000 (21:45 +0000)]
Add missed file dct32.c

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

10 years agoMore mp{1,2,3} 32-point DCT transform to our common DCT framework.
Vitor Sessak [Wed, 30 Jun 2010 20:11:27 +0000 (20:11 +0000)]
More mp{1,2,3} 32-point DCT transform to our common DCT framework.
Should allow for future SIMD optimizations.

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

10 years agoImprove FF_SYMVER documentation
Måns Rullgård [Wed, 30 Jun 2010 20:09:55 +0000 (20:09 +0000)]
Improve FF_SYMVER documentation

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

10 years agoImprove av_strerror() documentation
Måns Rullgård [Wed, 30 Jun 2010 20:09:52 +0000 (20:09 +0000)]
Improve av_strerror() documentation

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

10 years agoImprove GET_UTF{8,16} documentation
Måns Rullgård [Wed, 30 Jun 2010 20:09:48 +0000 (20:09 +0000)]
Improve GET_UTF{8,16} documentation

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

10 years agoaes: improve av_aes_crypt() documentation
Måns Rullgård [Wed, 30 Jun 2010 20:09:44 +0000 (20:09 +0000)]
aes: improve av_aes_crypt() documentation

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

10 years agoadler32: add API documentation
Måns Rullgård [Wed, 30 Jun 2010 20:09:40 +0000 (20:09 +0000)]
adler32: add API documentation

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

10 years agoImprove av_resample() documentation
Måns Rullgård [Wed, 30 Jun 2010 20:09:37 +0000 (20:09 +0000)]
Improve av_resample() documentation

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

10 years agobase64: improve documentation
Måns Rullgård [Wed, 30 Jun 2010 20:09:32 +0000 (20:09 +0000)]
base64: improve documentation

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

10 years agoFix grammar errors in documentation
Måns Rullgård [Wed, 30 Jun 2010 15:38:06 +0000 (15:38 +0000)]
Fix grammar errors in documentation

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

10 years agoMake av_get_random_seed() non-blocking
Måns Rullgård [Wed, 30 Jun 2010 10:38:04 +0000 (10:38 +0000)]
Make av_get_random_seed() non-blocking

Attempt to read from /dev/urandom and /dev/random with O_NONBLOCK set.
If neither succeeds, proceed with fallbacks.

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

10 years agoCheck for fcntl()
Måns Rullgård [Wed, 30 Jun 2010 10:38:01 +0000 (10:38 +0000)]
Check for fcntl()

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

10 years agoStep back as documentation maintainer.
Diego Biurrun [Wed, 30 Jun 2010 10:18:48 +0000 (10:18 +0000)]
Step back as documentation maintainer.

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

10 years agoapedec: add flush function
Måns Rullgård [Wed, 30 Jun 2010 09:33:59 +0000 (09:33 +0000)]
apedec: add flush function

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

10 years agoAdd a changelog entry for the RTSP tunneling, that was added a few weeks ago
Martin Storsjö [Wed, 30 Jun 2010 07:55:13 +0000 (07:55 +0000)]
Add a changelog entry for the RTSP tunneling, that was added a few weeks ago

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

10 years agomxfdec: Improve parsing of the PixelLayout item
Tomas Härdin [Wed, 30 Jun 2010 07:55:05 +0000 (07:55 +0000)]
mxfdec: Improve parsing of the PixelLayout item

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

10 years agoFix "initialization from incompatible pointer type" warning in rv34.
Eli Friedman [Wed, 30 Jun 2010 06:50:44 +0000 (06:50 +0000)]
Fix "initialization from incompatible pointer type" warning in rv34.
Patch by Eli Friedman (at gmail).

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

10 years agoChange AES code to be strict-aliasing-safe.
Reimar Döffinger [Wed, 30 Jun 2010 04:50:35 +0000 (04:50 +0000)]
Change AES code to be strict-aliasing-safe.
Makes it give correct results with e.g. gcc 4.4.
For unknown reasons the generate asm code also changes
on e.g. gcc 4.3, making the code a bit larger but also
a bit faster.

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

10 years agoSilense one warning:
Eli Friedman [Wed, 30 Jun 2010 01:57:05 +0000 (01:57 +0000)]
Silense one warning:
"passing argument 1 of ‘av_memcpy_backptr’ from incompatible pointer type"

Patch by Eli Friedman, eli D friedman A gmail

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

10 years agoFix strict-aliasing violations in MPV_motion_internal.
Eli Friedman [Wed, 30 Jun 2010 01:47:42 +0000 (01:47 +0000)]
Fix strict-aliasing violations in MPV_motion_internal.

Patch by Eli Friedman, eli D friedman A gmail

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

10 years agorv40: make rv40_adaptive_loop_filter() always_inline
Måns Rullgård [Tue, 29 Jun 2010 22:41:22 +0000 (22:41 +0000)]
rv40: make rv40_adaptive_loop_filter() always_inline

This function is called from the rv40_[hv]_loop_filter() wrappers
with some arguments constant, so it really needs to be inlined.

3% faster overall on Cortex-A8.

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

10 years agoffplay: remove VLA
Måns Rullgård [Tue, 29 Jun 2010 22:41:20 +0000 (22:41 +0000)]
ffplay: remove VLA

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

10 years agoUse add instead of lshift in mmxext vp8 idct
Jason Garrett-Glaser [Tue, 29 Jun 2010 17:23:17 +0000 (17:23 +0000)]
Use add instead of lshift in mmxext vp8 idct

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

10 years agoRemove unused macros (duplicates from the now-LGPL x86util.asm).
Ronald S. Bultje [Tue, 29 Jun 2010 17:04:29 +0000 (17:04 +0000)]
Remove unused macros (duplicates from the now-LGPL x86util.asm).

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

10 years agoAdd CRC check to the ALS decoder.
Thilo Borgmann [Tue, 29 Jun 2010 16:56:28 +0000 (16:56 +0000)]
Add CRC check to the ALS decoder.

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

10 years agoARM: add mov32 macro
Måns Rullgård [Tue, 29 Jun 2010 14:48:45 +0000 (14:48 +0000)]
ARM: add mov32 macro

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

10 years agoARM: (mostly) whitespace cosmetics
Måns Rullgård [Tue, 29 Jun 2010 14:48:41 +0000 (14:48 +0000)]
ARM: (mostly) whitespace cosmetics

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

10 years agoMMX idct_add for VP8.
Ronald S. Bultje [Tue, 29 Jun 2010 14:43:11 +0000 (14:43 +0000)]
MMX idct_add for VP8.

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

10 years agoAdd missing mm_support call toff_h264_pred_init_x86.
Jason Garrett-Glaser [Tue, 29 Jun 2010 12:28:06 +0000 (12:28 +0000)]
Add missing mm_support call toff_h264_pred_init_x86.
I'm not sure if this is supposed to be here, but it can't hurt.

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

10 years agoAltivec VP8 MC functions
David Conrad [Tue, 29 Jun 2010 06:42:17 +0000 (06:42 +0000)]
Altivec VP8 MC functions

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

10 years agoAltivec: Add helper function to load from a constant misalignment
David Conrad [Tue, 29 Jun 2010 06:42:12 +0000 (06:42 +0000)]
Altivec: Add helper function to load from a constant misalignment

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

10 years agovorbis: cosmetics, remove trailing comma for values that will never have
David Conrad [Tue, 29 Jun 2010 06:42:08 +0000 (06:42 +0000)]
vorbis: cosmetics, remove trailing comma for values that will never have
anything added

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

10 years agoFaster C VP8 normal inner loop filter
Jason Garrett-Glaser [Tue, 29 Jun 2010 04:34:04 +0000 (04:34 +0000)]
Faster C VP8 normal inner loop filter

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

10 years agoUse crop table in C implementations of VP8 DSP functions.
Jason Garrett-Glaser [Tue, 29 Jun 2010 03:34:24 +0000 (03:34 +0000)]
Use crop table in C implementations of VP8 DSP functions.
Much faster VP8 C DSP functions; ~5-10% faster overall with asm off.

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

10 years agoUpdate x264 presets. Patch by Lou Logan <lou@fakeoutdoorsman.com>
Lou Logan [Tue, 29 Jun 2010 03:17:11 +0000 (03:17 +0000)]
Update x264 presets.  Patch by Lou Logan <lou@fakeoutdoorsman.com>

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

10 years agoAdd mmxext version of VP8 DC Hadamard transform
Jason Garrett-Glaser [Tue, 29 Jun 2010 01:41:59 +0000 (01:41 +0000)]
Add mmxext version of VP8 DC Hadamard transform

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

10 years agoMake x86util.asm LGPL so we can use it in LGPL asm
Jason Garrett-Glaser [Tue, 29 Jun 2010 00:40:12 +0000 (00:40 +0000)]
Make x86util.asm LGPL so we can use it in LGPL asm
Strip out most x264-specific stuff (not used anywhere in ffmpeg).

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

10 years agoMMXEXT version of vp8 4x4 vertical pred
Jason Garrett-Glaser [Tue, 29 Jun 2010 00:23:52 +0000 (00:23 +0000)]
MMXEXT version of vp8 4x4 vertical pred

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

10 years agoAdd mmx/mmxext/ssse3 4x4 TM intra pred functions for vp8
Jason Garrett-Glaser [Mon, 28 Jun 2010 23:53:07 +0000 (23:53 +0000)]
Add mmx/mmxext/ssse3 4x4 TM intra pred functions for vp8

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

10 years agoAdd missing comment header for predict_4x4_dc_mmxext
Jason Garrett-Glaser [Mon, 28 Jun 2010 23:37:24 +0000 (23:37 +0000)]
Add missing comment header for predict_4x4_dc_mmxext

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

10 years agoFix some intra pred MMX functions that used MMXEXT instructions
Jason Garrett-Glaser [Mon, 28 Jun 2010 23:35:17 +0000 (23:35 +0000)]
Fix some intra pred MMX functions that used MMXEXT instructions
Also add predict_4x4_dc MMXEXT function for vp8/h264.

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

10 years agoFix VP8 bilinear mc on x86_64
Jason Garrett-Glaser [Mon, 28 Jun 2010 22:13:14 +0000 (22:13 +0000)]
Fix VP8 bilinear mc on x86_64

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

10 years agoaacenc: Start the lookahead pointer 1/4 of the way into the first short window.
Alex Converse [Mon, 28 Jun 2010 21:50:57 +0000 (21:50 +0000)]
aacenc: Start the lookahead pointer 1/4 of the way into the first short window.

Short windows are of length 256 and begin at sample 448.

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

10 years agoaacenc: Fix window decision logic.
Alex Converse [Mon, 28 Jun 2010 21:49:26 +0000 (21:49 +0000)]
aacenc: Fix window decision logic.

This keeps the encoder from switching away from an wight short sequence
prematurely when attacks are detected two frames in a row. It also allows for
the legal and useful LONG_STOP_SEQUENCE to LONG_START_SEQUENCE transition.

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

10 years agoaacenc: Fill in the estimated codebook for the final computed scalefactor in the...
Alex Converse [Mon, 28 Jun 2010 21:42:57 +0000 (21:42 +0000)]
aacenc: Fill in the estimated codebook for the final computed scalefactor in the TLS.

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

10 years ago10l: Revert r23867. It didn't make any sense.
Alex Converse [Mon, 28 Jun 2010 21:40:38 +0000 (21:40 +0000)]
10l: Revert r23867. It didn't make any sense.

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

10 years agoMake ff_psy_preprocess_end() act like av_freep().
Alex Converse [Mon, 28 Jun 2010 21:36:19 +0000 (21:36 +0000)]
Make ff_psy_preprocess_end() act like av_freep().

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

10 years agoaacenc: Properly pad extradata.
Alex Converse [Mon, 28 Jun 2010 21:34:57 +0000 (21:34 +0000)]
aacenc: Properly pad extradata.

This fixes a valgrind error when encoding to ADTS.

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

10 years agoChange MMXEXT to MMX2, MMXEXT is deprecated
Baptiste Coudurier [Mon, 28 Jun 2010 21:12:00 +0000 (21:12 +0000)]
Change MMXEXT to MMX2, MMXEXT is deprecated

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

10 years agoIn mov demuxer, increase total size after debugging message
Baptiste Coudurier [Mon, 28 Jun 2010 21:02:16 +0000 (21:02 +0000)]
In mov demuxer, increase total size after debugging message

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

10 years agoReindent
Josh Allmann [Mon, 28 Jun 2010 20:37:16 +0000 (20:37 +0000)]
Reindent

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agortpdec: Clean up FMTP parsing code in AMR RTP depacketizer
Josh Allmann [Mon, 28 Jun 2010 20:35:21 +0000 (20:35 +0000)]
rtpdec: Clean up FMTP parsing code in AMR RTP depacketizer

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agortpdec: Cleanup FMTP parsing code in Xiph RTP depacketizer
Josh Allmann [Mon, 28 Jun 2010 20:32:03 +0000 (20:32 +0000)]
rtpdec: Cleanup FMTP parsing code in Xiph RTP depacketizer

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agortpdec: Malloc the fmtp value buffer
Josh Allmann [Mon, 28 Jun 2010 20:27:25 +0000 (20:27 +0000)]
rtpdec: Malloc the fmtp value buffer

This allows very large value strings, needed for xiph extradata.

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agoAdd x86 asm functions for VP8 put_pixels
Jason Garrett-Glaser [Mon, 28 Jun 2010 19:14:40 +0000 (19:14 +0000)]
Add x86 asm functions for VP8 put_pixels

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

10 years agoAdd MMX, SSE2, SSSE3 asm for VP8 bilinear MC
Jason Garrett-Glaser [Mon, 28 Jun 2010 18:56:24 +0000 (18:56 +0000)]
Add MMX, SSE2, SSSE3 asm for VP8 bilinear MC

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

10 years agoPass subshift an argument of the proper type.
Reimar Döffinger [Mon, 28 Jun 2010 17:19:55 +0000 (17:19 +0000)]
Pass subshift an argument of the proper type.
No changes in generated code.

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

10 years agoUse a consistent type for multbl array function parameters.
Reimar Döffinger [Mon, 28 Jun 2010 17:11:48 +0000 (17:11 +0000)]
Use a consistent type for multbl array function parameters.

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

10 years agoSimplify MV parsing, removes laying out 2 or 4 (16x8/8x8/8x16) MVs over all
Ronald S. Bultje [Mon, 28 Jun 2010 16:04:14 +0000 (16:04 +0000)]
Simplify MV parsing, removes laying out 2 or 4 (16x8/8x8/8x16) MVs over all
16 subblocks (since we no longer need that), which should also lead to a
minor speedup.

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

10 years agoOptimize split MC, so we don't always do 4x4 blocks of 4x4pixels each, but
Ronald S. Bultje [Mon, 28 Jun 2010 13:50:55 +0000 (13:50 +0000)]
Optimize split MC, so we don't always do 4x4 blocks of 4x4pixels each, but
we apply them as 16x8/8x16/8x8 subblocks where possible. Since this allows
us to use width=8/16 instead of width=4 MC functions, we can now take more
advantage of SSE2/SSSE3 optimizations, leading to a total speedup for splitMV
filter of about 10%.

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

10 years agoReindent
Josh Allmann [Mon, 28 Jun 2010 11:35:18 +0000 (11:35 +0000)]
Reindent

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agortpdec: Clean up FMTP parsing code in MPEG-4/AAC RTP depacketizer
Josh Allmann [Mon, 28 Jun 2010 11:30:44 +0000 (11:30 +0000)]
rtpdec: Clean up FMTP parsing code in MPEG-4/AAC RTP depacketizer

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agortpdec: Clean up FMTP parsing code in H.264 RTP depacketizer
Josh Allmann [Mon, 28 Jun 2010 11:28:02 +0000 (11:28 +0000)]
rtpdec: Clean up FMTP parsing code in H.264 RTP depacketizer

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agoReindent
Josh Allmann [Mon, 28 Jun 2010 11:26:29 +0000 (11:26 +0000)]
Reindent

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agortpdec: Return ENOMEM if H.264 RTP fails to allocate memory for SDP extradata
Josh Allmann [Mon, 28 Jun 2010 11:25:39 +0000 (11:25 +0000)]
rtpdec: Return ENOMEM if H.264 RTP fails to allocate memory for SDP extradata

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agortpdec: Add generic function for iterating over FMTP configuration lines
Josh Allmann [Mon, 28 Jun 2010 11:24:12 +0000 (11:24 +0000)]
rtpdec: Add generic function for iterating over FMTP configuration lines

This will be used for cleaning up code that is common among RTP depacketizers.

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agortpdec: Move space_chars from avformat/internal to rtpdec
Josh Allmann [Mon, 28 Jun 2010 11:21:34 +0000 (11:21 +0000)]
rtpdec: Move space_chars from avformat/internal to rtpdec

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agoSet rv34 (0,0) subpel mc functions to the optimised h264 ones
Måns Rullgård [Mon, 28 Jun 2010 10:56:16 +0000 (10:56 +0000)]
Set rv34 (0,0) subpel mc functions to the optimised h264 ones

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

10 years agoFix x86 build with h264dsp disabled
Måns Rullgård [Mon, 28 Jun 2010 10:02:15 +0000 (10:02 +0000)]
Fix x86 build with h264dsp disabled

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

10 years agoconfigure: make --disable-everything soft-disable things
Måns Rullgård [Mon, 28 Jun 2010 10:02:12 +0000 (10:02 +0000)]
configure: make --disable-everything soft-disable things

This allows explicitly enabled things to _select others with the
intended result.

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

10 years agoFix an "assignment from incompatible pointer type" warning in av_read_frame_internal
Eli Friedman [Mon, 28 Jun 2010 08:04:52 +0000 (08:04 +0000)]
Fix an "assignment from incompatible pointer type" warning in av_read_frame_internal

Patch by Eli Friedman, eli dot friedman at gmail

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

10 years agoAdd patcheck checks for assignments that look like compound assignments
Eli Friedman [Mon, 28 Jun 2010 08:02:24 +0000 (08:02 +0000)]
Add patcheck checks for assignments that look like compound assignments

Patch by Eli Friedman, eli dot friedman at gmail

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

10 years agoUse lookup table to avoid division in mp2 decoder
Vitor Sessak [Mon, 28 Jun 2010 04:55:36 +0000 (04:55 +0000)]
Use lookup table to avoid division in mp2 decoder

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

10 years agoFix linking if MMX is disabled.
Stefano Sabatini [Sun, 27 Jun 2010 23:25:04 +0000 (23:25 +0000)]
Fix linking if MMX is disabled.

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

10 years agoBump micro and add APIchanges entry after av_parse_color() extension.
Stefano Sabatini [Sun, 27 Jun 2010 22:48:12 +0000 (22:48 +0000)]
Bump micro and add APIchanges entry after av_parse_color() extension.

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

10 years agoCosmetics: merge "} else" and "if (...) {" lines, less confusing.
Stefano Sabatini [Sun, 27 Jun 2010 22:35:42 +0000 (22:35 +0000)]
Cosmetics: merge "} else" and "if (...) {" lines, less confusing.

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

10 years agoReindent after the last commit.
Stefano Sabatini [Sun, 27 Jun 2010 22:35:39 +0000 (22:35 +0000)]
Reindent after the last commit.

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

10 years agoExtend color syntax, make it accept an alpha component specifier.
Stefano Sabatini [Sun, 27 Jun 2010 22:35:35 +0000 (22:35 +0000)]
Extend color syntax, make it accept an alpha component specifier.

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

10 years agoRename ColorEntry.rgba_color to rgb_color and do not reserve a fourth
Stefano Sabatini [Sun, 27 Jun 2010 22:35:32 +0000 (22:35 +0000)]
Rename ColorEntry.rgba_color to rgb_color and do not reserve a fourth
byte for the alpha component, as it is never used, clarify the code
and prevent bad usage of it.

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