Commit Graph

3963 Commits

Author SHA1 Message Date
Michael Niedermayer 836096aa7a simplify
Originally committed as revision 6789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 10:33:40 +00:00
Michael Niedermayer 54fe115921 reverse my last change, it was wrong and broken
Originally committed as revision 6788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 10:13:26 +00:00
Michael Niedermayer 46d9fe622d remove map variable
Originally committed as revision 6787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 09:45:21 +00:00
Michael Niedermayer 71977422d1 factorize update state out
Originally committed as revision 6786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 09:34:13 +00:00
Michael Niedermayer 3b6d23293c FFMAX
Originally committed as revision 6785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 09:09:38 +00:00
Michael Niedermayer 8d42cf7496 common subexpression elimination
Originally committed as revision 6784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 08:52:51 +00:00
Michael Niedermayer 62412b8d28 merge 8 and 16bit functions, they are identical except the data type
Originally committed as revision 6783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 08:33:44 +00:00
Michael Niedermayer 5d48f0cb05 set v_edge_pos correctly for field picture mpeg2
Originally committed as revision 6782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 07:33:39 +00:00
Kostya Shishkov 9efe56f691 JPEG-LS 16-bit gray support
Originally committed as revision 6781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 05:01:04 +00:00
Kostya Shishkov 22eafdf24f PGM 16-bit gray support
Originally committed as revision 6780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 05:00:14 +00:00
Kostya Shishkov ae912c5b62 PNG 16-bit gray decoding support
Originally committed as revision 6779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 04:59:46 +00:00
Kostya Shishkov 34380af0e1 16-bit grayscale support
Originally committed as revision 6778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 04:57:43 +00:00
Luca Abeni a163ed1aaa Do not use a fake libavcodec/swscale.h, but always use the real one
(from libswscale) instead

Originally committed as revision 6777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 17:06:32 +00:00
Reimar Döffinger 755073fe3c CABAC assembler optimizations ported to AMD64
Originally committed as revision 6776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 16:54:21 +00:00
Aurelien Jacobs 246f86a4d6 document the extradata protocol for VP6F
Originally committed as revision 6772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-23 00:10:18 +00:00
Aurelien Jacobs 9e2424ce60 use the adjustment value present in FLV to crop VP6 video
Originally committed as revision 6770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 23:19:42 +00:00
Aurelien Jacobs 24d3e5a2f2 use coded_width and coded_height instead of width and height
Originally committed as revision 6769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 18:33:09 +00:00
Baptiste Coudurier 47babca839 indention
Originally committed as revision 6768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-22 17:25:16 +00:00
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 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
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
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
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 d3e7c5c35b 1 instruction less
Originally committed as revision 6743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-20 08:46:33 +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
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 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
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