Commit Graph

3925 Commits

Author SHA1 Message Date
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
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
Diego Biurrun
8dda3e796b Fix crash with illegal instruction, cmov is available on 686 and later only.
Originally committed as revision 6715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 21:47:19 +00:00
Diego Biurrun
e962604f1c Expand some #endif comments.
Originally committed as revision 6714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 21:22:47 +00:00
Michael Niedermayer
2c409cc7af fix -a^b which was interpreted as (-a)^b
Originally committed as revision 6713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 19:06:56 +00:00
Michael Niedermayer
cacb17b47f asin() acos() atan()
Originally committed as revision 6712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 18:36:44 +00:00
Luca Barbato
9f1c1c9985 Make ffmpeg work with x264 r592
Originally committed as revision 6711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 17:44:29 +00:00
Michael Niedermayer
212d84881a mod()
Originally committed as revision 6710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 15:01:12 +00:00
Diego Biurrun
c45b5de03a Fix #endif comments.
Originally committed as revision 6709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 12:52:21 +00:00
Michael Niedermayer
165c5f0909 fix !CMOV_IS_FAST case (iam not really happy with the fix but i didnt come up with a better one quickly)
Originally committed as revision 6707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 11:11:20 +00:00
Michael Niedermayer
1d7c111856 10l
Originally committed as revision 6704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 21:04:10 +00:00
Michael Niedermayer
faff3a7ad0 this code will not work with PIC as it needs 7 registers and gcc doesnt support that in PIC
Originally committed as revision 6703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 20:50:05 +00:00
Michael Niedermayer
f24a515931 shift CABACContext.range right, this reduces the number of shifts needed in get_cabac() and is slightly faster on P3 (and should be much faster on P4 as the P4 except the more recent variants lacks an integer shifter and so shifts have ~10 times longer latency then simple operations like adds)
Originally committed as revision 6702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 20:40:50 +00:00
Ramiro Polla
aa770811a3 Have xvid encoder wrapper honnor -vtag option
Patch by Ramiro Polla angustia A arrozcru P no-ip P org
Original thread:
Date: 14.10.2006 05:44
Subject: [Ffmpeg-devel] xvid ignores -vtag

Originally committed as revision 6701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 16:52:33 +00:00
Diego Biurrun
14f29f795d Revert putting EXTRALIBS in common.mak, linking fails on MinGW.
Originally committed as revision 6700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 12:59:45 +00:00
Kostya Shishkov
a8789714ba Ignore blocks with no samples and flags (but usually with MD5 sum)
Originally committed as revision 6694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-15 04:50:19 +00:00
Diego Biurrun
7c428ea681 Put libmpeg2 IDCT functions under CONFIG_GPL, fixes link failure
with --disable-opts.

Originally committed as revision 6691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 17:04:50 +00:00
Steve L'Homme
8aaed74c4b Remove empty structures,
Patch by Steve LHomme
Original thread:
Date: 13.10.2006 21:55
Subject: [Ffmpeg-devel] [PATCH] Remove empty structures

Originally committed as revision 6690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 14:48:45 +00:00
Kostya Shishkov
ab9ce19170 Make PNG produce correct 8-bit pictures
Originally committed as revision 6689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 12:23:54 +00:00
Kostya Shishkov
4ec0beaa59 Move block size check to decoder
Originally committed as revision 6688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 05:01:05 +00:00
Michael Niedermayer
b566bd65e2 simplify escape decoding
Originally committed as revision 6685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 16:19:15 +00:00
Diego Biurrun
a88fc5c040 Remove intrinsics checks, they are no longer used.
partly based on a patch by Zuxy Meng, zuxy.meng gmail com

Originally committed as revision 6684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 16:04:41 +00:00
Michael Niedermayer
68a205edef dehack *ps_state indexing in the branchless decoder
Originally committed as revision 6683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 14:21:25 +00:00
Kostya Shishkov
a991b1fecb TIFF decoder
Originally committed as revision 6682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 10:48:29 +00:00
Michael Niedermayer
12ff5b0f3b add "memory" to the clobber list we change memory so we need it, this also fixes some problems with gcc svn
Originally committed as revision 6679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 21:32:56 +00:00
Michael Niedermayer
5ed0d67da5 -1 is a valid return value in ratecontrol_1pass() -> 100l for takis
Originally committed as revision 6677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 20:55:42 +00:00
Dominik Mierzejewski
61b769871f Fixes:
xvmcvideo.c: In function ‘XVMC_decode_mb’:
xvmcvideo.c:141: warning: ‘return’ with a value, in function returning void

