ffmpeg.git
12 years agoFix memleak
Ramiro Polla [Fri, 12 Oct 2007 23:25:48 +0000 (23:25 +0000)]
Fix memleak
Closes issue 102

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

12 years agoffserver needs ffm_muxer specifically, and rtsp_demuxer for rtsp_parse_line()
Ramiro Polla [Fri, 12 Oct 2007 16:42:59 +0000 (16:42 +0000)]
ffserver needs ffm_muxer specifically, and rtsp_demuxer for rtsp_parse_line()

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

12 years agoUse single quotes to get rid of a bunch of backslash escapes.
Diego Biurrun [Fri, 12 Oct 2007 13:12:35 +0000 (13:12 +0000)]
Use single quotes to get rid of a bunch of backslash escapes.

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

12 years agoConsistently use $(FOO) instead of ${FOO} in Makefile variables.
Diego Biurrun [Fri, 12 Oct 2007 12:30:53 +0000 (12:30 +0000)]
Consistently use $(FOO) instead of ${FOO} in Makefile variables.

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

12 years ago10l: refill2() is not unused, it is used conditionally.
Diego Biurrun [Fri, 12 Oct 2007 09:38:34 +0000 (09:38 +0000)]
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

12 years agoInterlaced pictures (not just MBAFF) + spatial direct mode is not
Jeff Downs [Fri, 12 Oct 2007 09:10:07 +0000 (09:10 +0000)]
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

12 years agoDisable unused code; fixes several gcc warnings:
Diego Biurrun [Fri, 12 Oct 2007 08:43:23 +0000 (08:43 +0000)]
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

12 years agoEnable avpicture_deinterlace() for PIX_FMT_GRAY8.
Andrea Gualano [Thu, 11 Oct 2007 22:31:08 +0000 (22:31 +0000)]
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

12 years agoFix intended order of operations for 4 assert() checks.
Shane [Thu, 11 Oct 2007 22:18:38 +0000 (22:18 +0000)]
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

12 years agoSpecify in documentation that avcodec_find_(en|de)coder* only searches for
Ville Skyttä [Thu, 11 Oct 2007 21:09:40 +0000 (21:09 +0000)]
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

12 years agoAdd functionality to set the direction of a ByteIOContext buffer.
Björn Axelsson [Thu, 11 Oct 2007 14:57:47 +0000 (14:57 +0000)]
Add functionality to set the direction of a ByteIOContext buffer.
Patch by Björn Axelsson bjorn axelsson intinor se
Original thread: [FFmpeg-devel] [PATCH] MMS protocol support patch 1
Date: 09/19/2007 05:51 PM

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

12 years agowarning fixes:
Diego Biurrun [Thu, 11 Oct 2007 09:35:06 +0000 (09:35 +0000)]
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

12 years agocheck values more thoroughly in vorbis_header()
Måns Rullgård [Wed, 10 Oct 2007 22:59:36 +0000 (22:59 +0000)]
check values more thoroughly in vorbis_header()

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

12 years agouse bytestream_get_* in vorbis_header()
Måns Rullgård [Wed, 10 Oct 2007 22:59:34 +0000 (22:59 +0000)]
use bytestream_get_* in vorbis_header()

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

12 years agofix buffer overread with invalid Vorbis header
Måns Rullgård [Wed, 10 Oct 2007 22:59:31 +0000 (22:59 +0000)]
fix buffer overread with invalid Vorbis header

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

12 years agoremove duplicate Vorbis comment tag handling
Måns Rullgård [Wed, 10 Oct 2007 22:58:16 +0000 (22:58 +0000)]
remove duplicate Vorbis comment tag handling

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

12 years agoSet pict->interlaced_frame if returned frame is MBAFF or PAFF.
Carl Eugen Hoyos [Wed, 10 Oct 2007 20:31:42 +0000 (20:31 +0000)]
Set pict->interlaced_frame if returned frame is MBAFF or PAFF.

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

12 years agoRemove ogg seek function, instead use generic seek via read_timestamp function
Reimar Döffinger [Wed, 10 Oct 2007 10:33:20 +0000 (10:33 +0000)]
Remove ogg seek function, instead use generic seek via read_timestamp function

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

12 years agoAdd a read_timestamp function to ogg demuxer
Reimar Döffinger [Wed, 10 Oct 2007 10:33:07 +0000 (10:33 +0000)]
Add a read_timestamp function to ogg demuxer

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

