ffmpeg.git
9 years agoMove vp6_filter_diag4() x86 SIMD code from inline ASM to YASM. This should
Ronald S. Bultje [Wed, 25 Aug 2010 13:44:16 +0000 (13:44 +0000)]
Move vp6_filter_diag4() x86 SIMD code from inline ASM to YASM. This should
help in fixing the Win64 fate failures.

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

9 years agoMove vp6_filter_diag4() from DSPContext to VP56DSPContext.
Ronald S. Bultje [Wed, 25 Aug 2010 13:42:28 +0000 (13:42 +0000)]
Move vp6_filter_diag4() from DSPContext to VP56DSPContext.

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

9 years agortsp: Return EOF if the TCP control channel is closed
Martin Storsjö [Wed, 25 Aug 2010 13:42:17 +0000 (13:42 +0000)]
rtsp: Return EOF if the TCP control channel is closed

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

9 years agoReindent
Martin Storsjö [Wed, 25 Aug 2010 13:31:33 +0000 (13:31 +0000)]
Reindent

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

9 years agoSimplify resolve_destination in sdp.c further, now that we don't enforce IPv4 any...
Martin Storsjö [Wed, 25 Aug 2010 13:30:06 +0000 (13:30 +0000)]
Simplify resolve_destination in sdp.c further, now that we don't enforce IPv4 any longer

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

9 years ago10l, add new function parameters to resolve_destination for !config_network too
Martin Storsjö [Wed, 25 Aug 2010 12:51:20 +0000 (12:51 +0000)]
10l, add new function parameters to resolve_destination for !config_network too

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

9 years agoReindent, rewrap lines
Martin Storsjö [Wed, 25 Aug 2010 12:34:42 +0000 (12:34 +0000)]
Reindent, rewrap lines

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

9 years agoProperly handle IPv6 addresses in the SDP generation
Martin Storsjö [Wed, 25 Aug 2010 12:29:32 +0000 (12:29 +0000)]
Properly handle IPv6 addresses in the SDP generation

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

9 years agocleanup a bit in a64multi_encode_frame()
Tobias Bindhammer [Wed, 25 Aug 2010 11:47:50 +0000 (11:47 +0000)]
cleanup a bit in a64multi_encode_frame()

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

9 years agoadded/extended some comments in a64multi_encode_frame()
Tobias Bindhammer [Wed, 25 Aug 2010 11:47:47 +0000 (11:47 +0000)]
added/extended some comments in a64multi_encode_frame()

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

9 years agortp: Replace hardcoded RTCP packet types with defines
Josh Allmann [Wed, 25 Aug 2010 09:15:31 +0000 (09:15 +0000)]
rtp: Replace hardcoded RTCP packet types with defines

Patch by Josh Allmann, joshua dot allmann at gmail

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

9 years agoRenderware TeXture Dictionary FATE test
Vitor Sessak [Tue, 24 Aug 2010 20:48:58 +0000 (20:48 +0000)]
Renderware TeXture Dictionary FATE test

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

9 years agoconfigure: enable fast_cmov for 'atom'
Janne Grunau [Tue, 24 Aug 2010 17:56:58 +0000 (17:56 +0000)]
configure: enable fast_cmov for 'atom'

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

9 years agoRemove global mm_flags variable
Måns Rullgård [Tue, 24 Aug 2010 17:47:05 +0000 (17:47 +0000)]
Remove global mm_flags variable

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

9 years agoMark xmm registers as clobbered in simple loopfilter. Should fix the last
Ronald S. Bultje [Tue, 24 Aug 2010 16:52:27 +0000 (16:52 +0000)]
Mark xmm registers as clobbered in simple loopfilter. Should fix the last
two VP8-related fate failures on Win64.

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

9 years agoconfigure: fix typo in test deps
Måns Rullgård [Tue, 24 Aug 2010 16:52:21 +0000 (16:52 +0000)]
configure: fix typo in test deps

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