Approved by Ivan.

Originally committed as revision 6676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 19:57:47 +00:00
Michael Niedermayer
de1013e1ca 10l int vs uint8_t
Originally committed as revision 6675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 18:41:29 +00:00
Michael Niedermayer
851ded8918 prevent "mb level" get_cabac() calls from being inlined (3% faster decode_mb_cabac() on P3)
Originally committed as revision 6674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 14:49:19 +00:00
Michael Niedermayer
1f6049f515 int->uint8_t for 2 tables
Originally committed as revision 6673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 12:27:02 +00:00
Baptiste Coudurier
29f86228a0 support for Tiertex .seq files demuxing/video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
Originally committed as revision 6672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 12:02:58 +00:00
Gregory Montoir
7da4d4cdec fix SHOW_SBITS for ALT_BITSTREAM_READER_LE, patch by Gregory Montoir %cyx A users P sourceforge P net%
Originally committed as revision 6671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 11:54:24 +00:00
Diego Biurrun
cb690cadaf Rename internal.h --> xvid_internal.h, it clashes with libavutil/internal.h.
Originally committed as revision 6670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 11:51:34 +00:00
Luca Barbato
a5db5bda07 ppc generic prefetch
Originally committed as revision 6669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 10:26:07 +00:00
Guillaume Poirier
a0490b324a adds some useful comments after some of the #else, #elseif,
#endif preprocessor directives to make it clearer which code
block depends on which #define xx

Originally committed as revision 6668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-12 07:51:18 +00:00
Diego Biurrun
c26abfa541 Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Loren Merritt
a957c27b03 more prefetches, 2% faster h264
Originally committed as revision 6664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 21:34:15 +00:00
Michael Niedermayer
1f4d5e9f69 slightly faster on P3 slightly slower on athlon and probably faster on P4
Originally committed as revision 6663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 17:59:40 +00:00
Baptiste Coudurier
dc56e0de1d update doc, changelog, and increase libavcodec version for .cin files support
Originally committed as revision 6660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 17:14:02 +00:00
Baptiste Coudurier
72450e50a5 support for Delphine Software .cin files demuxing / audio and video decoding, by Gregory Montoir %cyx A users P sourceforge P net%
Originally committed as revision 6659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 16:57:00 +00:00
Michael Niedermayer
2b5269b51c moving lps state transition code a little up in the branched asm code (1% faster on P3)
Originally committed as revision 6658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 16:39:50 +00:00
Michael Niedermayer
b99f3cabed write cabac low and range variables as early as possible to prevent stalls from reading them before they where written, the P4 is said to disslike that alot, on P3 its 2% faster (START/STOP_TIMER over decode_residual)
Originally committed as revision 6657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 16:11:41 +00:00
Michael Niedermayer
d17faef011 use ecx instead of cl (no speed change on P3 but might avoid partial register stalls on some cpus)
Originally committed as revision 6656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 15:20:08 +00:00
Michael Niedermayer
d61c4e731e make state transition tables global as they are constant and the code is slightly faster that way
Originally committed as revision 6655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 14:44:17 +00:00
Michael Niedermayer
5f3eca121e 10l
Originally committed as revision 6654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 13:25:29 +00:00
Michael Niedermayer
0fa352c7e6 make lps_range a global table its constant anyway (saves 1 addition for accessing it)
Originally committed as revision 6653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 13:21:42 +00:00
Michael Niedermayer
3650b43959 enable CMOV_IS_FAST as its faster or equal speed on every cpu (duron, athlon, PM, P3) from which ive seen benchmarks, it might be slower on P4 but noone has posted benchmarks ...
Originally committed as revision 6652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 12:23:40 +00:00