12 years agofix incorrect check for abs_diff_pic_num overflow
Jeff Downs [Tue, 9 Oct 2007 17:45:34 +0000 (17:45 +0000)]
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

12 years agoAllow to override zlib compression level in PNG encoder via avctx->compression_level
Reimar Döffinger [Tue, 9 Oct 2007 15:33:19 +0000 (15:33 +0000)]
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

12 years agoreindent
Andreas Öman [Tue, 9 Oct 2007 15:09:51 +0000 (15:09 +0000)]
reindent

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

12 years agobetter lambda search method
Baptiste Coudurier [Tue, 9 Oct 2007 14:15:03 +0000 (14:15 +0000)]
better lambda search method

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

12 years agoEnable PAFF decoding
Carl Eugen Hoyos [Tue, 9 Oct 2007 12:28:17 +0000 (12:28 +0000)]
Enable PAFF decoding

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

12 years agooops... mpegvideo_enc also depends on motion_est and ratecontrol
Aurelien Jacobs [Tue, 9 Oct 2007 05:39:49 +0000 (05:39 +0000)]
oops... mpegvideo_enc also depends on motion_est and ratecontrol

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

12 years agodnxhdenc depends on mpegvideo_enc (usage of ff_convert_matrix)
Aurelien Jacobs [Tue, 9 Oct 2007 04:49:12 +0000 (04:49 +0000)]
dnxhdenc depends on mpegvideo_enc (usage of ff_convert_matrix)

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

12 years agoindent
Michael Niedermayer [Tue, 9 Oct 2007 01:12:27 +0000 (01:12 +0000)]
indent

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

12 years agoavoid generating invalid files
Michael Niedermayer [Tue, 9 Oct 2007 01:01:07 +0000 (01:01 +0000)]
avoid generating invalid files
fixes issue213

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

12 years agoManage Picture buffers for fields as well as frames. Pair complementary fields into...
Jeff Downs [Mon, 8 Oct 2007 17:44:38 +0000 (17:44 +0000)]
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

12 years agoFix deblocking for PAFF content
Martin Zlomek [Mon, 8 Oct 2007 17:39:34 +0000 (17:39 +0000)]
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

12 years agodnxhd 36mbit support
Baptiste Coudurier [Mon, 8 Oct 2007 15:36:57 +0000 (15:36 +0000)]
dnxhd 36mbit support

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

12 years agoappend extradata atoms when parsing, fix OLOCOONS_O3.mov
Baptiste Coudurier [Mon, 8 Oct 2007 13:06:48 +0000 (13:06 +0000)]
append extradata atoms when parsing, fix OLOCOONS_O3.mov

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

12 years agotypo weigth->weight
Baptiste Coudurier [Mon, 8 Oct 2007 12:28:36 +0000 (12:28 +0000)]
typo weigth->weight

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

12 years agopreliminary 10 bit depth decoding support, still miss generic api to export picture...
Baptiste Coudurier [Mon, 8 Oct 2007 12:23:00 +0000 (12:23 +0000)]
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

12 years agomerge
Baptiste Coudurier [Mon, 8 Oct 2007 12:14:43 +0000 (12:14 +0000)]
merge

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

12 years ago10l, check 'i' validity before using it
Baptiste Coudurier [Mon, 8 Oct 2007 12:11:19 +0000 (12:11 +0000)]
10l, check 'i' validity before using it

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

12 years agofix 10 bit per comp detection
Baptiste Coudurier [Mon, 8 Oct 2007 12:08:42 +0000 (12:08 +0000)]
fix 10 bit per comp detection

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

12 years agoDNxHD (SMPTE VC-3) encoder
Baptiste Coudurier [Mon, 8 Oct 2007 11:27:18 +0000 (11:27 +0000)]
DNxHD (SMPTE VC-3) encoder

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

12 years agoexport convert_matrix and add ff_ prefix
Baptiste Coudurier [Mon, 8 Oct 2007 09:14:46 +0000 (09:14 +0000)]
export convert_matrix and add ff_ prefix

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

12 years agoexport DCT_common_init and add ff_prefix
Baptiste Coudurier [Mon, 8 Oct 2007 09:09:19 +0000 (09:09 +0000)]
export DCT_common_init and add ff_prefix

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

