ffmpeg.git
9 years ago2 lines spacing between versions in Changelog should be enough for readability
Aurelien Jacobs [Tue, 10 Aug 2010 16:49:48 +0000 (16:49 +0000)]
2 lines spacing between versions in Changelog should be enough for readability
and may avoid some confusion for patch submitters

Originally committed as revision 24756 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoget rid of MAX_STREAMS limit in nutdec
Aurelien Jacobs [Tue, 10 Aug 2010 16:36:36 +0000 (16:36 +0000)]
get rid of MAX_STREAMS limit in nutdec

Originally committed as revision 24755 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agortpenc_xiph: Clarify that num_frames shouldn't ever get larger than max_frames_per_packet
Martin Storsjö [Tue, 10 Aug 2010 08:37:19 +0000 (08:37 +0000)]
rtpenc_xiph: Clarify that num_frames shouldn't ever get larger than max_frames_per_packet

Originally committed as revision 24754 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoget rid of MAX_STREAMS limit in mpegts
Aurelien Jacobs [Mon, 9 Aug 2010 23:21:08 +0000 (23:21 +0000)]
get rid of MAX_STREAMS limit in mpegts

Originally committed as revision 24753 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoget rid of MAX_STREAMS limit in RTSP
Aurelien Jacobs [Mon, 9 Aug 2010 23:00:13 +0000 (23:00 +0000)]
get rid of MAX_STREAMS limit in RTSP

Originally committed as revision 24752 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoget rid of MAX_STREAMS limit in RDT
Aurelien Jacobs [Mon, 9 Aug 2010 22:58:54 +0000 (22:58 +0000)]
get rid of MAX_STREAMS limit in RDT

Originally committed as revision 24751 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix buffer overrun if idx is negative (it can be down to -23>>4), by prepending
Ronald S. Bultje [Mon, 9 Aug 2010 13:54:59 +0000 (13:54 +0000)]
Fix buffer overrun if idx is negative (it can be down to -23>>4), by prepending
two padding zeroes before it. Should fix fate failures on openBSD and crashes
on MacOSX (that I cannot reproduce).

Originally committed as revision 24750 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agortpenc_xiph: Set the ident value via a define
Martin Storsjö [Mon, 9 Aug 2010 10:31:59 +0000 (10:31 +0000)]
rtpenc_xiph: Set the ident value via a define

Originally committed as revision 24749 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agortpenc_xiph: Don't needlessly cast pointers to integers
Martin Storsjö [Mon, 9 Aug 2010 10:23:26 +0000 (10:23 +0000)]
rtpenc_xiph: Don't needlessly cast pointers to integers

Originally committed as revision 24748 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMake hex_to_data a lavf internal function
Martin Storsjö [Mon, 9 Aug 2010 10:05:33 +0000 (10:05 +0000)]
Make hex_to_data a lavf internal function

This is useful for other future RTP depacketizers

Originally committed as revision 24747 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agohttp: Return EOF at the end of the content even if the connection isn't closed
Martin Storsjö [Mon, 9 Aug 2010 08:14:48 +0000 (08:14 +0000)]
http: Return EOF at the end of the content even if the connection isn't closed

We do request Connection: close, but some servers ignore it.

Originally committed as revision 24746 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix handling of truncated files. Should fix random FATE breakages.
Vitor Sessak [Mon, 9 Aug 2010 07:17:01 +0000 (07:17 +0000)]
Fix handling of truncated files. Should fix random FATE breakages.

Originally committed as revision 24745 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoindent
Ramiro Polla [Sun, 8 Aug 2010 18:18:13 +0000 (18:18 +0000)]
indent

Originally committed as revision 31949 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoswscale-test: get strides using av_fill_image_linesizes() from libavcore
Ramiro Polla [Sun, 8 Aug 2010 18:14:43 +0000 (18:14 +0000)]
swscale-test: get strides using av_fill_image_linesizes() from libavcore

Originally committed as revision 31948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

9 years agoOnly check for for libvpx decoder/encoder if libvpx is enabled.
Diego Biurrun [Sun, 8 Aug 2010 08:51:15 +0000 (08:51 +0000)]
Only check for for libvpx decoder/encoder if libvpx is enabled.