9 years agoFix undefined expressions that use multiple calls to get_bits().
Alex Converse [Tue, 24 Aug 2010 16:10:25 +0000 (16:10 +0000)]
Fix undefined expressions that use multiple calls to get_bits().

Because the order of evaluation of subexpressions is undefined, two
get_bits() calls may not be part of the same expression.

See also r24902.

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

9 years agoFactorize opt_new_{audio,video,subtitle} definitions.
Stefano Sabatini [Tue, 24 Aug 2010 15:48:20 +0000 (15:48 +0000)]
Factorize opt_new_{audio,video,subtitle} definitions.

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

9 years agoCosmetics: rename out_video_filter to output_video_filter, for
Stefano Sabatini [Tue, 24 Aug 2010 15:48:17 +0000 (15:48 +0000)]
Cosmetics: rename out_video_filter to output_video_filter, for
consistency with input_video_filter.

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

9 years agoMake configure_filters() return a meaningful error code rather than
Stefano Sabatini [Tue, 24 Aug 2010 15:48:11 +0000 (15:48 +0000)]
Make configure_filters() return a meaningful error code rather than
always -1.

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

9 years agomsmpeg4v1: fix undefined behaviour in msmpeg4_decode_picture_header()
Måns Rullgård [Tue, 24 Aug 2010 15:40:57 +0000 (15:40 +0000)]
msmpeg4v1: fix undefined behaviour in msmpeg4_decode_picture_header()

Because the order of evaluation of subexpressions is undefined, two
get_bits() calls may not be part of the same expression.  In this
specific case, using get_bits_long() is simpler.

This fixes msmpeg4v1 decoding with armcc.

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

9 years agoadded interlacing option and compression option for colorram (lut)
Tobias Bindhammer [Tue, 24 Aug 2010 15:21:27 +0000 (15:21 +0000)]
added interlacing option and compression option for colorram (lut)

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

9 years agoImplement ff_get_ref_perms_string() and use it for tracing.
Stefano Sabatini [Tue, 24 Aug 2010 15:12:13 +0000 (15:12 +0000)]
Implement ff_get_ref_perms_string() and use it for tracing.

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

9 years agoavformat: free decryption key in av_close_input_stream()
Måns Rullgård [Tue, 24 Aug 2010 15:08:53 +0000 (15:08 +0000)]
avformat: free decryption key in av_close_input_stream()

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

9 years agofixed some return values and deprecated CODEC_TYPE_VIDEO.
Tobias Bindhammer [Tue, 24 Aug 2010 14:02:31 +0000 (14:02 +0000)]
fixed some return values and deprecated CODEC_TYPE_VIDEO.
dithering (faster) along a linear gradient now.

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

9 years agoasfcrypt: fix unaligned accesses with armcc
Måns Rullgård [Tue, 24 Aug 2010 13:42:28 +0000 (13:42 +0000)]
asfcrypt: fix unaligned accesses with armcc

Compilers may assume a pointer has natural alignment, even if it was
assigned from a pointer type with weaker alignment requirements.  It
is thus not safe to assign a possibly unaligned value to a pointer,
regardless of how it is subsequently dereferenced.

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

9 years agoAdd fifo filter.
Stefano Sabatini [Tue, 24 Aug 2010 08:38:00 +0000 (08:38 +0000)]
Add fifo filter.

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

9 years agoMake avfilter_start_frame() invoke avfilter_get_video_buffer() on the
Stefano Sabatini [Tue, 24 Aug 2010 08:37:54 +0000 (08:37 +0000)]
Make avfilter_start_frame() invoke avfilter_get_video_buffer() on the
link rather than avfilter_default_get_video_buffer().

This is required as the buffer requested may be greater than the
buffer allocated locally by avfilter_default_get_video_buffer(), for
example if in filterchain there is a pad filter (like in "fifo,pad").

In that case the pad filter will try to write beyond the data of the
allocated buffer, resulting in a crash.

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

