platform/upstream/libav.git
15 years agoFix FF_OPT_TYPE_INT64 support of defaults.
Michael Niedermayer [Fri, 5 Dec 2008 14:55:43 +0000 (14:55 +0000)]
Fix FF_OPT_TYPE_INT64 support of defaults.

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

15 years agoFix an overflow in the predictor.
Jai Menon [Fri, 5 Dec 2008 07:58:31 +0000 (07:58 +0000)]
Fix an overflow in the predictor.
fixes issue 636
Patch by Jai.

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

15 years agoSilence some ICC warnings. Patch by Vitor Sessak.
Vitor Sessak [Thu, 4 Dec 2008 20:24:22 +0000 (20:24 +0000)]
Silence some ICC warnings. Patch by Vitor Sessak.

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

15 years agoAdd expected const qualifier on 'buf' to match AVCodec.decode's declaration.
Reynaldo H. Verdejo Pinochet [Thu, 4 Dec 2008 15:08:44 +0000 (15:08 +0000)]
Add expected const qualifier on 'buf' to match AVCodec.decode's declaration.
This change gets rid of another compiler warning.

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

15 years agoRecognize pnm file as images.
Carl Eugen Hoyos [Thu, 4 Dec 2008 15:08:04 +0000 (15:08 +0000)]
Recognize pnm file as images.

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

15 years agoCOSMETICS, add missing remarks crediting Ben and Kenan
Reynaldo H. Verdejo Pinochet [Thu, 4 Dec 2008 14:54:55 +0000 (14:54 +0000)]
COSMETICS, add missing remarks crediting Ben and Kenan

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

15 years agoFraps version 3 seems to be the same as Fraps v5
Kostya Shishkov [Thu, 4 Dec 2008 14:43:42 +0000 (14:43 +0000)]
Fraps version 3 seems to be the same as Fraps v5

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

15 years agoWRAW fourcc
Baptiste Coudurier [Thu, 4 Dec 2008 03:00:53 +0000 (03:00 +0000)]
WRAW fourcc

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

15 years agopartial WRAW fourcc support, might need image flipping
Baptiste Coudurier [Thu, 4 Dec 2008 02:59:11 +0000 (02:59 +0000)]
partial WRAW fourcc support, might need image flipping

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

15 years agosilence gcc warning: ‘n_bands’ may be used uninitialized
Justin Ruggles [Thu, 4 Dec 2008 02:56:25 +0000 (02:56 +0000)]
silence gcc warning: ‘n_bands’ may be used uninitialized

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

15 years agoac3dec: use uint8_t for band sizes
Justin Ruggles [Thu, 4 Dec 2008 02:51:39 +0000 (02:51 +0000)]
ac3dec: use uint8_t for band sizes

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

15 years agoRemoves misleading const qualifier, gets rid of two compiler warnings
Reynaldo H. Verdejo Pinochet [Thu, 4 Dec 2008 01:38:12 +0000 (01:38 +0000)]
Removes misleading const qualifier, gets rid of two compiler warnings

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

15 years agoAdd necessary header for av_set_program_name and av_program_add_stream_index.
Diego Biurrun [Wed, 3 Dec 2008 23:04:30 +0000 (23:04 +0000)]
Add necessary header for av_set_program_name and av_program_add_stream_index.

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

15 years agoadd fourccs from avi files
Ben Littler [Wed, 3 Dec 2008 21:44:29 +0000 (21:44 +0000)]
add fourccs from avi files

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

15 years agoARM: convert VFP code to UAL syntax
Måns Rullgård [Wed, 3 Dec 2008 20:16:01 +0000 (20:16 +0000)]
ARM: convert VFP code to UAL syntax

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

15 years agoImplement complexity estimation parsing and try to detect an incorrectly set
Michael Niedermayer [Wed, 3 Dec 2008 17:43:39 +0000 (17:43 +0000)]
Implement complexity estimation parsing and try to detect an incorrectly set
complexity estimation flag.

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

15 years agoadd GEOX fourcc for mpeg4
Michael Niedermayer [Wed, 3 Dec 2008 16:49:58 +0000 (16:49 +0000)]
add GEOX fourcc for mpeg4

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

15 years agoMove declaration of av_set_program_name and av_program_add_stream_index
Diego Biurrun [Wed, 3 Dec 2008 16:47:07 +0000 (16:47 +0000)]
Move declaration of av_set_program_name and av_program_add_stream_index
to a more sensible place.

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

