Commit Graph

5753 Commits

Author SHA1 Message Date
Aurelien Jacobs
0cd05c0820 VP6A needs its Makefile rules too
Originally committed as revision 10728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 01:16:15 +00:00
Vladimir Voroshilov
3c3704d281 Fix MJPEG decoder for AMV files.
Since decoding is doing from the end and aligned by 16
previous code worked correctly only when picture height was dividable by 16,
otherwise it provides garbage in top lines and truncates bottom.
New code adjusts data[] pointers taking in account alignment issue.

Originally committed as revision 10727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 17:38:58 +00:00
Michael Niedermayer
4d570f94ba prevent infinite loop and memcpy of negative amounts
fixes issue194

Originally committed as revision 10726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 12:25:31 +00:00
Michael Niedermayer
211dd1e81f factorize code and add safety check to prevent memcpying negative amounts
Originally committed as revision 10722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 09:58:39 +00:00
Jeff Downs
0d43dd8c2d Simplify tests for field macroblocks
patch by Jeff Downs, heydowns a borg d com

Originally committed as revision 10721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 05:50:11 +00:00
Stefan Lucke
b8a9dfb7f6 Prevent infinite loop when buffer holds SEQ_END_CODE only. Fix for r9870
Patch by Stefan Lucke <stefan <at> lucke.in-berlin.de>
Subject: API breakage by r9870
Date: 2007-10-05 11:06:47 GMT
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/57467

Originally committed as revision 10720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 01:34:00 +00:00
Diego Biurrun
1084771ac0 10l: refill2() is not unused, it is used conditionally.
Fix the preprocessor directives to enable refill2() only when the
conditions under which it is used apply.

Originally committed as revision 10715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 09:38:34 +00:00
Jeff Downs
5e832bc28f Interlaced pictures (not just MBAFF) + spatial direct mode is not
implemented.

Patch by Jeff Downs, heydowns . borg @ com
Original thread: Enable PAFF decoding, 2007-10-09 11:04

Originally committed as revision 10714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 09:10:07 +00:00
Diego Biurrun
0f26eec23e Disable unused code; fixes several gcc warnings:
cabac.h:112: warning: ‘put_cabac_static’ defined but not used
cabac.h:158: warning: ‘put_cabac_terminate’ defined but not used
cabac.h:186: warning: ‘put_cabac_u’ defined but not used
cabac.h:221: warning: ‘put_cabac_ueg’ defined but not used
cabac.h:273: warning: ‘refill2’ defined but not used
cabac.h:811: warning: ‘get_cabac_u’ defined but not used
cabac.h:827: warning: ‘get_cabac_ueg’ defined but not used

Originally committed as revision 10713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-12 08:43:23 +00:00
Andrea Gualano
2a7feb18c4 Enable avpicture_deinterlace() for PIX_FMT_GRAY8.
Patch by Andrea Gualano, gualano T imavis O com

Originally committed as revision 10712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 22:31:08 +00:00
Shane
bdb273564c Fix intended order of operations for 4 assert() checks.
Patch by Shane, gnome42 T gmail O com

Originally committed as revision 10711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 22:18:38 +00:00
Ville Skyttä
645f7879ca Specify in documentation that avcodec_find_(en|de)coder* only searches for
registered entries
Patch by Ville Skyttä <ville dot skytta at iki dot fi>

Originally committed as revision 10710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 21:09:40 +00:00
Diego Biurrun
3ea7841120 warning fixes:
snow.c: In function ‘decode_header’:
snow.c:3668: warning: unused variable ‘absum’
snow.c: In function ‘decode_init’:
snow.c:4551: warning: unused variable ‘s’

Originally committed as revision 10708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-11 09:35:06 +00:00
Carl Eugen Hoyos
2fe279f9f9 Set pict->interlaced_frame if returned frame is MBAFF or PAFF.
Originally committed as revision 10703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 20:31:42 +00:00
Jeff Downs
03d3cab876 fix incorrect check for abs_diff_pic_num overflow
patch by Jeff Downs, heydowns a borg d com

Originally committed as revision 10700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 17:45:34 +00:00
Reimar Döffinger
9ba718e481 Allow to override zlib compression level in PNG encoder via avctx->compression_level
Originally committed as revision 10699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 15:33:19 +00:00
Andreas Öman
f6e3c4603d reindent
Originally committed as revision 10698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 15:09:51 +00:00
Baptiste Coudurier
45b8e9e507 better lambda search method
Originally committed as revision 10697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 14:15:03 +00:00
Carl Eugen Hoyos
d6c52130f7 Enable PAFF decoding
Originally committed as revision 10696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 12:28:17 +00:00
Aurelien Jacobs
bcf8eb116a oops... mpegvideo_enc also depends on motion_est and ratecontrol
Originally committed as revision 10695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 05:39:49 +00:00
Aurelien Jacobs
91ac0ab472 dnxhdenc depends on mpegvideo_enc (usage of ff_convert_matrix)
Originally committed as revision 10694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 04:49:12 +00:00
Jeff Downs
12d96de3ac Manage Picture buffers for fields as well as frames. Pair complementary fields into one MPV Picture.
Part of PAFF implementation.

patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 17:44:38 +00:00
Martin Zlomek
ac6b423b0c Fix deblocking for PAFF content
Patch by Martin Zlomek, martin d zlomek a email d cz

Originally committed as revision 10690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 17:39:34 +00:00
Baptiste Coudurier
2e85b344f7 dnxhd 36mbit support
Originally committed as revision 10689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 15:36:57 +00:00
Baptiste Coudurier
6cb1d36169 typo weigth->weight
Originally committed as revision 10687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 12:28:36 +00:00
Baptiste Coudurier
cd52a9ca9f preliminary 10 bit depth decoding support, still miss generic api to export picture, working on it
Originally committed as revision 10686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 12:23:00 +00:00
Baptiste Coudurier
5e301bbb70 merge
Originally committed as revision 10685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 12:14:43 +00:00
Baptiste Coudurier
a417d041f0 10l, check 'i' validity before using it
Originally committed as revision 10684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 12:11:19 +00:00
Baptiste Coudurier
42d1ffa3a2 fix 10 bit per comp detection
Originally committed as revision 10683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 12:08:42 +00:00
Baptiste Coudurier
fc4cbc1699 DNxHD (SMPTE VC-3) encoder
Originally committed as revision 10682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 11:27:18 +00:00
Baptiste Coudurier
69cea75f6b export convert_matrix and add ff_ prefix
Originally committed as revision 10681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 09:14:46 +00:00
Baptiste Coudurier
6180ade790 export DCT_common_init and add ff_prefix
Originally committed as revision 10680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 09:09:19 +00:00
Jeff Downs
5a421d538e Re-indent after PAFF MMCO implementation patch.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-07 23:46:51 +00:00
Jeff Downs
0ae969faed Augment MMCO execution to work with both fields and frames. Part of PAFF
implementation.

patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-07 23:32:42 +00:00
Jeff Downs
d3d8c02b78 Cosmetic renaming variable so that it makes more sense for forthcoming PAFF mmco patches.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 15:50:55 +00:00
Jeff Downs
12a09bfa39 Augment mmcodecoding process to work properly with fields. Part of PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 15:49:13 +00:00
Jeff Downs
8a11a96987 Edge emulation for fields. Part of PAFF implementation
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 15:47:02 +00:00
Jeff Downs
fa178ed2a4 Set Picture.poc for fields and field pairs. Part of PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 15:44:58 +00:00
Jeff Downs
f3e53d9fcd Modifies macroblock addressing and current macroblock y-position for field decoding.
Adds convenience definition for pictures that are field or mbaff based. Part of PAFF implementation.

patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-06 05:59:14 +00:00
Jeff Downs
949da388de Support function and changes to reference picture reordering for PAFF.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-05 13:54:11 +00:00
Jeff Downs
086acdd54b Reindent fill_default_ref_list after changes for PAFF
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-05 13:47:46 +00:00
Jeff Downs
11cc1d8c12 Support functions and changes to default reference list creation for PAFF.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-05 13:41:27 +00:00
Diego Biurrun
98753e9c9c license header consistency cosmetics.
Originally committed as revision 10668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 22:41:21 +00:00
Marc Hoffman
b9dc32799b blackfin optimized vp3 transform and infastructure for idct
Originally committed as revision 10667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 20:47:12 +00:00
Vladimir Voroshilov
94d9633a32 Replace "signed short" typecast with "int16_t" as suggested by
Mans Rullgard. Value at the right side is 16 bit length signed.
We can not know for sure that short is in fact 16 bits, even if
this virtually always is the case.

Originally committed as revision 10666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 15:13:42 +00:00
Jeff Downs
24231e4cf6 Reorganize long reference management to minimize code duplication in upcoming PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:53:12 +00:00
Jeff Downs
3a22d7fa1f Fix Picture.key_frame setting to be compatible with frame and field contexts. Part of PAFF implementation.
Contributed in part by Neil Brown.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:50:44 +00:00
Jeff Downs
f57e2af68b Fix h->curr_pic_num for field pictures. Necessary for proper PAFF support.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:43:58 +00:00
Jeff Downs
c58b747153 Rename variable to make sense in both field and frame contexts (support of PAFF implementation).
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:41:49 +00:00
Jeff Downs
47e112f872 Further modularize short reference list management for upcoming PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:38:58 +00:00
Jeff Downs
5a7b254c75 Re-indent unreference_pic.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:37:04 +00:00
Jeff Downs
8fd57a667b Modify unreference_pic implementation with PAFF in mind.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:35:46 +00:00
Jeff Downs
bbb3edb827 Partial PAFF implementation at macroblock level.
PAFF support disabled until implementation complete.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-04 06:33:26 +00:00
Vladimir Voroshilov
330194b9ce Fix audio clicks in ADPCM IMA AMV by casting predictor as "signed short"
Initialize step_index as int16_t (as multimedia wiki says).