9 years agoindent
Ramiro Polla [Tue, 24 Aug 2010 00:46:32 +0000 (00:46 +0000)]
indent

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

9 years agoswscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversion
Måns Rullgård [Mon, 23 Aug 2010 21:22:24 +0000 (21:22 +0000)]
swscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversion

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

9 years agoswscale: remove unused macro parameter in BGR2UV template
Måns Rullgård [Mon, 23 Aug 2010 21:22:20 +0000 (21:22 +0000)]
swscale: remove unused macro parameter in BGR2UV template

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

9 years agoAdd _XOPEN_SOURCE definition for usleep().
Dave Yeo [Mon, 23 Aug 2010 21:12:34 +0000 (21:12 +0000)]
Add _XOPEN_SOURCE definition for usleep().
patch by Dave Yeo, daveryeo telus net

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

9 years agoacenc: LAME-inspired window decision
Nathan Caldwell [Mon, 23 Aug 2010 20:00:03 +0000 (20:00 +0000)]
acenc: LAME-inspired window decision

This performs quite a bit better than the current 3GPP-inspired window decision
on all the samples I have tested. On the castanets.wav sample it performs very
similar to iTunes window selection, and seems to perform better than Nero.
On fatboy.wav, it seems to perform at least as good as iTunes, if not better.
Nero performs horribly on this sample.

Patch by: Nathan Caldwell <saintdev@gmail.com>

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

9 years agoRevert unintended changes to fft.h from r24890.
Alex Converse [Mon, 23 Aug 2010 19:35:58 +0000 (19:35 +0000)]
Revert unintended changes to fft.h from r24890.

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

9 years agoaacenc: Rename Psy3gpp* structs to AacPsy*
Nathan Caldwell [Mon, 23 Aug 2010 19:27:24 +0000 (19:27 +0000)]
aacenc: Rename Psy3gpp* structs to AacPsy*

This allows cleaner implementation of other psymodels using the existing
structs. It also will make it easier to interchange individual parts of
the psymodel to create hybrid models.

Patch by: Nathan Caldwell <saintdev@gmail.com>

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

9 years agofate: set LC_ALL=C to avoid locale interference
Måns Rullgård [Mon, 23 Aug 2010 17:34:08 +0000 (17:34 +0000)]
fate: set LC_ALL=C to avoid locale interference

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

9 years agoBinkAudio FATE tests
Vitor Sessak [Mon, 23 Aug 2010 16:41:25 +0000 (16:41 +0000)]
BinkAudio FATE tests

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

9 years agoimdct/x86: Use "s->mdct_size" instead of "1 << s->mdct_bits".
Alex Converse [Mon, 23 Aug 2010 15:51:09 +0000 (15:51 +0000)]
imdct/x86: Use "s->mdct_size" instead of "1 << s->mdct_bits".

It generates smaller cleaner code.

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

9 years agoasfcrypt: fix unaligned read in ff_asfcrypt_dec()
Måns Rullgård [Mon, 23 Aug 2010 15:38:57 +0000 (15:38 +0000)]
asfcrypt: fix unaligned read in ff_asfcrypt_dec()

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

9 years agoAdd missing parentheses to AV_NE macro.
Benoit Fouet [Mon, 23 Aug 2010 15:31:50 +0000 (15:31 +0000)]
Add missing parentheses to AV_NE macro.

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

9 years agoMake "-fs ss" mean "make output file of size equals or less than ss"
Vitor Sessak [Mon, 23 Aug 2010 14:46:59 +0000 (14:46 +0000)]
Make "-fs ss" mean "make output file of size equals or less than ss"
instead of current "make output file of size less than ss".

Also use it to make MP3 tests more readable (using -fs xxx where xxx is
the requested output size, not something slightly lower).

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