12 years agoRe-indent after PAFF MMCO implementation patch.
Jeff Downs [Sun, 7 Oct 2007 23:46:51 +0000 (23:46 +0000)]
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

12 years agoAugment MMCO execution to work with both fields and frames. Part of PAFF
Jeff Downs [Sun, 7 Oct 2007 23:32:42 +0000 (23:32 +0000)]
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

12 years agouse pr -n -t instead of non-standard cat -n
Måns Rullgård [Sat, 6 Oct 2007 17:09:30 +0000 (17:09 +0000)]
use pr -n -t instead of non-standard cat -n

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

12 years agoCosmetic renaming variable so that it makes more sense for forthcoming PAFF mmco...
Jeff Downs [Sat, 6 Oct 2007 15:50:55 +0000 (15:50 +0000)]
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

12 years agoAugment mmcodecoding process to work properly with fields. Part of PAFF implementation.
Jeff Downs [Sat, 6 Oct 2007 15:49:13 +0000 (15:49 +0000)]
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

12 years agoEdge emulation for fields. Part of PAFF implementation
Jeff Downs [Sat, 6 Oct 2007 15:47:02 +0000 (15:47 +0000)]
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

12 years agoSet Picture.poc for fields and field pairs. Part of PAFF implementation.
Jeff Downs [Sat, 6 Oct 2007 15:44:58 +0000 (15:44 +0000)]
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

12 years agoModifies macroblock addressing and current macroblock y-position for field decoding.
Jeff Downs [Sat, 6 Oct 2007 05:59:14 +0000 (05:59 +0000)]
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

12 years agoSupport function and changes to reference picture reordering for PAFF.
Jeff Downs [Fri, 5 Oct 2007 13:54:11 +0000 (13:54 +0000)]
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

12 years agoReindent fill_default_ref_list after changes for PAFF
Jeff Downs [Fri, 5 Oct 2007 13:47:46 +0000 (13:47 +0000)]
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

12 years agoSupport functions and changes to default reference list creation for PAFF.
Jeff Downs [Fri, 5 Oct 2007 13:41:27 +0000 (13:41 +0000)]
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

12 years agolicense header consistency cosmetics.
Diego Biurrun [Thu, 4 Oct 2007 22:41:21 +0000 (22:41 +0000)]
license header consistency cosmetics.

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

12 years agoblackfin optimized vp3 transform and infastructure for idct
Marc Hoffman [Thu, 4 Oct 2007 20:47:12 +0000 (20:47 +0000)]
blackfin optimized vp3 transform and infastructure for idct

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

12 years agoReplace "signed short" typecast with "int16_t" as suggested by
Vladimir Voroshilov [Thu, 4 Oct 2007 15:13:42 +0000 (15:13 +0000)]
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

12 years agoReorganize long reference management to minimize code duplication in upcoming PAFF...
Jeff Downs [Thu, 4 Oct 2007 06:53:12 +0000 (06:53 +0000)]
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

12 years agoFix Picture.key_frame setting to be compatible with frame and field contexts. Part...
Jeff Downs [Thu, 4 Oct 2007 06:50:44 +0000 (06:50 +0000)]
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

12 years agoFix h->curr_pic_num for field pictures. Necessary for proper PAFF support.
Jeff Downs [Thu, 4 Oct 2007 06:43:58 +0000 (06:43 +0000)]
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

