Commit Graph

11749 Commits

Author SHA1 Message Date
Kostya Shishkov
626464fb53 Make fill_rectangle() available for other decoders
Originally committed as revision 11219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 06:06:16 +00:00
Jeff Downs
9a1feb8608 Fix brain-dead parts of r11216, specifically:
Actually unreference removed pics
And check for too many reference frames as originally intended, not equal
to max reference frames.

Originally committed as revision 11218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 22:49:30 +00:00
Kostya Shishkov
04e911ed86 Benjamin expressed the wish to be DCA maintainer too
Originally committed as revision 11217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 09:22:27 +00:00
Jeff Downs
aeb59e839f Ensure that our total reference frame count does not exceed the SPS
max frame count, which is limited to less than the size of the
reference buffers, thereby preventing overflow.
Part of fix for issue 281.

Originally committed as revision 11216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 06:25:23 +00:00
Jeff Downs
41f7e2d11d Actually return with an error condition if we're being asked to deal with too
many reference frames. Also check max num ref frames against our internal
ref buffer sizes.
Part of fix for roundup issue 281

Originally committed as revision 11215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 05:48:27 +00:00
Jeff Downs
33e0073129 Make h264 decoder conform to requirements of mpegvideo's MPV_frame_start.
Namely, that it should not be called if you are starting to decode a B
frame without any reference pictures.
Prevents an endless allocation cycle in MPV_frame_start that will end in
picture buffer overflow and abort.
Fixes roundup issue 216.

Originally committed as revision 11214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 05:37:23 +00:00
Reimar Döffinger
603972fc53 Add a missing break, before av_set_number would always return NULL for
FF_OPT_TYPE_RATIONAL options instead of the corresponding AVOption

Originally committed as revision 11213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-13 19:00:53 +00:00
Jeff Downs
36e097bce4 Fix non_zero_count_cache for deblocking in field pictures.
Based on original patch by Martin Zlomek martin.zlomek a email D cz
ffmpeg-devel thread: H264: Fix non_zero_count_cache for deblocking in fields
Fri, 30 Nov 2007 9:58:23

Originally committed as revision 11212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-13 00:50:47 +00:00
Aurelien Jacobs
1b77e87756 add required include to make this file self-contained
Originally committed as revision 11211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 22:45:03 +00:00
Måns Rullgård
569cb218f8 Revert r11202: do not create copy relocations when linking to shared libs
This caused more problems than it solved and is no longer required.

Originally committed as revision 11210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:51:52 +00:00
Måns Rullgård
a309073bf4 use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:48:50 +00:00
Luca Barbato
0bc308de56 kill a warning, av_sha1_update accepts uint8_t * not uint64_t *
Originally committed as revision 11208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:03:11 +00:00
Luca Barbato
537c8e7a48 Provide sha1 to outside applications
Patch from Diego Pettenò flameeyesATgmailDOTcom

Originally committed as revision 11207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 20:58:41 +00:00
Michael Niedermayer
84be6e7239 av_*_next() API for libavformat
Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 19:01:58 +00:00
Michael Niedermayer
562b216307 avoid using first_avcodec
Originally committed as revision 11205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 18:47:58 +00:00
Michael Niedermayer
55b9e69a31 av_*_next() API for libavcodec
Originally committed as revision 11204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 18:40:11 +00:00
Panagiotis Issaris
8540e8c3ec Show which bitstreamfilters were compiled in, similar to the protocols etc
enumerations.

Originally committed as revision 11203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 11:52:27 +00:00
Måns Rullgård
e11910120a do not create copy relocations when linking to shared libs
Originally committed as revision 11202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-11 20:02:09 +00:00
Diego Biurrun
571bf37f6d typo/clarification
Originally committed as revision 11201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-11 18:47:04 +00:00
Tom Harper
72d6b1bf1b Fix compilation of os_support.c for MinGW with --disable-network
Patch by Tom Harper <d.thomas.harper <at> gmail.com>