9 years agoAdding of a64-codec: there were changes to be documented in changelog
Tobias Bindhammer [Mon, 23 Aug 2010 13:23:44 +0000 (13:23 +0000)]
Adding of a64-codec: there were changes to be documented in changelog

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

9 years agoremoved an unnecessary blank line
Tobias Bindhammer [Mon, 23 Aug 2010 13:19:48 +0000 (13:19 +0000)]
removed an unnecessary blank line

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

9 years agofix fate breakage, 10l to me (too much copy and pasting)
Vitor Sessak [Mon, 23 Aug 2010 12:27:27 +0000 (12:27 +0000)]
fix fate breakage, 10l to me (too much copy and pasting)

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

9 years agoMP3 float decoder FATE tests
Vitor Sessak [Mon, 23 Aug 2010 12:17:03 +0000 (12:17 +0000)]
MP3 float decoder FATE tests

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

9 years agoDo not use the server SSRC as client SSRC in the RTP demuxer
Luca Abeni [Mon, 23 Aug 2010 11:53:27 +0000 (11:53 +0000)]
Do not use the server SSRC as client SSRC in the RTP demuxer

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

9 years agoenabling codec and muxer by registering it in allcodec.c and allformat.c and adding...
Tobias Bindhammer [Mon, 23 Aug 2010 11:52:34 +0000 (11:52 +0000)]
enabling codec and muxer by registering it in allcodec.c and allformat.c and adding files to the build-system

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

9 years agoadded codec-ids for the a64 codec
Tobias Bindhammer [Mon, 23 Aug 2010 11:51:04 +0000 (11:51 +0000)]
added codec-ids for the a64 codec

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

9 years agodocumentation added for the a64 codec
Tobias Bindhammer [Mon, 23 Aug 2010 11:48:50 +0000 (11:48 +0000)]
documentation added for the a64 codec

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

9 years agoCorresponding muxer for the a64 codec
Tobias Bindhammer [Mon, 23 Aug 2010 11:47:50 +0000 (11:47 +0000)]
Corresponding muxer for the a64 codec

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

9 years agoAdd FATE test for WMV8 DRM
Vitor Sessak [Mon, 23 Aug 2010 11:46:55 +0000 (11:46 +0000)]
Add FATE test for WMV8 DRM

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

9 years agoInitial version of the a64 (multicolor charset) codec
Tobias Bindhammer [Mon, 23 Aug 2010 11:46:32 +0000 (11:46 +0000)]
Initial version of the a64 (multicolor charset) codec

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

9 years agoAdd truemotion1 tests.
Reimar Döffinger [Mon, 23 Aug 2010 04:45:36 +0000 (04:45 +0000)]
Add truemotion1 tests.

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

9 years agoFix segfaults in VP8 SIMD code on Win64 (and FATE/win64 failures).
Ronald S. Bultje [Mon, 23 Aug 2010 02:41:22 +0000 (02:41 +0000)]
Fix segfaults in VP8 SIMD code on Win64 (and FATE/win64 failures).

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

9 years agofate: remove unused variable in fate.sh
Måns Rullgård [Sun, 22 Aug 2010 15:20:07 +0000 (15:20 +0000)]
fate: remove unused variable in fate.sh

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

9 years agoConvert ff_imdct_half_sse() to yasm.
Alex Converse [Sun, 22 Aug 2010 14:39:58 +0000 (14:39 +0000)]
Convert ff_imdct_half_sse() to yasm.

This is to avoid split asm sections that attempt to preserve some
registers between sections.

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

9 years agofate: remove pointless fate/fate2 separation
Måns Rullgård [Sun, 22 Aug 2010 14:24:58 +0000 (14:24 +0000)]
fate: remove pointless fate/fate2 separation

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

9 years agommsh depends on http
Måns Rullgård [Sun, 22 Aug 2010 12:03:27 +0000 (12:03 +0000)]
mmsh depends on http

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