Originally committed as revision 24744 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agofix configure when --enable-libvpx is not specified
Ramiro Polla [Sun, 8 Aug 2010 02:43:26 +0000 (02:43 +0000)]
fix configure when --enable-libvpx is not specified

Originally committed as revision 24743 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSplit libvpx check into decoder and encoder check.
Frank Barchard [Sun, 8 Aug 2010 00:06:24 +0000 (00:06 +0000)]
Split libvpx check into decoder and encoder check.
This allows using a libvpx that has been configured as decoder/encoder only.
patch by Frank Barchard, fbarchard google com

Originally committed as revision 24742 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSplit h264dsp and h264pred in configure.
Jason Garrett-Glaser [Sat, 7 Aug 2010 23:10:25 +0000 (23:10 +0000)]
Split h264dsp and h264pred in configure.
Many H.264 derivatives, like RV40 and VP8, use the H.264 prediction functions
but not the weight/loopfilter functions.
This should reduce the size of builds with one of these derivatives but without
H.264 decoding itself.

Originally committed as revision 24741 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agooggparsevorbis: Add some sanity checks to header packet ordering/presence.
Alex Converse [Sat, 7 Aug 2010 21:30:34 +0000 (21:30 +0000)]
oggparsevorbis: Add some sanity checks to header packet ordering/presence.

Originally committed as revision 24740 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoApply misc docs fixes spotted by Diego.
Stefano Sabatini [Sat, 7 Aug 2010 21:06:46 +0000 (21:06 +0000)]
Apply misc docs fixes spotted by Diego.

Originally committed as revision 24739 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix VfW spelling.
Stefano Sabatini [Sat, 7 Aug 2010 21:06:43 +0000 (21:06 +0000)]
Fix VfW spelling.

Originally committed as revision 24738 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix spelling in comment(s)
Reinhard Tartler [Sat, 7 Aug 2010 14:11:43 +0000 (14:11 +0000)]
Fix spelling in comment(s)

Originally committed as revision 24737 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoH.264: 8% faster CAVLC zero-run decoding
Jason Garrett-Glaser [Sat, 7 Aug 2010 12:30:44 +0000 (12:30 +0000)]
H.264: 8% faster CAVLC zero-run decoding

Originally committed as revision 24736 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd RTP packetization of Theora and Vorbis
Josh Allmann [Sat, 7 Aug 2010 11:16:07 +0000 (11:16 +0000)]
Add RTP packetization of Theora and Vorbis

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 24735 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix the compilation of some libavcodec/lib* files which were not
Stefano Sabatini [Sat, 7 Aug 2010 01:36:35 +0000 (01:36 +0000)]
Fix the compilation of some libavcodec/lib* files which were not
including libavcore/imgutils.h, which was required since the recent
avcodec_check_dimensions() -> av_check_image_size() transition.

Originally committed as revision 24734 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd APIchanges entries after the last recent libavfilter renames.
Stefano Sabatini [Sat, 7 Aug 2010 01:24:42 +0000 (01:24 +0000)]
Add APIchanges entries after the last recent libavfilter renames.

Originally committed as revision 24733 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRename fields:
S.N. Hemanth Meenakshisundaram [Sat, 7 Aug 2010 01:15:34 +0000 (01:15 +0000)]
Rename fields:

AVFilterLink.srcpic    ->  AVFilterLink.src_buf
AVFilterLink.cur_pic   ->  AVFilterLink.cur_buf
AVFilterLink.outpic    ->  AVFilterLink.out_buf

The new names are more generic and more consistent, since the struct
they contain, which was named AVFilterPicRef, has been renamed to
AVFilterBufferRef.

Patch by S.N. Hemanth Meenakshisundaram %smeenaks%ucsd%edu%.

Originally committed as revision 24732 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRename functions and fields:
S.N. Hemanth Meenakshisundaram [Sat, 7 Aug 2010 01:15:27 +0000 (01:15 +0000)]
Rename functions and fields:

avfilter_(un)ref_pic       -> avfilter_(un)ref_buffer
avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props
AVFilterBufferRef.pic      -> AVFilterBufferRef.buffer

They have been renamed to allow sharing with audio.

Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$.

