Commit Graph

5703 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