Originally committed as revision 11200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 14:39:01 +00:00
Kostya Shishkov
3a18218e7b Enable 4x4 IDCT for FASTTX=0 mode in WMV3
Originally committed as revision 11199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 05:55:45 +00:00
Kostya Shishkov
91823a6efd Add 4x4 IDCT
Originally committed as revision 11198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 05:54:59 +00:00
Justin Ruggles
e2270b4e1e cosmetics: rename ac3 decoder variables
Originally committed as revision 11197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 03:28:10 +00:00
Justin Ruggles
e59cc20593 cosmetics: rename common ac3 variables
Originally committed as revision 11196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 03:27:14 +00:00
Justin Ruggles
8001d92345 cosmetics: vertical align after last commit
Originally committed as revision 11195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 03:25:42 +00:00
Justin Ruggles
5ce2134258 cosmetics: rename ac3 bit allocation variables
Originally committed as revision 11194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 03:23:04 +00:00
Justin Ruggles
66ecf18e38 cosmetics: rename ac3 tables
Originally committed as revision 11193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09 03:21:33 +00:00
Aurelien Jacobs
59e6f60a99 add ff_ prefix to all simple_idct symbols
Originally committed as revision 11192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 21:21:11 +00:00
Kostya Shishkov
98f48ce157 Reindent after last commit
Originally committed as revision 11191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 11:46:09 +00:00
Kostya Shishkov
51ece6842f Update Altivec variant of vc1_inv_trans_8x4
Originally committed as revision 11190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 11:45:42 +00:00
Kostya Shishkov
8df7cfe97c Use IDCT functions when FASTTX=0
Originally committed as revision 11189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 10:50:50 +00:00
Kostya Shishkov
d2e45f33a4 Switch VC-1 decoder to output decoded residual immediately.
Originally committed as revision 11188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 10:41:18 +00:00
Kostya Shishkov
30ea307544 Rename some tables
Originally committed as revision 11187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 09:15:44 +00:00
Diego Biurrun
c95a3a9fbf Add missing declarations for AltiVec functions, fixes the warnings:
swscale_template.c:1171: warning: implicit declaration of function ‘altivec_yuv2packedX’
swscale.c:1982: warning: implicit declaration of function ‘yuv2rgb_altivec_init_tables’
yuv2rgb.c:652: warning: implicit declaration of function ‘yuv2rgb_init_altivec’

Originally committed as revision 25319 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-12-08 04:29:11 +00:00
Diego Biurrun
4706949c6d Fix 'make checkheaders' on AltiVec-enabled systems.
Originally committed as revision 25316 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-12-07 15:30:12 +00:00
Dave Yeo
25b92a7996 Add small OS/2 section with a link to further information.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 08:03:05 +00:00
Kostya Shishkov
4978618b6b Use existing function for VLC reading
Originally committed as revision 11185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:56:07 +00:00
Kostya Shishkov
b192e56461 Check decoded dimensions for validity
Originally committed as revision 11184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:52:27 +00:00
Kostya Shishkov
ea61e33a7f Intra types will be stored in int8_t array
Originally committed as revision 11183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:50:23 +00:00
Kostya Shishkov
52b917536d Add decoder flags
Originally committed as revision 11182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:48:34 +00:00
Kostya Shishkov
da71cdadc2 Replace table with its H.263 counterpart
Originally committed as revision 11181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:47:24 +00:00
Kostya Shishkov
89f41c3de7 Register myself for future RV30/40 decoder
Originally committed as revision 11180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-07 05:45:12 +00:00
Diego Biurrun
c552605cae Add --list-indevs and --list-outdevs command line options.
Originally committed as revision 11179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:53:46 +00:00
Diego Biurrun
10d46dd0c1 Add --disable-devices to --help output.
Originally committed as revision 11178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:52:50 +00:00
Diego Biurrun
7dd2862b48 Add input and output devices to configure output.
Originally committed as revision 11177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:51:59 +00:00
Diego Biurrun
8fb1cb5825 Remove unnecessary quotes.
Originally committed as revision 11176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:34:31 +00:00
Kostya Shishkov
dbf7150441 Update tables for RV40 decoder
Originally committed as revision 11175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 17:12:02 +00:00
Michael Niedermayer
1918057c8a prevent warnings about functions being possibly unused
Originally committed as revision 11174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 08:38:49 +00:00
Michael Niedermayer
9a3bb2b89c thank you for your efforts to keep my code clean, but i would like to
keep the functions below as they are usefull for debugging, testing,
experiments and development

revert
r11048 | diego | 2007-11-17 00:15:39 +0100 (Sat, 17 Nov 2007) | 4 lines

Remove unused functions, fixes the warnings:
snow.c:1163: warning: 'spatial_compose53i' defined but not used
snow.c:1313: warning: 'spatial_compose97i' defined but not used

Originally committed as revision 11173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-06 02:02:41 +00:00
Dave Yeo
d22e844250 OS/2 support restored in cleaner form.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-05 23:15:24 +00:00