15 years agoDelete unnecessary 'extern' keywords.
Diego Biurrun [Wed, 3 Dec 2008 15:25:27 +0000 (15:25 +0000)]
Delete unnecessary 'extern' keywords.

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

15 years agoDelete unnecessary 'extern' keywords.
Diego Biurrun [Wed, 3 Dec 2008 15:23:30 +0000 (15:23 +0000)]
Delete unnecessary 'extern' keywords.

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

15 years agoadd FFDS fourcc, ok'd by kostya
Ben Littler [Wed, 3 Dec 2008 13:53:13 +0000 (13:53 +0000)]
add FFDS fourcc, ok'd by kostya
fixes FFDS files in http://tranquillity.ath.cx/uncommon_video_codecs_final.txt

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

15 years agoRemove entry about unsupported QCELP codec, it is now supported.
Diego Biurrun [Wed, 3 Dec 2008 13:45:41 +0000 (13:45 +0000)]
Remove entry about unsupported QCELP codec, it is now supported.

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

15 years agoac3dec: skip decoding and use error concealment for remaining blocks in
Justin Ruggles [Wed, 3 Dec 2008 03:34:31 +0000 (03:34 +0000)]
ac3dec: skip decoding and use error concealment for remaining blocks in
the frame after an error occurs.

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

15 years agomlp: initialize all CRC tables in a common function.
Laurent Aimar [Wed, 3 Dec 2008 01:14:06 +0000 (01:14 +0000)]
mlp: initialize all CRC tables in a common function.

This way the decoder does not have to depend on the parser being initialized
before.
Patch by Laurent Aimar <fenrir at via dot ecp dot fr>.

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

15 years agoTrivial rephrasing, avoids too long line
Reynaldo H. Verdejo Pinochet [Tue, 2 Dec 2008 18:26:55 +0000 (18:26 +0000)]
Trivial rephrasing, avoids too long line

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

15 years agoTrivial, Cosmetics, mostly brace placement changes
Reynaldo H. Verdejo Pinochet [Tue, 2 Dec 2008 18:25:17 +0000 (18:25 +0000)]
Trivial, Cosmetics, mostly brace placement changes

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

15 years agoFix reading out of buffer during RV30/40 deblock mask calculation
Kostya Shishkov [Tue, 2 Dec 2008 18:14:53 +0000 (18:14 +0000)]
Fix reading out of buffer during RV30/40 deblock mask calculation

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

15 years ago34l: forgot to change one case of chroma MC for RV40
Kostya Shishkov [Tue, 2 Dec 2008 18:12:48 +0000 (18:12 +0000)]
34l: forgot to change one case of chroma MC for RV40

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

15 years agoCheck RV30/40 slice offsets to be inside buffer.
Kostya Shishkov [Tue, 2 Dec 2008 17:39:20 +0000 (17:39 +0000)]
Check RV30/40 slice offsets to be inside buffer.

This fixes issue 738

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

15 years agoUpdate ff_rv34_decode_frame() arguments definition
Kostya Shishkov [Tue, 2 Dec 2008 17:35:38 +0000 (17:35 +0000)]
Update ff_rv34_decode_frame() arguments definition

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

15 years agoRemove unused RV40 spatial intra prediction function
Kostya Shishkov [Tue, 2 Dec 2008 17:34:26 +0000 (17:34 +0000)]
Remove unused RV40 spatial intra prediction function

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

15 years agoCommit last ok'ed parts of QCELP decoder and enable it.
Kenan Gillet [Tue, 2 Dec 2008 16:48:05 +0000 (16:48 +0000)]
Commit last ok'ed parts of QCELP decoder and enable it.
patch by Kenan Gillet, kenan.gillet gmail com

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

15 years agoADTS AAC probe.
Michael Niedermayer [Tue, 2 Dec 2008 15:43:47 +0000 (15:43 +0000)]
ADTS AAC probe.
fixes issue400

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

15 years agoFix regression test failure with pthreads on multiprocessor systems.
Michael Niedermayer [Tue, 2 Dec 2008 10:43:08 +0000 (10:43 +0000)]
Fix regression test failure with pthreads on multiprocessor systems.
Fixes issue517

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

15 years agoRemove commented-out duplicate declarations.
Diego Biurrun [Tue, 2 Dec 2008 00:26:14 +0000 (00:26 +0000)]
Remove commented-out duplicate declarations.

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

