Commit Graph

25048 Commits

Author SHA1 Message Date
Reimar Döffinger b834becdae Pass the composition and ancillary ID for DVB subtitles via extradata instead
of sub_id, this allows detecting when that information is not available and
just decode everything.
In addition extradata is required for many codecs and thus in contrast to
sub_id generally already passed on by any programs using libav*.
Also ask for a sample if we encounter a stream with multiple/changing IDs.

Originally committed as revision 24238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-14 17:28:40 +00:00
Thilo Borgmann bd7d08e27e Remove incomplete Doxygen for static decode_frame functions.
These functions are not documented for other decoders and
should be obvious enough even without Doxygen.
patch by Thilo Borgmann, thilo.borgmann googlemail com

Originally committed as revision 24237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-14 13:12:24 +00:00
Josh Allmann a59096e4a7 Add a depacketizer for QDM2
Patch by Josh Allmann, joshua dot allmann at gmail, original code
by Ronald S Bultje.

Originally committed as revision 24236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-14 12:32:00 +00:00
Martin Storsjö 5590cc78ee rtpdec_svq3: Return the timestamp in *timestamp instead of pkt->pts
The timestamp of the first RTP packet forming the output AVPacket is
written back in *timestamp, which is used in later calculations in generic
rtpdec code (together with RTCP sync timestamps) to form the final pkt->pts
value.

Originally committed as revision 24235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-14 12:27:26 +00:00
Martin Storsjö d74c6145fb rtpdec: Allow depacketizers to specify that pkt->pts should be left as AV_NOPTS_VALUE
Originally committed as revision 24234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-14 12:26:16 +00:00
Alex Converse 49d3aab764 aacenc: psy_3gpp_init(): Fix line_to_frequency for short windows.
Originally committed as revision 24233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-14 04:10:52 +00:00
Alex Converse cecaf7d71a aacenc: aac_psy_init(): Factorize line_to_frequency.
Originally committed as revision 24232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-14 04:10:47 +00:00
Alex Converse d7194e3b73 aacenc: psy_3gpp_init(): Fix ath for the first line in each sfb.
Fix the MDCT line to frequency calculation for the first line in each sfb.
Use this value to calculate ATH.

Originally committed as revision 24231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-14 04:10:41 +00:00
Alex Converse 886385afd6 aacenc: psy_3gpp_init(): Calculate barks on demand.
Originally committed as revision 24230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-14 04:10:31 +00:00
Måns Rullgård e3a28ea5a9 avfft: remove useless parens
Originally committed as revision 24229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-13 18:01:50 +00:00
Måns Rullgård 943ebf2c4e 100l: really fix fft external API init functions
Originally committed as revision 24228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-13 06:54:31 +00:00
Alex Converse afa4248e4e aacsbr: Eliminate double precision arithmetic.
Originally committed as revision 24227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-13 00:49:30 +00:00
Alex Converse 1ac6da3988 aacdec: Eliminate the use of doubles in the MAIN predictor.
Originally committed as revision 24226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 21:36:41 +00:00
Alex Converse 531cfe6e85 aacdec: Eliminate the use of doubles in decode_cce().
Originally committed as revision 24225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 21:36:10 +00:00
Alex Converse 93c6ff6c8c aacdec: Use a LUT to generate CCE scale.
Originally committed as revision 24224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 21:35:43 +00:00
James Zern f07c9895e0 Do not map video quantizer scale (from 1-51 to 0-63) for libvpx anymore.
Patch by James Zern, jzern google

Originally committed as revision 24223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 21:23:03 +00:00
Måns Rullgård 8e3275c1a2 configure: match regtest ref files more strictly
Only names consisting of letters, numbers, hyphens, and underscores
are allowed.

Originally committed as revision 24222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 21:17:10 +00:00
Vitor Sessak 0dc5ca2e12 Add TrueSpeech regtest
Originally committed as revision 24221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 21:02:52 +00:00
Måns Rullgård 5ee08c8531 fate: add vp8 bilinear tests
Mike added these some time ago, and I forgot to update here.

Originally committed as revision 24220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 20:24:23 +00:00
Måns Rullgård b310844756 avfft: make init functions return NULL on failure as intended
Originally committed as revision 24219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 19:54:16 +00:00
Diego Biurrun 862be470f3 Use correct length modifier for size comparison in printf expression, fixes:
libavcodec/wmavoice.c:1906: warning: format `%lu' expects type `long unsigned int', but argument 5 has type `unsigned int'
approved by Ronald and Mans on IRC

Originally committed as revision 24218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 19:36:35 +00:00
Alex Converse 3cac899af9 Split the ADTS header decoder off of the ADTS parser.
The AAC decoder and ADTS-to-ASC BSF both require the header decoder
but not full parsing capabilities.

Originally committed as revision 24217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 18:52:03 +00:00
Diego Biurrun 65415bb93a Do not generate LaTeX Doxygen documentation by default.
Our general use case just requires HTML documentation, so skip the extra step.