Originally committed as revision 24731 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRename AVFilterPicRef to AVFilterBufferRef.
S.N. Hemanth Meenakshisundaram [Sat, 7 Aug 2010 01:15:19 +0000 (01:15 +0000)]
Rename AVFilterPicRef to AVFilterBufferRef.

The struct is going to be used for storing audio buffer references as
well, and the new name is more generic.

Patch by S.N. Hemanth Meenakshisundaram @smeenaks@ucsd@edu@.

Originally committed as revision 24730 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd APIchanges entry after r24728.
Stefano Sabatini [Sat, 7 Aug 2010 00:19:45 +0000 (00:19 +0000)]
Add APIchanges entry after r24728.

Originally committed as revision 24729 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove format from AVFilterBuffer to AVFilterPicRef.
S.N. Hemanth Meenakshisundaram [Sat, 7 Aug 2010 00:02:26 +0000 (00:02 +0000)]
Move format from AVFilterBuffer to AVFilterPicRef.

Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|.

Originally committed as revision 24728 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix the size of the data to be copied from an AVFilterBuffer to an
S.N. Hemanth Meenakshisundaram [Sat, 7 Aug 2010 00:02:21 +0000 (00:02 +0000)]
Fix the size of the data to be copied from an AVFilterBuffer to an
AVFilterBuffereRef in avfilter_default_get_video_buffer().

The error was being caused by the previous patch which resized
AVFilterBuffer's data and linesize arrays to 8.

Patch by S.N. Hemanth Meenakshisundaram" &smeenaks&ucsd&edu&.

Originally committed as revision 24727 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoApply misc fixes spotted by Diego to protocols.texi.
Stefano Sabatini [Fri, 6 Aug 2010 23:15:35 +0000 (23:15 +0000)]
Apply misc fixes spotted by Diego to protocols.texi.

Originally committed as revision 24726 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove audio_beos entries in indevs.texi and output.devs, BeOS audio
Stefano Sabatini [Fri, 6 Aug 2010 23:15:31 +0000 (23:15 +0000)]
Remove audio_beos entries in indevs.texi and output.devs, BeOS audio
support has been dropped.

Originally committed as revision 24725 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoApply misc fixes spotted by Diego to indevs.texi and outdevs.texi.
Stefano Sabatini [Fri, 6 Aug 2010 23:15:27 +0000 (23:15 +0000)]
Apply misc fixes spotted by Diego to indevs.texi and outdevs.texi.

Originally committed as revision 24724 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRename the chapter Devices -> Input Devices, as the file is about
Stefano Sabatini [Fri, 6 Aug 2010 23:15:23 +0000 (23:15 +0000)]
Rename the chapter Devices -> Input Devices, as the file is about
input devices.

Originally committed as revision 24723 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoshowfiltfmts: destroy filter context before exit
Måns Rullgård [Fri, 6 Aug 2010 22:25:44 +0000 (22:25 +0000)]
showfiltfmts: destroy filter context before exit

Originally committed as revision 24722 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoshowfiltfmts: set media type of links to that of corresponding pad
Måns Rullgård [Fri, 6 Aug 2010 22:25:42 +0000 (22:25 +0000)]
showfiltfmts: set media type of links to that of corresponding pad

Originally committed as revision 24721 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoavfilter: indent
Måns Rullgård [Fri, 6 Aug 2010 22:25:39 +0000 (22:25 +0000)]
avfilter: indent

Originally committed as revision 24720 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoavfilter: do not crash on null link src/dst in avfilter_destroy()
Måns Rullgård [Fri, 6 Aug 2010 22:25:36 +0000 (22:25 +0000)]
avfilter: do not crash on null link src/dst in avfilter_destroy()

Originally committed as revision 24719 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoavfilter: free link in/out_formats in avfilter_destroy()
Måns Rullgård [Fri, 6 Aug 2010 22:25:33 +0000 (22:25 +0000)]
avfilter: free link in/out_formats in avfilter_destroy()

Originally committed as revision 24718 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agolibvpxdec: Fix "error: implicit declaration of function ‘av_check_image_size’".
Alex Converse [Fri, 6 Aug 2010 18:57:14 +0000 (18:57 +0000)]
libvpxdec: Fix "error: implicit declaration of function ‘av_check_image_size’".

