Commit Graph

10274 Commits

Author SHA1 Message Date
Reimar Döffinger
4a49ab77c6 Remove unnecessary calls to avcodec_check_dimensions, the check is already
done at a higher level.

Originally committed as revision 20229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 20:13:28 +00:00
Reimar Döffinger
0fbb0185b9 Call release_buffer on close for v210dec and v210x
Originally committed as revision 20228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 18:31:22 +00:00
Reimar Döffinger
4b5fee0205 Add missing release_buffer on close
Originally committed as revision 20227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 18:28:37 +00:00
Reimar Döffinger
d8b35b8586 Add decoder for "forward uncompressed".
Fixes issue 1467.

Originally committed as revision 20226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 18:15:57 +00:00
Reimar Döffinger
7537726f47 Implement execute2 for w32thread
Originally committed as revision 20225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 13:40:03 +00:00
Reimar Döffinger
1e6ff470b5 Fix w32thread implementation to handle job count > thread_count.
Originally committed as revision 20224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 13:03:12 +00:00
Reimar Döffinger
5bd1fc6fbd fft_dispatch array should be const
Originally committed as revision 20223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 10:30:10 +00:00
Reimar Döffinger
c522b4e94e Simplify: use FFSWAP
Originally committed as revision 20222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 08:23:00 +00:00
Sascha Sommer
933e866735 extend description of avcodec_decode_audio3:
- clarify when 0 is returned
- explain that decode_audio3 has to be called multiple times when there
  are multiple frames in a single packet

Originally committed as revision 20215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-12 19:50:31 +00:00
Reimar Döffinger
b5ca9cd36f Reindent after removing the outer for loops in the execute2 patch
Originally committed as revision 20212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-12 14:46:53 +00:00
Reimar Döffinger
2a1294b978 Move dnxhdenc to execute2 multithreading API.
This allows for some simplifications like removing some outer loops
and gives much better performance for thread_count > number of idle CPUs.

Originally committed as revision 20211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-12 14:43:57 +00:00
Reimar Döffinger
8d23a86f33 Add an execute2 function that is more flexible and allows to use parallel
processing with jobs > threads without wasting too much memory.
It also avoids needing a separate int array when the only additional data
the jobs needs is a single int running from 0 to count-1.

Originally committed as revision 20210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-12 11:35:35 +00:00
Måns Rullgård
0115b3eadb ARM: align stack in NEON h264 mc functions
A certain rotten fruit operating system doesn't provide the 8-byte stack
alignment required by the standard ARM ABI, so align it manually.

Originally committed as revision 20208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 16:16:08 +00:00
Måns Rullgård
3e6015cc18 ARM: simplify movrel definition as CONFIG_PIC is now set for shared libs
Originally committed as revision 20204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 10:15:48 +00:00
Reimar Döffinger
9881d05d80 100l in avpicture_layout: width of chroma planes depends on format depth, too.
Fixes issue 1465

Originally committed as revision 20202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 07:05:26 +00:00
Kostya Shishkov
53b04467ae Warn when WVC1 cannot be decoded
Originally committed as revision 20201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 05:36:59 +00:00
Reimar Döffinger
3bb984987c Hack: set the coded frame PTS to the incoming PTS.
This is not correct, but libtheora does not seem to provide a way
to get the correct value, and this is necessary to make encoding
produce sensible time stamps when encoded content is variable
FPS or the time base is simply different from FPS.
Somewhat fixes issue 1197.

Originally committed as revision 20199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-10 14:43:31 +00:00
Reimar Döffinger
268fcbe2c8 Fix 100l incorrect bitmask check.
Originally committed as revision 20197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-10 08:49:57 +00:00
Kostya Shishkov
9e553f7acc Print error message when true interlaced VC-1 frames are encountered
to inform user why decoder produces no output.

Originally committed as revision 20196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-10 07:35:31 +00:00
Robert Swain
0359289d1d AAC: Fix regression introduced in r20067 where ADTS files would always be
signalled as having a channel configuration of 1 in output_configure().
Previously this didn't matter but it does now.

Originally committed as revision 20193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-09 15:38:44 +00:00
David Conrad
144fec83b3 dca and aac decoders use float_to_int16_interleave, so check for
the C version of that rather than float_to_int16.
Fixes output on ARM/VFP

Originally committed as revision 20192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-08 14:40:14 +00:00
Måns Rullgård
12bf71b691 ARM: whitespace cosmetics
Originally committed as revision 20191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-07 21:35:24 +00:00
Måns Rullgård
bef966e341 ARM: NEON avg_pixels8 and avg_h264_qpel8_mc00
Originally committed as revision 20190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-07 21:35:19 +00:00
Måns Rullgård
2ad4c241c8 ARM: make function names all-lowercase
Originally committed as revision 20186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 21:55:41 +00:00
Måns Rullgård
cf57bea6fb ARM: enable ARMv4 add_pixels_clamped
Somehow this function was never used.