12 years agoRename variable to make sense in both field and frame contexts (support of PAFF imple...
Jeff Downs [Thu, 4 Oct 2007 06:41:49 +0000 (06:41 +0000)]
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

12 years agoFurther modularize short reference list management for upcoming PAFF implementation.
Jeff Downs [Thu, 4 Oct 2007 06:38:58 +0000 (06:38 +0000)]
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

12 years agoRe-indent unreference_pic.
Jeff Downs [Thu, 4 Oct 2007 06:37:04 +0000 (06:37 +0000)]
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

12 years agoModify unreference_pic implementation with PAFF in mind.
Jeff Downs [Thu, 4 Oct 2007 06:35:46 +0000 (06:35 +0000)]
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

12 years agoPartial PAFF implementation at macroblock level.
Jeff Downs [Thu, 4 Oct 2007 06:33:26 +0000 (06:33 +0000)]
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

12 years agoFix audio clicks in ADPCM IMA AMV by casting predictor as "signed short"
Vladimir Voroshilov [Wed, 3 Oct 2007 19:32:57 +0000 (19:32 +0000)]
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

12 years agomerge some #ifdef CONFIG_ENCODERS sections
Aurelien Jacobs [Wed, 3 Oct 2007 17:50:27 +0000 (17:50 +0000)]
merge some #ifdef CONFIG_ENCODERS sections

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

12 years agoremove alternative declaration of h263_encode_init()
Aurelien Jacobs [Wed, 3 Oct 2007 17:47:41 +0000 (17:47 +0000)]
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

12 years agofix declaration name from MPV_common_init_ppc to MPV_common_init_altivec
Aurelien Jacobs [Wed, 3 Oct 2007 17:37:22 +0000 (17:37 +0000)]
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

12 years agoremove useless #ifdef
Aurelien Jacobs [Wed, 3 Oct 2007 17:35:28 +0000 (17:35 +0000)]
remove useless #ifdef

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

12 years agoRename MPV_common_init_ppc to MPV_common_init_altivec, the function is
Diego Biurrun [Wed, 3 Oct 2007 14:01:42 +0000 (14:01 +0000)]
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

12 years agoFix compilation with AltiVec disabled, MPV_common_init_ppc is part of a file
Diego Biurrun [Wed, 3 Oct 2007 13:49:51 +0000 (13:49 +0000)]
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

12 years agoremove unused code, spotted by Jeff Downs, heydowns a borg d com
Andreas Öman [Tue, 2 Oct 2007 20:04:39 +0000 (20:04 +0000)]
remove unused code, spotted by Jeff Downs, heydowns a borg d com

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

12 years agoHopefully fix sparc compilation again, add incorrectly removed variable declaration
Reimar Döffinger [Tue, 2 Oct 2007 19:51:18 +0000 (19:51 +0000)]
Hopefully fix sparc compilation again, add incorrectly removed variable declaration

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

12 years agoRemove uses of SIGILL for CPU extension detection, that method is not acceptable
Reimar Döffinger [Tue, 2 Oct 2007 18:18:35 +0000 (18:18 +0000)]
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

12 years agoAllow to set the maximum number of frames per RTP packet (and add support for
Luca Abeni [Tue, 2 Oct 2007 14:48:08 +0000 (14:48 +0000)]
Allow to set the maximum number of frames per RTP packet (and add support for
this in the AAC packetizer)

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

12 years agoRename MMCO stuff to prepare for h264/PAFF implementation.
Jeff Downs [Tue, 2 Oct 2007 14:35:20 +0000 (14:35 +0000)]
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

12 years agoCosmetic preparations for h264/PAFF implementation.
Jeff Downs [Tue, 2 Oct 2007 14:25:47 +0000 (14:25 +0000)]
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

12 years ago100l: Revert accidental commit, restore previous version.
Diego Biurrun [Tue, 2 Oct 2007 13:14:37 +0000 (13:14 +0000)]
100l: Revert accidental commit, restore previous version.

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

12 years agocosmetics: Fix indentation after last commit.
Diego Biurrun [Tue, 2 Oct 2007 12:35:23 +0000 (12:35 +0000)]
cosmetics: Fix indentation after last commit.

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

12 years agoReplace CONFIG_VORBIS_DECODER #ifdef by if (ENABLE_VORBIS_DECODER).
Diego Biurrun [Tue, 2 Oct 2007 12:34:43 +0000 (12:34 +0000)]
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

12 years agoMerge mpegvideo AltiVec code into mpegvideo_altivec.c where it belongs.
Diego Biurrun [Tue, 2 Oct 2007 12:16:33 +0000 (12:16 +0000)]
Merge mpegvideo AltiVec code into mpegvideo_altivec.c where it belongs.

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

12 years agoSanitize altivec code so it can be built with runtime check properly
Luca Barbato [Tue, 2 Oct 2007 11:39:32 +0000 (11:39 +0000)]
Sanitize altivec code so it can be built with runtime check properly

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

12 years agocosmetics: Fix AltiVec spelling.
Diego Biurrun [Tue, 2 Oct 2007 10:37:59 +0000 (10:37 +0000)]
cosmetics: Fix AltiVec spelling.

Originally committed as revision 24685 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agocosmetics: Fix AltiVec spelling.
Diego Biurrun [Tue, 2 Oct 2007 10:34:57 +0000 (10:34 +0000)]
cosmetics: Fix AltiVec spelling.

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

12 years agocosmetics: Fix indentation after last commit.
Diego Biurrun [Tue, 2 Oct 2007 10:26:42 +0000 (10:26 +0000)]
cosmetics: Fix indentation after last commit.

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

12 years agoRemove pointless HAVE_ALTIVEC #ifdefs from a file that only contains AltiVec
Diego Biurrun [Tue, 2 Oct 2007 10:22:22 +0000 (10:22 +0000)]
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

12 years agoAdd checking for codecid to has_codec_parameters().
Ronald S. Bultje [Mon, 1 Oct 2007 22:11:10 +0000 (22:11 +0000)]
Add checking for codecid to has_codec_parameters().
patch by Ronald S. Bultje, rsbultje gmail com
Date: Sat, 29 Sep 2007 09:25:52 -0400
Subject: [FFmpeg-devel] [PATCH] has_codec_parameters() addition

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

12 years agoFix seek regression test for ac3 in rm after r10634
Roberto Togni [Mon, 1 Oct 2007 19:49:50 +0000 (19:49 +0000)]
Fix seek regression test for ac3 in rm after r10634
Needed because avparser changes the size of the packets

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

12 years agodnet audio needs avparser to work with the lavc ac3 decoder.
Justin Ruggles [Mon, 1 Oct 2007 19:48:02 +0000 (19:48 +0000)]
dnet audio needs avparser to work with the lavc ac3 decoder.
Fixes issue 121
Patch by Justin Ruggles

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

12 years agoRemove const vector macro indirection that is useless and obfuscating
Diego Biurrun [Mon, 1 Oct 2007 14:23:36 +0000 (14:23 +0000)]
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

12 years agoRemove Metrowerks compiler workaround.
Diego Biurrun [Mon, 1 Oct 2007 14:16:07 +0000 (14:16 +0000)]
Remove Metrowerks compiler workaround.

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

12 years agoRemove Metrowerks compiler workaround.
Diego Biurrun [Mon, 1 Oct 2007 14:10:49 +0000 (14:10 +0000)]
Remove Metrowerks compiler workaround.

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

12 years agodiv -> mul
Loren Merritt [Mon, 1 Oct 2007 05:56:30 +0000 (05:56 +0000)]
div -> mul

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

12 years agoRemove redundant banner output from ffserver.
Stefano Sabatini [Sun, 30 Sep 2007 04:09:10 +0000 (04:09 +0000)]
Remove redundant banner output from ffserver.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Date: Sat, 29 Sep 2007 13:45:12 +0200
Subject: [FFmpeg-devel] [PATCH] Remove redundant banner output from ffserver

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

12 years agosimplify lpc
Loren Merritt [Sun, 30 Sep 2007 03:36:13 +0000 (03:36 +0000)]
simplify lpc

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

12 years ago20% faster lpc, 6% overall flac decoding
Loren Merritt [Sun, 30 Sep 2007 03:01:56 +0000 (03:01 +0000)]
20% faster lpc, 6% overall flac decoding

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

12 years agoreplace FIR with finite differences.
Loren Merritt [Sun, 30 Sep 2007 02:12:03 +0000 (02:12 +0000)]
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

12 years agounroll finite differences to avoid swapping registers.
Loren Merritt [Sat, 29 Sep 2007 23:44:34 +0000 (23:44 +0000)]
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

12 years agoencode_residual_fixed(): replace FIR with finite differences.
Loren Merritt [Sat, 29 Sep 2007 23:21:57 +0000 (23:21 +0000)]
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

12 years agoAdd support for AMV variants of AVI files.
Vladimir Voroshilov [Sat, 29 Sep 2007 22:47:34 +0000 (22:47 +0000)]
Add support for AMV variants of AVI files.
patch by Vladimir Voroshilov, voroshil gmail com
Date: Sun, 30 Sep 2007 00:30:34 +0700
Subject: Re: [FFmpeg-devel] [PATCH] Demuxer for AMV files

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

12 years agoMention SPARC optimizations.
Diego Biurrun [Sat, 29 Sep 2007 22:33:24 +0000 (22:33 +0000)]
Mention SPARC optimizations.

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

12 years agosse2 version of compute_autocorr().
Loren Merritt [Sat, 29 Sep 2007 22:31:18 +0000 (22:31 +0000)]
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