ffmpeg.git
10 years agoMake avfilter_insert_filter() log the names of the filters between
Stefano Sabatini [Wed, 13 Jan 2010 00:16:52 +0000 (00:16 +0000)]
Make avfilter_insert_filter() log the names of the filters between
which it inserts the new filter.

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

10 years agoMake query_formats() print an error message if an auto-inserted scale
Stefano Sabatini [Wed, 13 Jan 2010 00:09:24 +0000 (00:09 +0000)]
Make query_formats() print an error message if an auto-inserted scale
filter cannot convert between input and output formats.

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

10 years agoUse MULH instead of 64x64 multiplication, around 5% overall speedup on Intel Atom.
Reimar Döffinger [Tue, 12 Jan 2010 23:02:07 +0000 (23:02 +0000)]
Use MULH instead of 64x64 multiplication, around 5% overall speedup on Intel Atom.
Patch by myself and Yuriy Kaminskiy [yumkam mail ru]

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

10 years agoSplit motion vector prediction off h264.c/h.
Michael Niedermayer [Tue, 12 Jan 2010 21:36:26 +0000 (21:36 +0000)]
Split motion vector prediction off h264.c/h.

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

10 years agoMove check_intra4x4_pred_mode() back from h264.h to h264.c, the function is just
Michael Niedermayer [Tue, 12 Jan 2010 21:17:26 +0000 (21:17 +0000)]
Move check_intra4x4_pred_mode() back from h264.h to h264.c, the function is just
called once per MB in worst case and doesnt seem to benefit from static inline.
Actually the code might be a hair faster now (0.1% according to my benchmark but
this could be random noise)

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

10 years agoSplit all the reference picture handling off h264.c.
Michael Niedermayer [Tue, 12 Jan 2010 20:59:00 +0000 (20:59 +0000)]
Split all the reference picture handling off h264.c.

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

10 years agoReindent after last commit.
Thilo Borgmann [Tue, 12 Jan 2010 20:37:56 +0000 (20:37 +0000)]
Reindent after last commit.

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

10 years agoReplace variable length array with an allocated buffer
Thilo Borgmann [Tue, 12 Jan 2010 20:35:22 +0000 (20:35 +0000)]
Replace variable length array with an allocated buffer
in the context to increase compatibility.

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

10 years agoSplit (picture|seq) parameter set decoding out of h264.c.
Michael Niedermayer [Tue, 12 Jan 2010 19:33:45 +0000 (19:33 +0000)]
Split (picture|seq) parameter set decoding out of h264.c.
no speedloss meassured, also its really not touching anything that is speed relevant.

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

10 years ago/nop is illegal with Apple's older version of gas, this was fixed elsewhere
David Conrad [Tue, 12 Jan 2010 19:03:09 +0000 (19:03 +0000)]
/nop is illegal with Apple's older version of gas, this was fixed elsewhere
but not here since it was unused before now.

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

10 years agoSplit SEI code off h264.c.
Michael Niedermayer [Tue, 12 Jan 2010 18:54:40 +0000 (18:54 +0000)]
Split SEI code off h264.c.

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

10 years agoReindent after r21166.
Ronald S. Bultje [Tue, 12 Jan 2010 16:36:23 +0000 (16:36 +0000)]
Reindent after r21166.

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

10 years agoUse chunked encoding for HTTP uploads. Patch by Tomas Härdin
Tomas Härdin [Tue, 12 Jan 2010 16:36:00 +0000 (16:36 +0000)]
Use chunked encoding for HTTP uploads. Patch by Tomas Härdin
<$firstname.$lastname()codemill,se>.

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

10 years agoSplit direct mode (macro)block decoding off h264.c.
Michael Niedermayer [Tue, 12 Jan 2010 14:32:58 +0000 (14:32 +0000)]
Split direct mode (macro)block decoding off h264.c.
No speedloss meassured (its slightly faster here but that may be random fluctuations)

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