9 years agofate: allow specifying relative path to config file in fate.sh
Måns Rullgård [Sun, 22 Aug 2010 11:53:02 +0000 (11:53 +0000)]
fate: allow specifying relative path to config file in fate.sh

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

9 years agoAdd FATE test for ANSI/ASCII animation and TTY demuxer
Vitor Sessak [Sat, 21 Aug 2010 20:57:24 +0000 (20:57 +0000)]
Add FATE test for ANSI/ASCII animation and TTY demuxer

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

9 years agoThe 24-bit ydt also should not depend on endianness,
Reimar Döffinger [Sat, 21 Aug 2010 19:50:36 +0000 (19:50 +0000)]
The 24-bit ydt also should not depend on endianness,
since all of it ends up in a single 32-bit pixel.
This seems likely to be wrong though, since it is different
from the 15 and 16 bit modes and might explain the half-width
issue for 24 bit truemotion.

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

9 years agoSince the 24 bit format is decoded to endian-dependant
Reimar Döffinger [Sat, 21 Aug 2010 19:40:38 +0000 (19:40 +0000)]
Since the 24 bit format is decoded to endian-dependant
BGR32 and not BGR24, do not swap red and blue on big-endian
for this format as well.

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

9 years agoDo not swap red and blue when decoding truemotion
Reimar Döffinger [Sat, 21 Aug 2010 19:37:33 +0000 (19:37 +0000)]
Do not swap red and blue when decoding truemotion
on big-endian.

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

9 years agoMMSH support, the most popular and widely used of all MMS variants. Written by
Ronald S. Bultje [Sat, 21 Aug 2010 19:04:41 +0000 (19:04 +0000)]
MMSH support, the most popular and widely used of all MMS variants. Written by
Zhentan Feng <spyfeng gmail com> as part of Google's Summer of Code program.

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

9 years agoCosmetics: remove useless ().
Stefano Sabatini [Sat, 21 Aug 2010 15:18:54 +0000 (15:18 +0000)]
Cosmetics: remove useless ().

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