Originally committed as revision 20185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 21:55:37 +00:00
Måns Rullgård
153f49570f ARM: ARMv6 optimised add_pixels_clamped()
Originally committed as revision 20184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 21:55:35 +00:00
Måns Rullgård
c8315e9186 ARM: whitespace cosmetics
Originally committed as revision 20183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 21:55:30 +00:00
Nathan Caldwell
73c6f59830 Move HuffYUV left prediction to dsputil.
Patch by Nathan Caldwell, saintdev gmail

Originally committed as revision 20179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 16:06:15 +00:00
Andrew Dennison
95ce961d88 Since some junk may be or may be not present before actual VC-1 extradata,
search for real extradata start instead of always skipping one byte.

Patch by Andrew Dennison gmailify(${name}d, lists)
Thread: [PATCH] Fix VC1 "Incomplete extradata" for mkv files generated by eac3to

Originally committed as revision 20178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 15:30:08 +00:00
Reimar Döffinger
01418506a2 Remove casts that are useless since the argument is void *.
Originally committed as revision 20177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 06:33:18 +00:00
Jai Menon
1c38da85e6 Allow building api-example from outside of libavcodec and also
make it more consistent with libavformat/output-example.

Originally committed as revision 20176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 06:18:57 +00:00
Justin Ruggles
9a9964c50e cosmetics: reindent and line wrap after last commit
Originally committed as revision 20174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-05 21:33:50 +00:00
Justin Ruggles
d6eee9f3e9 alacenc: add a fixed LPC coefficient mode as compression level 1. old
compression level 1 is now compression level 2 and is still the default.

Originally committed as revision 20173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-05 21:27:36 +00:00
Michael Niedermayer
1fe4abf397 Revert:
r18826 | stefano | 2009-05-14 20:50:58 +0200 (Thu, 14 May 2009) | 2 lines
	Make av_set_string3() print a message in case of unknown option.

This change led to multiple identical error messages to be printed if an option
was not found.

Originally committed as revision 20172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-05 20:18:16 +00:00
Måns Rullgård
55c0e1e6d2 ARM: add ff_ prefix to lots of functions
Originally committed as revision 20167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 13:13:12 +00:00
Måns Rullgård
9abcc9a6f4 ARM: cosmetics
Originally committed as revision 20166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 13:13:08 +00:00
Måns Rullgård
f67e0b824f ARM: replace some #if with if()
Originally committed as revision 20165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 13:13:06 +00:00
Måns Rullgård
701c618f7d ARM: clean up file/function naming conventions
Originally committed as revision 20164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 13:13:02 +00:00
Måns Rullgård
84d430f85a ARM: clean up dsputil initialisation
- Move v5 and v6 initialisation to separate files.
- Move NEON IDCT selection to ff_dsputil_init_neon()

Originally committed as revision 20163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 13:12:55 +00:00
Peter Ross
384f26f428 Sun Raster RGB support
Originally committed as revision 20162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 08:42:23 +00:00
Måns Rullgård
1febba1e62 ARM: shorten some long macro names
Originally committed as revision 20159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 18:22:56 +00:00
Måns Rullgård
2e823300a6 ARM: update ldm/stm instructions to modern syntax
Originally committed as revision 20158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 18:22:52 +00:00
Måns Rullgård
abff992d36 ARM: whitespace cosmetics
Originally committed as revision 20157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 18:22:49 +00:00
Robert Swain
f640478b56 Reindent after channel layout commit from yesterday
Originally committed as revision 20156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 14:59:40 +00:00
Sascha Sommer
aac4b0a47e increase maximum compressed frame size
fixes playback of piece.wmv

Originally committed as revision 20155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 10:01:23 +00:00
Sascha Sommer
037396d099 return AVERROR_INVALIDDATA when the bitstream could not be decoded
Originally committed as revision 20154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 09:44:05 +00:00
Peter Ross
dae0d1e21c Support decoding of uncompressed PCX scanlines
Originally committed as revision 20153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 05:18:32 +00:00
Måns Rullgård
c61e40b728 ARM: use plain labels for pc-relative addressing
Originally committed as revision 20152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 23:11:03 +00:00
Måns Rullgård
b44c6d8edb ARM: remove unnecessary .fpu neon directives
Originally committed as revision 20151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 19:35:12 +00:00
Måns Rullgård
fd818a21c7 ARM: use undocumented .syntax directive to enable UAL syntax
Originally committed as revision 20150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 19:35:07 +00:00