10 years agoAlign mb_bit_buffer and vs_bit_buffer as their alignment is checked by assert().
Michael Niedermayer [Tue, 12 Jan 2010 13:54:35 +0000 (13:54 +0000)]
Align mb_bit_buffer and vs_bit_buffer as their alignment is checked by assert().

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

10 years agoMake sure the destination address is written as an IP address in the SDP
Martin Storsjö [Tue, 12 Jan 2010 10:56:43 +0000 (10:56 +0000)]
Make sure the destination address is written as an IP address in the SDP
Patch by Martin Storsjo (martin AT martin DOT st)

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

10 years agoReduce stack usage in svq1_encode_plane(). Reuse context scratch buffer
Zuxy Meng [Tue, 12 Jan 2010 09:13:32 +0000 (09:13 +0000)]
Reduce stack usage in svq1_encode_plane(). Reuse context scratch buffer
instead.  Avoid a crash on MinGW.

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

10 years agoCorrect timestamps inside FLV data received by RTMP.
Sergiy [Tue, 12 Jan 2010 07:10:47 +0000 (07:10 +0000)]
Correct timestamps inside FLV data received by RTMP.
Patch by Sergiy (gmail(piratfm))

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

10 years agoUse old-style RTMP handshake for old servers.
Art Clarke [Tue, 12 Jan 2010 06:44:49 +0000 (06:44 +0000)]
Use old-style RTMP handshake for old servers.
This fixes issue streaming from Red5 server.
Patch by Art Clarke (aclarke@`echo xyzzy|sed s/y/u/|sed s/y/le/|tr z g`.com)

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

10 years agoSplit h264 loop filter off h264.c.
Michael Niedermayer [Tue, 12 Jan 2010 06:01:55 +0000 (06:01 +0000)]
Split h264 loop filter off h264.c.
No meassureable speed difference on pentium dual & cathedral sample.

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

10 years agoMove svq3.o to the correct spot.
Michael Niedermayer [Tue, 12 Jan 2010 05:34:10 +0000 (05:34 +0000)]
Move svq3.o to the correct spot.

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

10 years agoGet rid of #include "svq3.c"
Michael Niedermayer [Tue, 12 Jan 2010 05:30:31 +0000 (05:30 +0000)]
Get rid of #include "svq3.c"
functions called more than per mb are moved into the header, scan8 is also
as it must be known at compiletime.
The code after this patch duplicates h264data.h, this has been done to minimize
the changes in this step and allow more fine grained benchmarking.
Speedwise this is 1% faster on my pentium dual core with diegos cursed cathedral
sample.

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

10 years agoBetter title for the file.
Michael Niedermayer [Tue, 12 Jan 2010 04:49:18 +0000 (04:49 +0000)]
Better title for the file.

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

10 years agoMake sure that sfence is used after any non temporal stores.
Zuxy Meng [Tue, 12 Jan 2010 02:34:33 +0000 (02:34 +0000)]
Make sure that sfence is used after any non temporal stores.

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

10 years agoAdd replacements for log2f(), exp2() and exp2f() for platforms that lacks it.
Vitor Sessak [Tue, 12 Jan 2010 02:19:51 +0000 (02:19 +0000)]
Add replacements for log2f(), exp2() and exp2f() for platforms that lacks it.

Should fix build breakage on some platforms introduced in r21125.

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

10 years agoSupport uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes issue 1474.
Carl Eugen Hoyos [Tue, 12 Jan 2010 00:29:26 +0000 (00:29 +0000)]
Support uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes issue 1474.

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

10 years agoAAC: use table for cbrtf(n)*n
Måns Rullgård [Mon, 11 Jan 2010 20:21:26 +0000 (20:21 +0000)]
AAC: use table for cbrtf(n)*n

The maximum length of escape_sequence is 21 bits, so adjust limit in
code to match this.

Up to 10% faster on Cortex-A8.

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