Originally committed as revision 10657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 19:32:57 +00:00
Aurelien Jacobs
ba869f6b25 merge some #ifdef CONFIG_ENCODERS sections
Originally committed as revision 10656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:50:27 +00:00
Aurelien Jacobs
c70448148a remove alternative declaration of h263_encode_init()
It's never called in any code compiled without CONFIG_ENCODERS.

Originally committed as revision 10655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:47:41 +00:00
Aurelien Jacobs
30c23dc0b8 fix declaration name from MPV_common_init_ppc to MPV_common_init_altivec
Originally committed as revision 10654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:37:22 +00:00
Aurelien Jacobs
06a4304080 remove useless #ifdef
Originally committed as revision 10653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:35:28 +00:00
Diego Biurrun
f62a9a46e1 Rename MPV_common_init_ppc to MPV_common_init_altivec, the function is
AltiVec-specific now.

Originally committed as revision 10652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 14:01:42 +00:00
Diego Biurrun
b4fb08035e Fix compilation with AltiVec disabled, MPV_common_init_ppc is part of a file
that is only compiled when AltiVec is enabled.

Originally committed as revision 10651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 13:49:51 +00:00
Andreas Öman
9dceaa923e remove unused code, spotted by Jeff Downs, heydowns a borg d com
Originally committed as revision 10650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 20:04:39 +00:00
Reimar Döffinger
17c9628b57 Hopefully fix sparc compilation again, add incorrectly removed variable declaration
Originally committed as revision 10649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 19:51:18 +00:00
Reimar Döffinger
d9a5dab2da Remove uses of SIGILL for CPU extension detection, that method is not acceptable
in a library.
Should not change anything for PPC, the autodetection is currently pointless due
to other code being compiled with -maltivec as well (and detection for OSX and
AmigaOS remains in place).
SPARC binaries built with VIS support can now only run on systems with VIS.

Originally committed as revision 10648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 18:18:35 +00:00
Jeff Downs
0d0447eae0 Rename MMCO stuff to prepare for h264/PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 14:35:20 +00:00
Jeff Downs
bcc3476c98 Cosmetic preparations for h264/PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 14:25:47 +00:00
Diego Biurrun
b1ef3dfd2b 100l: Revert accidental commit, restore previous version.
Originally committed as revision 10644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 13:14:37 +00:00
Diego Biurrun
1f3a990b3a cosmetics: Fix indentation after last commit.
Originally committed as revision 10643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 12:35:23 +00:00
Diego Biurrun
eee947487b Replace CONFIG_VORBIS_DECODER #ifdef by if (ENABLE_VORBIS_DECODER).
Blessed by Luca Barbato on IRC.

Originally committed as revision 10642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 12:34:43 +00:00
Diego Biurrun
6c05bab46d Merge mpegvideo AltiVec code into mpegvideo_altivec.c where it belongs.
Originally committed as revision 10641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 12:16:33 +00:00
Luca Barbato
89523beea4 Sanitize altivec code so it can be built with runtime check properly
Originally committed as revision 10640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 11:39:32 +00:00
Diego Biurrun
a1d0b6a277 cosmetics: Fix AltiVec spelling.
Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 10:34:57 +00:00
Diego Biurrun
6006a68989 cosmetics: Fix indentation after last commit.
Originally committed as revision 10638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 10:26:42 +00:00
Diego Biurrun
465c9fdeeb Remove pointless HAVE_ALTIVEC #ifdefs from a file that only contains AltiVec
optimizations and no general PPC optimizations. Instead make the file be
compiled conditional to HAVE_ALTIVEC.

Originally committed as revision 10637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-02 10:22:22 +00:00
Diego Biurrun
7fd7259a3f Remove const vector macro indirection that is useless and obfuscating
now that the Metrowerks workarounds are gone.