15 years agoRemove unused declarations.
Diego Biurrun [Tue, 2 Dec 2008 00:21:37 +0000 (00:21 +0000)]
Remove unused declarations.

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

15 years agoMore OKed parts of the QCELP decoder
Kenan Gillet [Mon, 1 Dec 2008 22:07:00 +0000 (22:07 +0000)]
More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

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

15 years agoRemove hack added to make "make checkheaders" pass, it is unneeded now
Vitor Sessak [Mon, 1 Dec 2008 20:45:29 +0000 (20:45 +0000)]
Remove hack added to make "make checkheaders" pass, it is unneeded now

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

15 years agoMore OKed parts of the QCELP decoder
Kenan Gillet [Mon, 1 Dec 2008 20:43:22 +0000 (20:43 +0000)]
More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

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

15 years agoGet rid of now unneeded pps/sps correctness code as pps/sps will not
Michael Niedermayer [Mon, 1 Dec 2008 16:24:19 +0000 (16:24 +0000)]
Get rid of now unneeded pps/sps correctness code as pps/sps will not
be used at all when anything fails sanity checks.

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

15 years agoAllocate parameter sets sanely instead of using alloc_parameter_set().
Michael Niedermayer [Mon, 1 Dec 2008 16:04:03 +0000 (16:04 +0000)]
Allocate parameter sets sanely instead of using alloc_parameter_set().
Avoids ending up with half initialized parameter sets.
Fixes issue282.

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

15 years agoMake more informative the error messages regarding the access to the
Stefano Sabatini [Mon, 1 Dec 2008 08:35:07 +0000 (08:35 +0000)]
Make more informative the error messages regarding the access to the
2-pass log file.

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

15 years agoImprove documentation for the -pass and -passlog options. Add mention
Stefano Sabatini [Mon, 1 Dec 2008 08:27:53 +0000 (08:27 +0000)]
Improve documentation for the -pass and -passlog options. Add mention
to how the log file is used and specify the default log file name.

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

15 years agoenable RV40 decoder
Kostya Shishkov [Mon, 1 Dec 2008 06:40:36 +0000 (06:40 +0000)]
enable RV40 decoder

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

15 years agoRV40 MC functions
Kostya Shishkov [Mon, 1 Dec 2008 06:36:22 +0000 (06:36 +0000)]
RV40 MC functions

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

15 years agoImplement rule-number parsing, the initial step in stream (and bitrate)
Ronald S. Bultje [Mon, 1 Dec 2008 00:08:42 +0000 (00:08 +0000)]
Implement rule-number parsing, the initial step in stream (and bitrate)
selection. See discussion in ML thread "[PATCH] RDT/Realmedia patches #2".

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

15 years agoFix segfault due to deallocated entries in delayed_pic after size change.
Michael Niedermayer [Sun, 30 Nov 2008 23:51:02 +0000 (23:51 +0000)]
Fix segfault due to deallocated entries in delayed_pic after size change.
Fixes issue714.

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

15 years agoChange RDTDemuxContext->st into an array of streams, which will make future
Ronald S. Bultje [Sun, 30 Nov 2008 22:24:35 +0000 (22:24 +0000)]
Change RDTDemuxContext->st into an array of streams, which will make future
patches adding stream-selection easier in code. See discussion in ML thread
"[PATCH] RDT/Realmedia patches #2".

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

15 years agodocument ff_rdt_parse_open(). See ML discussion in "[PATCH] RDT/Realmedia
Ronald S. Bultje [Sun, 30 Nov 2008 20:40:04 +0000 (20:40 +0000)]
document ff_rdt_parse_open(). See ML discussion in "[PATCH] RDT/Realmedia
patches #2" thread.

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

15 years agoChange function prototype from taking an AVStream to taking an index to the
Ronald S. Bultje [Sun, 30 Nov 2008 20:39:16 +0000 (20:39 +0000)]
Change function prototype from taking an AVStream to taking an index to the
stream itself, plus a name change to signify that there may be multiple
AVStreams per RDT set. See discussion in "[PATCH] RDT/Realmedia patches #2"
thread on ML.

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

15 years agoMore OKed parts of the QCELP decoder
Kenan Gillet [Sun, 30 Nov 2008 17:18:17 +0000 (17:18 +0000)]
More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

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

15 years agoHandle AltiVec objects in a more elegant fashion, similar to MMX.
Diego Biurrun [Sun, 30 Nov 2008 17:00:08 +0000 (17:00 +0000)]
Handle AltiVec objects in a more elegant fashion, similar to MMX.

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