10 years agoRemove the inclusion of unneeded headers
Luca Abeni [Mon, 11 Jan 2010 19:55:14 +0000 (19:55 +0000)]
Remove the inclusion of unneeded headers

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

10 years agoAAC: escape_sequence is 21 bits max
Måns Rullgård [Mon, 11 Jan 2010 18:02:00 +0000 (18:02 +0000)]
AAC: escape_sequence is 21 bits max

The maximum length of escape_sequence is 21 bits, so adjust limit in
code to match this.  Also fix the comment.

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

10 years agoProvide a fallback for getnameinfo() also. Patch by Martin Storsjö
Martin Storsjö [Mon, 11 Jan 2010 17:45:17 +0000 (17:45 +0000)]
Provide a fallback for getnameinfo() also. Patch by Martin Storsjö
<$firstname()$firstname,st>.

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

10 years agoImplement a fallback for struct sockaddr_storage if not available.
Martin Storsjö [Mon, 11 Jan 2010 17:42:35 +0000 (17:42 +0000)]
Implement a fallback for struct sockaddr_storage if not available.
Patch by Martin Storsjö <$firstname()$firstname,st>.

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

10 years agoCheck for struct sockaddr_storage. Patch by Martin Storsjö
Martin Storsjö [Mon, 11 Jan 2010 17:42:15 +0000 (17:42 +0000)]
Check for struct sockaddr_storage. Patch by Martin Storsjö
<$firstname()$firstname,st>.

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

10 years agoUse getaddrinfo() instead of resolve_host(). Patch by Martin Storsjö
Martin Storsjö [Mon, 11 Jan 2010 17:32:40 +0000 (17:32 +0000)]
Use getaddrinfo() instead of resolve_host(). Patch by Martin Storsjö
<$firstname()$firstname,st>.

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

10 years agoDeprecate resolve_host(). Patch by Martin Storsjö <$firstname()$firstname,st>.
Martin Storsjö [Mon, 11 Jan 2010 17:28:55 +0000 (17:28 +0000)]
Deprecate resolve_host(). Patch by Martin Storsjö <$firstname()$firstname,st>.

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

10 years agoProvide fallback implementations of getaddrinfo() and freeaddrinfo().
Martin Storsjö [Mon, 11 Jan 2010 17:27:07 +0000 (17:27 +0000)]
Provide fallback implementations of getaddrinfo() and freeaddrinfo().
Patch by Martin Storsjö <$firstname()$firstname,st>.

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

10 years agoCheck for struct addrinfo availability. Patch by Martin Storsjö
Martin Storsjö [Mon, 11 Jan 2010 17:17:01 +0000 (17:17 +0000)]
Check for struct addrinfo availability. Patch by Martin Storsjö
<$firstname()$firstname,st>.

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

10 years agoUse getaddrinfo(), if available, in resolve_host(). Patch by Martin
Ronald S. Bultje [Mon, 11 Jan 2010 17:14:16 +0000 (17:14 +0000)]
Use getaddrinfo(), if available, in resolve_host(). Patch by Martin
Storsjö <$firstname()$firstname,st>.

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

10 years agoCheck for getaddrinfo(), patch by Martin Storsjö <$firstname()$firstname,st>.
Martin Storsjö [Mon, 11 Jan 2010 17:01:56 +0000 (17:01 +0000)]
Check for getaddrinfo(), patch by Martin Storsjö <$firstname()$firstname,st>.

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

10 years agofft-test: Add RDFT/IRDFT support.
Alex Converse [Mon, 11 Jan 2010 16:41:03 +0000 (16:41 +0000)]
fft-test: Add RDFT/IRDFT support.

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

10 years agofft-test: Replace do_mdct with a tf_transform enum and switch on it.
Alex Converse [Mon, 11 Jan 2010 16:40:01 +0000 (16:40 +0000)]
fft-test: Replace do_mdct with a tf_transform enum and switch on it.

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