av_check_image_size() is declared in libavcore/imgutils.h.

Originally committed as revision 24717 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agovorbis_dec: Change partition_class[] to uint8_t.
Alex Converse [Fri, 6 Aug 2010 16:10:42 +0000 (16:10 +0000)]
vorbis_dec: Change partition_class[] to uint8_t.

When sizeof(uint_fast8_t) >= sizeof(int) there are unintended size effects.

Originally committed as revision 24716 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd a CONFIG_ variable for generic Huffman routines.
Diego Biurrun [Fri, 6 Aug 2010 10:29:14 +0000 (10:29 +0000)]
Add a CONFIG_ variable for generic Huffman routines.

Originally committed as revision 24715 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoPreserve status reason
Luca Barbato [Fri, 6 Aug 2010 10:26:30 +0000 (10:26 +0000)]
Preserve status reason

It is used to provide meaningful error messages.

Originally committed as revision 24714 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoExtend the gas-preprocessor section with basic installation instructions.
Diego Biurrun [Fri, 6 Aug 2010 10:01:31 +0000 (10:01 +0000)]
Extend the gas-preprocessor section with basic installation instructions.

Originally committed as revision 24713 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd APIchanges entry for the av_check_image_size() addition.
Stefano Sabatini [Fri, 6 Aug 2010 09:42:28 +0000 (09:42 +0000)]
Add APIchanges entry for the av_check_image_size() addition.

Originally committed as revision 24712 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove use of the deprecated function avcodec_check_dimensions(), use
Stefano Sabatini [Fri, 6 Aug 2010 09:37:04 +0000 (09:37 +0000)]
Remove use of the deprecated function avcodec_check_dimensions(), use
av_check_image_size() instead.

Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoClarify av_check_image_size() log message.
Stefano Sabatini [Fri, 6 Aug 2010 09:36:50 +0000 (09:36 +0000)]
Clarify av_check_image_size() log message.

Originally committed as revision 24710 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoDeprecate avcodec_check_dimensions() in favor of the new function
Stefano Sabatini [Fri, 6 Aug 2010 09:36:45 +0000 (09:36 +0000)]
Deprecate avcodec_check_dimensions() in favor of the new function
av_check_image_size() declared in libavcore/imgutils.h.

Originally committed as revision 24709 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agofft-test: free buffers before exiting
Måns Rullgård [Fri, 6 Aug 2010 07:09:12 +0000 (07:09 +0000)]
fft-test: free buffers before exiting

Originally committed as revision 24708 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: fix bug in prefetch
Jason Garrett-Glaser [Thu, 5 Aug 2010 20:03:54 +0000 (20:03 +0000)]
VP8: fix bug in prefetch
Motion vectors in VP8 are qpel, not fullpel.

Originally committed as revision 24707 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoARM: NEON H264 8x8 IDCT
Måns Rullgård [Thu, 5 Aug 2010 19:45:57 +0000 (19:45 +0000)]
ARM: NEON H264 8x8 IDCT

Parts by David Conrad.

Originally committed as revision 24706 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoconfigure: remove redundant extralibs settings
Måns Rullgård [Thu, 5 Aug 2010 16:54:23 +0000 (16:54 +0000)]
configure: remove redundant extralibs settings

Originally committed as revision 24705 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agortpdec_xiph: Split packets in the depacketizer
Martin Storsjö [Thu, 5 Aug 2010 04:42:36 +0000 (04:42 +0000)]
rtpdec_xiph: Split packets in the depacketizer

The vorbis decoder doesn't handle more than one audio frame packed into
the same AVPacket, so they need to be split in the depacketizer.

Originally committed as revision 24704 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd file missing in r24702
Jason Garrett-Glaser [Thu, 5 Aug 2010 00:49:48 +0000 (00:49 +0000)]
Add file missing in r24702

Originally committed as revision 24703 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoH.264: SSE2/SSSE3 weighted prediction asm
Eli Friedman [Thu, 5 Aug 2010 00:13:38 +0000 (00:13 +0000)]
H.264: SSE2/SSSE3 weighted prediction asm
Patch by Eli Friedman <eli.friedman at gmail dot com>