15 years agoRemove ineffectual hack that attempts to build ppc/check_altivec.o without
Diego Biurrun [Sun, 30 Nov 2008 16:57:28 +0000 (16:57 +0000)]
Remove ineffectual hack that attempts to build ppc/check_altivec.o without
AltiVec flags. The flags are set by configure and used to compile all files
anyway. Setting extra AltiVec options here just duplicates them for the files
for which they are set.

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

15 years agoconfigure: vertical alignment cosmetics.
Ramiro Polla [Sun, 30 Nov 2008 00:20:19 +0000 (00:20 +0000)]
configure: vertical alignment cosmetics.

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

15 years agoconfigure: Use check_lib2 for bzlib.
Ramiro Polla [Sun, 30 Nov 2008 00:19:16 +0000 (00:19 +0000)]
configure: Use check_lib2 for bzlib.

Functions are exported as WINAPI in win32, so it is not picked up by check_lib.

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

15 years agochannel layout support for ffmpeg.c
Benjamin Larsson [Sat, 29 Nov 2008 19:32:42 +0000 (19:32 +0000)]
channel layout support for ffmpeg.c

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

15 years agoImplement the fields rc_max_available_vbv_use and
Baptiste Coudurier [Sat, 29 Nov 2008 14:08:48 +0000 (14:08 +0000)]
Implement the fields rc_max_available_vbv_use and
rc_min_vbv_overflow_use in AVCodecContext, and use their values in the
ratecontrol code rather than hardcoded ones.

See the thread: "[RFC] ratecontrol buffer size magic".
Patch by Baptiste Coudurier.

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

15 years agoReplaces not the anymore valid -flags +trell option with -trellis 2.
Stefano Sabatini [Sat, 29 Nov 2008 13:58:41 +0000 (13:58 +0000)]
Replaces not the anymore valid -flags +trell option with -trellis 2.

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

15 years agoRename functions in sdp.c for consistency's sake.
Stefano Sabatini [Sat, 29 Nov 2008 13:55:03 +0000 (13:55 +0000)]
Rename functions in sdp.c for consistency's sake.

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

15 years agos/FFserver/ffserver/ in the help message invocation synopsis.
Stefano Sabatini [Sat, 29 Nov 2008 12:22:22 +0000 (12:22 +0000)]
s/FFserver/ffserver/ in the help message invocation synopsis.

See the thread: "Define cmdline_program_name and use it in show_help".

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

15 years agoAdd support for parsing and decoding DCA-HD streams.
Kostya Shishkov [Sat, 29 Nov 2008 10:06:37 +0000 (10:06 +0000)]
Add support for parsing and decoding DCA-HD streams.

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

15 years agoRV40 loop filter
Kostya Shishkov [Sat, 29 Nov 2008 06:24:47 +0000 (06:24 +0000)]
RV40 loop filter

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

15 years agoInvoke future RV30/40 loop filter for already decoded rows instead of
Kostya Shishkov [Sat, 29 Nov 2008 06:22:31 +0000 (06:22 +0000)]
Invoke future RV30/40 loop filter for already decoded rows instead of
the whole frame at once.

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

15 years agoDo not duplicate AAN DCT tables in dct-test.c.
Diego Biurrun [Fri, 28 Nov 2008 00:32:24 +0000 (00:32 +0000)]
Do not duplicate AAN DCT tables in dct-test.c.

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

15 years agoAdd missing '-test' in name of imgresample test.
Diego Biurrun [Fri, 28 Nov 2008 00:00:11 +0000 (00:00 +0000)]
Add missing '-test' in name of imgresample test.

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

15 years agoMake rate_emu a global property rather than to be settable for a
Stefano Sabatini [Thu, 27 Nov 2008 21:38:42 +0000 (21:38 +0000)]
Make rate_emu a global property rather than to be settable for a
specific input video stream.

See the thread: Fix ffmpeg -re behaviour.

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

15 years agoRemove AVInputStream frame variable definition and usage, unnecessary
Stefano Sabatini [Thu, 27 Nov 2008 21:30:03 +0000 (21:30 +0000)]
Remove AVInputStream frame variable definition and usage, unnecessary
after the last commit.

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

15 years agoMake the input realtime framerate emulation code use ist->pts for
Stefano Sabatini [Thu, 27 Nov 2008 21:24:25 +0000 (21:24 +0000)]
Make the input realtime framerate emulation code use ist->pts for
computing the time of the next frame to send to output.