10 years agoconfigure: Make check_type handle type names containing spaces
Martin Storsjö [Mon, 11 Jan 2010 14:22:29 +0000 (14:22 +0000)]
configure: Make check_type handle type names containing spaces

Patch by Martin Storsjö <martin at martin st>

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

10 years agoFix two RLE buffer size calculations in TSCC decoder.
Kostya Shishkov [Mon, 11 Jan 2010 14:21:53 +0000 (14:21 +0000)]
Fix two RLE buffer size calculations in TSCC decoder.
Spotted by Zhongtuan Ma.

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

10 years agoconfigure: allow names with spaces in enable/disable_safe
Måns Rullgård [Mon, 11 Jan 2010 13:36:58 +0000 (13:36 +0000)]
configure: allow names with spaces in enable/disable_safe

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

10 years agoadd myself as the electronicarts demuxer maintainer
Peter Ross [Mon, 11 Jan 2010 12:08:42 +0000 (12:08 +0000)]
add myself as the electronicarts demuxer maintainer

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

10 years ago10l: Fix forgotten variable rename from r14893 (fixes issue 1675).
Carl Eugen Hoyos [Mon, 11 Jan 2010 10:54:59 +0000 (10:54 +0000)]
10l: Fix forgotten variable rename from r14893 (fixes issue 1675).

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

10 years agoAvoid redefinition of RGB_PLANAR2PACKED24 as the template is included for
Zuxy Meng [Mon, 11 Jan 2010 08:21:31 +0000 (08:21 +0000)]
Avoid redefinition of RGB_PLANAR2PACKED24 as the template is included for
multiple times.

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

10 years agocosmetics: {} placement.
Ramiro Polla [Mon, 11 Jan 2010 07:30:28 +0000 (07:30 +0000)]
cosmetics: {} placement.

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

10 years agooggdec: Set dts when known
David Conrad [Mon, 11 Jan 2010 05:51:09 +0000 (05:51 +0000)]
oggdec: Set dts when known

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

10 years agoAdd missing internal.h to files calling ff_match_2uint16().
Alexander Strange [Mon, 11 Jan 2010 04:57:04 +0000 (04:57 +0000)]
Add missing internal.h to files calling ff_match_2uint16().

Fixes warnings:
libavcodec/mpegvideo_enc.c:574: warning: implicit declaration of function
'ff_match_2uint16'
libavcodec/ituh263enc.c:143: warning: implicit declaration of function
'ff_match_2uint16'
libavcodec/svq1enc.c:97: warning: implicit declaration of function
'ff_match_2uint16'

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

10 years agoOptimize ff_snow_horizontal_compose97i.
Michael Niedermayer [Mon, 11 Jan 2010 02:52:50 +0000 (02:52 +0000)]
Optimize ff_snow_horizontal_compose97i.
this makes the 9/7 C wavelet at the decoder side 22% faster.
The old code is changed to match the new in terms of the order of operations
(which also makes it sligtly faster)

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

10 years agoMerge vertical_compose53iL0*()
Michael Niedermayer [Mon, 11 Jan 2010 01:00:50 +0000 (01:00 +0000)]
Merge vertical_compose53iL0*()
8% faster C 5/3 wavelet at the decoder side.

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

10 years agoOptimize horizontal_compose53i() by inlining inv_lift() and optimizing the
Michael Niedermayer [Mon, 11 Jan 2010 00:54:48 +0000 (00:54 +0000)]
Optimize horizontal_compose53i() by inlining inv_lift() and optimizing the
resulting code slightly. ~30% faster C 5/3 wavelet at the decoder side.

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

10 years agomkvdec: Avoid divide-by-zero crash on invalid real audio tracks
David Conrad [Mon, 11 Jan 2010 00:31:55 +0000 (00:31 +0000)]
mkvdec: Avoid divide-by-zero crash on invalid real audio tracks

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

10 years agoAdd support for dirac in ogg
David Conrad [Mon, 11 Jan 2010 00:31:52 +0000 (00:31 +0000)]
Add support for dirac in ogg

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