Originally committed as revision 24702 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP5/6/8: eliminate CABAC dependency
Jason Garrett-Glaser [Wed, 4 Aug 2010 23:04:05 +0000 (23:04 +0000)]
VP5/6/8: eliminate CABAC dependency
Create a custom table for VP5/6/8's renorm to avoid depending on H.264's.
Saves one instruction in the arithmetic decoder as well.

Originally committed as revision 24701 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove read_mms_packet() code to be inlined in the calling function.
Zhentan Feng [Wed, 4 Aug 2010 22:34:43 +0000 (22:34 +0000)]
Move read_mms_packet() code to be inlined in the calling function.

Patch by Zhentan Feng <spyfeng gmail com>.

Originally committed as revision 24700 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove is_playing variable.
Zhentan Feng [Wed, 4 Aug 2010 22:33:38 +0000 (22:33 +0000)]
Remove is_playing variable.

Patch by Zhentan Feng <spyfeng gmail com>.

Originally committed as revision 24699 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove send_media_packet_request() and clear_stream_buffers() up.
Zhentan Feng [Wed, 4 Aug 2010 22:32:43 +0000 (22:32 +0000)]
Move send_media_packet_request() and clear_stream_buffers() up.

Patch by Zhentan Feng <spyfeng gmail com>.

Originally committed as revision 24698 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agofate: move some groups of related tests to their own files
Måns Rullgård [Wed, 4 Aug 2010 18:47:20 +0000 (18:47 +0000)]
fate: move some groups of related tests to their own files

This moves some groups of tests for single codecs to separate files,
and adds shorthands for running all tests in a group.

Originally committed as revision 24697 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agortpdec_xiph: Correct the bitmask for num_pkts
Martin Storsjö [Wed, 4 Aug 2010 17:22:25 +0000 (17:22 +0000)]
rtpdec_xiph: Correct the bitmask for num_pkts

Originally committed as revision 24696 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agofate: add fft tests
Måns Rullgård [Wed, 4 Aug 2010 06:57:02 +0000 (06:57 +0000)]
fate: add fft tests

Originally committed as revision 24695 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agofate-run: add helper to run things on target
Måns Rullgård [Wed, 4 Aug 2010 06:56:59 +0000 (06:56 +0000)]
fate-run: add helper to run things on target

Originally committed as revision 24694 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agofft-test: exit with non-zero status if test failed
Måns Rullgård [Wed, 4 Aug 2010 06:56:55 +0000 (06:56 +0000)]
fft-test: exit with non-zero status if test failed

Originally committed as revision 24693 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix VP8 decoder dependencies
Martin Storsjö [Wed, 4 Aug 2010 05:20:49 +0000 (05:20 +0000)]
Fix VP8 decoder dependencies

This reverts rev 24674 - the VP8 decoder actually depends on cabac.o.
vp8.c includes vp56.h, which includes cabac.h, which has inline functions
that reference tables from cabac.c.

This fixes compilation with --disable-everything --enable-decoder=vp8.

Originally committed as revision 24692 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: partially inline decode_block_coeffs
Jason Garrett-Glaser [Wed, 4 Aug 2010 02:23:25 +0000 (02:23 +0000)]
VP8: partially inline decode_block_coeffs
Avoids a function call in the case of empty DCT blocks (most of the time).

Originally committed as revision 24691 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix 100L in r24689
Jason Garrett-Glaser [Wed, 4 Aug 2010 01:40:58 +0000 (01:40 +0000)]
Fix 100L in r24689
Accidentally committed some timing code.

Originally committed as revision 24690 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: simplify decode_block_coeffs to avoid having to track nonzero coeffs
Jason Garrett-Glaser [Wed, 4 Aug 2010 01:38:08 +0000 (01:38 +0000)]
VP8: simplify decode_block_coeffs to avoid having to track nonzero coeffs
Slightly faster.

Originally committed as revision 24689 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoCosmetics: add missing space to options.c
Jason Garrett-Glaser [Wed, 4 Aug 2010 00:08:16 +0000 (00:08 +0000)]
Cosmetics: add missing space to options.c