See the thread: fix ffmpeg -re behaviour.

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

15 years agoFix RV40 chroma MC
Kostya Shishkov [Thu, 27 Nov 2008 07:26:26 +0000 (07:26 +0000)]
Fix RV40 chroma MC

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

15 years agoUse PIX_FMT_NONE to silence icc warning #188:
Carl Eugen Hoyos [Wed, 26 Nov 2008 18:59:36 +0000 (18:59 +0000)]
Use PIX_FMT_NONE to silence icc warning #188:
enumerated type mixed with another type

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

15 years agoOnly build the imgresample test if the old scaler was enabled.
Diego Biurrun [Wed, 26 Nov 2008 15:09:05 +0000 (15:09 +0000)]
Only build the imgresample test if the old scaler was enabled.

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

15 years agoAutomatically check the dependencies for the AAN DCT tables.
Diego Biurrun [Wed, 26 Nov 2008 15:07:03 +0000 (15:07 +0000)]
Automatically check the dependencies for the AAN DCT tables.
This also makes the AAN DCT tables individually selectable.

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

15 years agoMove aanscales tables to their own file; fixes compilation without encoders.
Diego Biurrun [Wed, 26 Nov 2008 13:38:13 +0000 (13:38 +0000)]
Move aanscales tables to their own file; fixes compilation without encoders.
based on a patch by David Geldreich, david.geldreich free fr

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

15 years agocosmetics: Rename aanscales to ff_aanscales, it will soon be externally visible.
Diego Biurrun [Wed, 26 Nov 2008 13:28:30 +0000 (13:28 +0000)]
cosmetics: Rename aanscales to ff_aanscales, it will soon be externally visible.

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

15 years agoMove encoder-specific quantize_c and related tables to the H.264 encoder.
Diego Biurrun [Wed, 26 Nov 2008 10:22:55 +0000 (10:22 +0000)]
Move encoder-specific quantize_c and related tables to the H.264 encoder.

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

15 years agoAdd udp.c maintainer.
Michael Niedermayer [Tue, 25 Nov 2008 17:12:45 +0000 (17:12 +0000)]
Add udp.c maintainer.

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

15 years agoReplace pushf/popf by explicit pushfl/popfl (32 bit) or pushfq/popfq (x86_64),
Reimar Döffinger [Tue, 25 Nov 2008 07:34:20 +0000 (07:34 +0000)]
Replace pushf/popf by explicit pushfl/popfl (32 bit) or pushfq/popfq (x86_64),
to fix generated code on ICC 11.0.

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

15 years agosnow: move scratch buffer from stack to malloced buffer in context
Måns Rullgård [Tue, 25 Nov 2008 00:20:49 +0000 (00:20 +0000)]
snow: move scratch buffer from stack to malloced buffer in context

This is required to ensure 16-byte alignment.

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

15 years agoDisable unused code for now to allow 'make checkheaders' to pass.
Diego Biurrun [Mon, 24 Nov 2008 21:31:01 +0000 (21:31 +0000)]
Disable unused code for now to allow 'make checkheaders' to pass.

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

15 years agoAdd missing headers to get 'make checkheaders' closer to passing.
Diego Biurrun [Mon, 24 Nov 2008 21:29:07 +0000 (21:29 +0000)]
Add missing headers to get 'make checkheaders' closer to passing.

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

15 years agosvq1enc: move scratch buffer from stack to context to ensure alignment
Måns Rullgård [Mon, 24 Nov 2008 19:08:02 +0000 (19:08 +0000)]
svq1enc: move scratch buffer from stack to context to ensure alignment

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

15 years agoflashsv: use skip_bits_long() where required
Måns Rullgård [Mon, 24 Nov 2008 19:00:55 +0000 (19:00 +0000)]
flashsv: use skip_bits_long() where required

skip_bits(gb, n) with n > 17 doesn't work with all bitstream readers.
Switch to skip_bits_long() instead.

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

15 years agomove decoder initialization in separate function, earlier failure detection
Baptiste Coudurier [Mon, 24 Nov 2008 18:49:50 +0000 (18:49 +0000)]
move decoder initialization in separate function, earlier failure detection

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

15 years agoMake non-void replacement functions actually return a value.
Diego Biurrun [Mon, 24 Nov 2008 16:33:11 +0000 (16:33 +0000)]
Make non-void replacement functions actually return a value.

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