10 years agoAdd a function to parse Dirac's sequence header
David Conrad [Mon, 11 Jan 2010 00:31:44 +0000 (00:31 +0000)]
Add a function to parse Dirac's sequence header

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

10 years agoExport fullrange flag and color information for h.264
David Conrad [Mon, 11 Jan 2010 00:31:39 +0000 (00:31 +0000)]
Export fullrange flag and color information for h.264

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

10 years agoSIPR decoder for modes 8k5, 6k5 and 5k0.
Vladimir Voroshilov [Sun, 10 Jan 2010 21:38:15 +0000 (21:38 +0000)]
SIPR decoder for modes 8k5, 6k5 and 5k0.

Patch by Vladimir Voroshilov and myself.

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

10 years agoMake query_formats() increment the scaler_count after each scaler
Stefano Sabatini [Sun, 10 Jan 2010 14:23:19 +0000 (14:23 +0000)]
Make query_formats() increment the scaler_count after each scaler
insertion.

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

10 years agoMake avfilter_insert_filter() print the instance name of the
Stefano Sabatini [Sun, 10 Jan 2010 13:45:55 +0000 (13:45 +0000)]
Make avfilter_insert_filter() print the instance name of the
auto-inserted scale filter, rather than the filter name, as this
provides more information.

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

10 years agoAdd an entry for the addition of a parameter log_ctx to
Stefano Sabatini [Sun, 10 Jan 2010 13:42:50 +0000 (13:42 +0000)]
Add an entry for the addition of a parameter log_ctx to
avfilter_graph_config_links().

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

10 years agoAdd a log context to avfilter_graph_config_links().
Stefano Sabatini [Sun, 10 Jan 2010 13:39:56 +0000 (13:39 +0000)]
Add a log context to avfilter_graph_config_links().

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

10 years agoRemove extra empty line.
Stefano Sabatini [Sun, 10 Jan 2010 10:40:45 +0000 (10:40 +0000)]
Remove extra empty line.

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

10 years agoUse enum CodecID where appropriate.
Carl Eugen Hoyos [Sun, 10 Jan 2010 08:57:20 +0000 (08:57 +0000)]
Use enum CodecID where appropriate.

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

10 years agoDeluxe Paint Animation demuxer
Peter Ross [Sun, 10 Jan 2010 05:47:50 +0000 (05:47 +0000)]
Deluxe Paint Animation demuxer

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

10 years agoDeluxe Paint Animation decoder
Peter Ross [Sun, 10 Jan 2010 05:41:36 +0000 (05:41 +0000)]
Deluxe Paint Animation decoder

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

10 years agodo not create Electronic Arts audio stream when unsupported revision2 audio codec...
Peter Ross [Sun, 10 Jan 2010 05:08:42 +0000 (05:08 +0000)]
do not create Electronic Arts audio stream when unsupported revision2 audio codec is present [issue1516]

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

10 years agoDoxy for ff_match_2uint16().
Michael Niedermayer [Sun, 10 Jan 2010 04:06:34 +0000 (04:06 +0000)]
Doxy for ff_match_2uint16().

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

10 years agoFix implicit declaration warning.
Michael Niedermayer [Sun, 10 Jan 2010 04:04:51 +0000 (04:04 +0000)]
Fix implicit declaration warning.

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

10 years agoAdd a function to match a 2 element vector of uint16_t and use it in h263 and svq1
Michael Niedermayer [Sat, 9 Jan 2010 18:33:21 +0000 (18:33 +0000)]
Add a function to match a 2 element vector of uint16_t and use it in h263 and svq1
instead of custom and bloated code to find an index into a w/h array.

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

10 years agoMake inter_level/run global again, msmpeg4 uses them.
Michael Niedermayer [Sat, 9 Jan 2010 18:12:06 +0000 (18:12 +0000)]
Make inter_level/run global again, msmpeg4 uses them.
... I did test but it wasnt recompiled ...

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