9 years agoCosmetics: if( -> if (.
Stefano Sabatini [Sat, 21 Aug 2010 15:18:52 +0000 (15:18 +0000)]
Cosmetics: if( -> if (.

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

9 years agoExport the presentation video dimensions as avctx->width/avctx->height.
Reimar Döffinger [Sat, 21 Aug 2010 11:52:03 +0000 (11:52 +0000)]
Export the presentation video dimensions as avctx->width/avctx->height.

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

9 years agoAdd myself as maintainer for the PGS subtitle decoder.
Reimar Döffinger [Sat, 21 Aug 2010 11:50:13 +0000 (11:50 +0000)]
Add myself as maintainer for the PGS subtitle decoder.

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

9 years agoAdd null audio filter.
S.N. Hemanth Meenakshisundaram [Fri, 20 Aug 2010 23:16:51 +0000 (23:16 +0000)]
Add null audio filter.

Patch by S.N. Hemanth Meenakshisundaram -af smeenaks,ucsd,edu.

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

9 years agoAdd AUDIO FILTERS section.
Stefano Sabatini [Fri, 20 Aug 2010 23:16:48 +0000 (23:16 +0000)]
Add AUDIO FILTERS section.

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

9 years agodv: fix alignment of scratch buffer
Måns Rullgård [Fri, 20 Aug 2010 19:49:47 +0000 (19:49 +0000)]
dv: fix alignment of scratch buffer

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

9 years agoFixed mpeg12 top field first flag value with field picture encoding.
Laurent Aimar [Fri, 20 Aug 2010 18:28:42 +0000 (18:28 +0000)]
Fixed mpeg12 top field first flag value with field picture encoding.

The relevent extract of the iso 13818-2 about the value of the syntaxical
element top_field_first of the Picture Coding Extension is:

"top_field_first -- The meaning of this element depends upon picture_structure,
progressive_sequence and repeat_first_field.
[...]
In a field picture top_field_first shall have the value '0', and the only field
output by the decoding process is the decoded field picture."

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

9 years agoAdd APIchanges for av_fill_image_max_pixstep() rename of r24851.
Stefano Sabatini [Fri, 20 Aug 2010 16:55:37 +0000 (16:55 +0000)]
Add APIchanges for av_fill_image_max_pixstep() rename of r24851.

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

9 years agoRename av_fill_image_max_pixstep() to av_fill_image_max_pixsteps().
Stefano Sabatini [Fri, 20 Aug 2010 16:52:38 +0000 (16:52 +0000)]
Rename av_fill_image_max_pixstep() to av_fill_image_max_pixsteps().

The plural form is preferred as it is more consistent with the other functions:
av_fill_image_linesizes()
av_fill_image_pointers()

and looks semantically more correct as it fills an array of elements.

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

9 years agoAdd missing period in av_fill_image_max_pixstep() doxy.
Stefano Sabatini [Fri, 20 Aug 2010 16:34:41 +0000 (16:34 +0000)]
Add missing period in av_fill_image_max_pixstep() doxy.

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

9 years agoMake ff_dprintf_ref() print audio related information if available.
Stefano Sabatini [Fri, 20 Aug 2010 15:16:10 +0000 (15:16 +0000)]
Make ff_dprintf_ref() print audio related information if available.

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

9 years agoCosmetics: merge two lines in ff_dprintf_ref().
Stefano Sabatini [Fri, 20 Aug 2010 15:16:07 +0000 (15:16 +0000)]
Cosmetics: merge two lines in ff_dprintf_ref().

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

9 years agoMake ff_dprintf_ref() print the information related to the referenced
Stefano Sabatini [Fri, 20 Aug 2010 15:16:02 +0000 (15:16 +0000)]
Make ff_dprintf_ref() print the information related to the referenced
AVFilterBuffer.

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

9 years agoRename ff_dprintf_picref() to ff_dprintf_ref().
Stefano Sabatini [Fri, 20 Aug 2010 15:15:57 +0000 (15:15 +0000)]
Rename ff_dprintf_picref() to ff_dprintf_ref().

The function is going to be used to represent also audio data.

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

9 years agoExtend ff_dprintf_picref() to make it print video interlaced and
Stefano Sabatini [Fri, 20 Aug 2010 14:41:23 +0000 (14:41 +0000)]
Extend ff_dprintf_picref() to make it print video interlaced and
top_field_first information.

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

9 years agoMake ff_dprintf_picref() print video properties only if available.
Stefano Sabatini [Fri, 20 Aug 2010 14:41:21 +0000 (14:41 +0000)]
Make ff_dprintf_picref() print video properties only if available.

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

9 years agoOnly print the pointer to the first plane in ff_dprintf_picref().
Stefano Sabatini [Fri, 20 Aug 2010 14:41:18 +0000 (14:41 +0000)]
Only print the pointer to the first plane in ff_dprintf_picref().

To display the other planes is usually not useful and add noise to the
output.

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

9 years agoCosmetics: add an empty newline between the function description and
Stefano Sabatini [Fri, 20 Aug 2010 14:19:55 +0000 (14:19 +0000)]
Cosmetics: add an empty newline between the function description and
the list of @params.

Improve consistency and possibly enhance readability.

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

9 years agofix anonymous memory mapping for NetBSD
Grant Carver [Thu, 19 Aug 2010 23:48:19 +0000 (23:48 +0000)]
fix anonymous memory mapping for NetBSD

mmap() with MAP_ANONYMOUS requires the file descriptor to be -1 in NetBSD.
Linux just ignores this parameter.

Patch by Grant Carver <grantc at cat dot co dot za>

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

9 years agoadd FF_API_URL_RESETBUF define to disable the deprecated url_resetbuf()
Aurelien Jacobs [Thu, 19 Aug 2010 21:28:43 +0000 (21:28 +0000)]
add FF_API_URL_RESETBUF define to disable the deprecated url_resetbuf()
public function

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

9 years agoadd FF_API_REGISTER_PROTOCOL define to disable the deprecated
Aurelien Jacobs [Thu, 19 Aug 2010 21:21:32 +0000 (21:21 +0000)]
add FF_API_REGISTER_PROTOCOL define to disable the deprecated
register_protocol() function

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

9 years agoapplehttp: define _XOPEN_SOURCE=600 as required for usleep()
Måns Rullgård [Thu, 19 Aug 2010 17:07:12 +0000 (17:07 +0000)]
applehttp: define _XOPEN_SOURCE=600 as required for usleep()

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

9 years agoimc: fix undefined float to int conversion
Måns Rullgård [Thu, 19 Aug 2010 16:51:26 +0000 (16:51 +0000)]
imc: fix undefined float to int conversion

Conversion of an out of range float to int is undefined.  Clipping to
the final range first avoids such problems.  This fixes decoding on
MIPS, which handles these conversions differently from many other CPUs.

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

9 years agofate-run: use 'run' function in 'ffmpeg' function
Måns Rullgård [Thu, 19 Aug 2010 16:51:24 +0000 (16:51 +0000)]
fate-run: use 'run' function in 'ffmpeg' function

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

9 years agofate: add -v 0 to ffmpeg flags
Måns Rullgård [Thu, 19 Aug 2010 16:51:21 +0000 (16:51 +0000)]
fate: add -v 0 to ffmpeg flags

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

9 years agoadd FF_API_URL_CLASS define to enable usage of URLContext as a AVClass
Aurelien Jacobs [Thu, 19 Aug 2010 16:49:08 +0000 (16:49 +0000)]
add FF_API_URL_CLASS define to enable usage of URLContext as a AVClass

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

9 years agoAdd Apple HTTP Live Streaming demuxer
Martin Storsjö [Thu, 19 Aug 2010 14:54:37 +0000 (14:54 +0000)]
Add Apple HTTP Live Streaming demuxer

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

9 years agoMove the definition of the maximum url size for static buffers to internal.h
Martin Storsjö [Thu, 19 Aug 2010 14:50:40 +0000 (14:50 +0000)]
Move the definition of the maximum url size for static buffers to internal.h

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

9 years agoMake parse_key_value from httpauth a common lavf internal function
Martin Storsjö [Thu, 19 Aug 2010 14:49:53 +0000 (14:49 +0000)]
Make parse_key_value from httpauth a common lavf internal function

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

9 years agoswscale-test: add CRC output
Ramiro Polla [Thu, 19 Aug 2010 14:36:16 +0000 (14:36 +0000)]
swscale-test: add CRC output

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

9 years agoEnable and change the log level to DEBUG for the message printed in
Stefano Sabatini [Thu, 19 Aug 2010 14:32:36 +0000 (14:32 +0000)]
Enable and change the log level to DEBUG for the message printed in
case of picref copy.

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

9 years agoCosmetics: apply misc spacing style fixes.
Stefano Sabatini [Thu, 19 Aug 2010 14:32:31 +0000 (14:32 +0000)]
Cosmetics: apply misc spacing style fixes.

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

9 years agoFix braino: @flip -> @file.
Stefano Sabatini [Wed, 18 Aug 2010 21:07:57 +0000 (21:07 +0000)]
Fix braino: @flip -> @file.

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

9 years agoAdd APIchanges entry after the addition of av_fill_image_max_pixstep()
Stefano Sabatini [Wed, 18 Aug 2010 21:07:09 +0000 (21:07 +0000)]
Add APIchanges entry after the addition of av_fill_image_max_pixstep()
of r24827.

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

9 years agoImplement inline function av_fill_image_max_pixstep() and use it for
Stefano Sabatini [Wed, 18 Aug 2010 21:02:38 +0000 (21:02 +0000)]
Implement inline function av_fill_image_max_pixstep() and use it for
factorizing code.

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