15 years agoMove #defines that are mostly used in h264.c out of h264data.h and into h264.h.
Diego Biurrun [Mon, 24 Nov 2008 16:08:21 +0000 (16:08 +0000)]
Move #defines that are mostly used in h264.c out of h264data.h and into h264.h.

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

15 years agoUse golomb_to_pict_type instead of its duplicate, slice_type_map.
Diego Biurrun [Mon, 24 Nov 2008 15:53:16 +0000 (15:53 +0000)]
Use golomb_to_pict_type instead of its duplicate, slice_type_map.

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

15 years agocosmetics: Align table for better readability.
Diego Biurrun [Mon, 24 Nov 2008 12:39:02 +0000 (12:39 +0000)]
cosmetics: Align table for better readability.

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

15 years agoSome BMP files have file size declared in the header equal to headers size
Kostya Shishkov [Mon, 24 Nov 2008 11:24:02 +0000 (11:24 +0000)]
Some BMP files have file size declared in the header equal to headers size
without image data, so try to correct that value before conducting checks on
declared file size.

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

15 years agoGive more meaningful message on BMP header parsing error
Kostya Shishkov [Mon, 24 Nov 2008 10:58:32 +0000 (10:58 +0000)]
Give more meaningful message on BMP header parsing error

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

15 years agoAdd known BMP header sizes.
Kostya Shishkov [Mon, 24 Nov 2008 10:53:13 +0000 (10:53 +0000)]
Add known BMP header sizes.

Now 11B*.bmp from samples repository can be decoded.

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

15 years agoAdd shift argument to MULL() macro
Måns Rullgård [Mon, 24 Nov 2008 09:28:55 +0000 (09:28 +0000)]
Add shift argument to MULL() macro

This replaces use of FRAC_BITS in the MULL() definition with a third
argument specifying the shift amount.  All uses of this macro are
updated to pass FRAC_BITS as third argument.

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

15 years agoAAC: Cosmetics after last commit
Robert Swain [Mon, 24 Nov 2008 00:14:33 +0000 (00:14 +0000)]
AAC: Cosmetics after last commit

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

15 years agoAAC: Frequency domain prediction and hence Main profile support
Alex Converse [Mon, 24 Nov 2008 00:13:50 +0000 (00:13 +0000)]
AAC: Frequency domain prediction and hence Main profile support

Patch by Alex Converse ( alex converse gmail com )

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

15 years agoStrong filtering function for future RV40 loop filter
Kostya Shishkov [Sun, 23 Nov 2008 19:36:44 +0000 (19:36 +0000)]
Strong filtering function for future RV40 loop filter

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

15 years agoARM: move dct_unquantize_h263_*_armv5te asm to separate file
Måns Rullgård [Sun, 23 Nov 2008 19:11:44 +0000 (19:11 +0000)]
ARM: move dct_unquantize_h263_*_armv5te asm to separate file

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

15 years agoDocument 'ic' variable. See "[PATCH] RDT/Realmedia patches #2" thread in ML.
Ronald S. Bultje [Sun, 23 Nov 2008 16:54:31 +0000 (16:54 +0000)]
Document 'ic' variable. See "[PATCH] RDT/Realmedia patches #2" thread in ML.

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

15 years agoRun regression tests on target system.
Måns Rullgård [Sun, 23 Nov 2008 12:36:44 +0000 (12:36 +0000)]
Run regression tests on target system.

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

15 years agoBuild regression test data generators using HOSTCC
Måns Rullgård [Sun, 23 Nov 2008 12:36:41 +0000 (12:36 +0000)]
Build regression test data generators using HOSTCC

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

15 years agoconfigure: set TARGET_EXEC and TARGET_PATH
Måns Rullgård [Sun, 23 Nov 2008 12:36:38 +0000 (12:36 +0000)]
configure: set TARGET_EXEC and TARGET_PATH

TARGET_EXEC specifies a command to execute cross-compiled binaries,
e.g. through a remote shell or an emulator.

TARGET_PATH specifies the path to the build directory on the target,
e.g. mounted over NFS.

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

15 years agoconfigure: set HOSTCC to native compiler
Måns Rullgård [Sun, 23 Nov 2008 12:36:34 +0000 (12:36 +0000)]
configure: set HOSTCC to native compiler

The HOSTCC value defaults to the value of CC if not cross-compiling.
If cross-compiling, HOSTCC defaults to "gcc".

HOSTCFLAGS, HOSTLDFLAGS, and HOSTLIBS are also given sensible default
values.

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