10 years agoMake some tables static again, i mistakely thought they would be used in several
Michael Niedermayer [Sat, 9 Jan 2010 17:22:37 +0000 (17:22 +0000)]
Make some tables static again, i mistakely thought they would be used in several
places.

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

10 years agoMMX(2) accelerated yuv420->rgb24 routine, trivial as essentially as it just
Zuxy Meng [Sat, 9 Jan 2010 17:20:49 +0000 (17:20 +0000)]
MMX(2) accelerated yuv420->rgb24 routine, trivial as essentially as it just
swaps R and B inputs for the existing yuv420->bgr24 routine.

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

10 years agoExport get_slice_type() as ff_h264_get_slice_type().
Laurent Aimar [Sat, 9 Jan 2010 16:20:41 +0000 (16:20 +0000)]
Export get_slice_type() as ff_h264_get_slice_type().
Patch by Laurent Aimar <fenrir at videolan dot org>.

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

10 years agoSplit H263 encoder and decoder from common code.
Michael Niedermayer [Sat, 9 Jan 2010 14:59:06 +0000 (14:59 +0000)]
Split H263 encoder and decoder from common code.

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

10 years agoRemove unused PREFETCHW macro
Zuxy Meng [Sat, 9 Jan 2010 14:44:20 +0000 (14:44 +0000)]
Remove unused PREFETCHW macro

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

10 years agoAdd support for hard-coded MDCT-related ff_sine_windows tables.
Reimar Döffinger [Sat, 9 Jan 2010 13:28:04 +0000 (13:28 +0000)]
Add support for hard-coded MDCT-related ff_sine_windows tables.

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

10 years agoAlways initialize bit_depth_luma and bit_depth_chroma in the H264
Laurent Aimar [Sat, 9 Jan 2010 07:57:26 +0000 (07:57 +0000)]
Always initialize bit_depth_luma and bit_depth_chroma in the H264
decoder which allows their usage without checking profile_idc.

Patch by Laurent Aimar (fenrir (AT) videolan org)

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

10 years agoupdate my email address
Peter Ross [Sat, 9 Jan 2010 03:31:13 +0000 (03:31 +0000)]
update my email address

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

10 years ago Make the scale filter set in the input and output links only the
Stefano Sabatini [Fri, 8 Jan 2010 23:48:32 +0000 (23:48 +0000)]
 Make the scale filter set in the input and output links only the
 respective pixel formats effectively supported by libswscale.

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

10 years agoMove 3 direct MV related functions that i left out from h263.c to mpeg4video.c.
Michael Niedermayer [Fri, 8 Jan 2010 19:59:51 +0000 (19:59 +0000)]
Move 3 direct MV related functions that i left out from h263.c to mpeg4video.c.

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

10 years agoChange local variable type from unsigned int to int in order to
Thilo Borgmann [Fri, 8 Jan 2010 19:53:42 +0000 (19:53 +0000)]
Change local variable type from unsigned int to int in order to
fix a fate test error for gcc 4.1.x introduced in revision 21069.

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

10 years agoMove AVCodecs from h263dec.c to msmpeg4.c and disentangle init decode init.
Michael Niedermayer [Fri, 8 Jan 2010 19:40:10 +0000 (19:40 +0000)]
Move AVCodecs from h263dec.c to msmpeg4.c and disentangle init decode init.

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

10 years agoIgnore 0-height slice in sws_scale, otherwise a final 0-height slice will
Reimar Döffinger [Fri, 8 Jan 2010 19:31:33 +0000 (19:31 +0000)]
Ignore 0-height slice in sws_scale, otherwise a final 0-height slice will
cause libswscale to assume the incorrect slice order and complain about
slices starting in the middle.

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

10 years agoUse h263 tables in msmpeg4v1 dont duplicate them halfway.
Michael Niedermayer [Fri, 8 Jan 2010 19:10:11 +0000 (19:10 +0000)]
Use h263 tables in msmpeg4v1 dont duplicate them halfway.

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

