Justin Ruggles
b40211ff67
downmix before the IMDCT if no block switching is used
...
Originally committed as revision 11228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 04:25:50 +00:00
Reimar Döffinger
15c57ced2f
Add 'l' suffix where it is necessary because type can not always be
...
inferred from arguments. Fixes compilation with Intel compiler
Originally committed as revision 11227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 23:08:15 +00:00
Baptiste Coudurier
2aaf95a210
choose next sample by sample position
...
when streams' next dts difference is below AV_TIME_BASE,
to reduce seeking, needed for slow underlying protocols (http),
a slightly modified patch from elupus, elupus at ecce dot se
Originally committed as revision 11226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 19:08:42 +00:00
Michael Niedermayer
88808c60af
document how to free the result of av_alloc_format_context()
...
Originally committed as revision 11225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 16:54:58 +00:00
Andreas Öman
30dc554153
Add missing '\n' to log format text
...
Originally committed as revision 11224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 10:03:49 +00:00
Andreas Öman
94eadc8ba0
SDL does not seem to support more than two channels.
...
So, if this is the case, ask for downmixing by the codec.
Originally committed as revision 11223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:05:14 +00:00
Andreas Öman
2886f3113e
Notify the input coder about the number of requested channels.
...
If the decoder does not fulfill our request, try using lavf's audio_resample().
If that also fails, bail out.
Originally committed as revision 11222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:04:17 +00:00
Andreas Öman
79328e9cc7
Make DCA decoder honor avctx->request_channels in a more advisory way.
...
Originally committed as revision 11221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:01:33 +00:00
Andreas Öman
6708eefe55
Make AC3 decoder honor avctx->request_channels
...
Originally committed as revision 11220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:00:19 +00:00
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