ffmpeg.git
9 years agoRemove some stray +s in VP8
Jason Garrett-Glaser [Fri, 13 Aug 2010 02:02:07 +0000 (02:02 +0000)]
Remove some stray +s in VP8

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

9 years agoAdd RTP depacketization of MP4A-LATM
Martin Storsjö [Thu, 12 Aug 2010 21:07:17 +0000 (21:07 +0000)]
Add RTP depacketization of MP4A-LATM

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

9 years agoCosmetics: put "{" on the same line of the "struct" keyword in struct
Stefano Sabatini [Thu, 12 Aug 2010 18:20:58 +0000 (18:20 +0000)]
Cosmetics: put "{" on the same line of the "struct" keyword in struct
definitions.

More consistent with the rest of FFmpeg.

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

9 years agoAdd APIchanges entry after the addition of av_get_image_linesize() of
Stefano Sabatini [Thu, 12 Aug 2010 15:09:44 +0000 (15:09 +0000)]
Add APIchanges entry after the addition of av_get_image_linesize() of
r24787.

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

9 years agoDeprecate ff_get_plane_bytewidth() in favor of
Stefano Sabatini [Thu, 12 Aug 2010 15:06:04 +0000 (15:06 +0000)]
Deprecate ff_get_plane_bytewidth() in favor of
av_get_image_linesize().

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

9 years agoImplement av_get_image_linesize() and use it in
Stefano Sabatini [Thu, 12 Aug 2010 15:05:58 +0000 (15:05 +0000)]
Implement av_get_image_linesize() and use it in
ff_get_plane_bytewidth().

The new implementation is more generic, more compact and more correct.

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

9 years agoSend OPTIONS request at a regular basis to standard RTSP servers as well,
Ronald S. Bultje [Thu, 12 Aug 2010 13:39:38 +0000 (13:39 +0000)]
Send OPTIONS request at a regular basis to standard RTSP servers as well,
this prevents a time-out which closes the TCP connection and kills our
session.

see "Re: [FFmpeg-devel] [PATCH] rtsp.c: keep-alive" thread on mailinglist.

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

9 years agoAdd another missing file from r24799.
Ronald S. Bultje [Thu, 12 Aug 2010 02:01:33 +0000 (02:01 +0000)]
Add another missing file from r24799.

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

9 years agoVP5/6/8: ~7% faster arithmetic decoding
Jason Garrett-Glaser [Thu, 12 Aug 2010 01:11:32 +0000 (01:11 +0000)]
VP5/6/8: ~7% faster arithmetic decoding
Grab from the bitstream in 16-bit chunks instead of 8-bit chunks.
TODO: grab in 32-bit chunks on 64-bit systems.

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

9 years agoFix segv when stream copy and validate_tag fails, st->codec->codec is not set
Baptiste Coudurier [Thu, 12 Aug 2010 00:35:19 +0000 (00:35 +0000)]
Fix segv when stream copy and validate_tag fails, st->codec->codec is not set

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

9 years ago100L, fix vf_scale, since copy_ref_props now copy w and h, we must update them
Baptiste Coudurier [Thu, 12 Aug 2010 00:33:18 +0000 (00:33 +0000)]
100L, fix vf_scale, since copy_ref_props now copy w and h, we must update them

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

9 years agoAdd missing mms.c from r24779.
Ronald S. Bultje [Wed, 11 Aug 2010 23:45:05 +0000 (23:45 +0000)]
Add missing mms.c from r24779.

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

9 years agoMove functions and structs shared between MMSH and MMST into their own file,
Zhentan Feng [Wed, 11 Aug 2010 22:50:17 +0000 (22:50 +0000)]
Move functions and structs shared between MMSH and MMST into their own file,
mms.c. Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoExtract fields that are to be shared between MMST/MMSH into a common struct,
Zhentan Feng [Wed, 11 Aug 2010 22:43:54 +0000 (22:43 +0000)]
Extract fields that are to be shared between MMST/MMSH into a common struct,
MMSContext. The other MMST-specific members go into MMSTContext.

Patch by Zhentan Feng <spyfeng gmail com>.

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

9 years agoUse FFALIGN() in mmst.c where appropriate. Noticed by Benoit Fouet.
Ronald S. Bultje [Wed, 11 Aug 2010 22:27:29 +0000 (22:27 +0000)]
Use FFALIGN() in mmst.c where appropriate. Noticed by Benoit Fouet.

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

9 years agoApply misc cosmetics: add empty newlines for separating function
Stefano Sabatini [Wed, 11 Aug 2010 16:22:16 +0000 (16:22 +0000)]
Apply misc cosmetics: add empty newlines for separating function
declarations and fix weird indent.

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

9 years agoSet type on buffer in get_video_buffer().
S.N. Hemanth Meenakshisundaram [Wed, 11 Aug 2010 15:38:50 +0000 (15:38 +0000)]
Set type on buffer in get_video_buffer().

Patch by S.N. Hemanth Meenakshisundaram reverse("skaneems") + "@ucsd.edu".

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

9 years agoAdd APIchanges entry for the AVFilterBufferRef changes in r24773.
Stefano Sabatini [Wed, 11 Aug 2010 15:29:40 +0000 (15:29 +0000)]
Add APIchanges entry for the AVFilterBufferRef changes in r24773.

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