Originally committed as revision 24688 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: slightly faster DCT coefficient probability update
Jason Garrett-Glaser [Tue, 3 Aug 2010 23:21:47 +0000 (23:21 +0000)]
VP8: slightly faster DCT coefficient probability update

Originally committed as revision 24687 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoARM: update struct offsets
Måns Rullgård [Tue, 3 Aug 2010 22:29:38 +0000 (22:29 +0000)]
ARM: update struct offsets

Originally committed as revision 24686 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMove cavs dsp functions to their own struct
Måns Rullgård [Tue, 3 Aug 2010 20:59:00 +0000 (20:59 +0000)]
Move cavs dsp functions to their own struct

Originally committed as revision 24685 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSilence unused function warnings in vp56.h
Jason Garrett-Glaser [Tue, 3 Aug 2010 11:35:41 +0000 (11:35 +0000)]
Silence unused function warnings in vp56.h

Originally committed as revision 24684 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: make another RAC call branchy
Jason Garrett-Glaser [Tue, 3 Aug 2010 11:34:24 +0000 (11:34 +0000)]
VP8: make another RAC call branchy
1-2 clocks faster.

Originally committed as revision 24683 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP5/6/8: add one inline missed in r24677
Jason Garrett-Glaser [Tue, 3 Aug 2010 11:21:22 +0000 (11:21 +0000)]
VP5/6/8: add one inline missed in r24677

Originally committed as revision 24682 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: unroll partition type decoding tree
Jason Garrett-Glaser [Tue, 3 Aug 2010 11:10:58 +0000 (11:10 +0000)]
VP8: unroll partition type decoding tree
~34% faster partition type decoding.

Originally committed as revision 24681 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: unroll splitmv decoding tree
Jason Garrett-Glaser [Tue, 3 Aug 2010 10:37:14 +0000 (10:37 +0000)]
VP8: unroll splitmv decoding tree
Much faster splitmv mode decoding.

Originally committed as revision 24680 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: unroll MB mode decoding tree
Jason Garrett-Glaser [Tue, 3 Aug 2010 10:24:28 +0000 (10:24 +0000)]
VP8: unroll MB mode decoding tree
~50% faster MB mode decoding, plus eliminate a costly switch.

Originally committed as revision 24679 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoMake avfilter_copy_picref_props() copy w and h from src to dst.
Stefano Sabatini [Tue, 3 Aug 2010 09:02:16 +0000 (09:02 +0000)]
Make avfilter_copy_picref_props() copy w and h from src to dst.

Originally committed as revision 24678 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP5/6/8: tweak some arithcoder inlining
Jason Garrett-Glaser [Tue, 3 Aug 2010 08:06:08 +0000 (08:06 +0000)]
VP5/6/8: tweak some arithcoder inlining
Always inline the arithmetic coder, except in the case of header-parsing stuff,
in which case don't inline it at all to save code size.

Originally committed as revision 24677 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agovorbisdec: Return AVERROR(ENOMEM) on malloc() failure.
Alex Converse [Tue, 3 Aug 2010 00:27:54 +0000 (00:27 +0000)]
vorbisdec: Return AVERROR(ENOMEM) on malloc() failure.

This is especially important because classifs can be very large.

Originally committed as revision 24676 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agovorbisdec: Prevent a potential integer overflow.
Alex Converse [Tue, 3 Aug 2010 00:25:06 +0000 (00:25 +0000)]
vorbisdec: Prevent a potential integer overflow.

If sizeof uint_fast8_t > 1 and sizeof size_t <= 4, the expression that mallocs
classifs  is susceptible to integer overflow.

Originally committed as revision 24675 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoThe VP8 decoder does not depend on cabac.o.
Diego Biurrun [Mon, 2 Aug 2010 23:49:49 +0000 (23:49 +0000)]
The VP8 decoder does not depend on cabac.o.

Originally committed as revision 24674 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoThe VP8 decoder does not depend on vp56.o and vp56data.o.
Diego Biurrun [Mon, 2 Aug 2010 23:23:27 +0000 (23:23 +0000)]
The VP8 decoder does not depend on vp56.o and vp56data.o.

Originally committed as revision 24673 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoRemove redundant h264pred.o from VP8 objects list.
Diego Biurrun [Mon, 2 Aug 2010 23:16:52 +0000 (23:16 +0000)]
Remove redundant h264pred.o from VP8 objects list.
It is already selected through the H264DSP dependency of VP8.

