1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2024-12-16 12:24:52 +00:00
Commit Graph

7282 Commits

Author SHA1 Message Date
Baptiste Coudurier
bcd872a73f removed useless variables
Originally committed as revision 6766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 16:12:13 +00:00
Baptiste Coudurier
d54d396d08 use avctx->get_buffer
Originally committed as revision 6765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 16:10:04 +00:00
Baptiste Coudurier
a7fb3a9600 remove unused variables
Originally committed as revision 6764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 15:15:15 +00:00
Baptiste Coudurier
1e22f00d79 printf -> dprintf
Originally committed as revision 6763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 15:11:51 +00:00
Baptiste Coudurier
8e57cae794 indention
Originally committed as revision 6762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 15:09:32 +00:00
Baptiste Coudurier
6f9e492acf add gif support
Originally committed as revision 6761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 15:07:25 +00:00
Baptiste Coudurier
06d392a7cc change gif demuxer to gif decoder
Originally committed as revision 6760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 15:05:03 +00:00
Luca Barbato
b92f5a6b31 use --as-needed just on linux, since *bsd way is broken... (patch from Diego Pettenò <flameeyes@gentoo.org>)
Originally committed as revision 6759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 14:47:12 +00:00
Baptiste Coudurier
14f283d849 disable annoying debug messages
Originally committed as revision 6758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 14:14:36 +00:00
Diego Biurrun
8dfcf67e88 spelling/grammar fixes
Originally committed as revision 6757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 12:12:44 +00:00
Luca Abeni
7c7e7464e3 Make read_packet fail is the v4l2 driver returns an unexpected frame size
(driver's bug? If not, we will have to support this in some way)

Originally committed as revision 6756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 09:56:08 +00:00
borat@subsense.com
39a94d24f7 support for sub-only streams; patch by borat subsense com
Originally committed as revision 6755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 09:12:08 +00:00
Kostya Shishkov
76aca7a8bf handle limit>32 for set_ur_golomb_jpegls()
Originally committed as revision 6754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 04:52:15 +00:00
Michael Niedermayer
5dc4970661 prevent infinite loop
Originally committed as revision 6753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-21 22:07:01 +00:00
Andreas Öman
71bd023da5 avoid crashing when trying to parse invalid files, patch by Andreas Oman, andreas at olebyn dot nu
Originally committed as revision 6752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-21 11:17:39 +00:00
Andreas Öman
487240b026 fix probe, patch by Andreas Oman, andreas at olebyn dot nu
Originally committed as revision 6751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-21 11:08:39 +00:00
Michael Niedermayer
e08f580644 decode_significance_8x8_x86()
8% faster decode_cabac_residual() (8x8 case only) on P3

Originally committed as revision 6750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 21:34:02 +00:00
Guillaume Poirier
94e4c3a333 Protect code that uses CMOV instructions with HAVE_CMOV,
Make configure set CMOV_IS_FAST on arches on which cmov has a low latency
(typically non-Netburst based processor)

Originally committed as revision 6749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 17:53:19 +00:00
Guillaume Poirier
4c8d81fa2d fix harmless typo / consistency fix
Originally committed as revision 6748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 13:08:24 +00:00
Baptiste Coudurier
d966b2f0db warn about zlib support needed if file has compressed moov atom
Originally committed as revision 6747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 13:06:50 +00:00
Michael Niedermayer
864bc9656b 3 more TODO items for volunteers
Originally committed as revision 6746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 10:09:25 +00:00
Michael Niedermayer
849a50041c another instruction less in decode_significance_x86() -> 1% faster ion P3
Originally committed as revision 6745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 10:00:28 +00:00
Michael Niedermayer
942f3bb528 move memory reading ByteIOContext init from mov.c to avobuf.c
Originally committed as revision 6744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 09:32:48 +00:00
Michael Niedermayer
d3e7c5c35b 1 instruction less
Originally committed as revision 6743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 08:46:33 +00:00
Guillaume Poirier
e7768fc512 Add x86 conditionnal mov (CMOV) "detection" (based on the cpu passed by --cpu=xx)
Sets HAVE_CMOV define so we can protect relevant code with #ifdef HAVE_CMOV

Originally committed as revision 6742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 07:27:12 +00:00
Michael Niedermayer
a616db285a reordering instructions a little in decode_significance_x86() -> 2 instructions less / 1% faster decode_residual on P3
Originally committed as revision 6741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 00:51:04 +00:00
Michael Niedermayer
13404b2e98 factorize get_cabac asm (0.5% slower but its much cleaner)
Originally committed as revision 6740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 00:35:54 +00:00
Alex Beregszaszi
1e4051aaa0 correct signaling of palette change
Originally committed as revision 6739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 23:03:47 +00:00
Bernhard Rosenkränzer
ba9fb5da3a Fix PIC compilation, some defines were under #ifdef !PIC but used
in the PIC case nevertheless.
patch by Bernhard Rosenkranzer, bero arklinux org

Originally committed as revision 6738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 20:24:33 +00:00
Michael Niedermayer
d72bc32389 unused variable
Originally committed as revision 6737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 18:22:03 +00:00
Guillaume Poirier
1c5d830c25 10l: Revert bogus use of GCC's -march=xx:
Almost all CPU targets use -mcpu=xx to set architecture type,
register usage, choice of mnemonics, and instruction
scheduling parameters, except x86, MIPS, HPPA which uses -march=xx

Originally committed as revision 6736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 15:49:52 +00:00
Michael Niedermayer
f624f029f0 slightly faster decode_cabac_mb_mvd()
Originally committed as revision 6735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 14:54:34 +00:00
Michael Niedermayer
aa1da263aa 1 variable less in decode_cabac_residual() no speed change (but less vars means less things gcc can load and store redundantly)
Originally committed as revision 6734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 10:33:56 +00:00
Michael Niedermayer
143bf7d7c3 dont mess with ByteIOContext internal variables (fixes showdown2.mov)
Originally committed as revision 6733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 10:05:36 +00:00
Michael Niedermayer
ebd624b662 optimize sign decoding code in decode_residual()
x86 is 4% faster on P3
C sign stuff + x86 code for everything else is also faster then before (sorry forgot to test pure C)
... and if i replace the second occurance of the sign decoding in decode_residual by the asm too then everything gets slower iam starting to think that it might be best to write the whole function in asm, playing this avoid random deoptimizations game with gcc is not fun at all

Originally committed as revision 6732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-19 01:19:03 +00:00
Baptiste Coudurier
99fd05cbdd use AVFormatContext to log
Originally committed as revision 6731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 15:10:14 +00:00
Diego Biurrun
3d1eed611b Fix license header error notice by Steve LHomme.
Originally committed as revision 6730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 13:15:27 +00:00
Guillaume Poirier
38d0a8aad8 rename --tune to --cpu and make --cpu pass the apropriate -march=xx option to the compiler.
Note that previous implementation (--tune) wasn't consistent with regards to setting -march/-mcpu/-mtune whereas current --cpu now is
Original thread:
Date: Oct 17, 2006 3:20 PM (patch) || Date: Oct 13, 2006 12:03 PM (suggestion of configure clean-up)
Subject: Re: [Ffmpeg-devel] [PATH] test if cpu supports CMOV

Originally committed as revision 6729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 12:33:42 +00:00
Baptiste Coudurier
708e3e7d2d simplify pcm read seek, use av_get_bits_per_sample
Originally committed as revision 6728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 11:57:24 +00:00
Diego Biurrun
ca6127352f Don't run libavtest if CONFIG_GPL is not set.
Originally committed as revision 6727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 10:09:16 +00:00
Jindřich Makovička
a0f2c6ba38 Kill a warning with MSVC
Patch by Jindrich Makovicka makovick A gmail P com
Original thread:
Date: 08:21 AM
Subject Re: [Ffmpeg-devel] Weird line in cabac.h

Originally committed as revision 6726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 09:37:25 +00:00
Michael Niedermayer
30865e2aa1 copy cabac context onto the stack for the c code in decode_cabac_residual() (15% faster on P3 but still slower then the current asm)
Originally committed as revision 6725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 23:59:21 +00:00
Michael Niedermayer
eb73bf723d x86 asm version of the decode significance loop (not 8x8) of decode_residual() 5% faster decode_residual() on P3
Originally committed as revision 6724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 22:18:29 +00:00
Baptiste Coudurier
5b9d79bd77 avoid overwriting pkt
Originally committed as revision 6723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 17:44:06 +00:00
Aurelien Jacobs
595da759de 10l inverted condition check generated an endless loop
Originally committed as revision 6722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 17:19:11 +00:00
Baptiste Coudurier
4d6ac1a47b skip packet if no stream index is found, fix proxy_pal030926.mxf
Originally committed as revision 6721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 11:30:22 +00:00
Baptiste Coudurier
ee71ef5cf4 skip run in sequence, fix C0023S01.mxf
Originally committed as revision 6720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 11:23:04 +00:00
Guillaume Poirier
cc6a90dd49 rename --cpu (and related variables) to --arch as this option always
allowed to select an architecture, not a specific cpu

Originally committed as revision 6719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 11:14:04 +00:00
Luca Abeni
96db380836 Implement sws_getCachedContext() in swscale emulation
Originally committed as revision 6718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 10:26:37 +00:00
Michael Niedermayer
4041a495a8 cosmetic (%%eax->%0)
Originally committed as revision 6717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 09:38:37 +00:00