9 years agoResize data and linesize in AVFilterBufferRef to 8.
S.N. Hemanth Meenakshisundaram [Wed, 11 Aug 2010 15:25:42 +0000 (15:25 +0000)]
Resize data and linesize in AVFilterBufferRef to 8.

This is required to make AVFilterBufferRef able to contain also audio
data, required by audio filtering integration.

Patch by S.N. Hemanth Meenakshisundaram smeen?ks@ucsd.ed?.

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

9 years agoExtend and clarify documentation for -ac ffmpeg option.
Stefano Sabatini [Wed, 11 Aug 2010 14:49:41 +0000 (14:49 +0000)]
Extend and clarify documentation for -ac ffmpeg option.

Fix roundup issue #2061.

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

9 years agoAdd documentation for the pm parameter of the av_metadata_set*
Stefano Sabatini [Wed, 11 Aug 2010 14:38:19 +0000 (14:38 +0000)]
Add documentation for the pm parameter of the av_metadata_set*
functions.

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

9 years agoFix reference to a wrong parameter name in the metadata API functions
Stefano Sabatini [Wed, 11 Aug 2010 14:38:16 +0000 (14:38 +0000)]
Fix reference to a wrong parameter name in the metadata API functions
doxies.

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

9 years agoAdd APIchanges entry after av_picture_data_copy() addition.
Stefano Sabatini [Wed, 11 Aug 2010 14:22:19 +0000 (14:22 +0000)]
Add APIchanges entry after av_picture_data_copy() addition.

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

9 years agoAdd av_picture_data_copy() and reimplement av_picture_copy() as a
S.N. Hemanth Meenakshisundaram [Wed, 11 Aug 2010 14:18:52 +0000 (14:18 +0000)]
Add av_picture_data_copy() and reimplement av_picture_copy() as a
wrapper of it.

The new function is more generic, and does not depend on the
definition of the AVPicture struct.

Patch by S.N. Hemanth Meenakshisundaram s + "meenakshisundaram".substr(0, 7) + "@ucsd.edu".

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

9 years agoFix typo.
Stefano Sabatini [Wed, 11 Aug 2010 11:49:44 +0000 (11:49 +0000)]
Fix typo.

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

9 years agoAdd APIchanges entry after avfilter_open() change in r24765.
Stefano Sabatini [Wed, 11 Aug 2010 11:49:08 +0000 (11:49 +0000)]
Add APIchanges entry after avfilter_open() change in r24765.

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

9 years agoChange avfilter_open() signature, from:
Stefano Sabatini [Wed, 11 Aug 2010 11:44:51 +0000 (11:44 +0000)]
Change avfilter_open() signature, from:
AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name);
to:
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name);

This way it is possible to propagate an error code telling the reason
of the failure.

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

9 years agoAdd APIchanges entry after AVFilterBufferRef changes in r24763.
Stefano Sabatini [Wed, 11 Aug 2010 11:10:22 +0000 (11:10 +0000)]
Add APIchanges entry after AVFilterBufferRef changes in r24763.

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

9 years agoSeparate video specific BufferRef properties into VideoProps.
S.N. Hemanth Meenakshisundaram [Wed, 11 Aug 2010 11:06:04 +0000 (11:06 +0000)]
Separate video specific BufferRef properties into VideoProps.

Define a new struct AVFilterBufferRefVideoProps and add a type field
to AVFilterBufferRef.

Video specific properties in AVFilterBufferRefVideoProps are now
referred to by *video pointer in AVFilterBufferRef.

Patch by S.N. Hemanth Meenakshisundaram smeenaks->ucsd.edu.

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

9 years agoNit: fix weird spacing.
Stefano Sabatini [Wed, 11 Aug 2010 09:13:58 +0000 (09:13 +0000)]
Nit: fix weird spacing.

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

9 years agoAdd empty newlines between function descriptions and @params, improve
Stefano Sabatini [Wed, 11 Aug 2010 09:13:53 +0000 (09:13 +0000)]
Add empty newlines between function descriptions and @params, improve
readability.

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

9 years agoremove b4_stride/mb_stride.
Pascal Massimino [Wed, 11 Aug 2010 08:27:38 +0000 (08:27 +0000)]
remove b4_stride/mb_stride.
correct mb_xy to use mb_width.
tighten allocations.
reduce the amount of zeroing.

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

9 years agoAdd a mapping for the V4L2_PIX_FMT_NV12 format to PIX_FMT_NV12 for
Pete Eberlein [Wed, 11 Aug 2010 07:34:33 +0000 (07:34 +0000)]
Add a mapping for the V4L2_PIX_FMT_NV12 format to PIX_FMT_NV12 for
video4linux2 devices. This is used by Sensoray Model 2253 cards.
Patch by Pete Eberlein (pete AT sensoray DOT com)

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

9 years agofix over-allocation. confused b4_stride with mb_width.
Pascal Massimino [Wed, 11 Aug 2010 05:24:19 +0000 (05:24 +0000)]
fix over-allocation. confused b4_stride with mb_width.

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

9 years agoFix mem leak when trying to open a non-existing image file (issue 2126).
Przemysław Sobala [Tue, 10 Aug 2010 17:27:22 +0000 (17:27 +0000)]
Fix mem leak when trying to open a non-existing image file (issue 2126).

Patch by Przemysław Sobala, psobala wp-sa pl

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

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