Originally committed as revision 24672 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: eliminate a dereference in coefficient decoding
Jason Garrett-Glaser [Mon, 2 Aug 2010 22:48:38 +0000 (22:48 +0000)]
VP8: eliminate a dereference in coefficient decoding

Originally committed as revision 24671 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: much faster DC transform handling
Jason Garrett-Glaser [Mon, 2 Aug 2010 20:57:03 +0000 (20:57 +0000)]
VP8: much faster DC transform handling
A lot of the time the DC block is empty: don't do the WHT in this case.
A lot of the rest of the time, there's only one coefficient: make a special
DC-only transform for that case.
When the block is empty, don't incorrectly mark luma DCT blocks as having DC
coefficients.

Originally committed as revision 24670 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agovorbisdec: change a uint_fast32_t to 'unsigned', fix llvm-gcc build
Måns Rullgård [Mon, 2 Aug 2010 20:35:50 +0000 (20:35 +0000)]
vorbisdec: change a uint_fast32_t to 'unsigned', fix llvm-gcc build

Originally committed as revision 24669 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: move zeroing of luma DC block into the WHT
Jason Garrett-Glaser [Mon, 2 Aug 2010 20:18:09 +0000 (20:18 +0000)]
VP8: move zeroing of luma DC block into the WHT
Lets us do the zeroing in asm instead of C.
Also makes it consistent with the way the regular iDCT code does it.

Originally committed as revision 24668 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agolavfi-regression: trim \r line ends from showfiltfmts output
Måns Rullgård [Mon, 2 Aug 2010 19:44:58 +0000 (19:44 +0000)]
lavfi-regression: trim \r line ends from showfiltfmts output

This is required when cross-testing on dos-like targets.

Originally committed as revision 24667 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoAdd -Wno-parentheses to CFLAGS.
Diego Biurrun [Mon, 2 Aug 2010 17:09:55 +0000 (17:09 +0000)]
Add -Wno-parentheses to CFLAGS.
Without this flag -Wall generates warnings that nobody wants to see fixed or
worked around. Disabling those warnings is thus the best solution.

Originally committed as revision 24666 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoSort lavfi pixdesc tests.
Stefano Sabatini [Mon, 2 Aug 2010 11:56:51 +0000 (11:56 +0000)]
Sort lavfi pixdesc tests.

Increase readability and robustness, as the test result is not going
to differ if the order of the pixfmts codes changes.

Originally committed as revision 24665 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoonly store intra prediction modes on the boundary for keyframes, not as a plane.
Pascal Massimino [Mon, 2 Aug 2010 09:44:53 +0000 (09:44 +0000)]
only store intra prediction modes on the boundary for keyframes, not as a plane.
inter-frame behaviour unchanged.

Originally committed as revision 24664 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix doxygen comment.
Benoit Fouet [Mon, 2 Aug 2010 07:28:35 +0000 (07:28 +0000)]
Fix doxygen comment.

Originally committed as revision 24663 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoChange a doxy comment to a normal one.
Benoit Fouet [Mon, 2 Aug 2010 07:26:27 +0000 (07:26 +0000)]
Change a doxy comment to a normal one.

Originally committed as revision 24662 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoFix doxygen comments.
Benoit Fouet [Mon, 2 Aug 2010 07:25:25 +0000 (07:25 +0000)]
Fix doxygen comments.
/**\u2264 => /**<

Originally committed as revision 24661 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoIssue a warning when fed with misformatted one-line doxygen comments.
Benoit Fouet [Mon, 2 Aug 2010 07:23:47 +0000 (07:23 +0000)]
Issue a warning when fed with misformatted one-line doxygen comments.

Originally committed as revision 24660 to svn://svn.ffmpeg.org/ffmpeg/trunk

9 years agoVP8: simplify token_prob handling
Jason Garrett-Glaser [Mon, 2 Aug 2010 05:20:38 +0000 (05:20 +0000)]
VP8: simplify token_prob handling
~1.5% faster decode_block_coeffs

Originally committed as revision 24659 to svn://svn.ffmpeg.org/ffmpeg/trunk