10 years agoRelease cyuv/aura decoder buffer
Daniel Verkamp [Fri, 8 Jan 2010 18:54:52 +0000 (18:54 +0000)]
Release cyuv/aura decoder buffer

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

10 years agoAAC: add a const to decode_spectrum_and_dequant() args
Måns Rullgård [Fri, 8 Jan 2010 17:52:54 +0000 (17:52 +0000)]
AAC: add a const to decode_spectrum_and_dequant() args

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

10 years agoRename most non static h263 tables so their name contains h263.
Michael Niedermayer [Fri, 8 Jan 2010 17:51:48 +0000 (17:51 +0000)]
Rename most non static h263 tables so their name contains h263.

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

10 years agoRename mpeg4 intra vlc tables so they contain "mpeg4", this improves readability
Michael Niedermayer [Fri, 8 Jan 2010 17:41:14 +0000 (17:41 +0000)]
Rename mpeg4 intra vlc tables so they contain "mpeg4", this improves readability
of msmpeg4 code (one now knows where that table comes from).

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

10 years agoRename DCtab_*, its a global variable and it helps understanding if mpeg4
Michael Niedermayer [Fri, 8 Jan 2010 17:28:43 +0000 (17:28 +0000)]
Rename DCtab_*, its a global variable and it helps understanding if mpeg4
is in its name.

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

10 years agoUse the correct ByteIOContext in extradata parsing.Fixes half of issue
Ronald S. Bultje [Fri, 8 Jan 2010 17:15:46 +0000 (17:15 +0000)]
Use the correct ByteIOContext in extradata parsing.Fixes half of issue
1658.

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

10 years agoSnow : re-indent after r21093.
Jai Menon [Fri, 8 Jan 2010 16:37:32 +0000 (16:37 +0000)]
Snow : re-indent after r21093.

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

10 years agoSnow : remove pointless 'if(1)'.
Jai Menon [Fri, 8 Jan 2010 16:34:50 +0000 (16:34 +0000)]
Snow : remove pointless 'if(1)'.

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

10 years agoRemove useless line.
Michael Niedermayer [Fri, 8 Jan 2010 16:26:44 +0000 (16:26 +0000)]
Remove useless line.

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

10 years agoFix indention.
Michael Niedermayer [Fri, 8 Jan 2010 16:04:45 +0000 (16:04 +0000)]
Fix indention.

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

10 years agoLog unknown NAL code from correct context
Andreas Öman [Fri, 8 Jan 2010 15:50:26 +0000 (15:50 +0000)]
Log unknown NAL code from correct context

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

10 years agoSnow : use non-NULL context for av_log.
Jai Menon [Fri, 8 Jan 2010 14:45:24 +0000 (14:45 +0000)]
Snow : use non-NULL context for av_log.

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

10 years agoCosmetics : remove duplicated comment.
Jai Menon [Fri, 8 Jan 2010 14:33:35 +0000 (14:33 +0000)]
Cosmetics : remove duplicated comment.

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

10 years agoExplain why the level variable is magically inceased in mpeg4_encode_dc().
Diego Biurrun [Fri, 8 Jan 2010 10:00:56 +0000 (10:00 +0000)]
Explain why the level variable is magically inceased in mpeg4_encode_dc().
It must be in a certain range to avoid DC overflows.

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

10 years agoFix compilation on gcc 2.95.3 (still supported) broken by r21077,
Stefano Sabatini [Fri, 8 Jan 2010 08:19:18 +0000 (08:19 +0000)]
Fix compilation on gcc 2.95.3 (still supported) broken by r21077,
which was due to declaring variable after code.

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

10 years agofft-test: whitespace cosmetics
Alex Converse [Fri, 8 Jan 2010 06:11:56 +0000 (06:11 +0000)]
fft-test: whitespace cosmetics

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