Originally committed as revision 10633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 14:23:36 +00:00
Diego Biurrun
cd195f14c6 Remove Metrowerks compiler workaround.
Originally committed as revision 10632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 14:16:07 +00:00
Diego Biurrun
dead9db83a Remove Metrowerks compiler workaround.
Originally committed as revision 10631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 14:10:49 +00:00
Loren Merritt
286127c5dd div -> mul
Originally committed as revision 10630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-01 05:56:30 +00:00
Loren Merritt
b8de342919 simplify lpc
Originally committed as revision 10628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-30 03:36:13 +00:00
Loren Merritt
d1a5c4216c 20% faster lpc, 6% overall flac decoding
Originally committed as revision 10627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-30 03:01:56 +00:00
Loren Merritt
08965b22e2 replace FIR with finite differences.
3x faster decode_subframe_fixed().
overall flac decoding: 10% faster if file was encoded with fixed predictors.

Originally committed as revision 10626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-30 02:12:03 +00:00
Loren Merritt
bfdd5bc1f1 unroll finite differences to avoid swapping registers.
1.5x faster encode_residual_fixed().
overall flac encoding: 3% faster at compression_levels 0-2.

Originally committed as revision 10625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 23:44:34 +00:00
Loren Merritt
a309dce75f encode_residual_fixed(): replace FIR with finite differences.
4x faster order 2, 3.5x order 3, 3x order 4.
overall flac encoding: 35% faster at compression_levels 0-2, no effect at higher levels.

Originally committed as revision 10624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 23:21:57 +00:00
Loren Merritt
6810b93a81 sse2 version of compute_autocorr().
4x faster than c (somehow, even though doubles only allow 2x simd).
overal flac encoding: 15-50% faster on core2, 4-11% on k8, 3-13% on p4.

Originally committed as revision 10621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 22:31:18 +00:00
Vladimir Voroshilov
8787d8377f AMV video decoder.
Patch by Vladimir Voroshilov (voroshil - gmail - com)

Originally committed as revision 10617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 15:20:22 +00:00
Ronald S. Bultje
55ffe9df2a Use emms_c() instead of ifdef
patch by: Ronald S. Bultje rsbultje a gmail d com

Originally committed as revision 10616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 15:09:34 +00:00
Vladimir Voroshilov
a449faeacb Add variables to prepare to the AMV decoder patch.
Patch by Vladimir Voroshilov (voroshil - gmail - com)

Originally committed as revision 10614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 12:52:56 +00:00
Loren Merritt
19b9c7cc66 was computing one more autocorrelation coefficient that was actually used
Originally committed as revision 10613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 07:43:52 +00:00
Loren Merritt
14bd2a9f25 replace brute force find_optimal_param() with a closed-form solution.
overall flac encoding: 4-15% faster.
output is not identical to the previous algorithm due to occasional rounding
errors, but the differece is less than .0005% bitrate.

Originally committed as revision 10612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 05:41:27 +00:00
Loren Merritt
f6215b1b06 gcc isn't smart enough to factor out duplicate stores
Originally committed as revision 10611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-29 01:54:25 +00:00
Ivan Kalvachev
551109d48a On bitstream error is_intra_more_likely() could use dsp.sad[0]() that will segfault when xvmc is in use.
Originally committed as revision 10610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-28 20:38:32 +00:00
Loren Merritt
28e968c4a4 2.5x faster compute_autocorr()
overall flac encoding: 15-50% faster on core2, 8-30% on k8, 2-20% on p4 (depending on compression_level)

Originally committed as revision 10606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-28 06:06:18 +00:00
Panagiotis Issaris
9846cbdb13 cosmetics: typos
Originally committed as revision 10602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 11:29:21 +00:00
Panagiotis Issaris
93f0c0a4ca Remove redundant test.
Originally committed as revision 10601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 10:45:16 +00:00
Vitor Sessak
3a7f5d072a AMV audio decoder
Originally committed as revision 10598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 06:21:57 +00:00
Loren Merritt
815d96a65d oops, revert unrelated change
Originally committed as revision 10597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 03:16:25 +00:00
Loren Merritt
dc44d4ad64 unroll encode_residual_lpc(). speedup varies between 1.2x and 1.8x depending on lpc order.
Originally committed as revision 10596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 02:42:00 +00:00
Jeff Downs
2ddcf84bb7 h264/PAFF preparation: use DELAYED_PIC_REF to mark non-refs frames as held for delayed output
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 13:28:13 +00:00
Loren Merritt
0d2caa37c5 oops, potential overflow on really large blocks
Originally committed as revision 10587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 23:34:48 +00:00
Loren Merritt
bd49d4fd49 optimize decode_subframe_lpc()
50%/67%/43% faster on core2/k8/p4, making flac decoding overall 24%/25%/11% faster

Originally committed as revision 10586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 23:31:13 +00:00
Loren Merritt
f74471e043 optimize encode_residual_lpc()
37%/45%/90% faster on core2/k8/p4, making flac encoding overall 15%/17%/40% faster at compression_level>=8 (less at low levels).

Originally committed as revision 10585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 23:30:29 +00:00