Originally committed as revision 24216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 18:36:07 +00:00
Diego Biurrun 655a29e712 Turn off the useless default chatter that doxygen prints to the console.
Originally committed as revision 24215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 18:35:00 +00:00
Alex Converse 7167bc94cb aacdec: Remove the warning about non-meaningful window transitions.
It created false positives on seeks and where the first frame is STOP or SHORT.
It failed to warn in illegal SHORT->LONG transitions. In general it created
much confusion and many junk bug reports from the users.

Originally committed as revision 24214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 18:24:22 +00:00
Christophe Gisquet f2401c214d Use math constant instead of hardcoded rounded value for sqrt(0.5).
Patch by Christophe.Gisquet (gmail)

Originally committed as revision 24213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 12:32:24 +00:00
Luca Barbato bf55cf19ca Report when a method gets an error status code
That makes easier understand what went wrong.
In debug mode the whole reply gets printed.

Originally committed as revision 24212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 10:17:20 +00:00
Nick Brereton b12b16c5d3 Fix side channels when XCh extension is present.
Patch by Nick Brereton $name AT n$surname DOT net

Originally committed as revision 24210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 09:10:53 +00:00
Nick Brereton d0a1885018 Move XCH parameters into context structure.
Patch by Nick Brereton $name AT n$surname DOT net

Originally committed as revision 24209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 09:00:17 +00:00
Benoit Fouet 453d28af60 Change the type of Y table to pointer to void in fill_table().
This fixes warnings about wrong type being used, e.g.:
libswscale/yuv2rgb.c: In function ‘ff_yuv2rgb_c_init_tables’:
libswscale/yuv2rgb.c:778: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type
libswscale/yuv2rgb.c:598: note: expected ‘uint8_t *’ but argument is of type ‘uint16_t *’

Originally committed as revision 31722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-07-12 08:35:20 +00:00
David Conrad faa26db28b MMX/SSE VC1 loop filter
Originally committed as revision 24208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 22:53:01 +00:00
David Conrad 7af8fbd348 Make ff_pw_4 128 bits
Originally committed as revision 24207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 22:52:55 +00:00
David Conrad fca58a815a vc1: Fix ordering of loop filter for I/B frames
All horizontal edges must be filtered before all vertical edges

Originally committed as revision 24206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 22:52:51 +00:00
David Conrad 3683b7e570 vc1: ff_draw_horiz_band needs a one row delay when the loop filter is active
Originally committed as revision 24205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 22:52:47 +00:00
Ramiro Polla e26011d0f4 mingw32: merge checks for mingw-w64 and mingw32-runtime >= 3.15 into one
Originally committed as revision 24204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 22:31:41 +00:00
Ramiro Polla ec1ee802a2 mingw32: properly check if vfw capture is supported by the system headers
Remove check for an specific w32api version, checking instead if vfw.h
supports vfw capture. The defines in w32api 3.12 were wrong, so this must be
accounted for in the check.

Originally committed as revision 24203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 22:17:17 +00:00
Justin Ruggles 6f5ac9c190 APIchanges: fix a grammar mistake
Originally committed as revision 24202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 17:58:15 +00:00
James Zern 83a68cd64f Set libvpx encoding profile to libavcodec's profile.
Patch by James Zern, jzern google

Originally committed as revision 24201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 17:46:44 +00:00
Justin Ruggles 3749797921 Fill-in revision number for addition of lpc_type and lpc_passes.
Originally committed as revision 24200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 16:57:20 +00:00
Justin Ruggles 23940f1405 Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields.
Add AVLPCType enum.
Deprecate AVCodecContext.use_lpc.

Originally committed as revision 24199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 16:56:20 +00:00
Víctor Paesa 31769dad7d Clarify the avoidance of usage of these AVStream fields.
Originally committed as revision 24198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 14:56:32 +00:00
Kostya Shishkov 231745781f Do not try to decode less than one frame of data in TrueSpeech decoder.
This should solve issue 2085.

Originally committed as revision 24197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 14:50:20 +00:00
Víctor Paesa 922189feb0 Use avfilter_copy_picref_props() along lavfi.
Originally committed as revision 24196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 14:44:43 +00:00
Vitor Sessak e9e40c875e NellyMoser regtest
Originally committed as revision 24195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 14:13:23 +00:00
Vitor Sessak d4d5b66140 DTS Coherent Acoustics regtest
Originally committed as revision 24194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 14:05:38 +00:00
Vitor Sessak bb1e597736 Add Pictor/PC Paint PIC regtest
Originally committed as revision 24193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 12:44:32 +00:00
Stefan de Konink 0461367cec Fix crop filter syntax shown for the -crop* options in the ffmpeg man
page.

Patch by Stefan de Konink /$name/@/konink/de.

Originally committed as revision 24192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 11:56:56 +00:00
Luca Barbato dc6cf61e33 Handle av_base64_decode return value
garbled sdp would cause crash otherwise.

Originally committed as revision 24191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 11:54:48 +00:00
Stefano Sabatini 617d56cafa Update lavu minor and add APIchanges entry after r24174 (add bswap.h
and intreadwrite.h API public interface).

Originally committed as revision 24190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 11:49:44 +00:00
James Darnley 90d9d97d4d Fix ID3v1 tags in mp3 files
Patch by James Darnley, james dot darnley at gmail

Originally committed as revision 24189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 11:28:46 +00:00