ffmpeg.git
11 years agoAllow different executable suffix for host and target
Måns Rullgård [Sun, 8 Mar 2009 22:11:24 +0000 (22:11 +0000)]
Allow different executable suffix for host and target

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

11 years agouniformize variable names and remove duplicating fields in private structs
Baptiste Coudurier [Sun, 8 Mar 2009 21:55:08 +0000 (21:55 +0000)]
uniformize variable names and remove duplicating fields in private structs

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

11 years agoremove useless fields
Baptiste Coudurier [Sun, 8 Mar 2009 21:08:06 +0000 (21:08 +0000)]
remove useless fields

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

11 years agomove NTT VQF demuxer to keep formats list alphabetized.
Justin Ruggles [Sun, 8 Mar 2009 18:33:24 +0000 (18:33 +0000)]
move NTT VQF demuxer to keep formats list alphabetized.

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

11 years agoUse FLG pseudo-random number generator in RoQ and ELBG
Vitor Sessak [Sun, 8 Mar 2009 17:43:12 +0000 (17:43 +0000)]
Use FLG pseudo-random number generator in RoQ and ELBG

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

11 years agoMake Musepack decoders use LFG pseudorandom generator
Kostya Shishkov [Sun, 8 Mar 2009 16:37:57 +0000 (16:37 +0000)]
Make Musepack decoders use LFG pseudorandom generator

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

11 years agoBe more verbose in describing VQF demuxer
Vitor Sessak [Sun, 8 Mar 2009 16:08:18 +0000 (16:08 +0000)]
Be more verbose in describing VQF demuxer

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

11 years agoAdd a part explaining that API should be considered unstable after major
Reimar Döffinger [Sun, 8 Mar 2009 15:17:37 +0000 (15:17 +0000)]
Add a part explaining that API should be considered unstable after major
version changes and list dates of last major version increase.

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

11 years agoPreliminary summary of AVFifoBuffer changes
Reimar Döffinger [Sun, 8 Mar 2009 15:09:11 +0000 (15:09 +0000)]
Preliminary summary of AVFifoBuffer changes

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

11 years agoRemove more functions disabled by major version bump.
Reimar Döffinger [Sun, 8 Mar 2009 15:02:12 +0000 (15:02 +0000)]
Remove more functions disabled by major version bump.

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

11 years agoRemove/replace code disabled by major version bump.
Reimar Döffinger [Sun, 8 Mar 2009 14:51:25 +0000 (14:51 +0000)]
Remove/replace code disabled by major version bump.

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

11 years agoDeprecate the Mersenne Twister.
Michael Niedermayer [Sun, 8 Mar 2009 14:46:10 +0000 (14:46 +0000)]
Deprecate the Mersenne Twister.
Please use an ALFG, MLFG, LCG or KISS99 generator, MLFG&KISS99 provide higher quality
numbers and all should be faster.

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

11 years agoReplace all uses of the replaced av_fifo_read by av_fifo_generic_read
Reimar Döffinger [Sun, 8 Mar 2009 14:42:11 +0000 (14:42 +0000)]
Replace all uses of the replaced av_fifo_read by av_fifo_generic_read

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

11 years agoRemove the Mersenne Twister from the public API/ABI.
Michael Niedermayer [Sun, 8 Mar 2009 14:35:13 +0000 (14:35 +0000)]
Remove the Mersenne Twister from the public API/ABI.
We provide better PRNGs.

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

11 years agoBump major version of libavutil due to FIFO fixes.
Michael Niedermayer [Sun, 8 Mar 2009 14:33:30 +0000 (14:33 +0000)]
Bump major version of libavutil due to FIFO fixes.
The current API/ABI should not be considered stable yet, further ABI/API
breakage is possible without major bumps.

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

11 years agoRemove av_fifo_read, API is already broken and major version will be bumped soon.
Reimar Döffinger [Sun, 8 Mar 2009 14:21:56 +0000 (14:21 +0000)]
Remove av_fifo_read, API is already broken and major version will be bumped soon.

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

11 years agoAllocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.
Michael Niedermayer [Sun, 8 Mar 2009 14:16:55 +0000 (14:16 +0000)]
Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.
Yes this breaks ABI/API but ive already broken it and will bump avutil major
soon.

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

11 years agoadd ff_random_get_seed to be used in conjunction with random functions
Baptiste Coudurier [Sun, 8 Mar 2009 01:28:14 +0000 (01:28 +0000)]
add ff_random_get_seed to be used in conjunction with random functions

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

11 years agoComments to indicate where memory barriers may be needed.
Michael Niedermayer [Sun, 8 Mar 2009 00:45:45 +0000 (00:45 +0000)]
Comments to indicate where memory barriers may be needed.

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

11 years agoVQF demuxer
Vitor Sessak [Sat, 7 Mar 2009 22:42:09 +0000 (22:42 +0000)]
VQF demuxer

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

11 years agoTry to fix the 1 byte cannot be used issue.
Michael Niedermayer [Sat, 7 Mar 2009 21:02:08 +0000 (21:02 +0000)]
Try to fix the 1 byte cannot be used issue.

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

11 years agocosmetics: fix indentation
Diego Biurrun [Sat, 7 Mar 2009 19:56:21 +0000 (19:56 +0000)]
cosmetics: fix indentation

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

11 years agoFix AVFMT_FLAG_NONBLOCK in alsa
Luca Abeni [Sat, 7 Mar 2009 18:17:13 +0000 (18:17 +0000)]
Fix AVFMT_FLAG_NONBLOCK in alsa

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

11 years agortpmap is case-insensitive, see comment from Luca in "[PATCH] rtsp.c:
Ronald S. Bultje [Sat, 7 Mar 2009 15:20:55 +0000 (15:20 +0000)]
rtpmap is case-insensitive, see comment from Luca in "[PATCH] rtsp.c:
keep-alive" thread.

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

11 years agoLet the 4th plane reach the swScale function
Cédric Schieli [Sat, 7 Mar 2009 09:39:48 +0000 (09:39 +0000)]
Let the 4th plane reach the swScale function

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

11 years agoYUVA420P is a planar YUV format
Cédric Schieli [Sat, 7 Mar 2009 09:37:25 +0000 (09:37 +0000)]
YUVA420P is a planar YUV format

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

11 years agoRe-indent after last commit.
Alex Converse [Fri, 6 Mar 2009 22:37:21 +0000 (22:37 +0000)]
Re-indent after last commit.

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

11 years agoIf we get an error from ff_aac_parse_header() we should not trust the header info...
Alex Converse [Fri, 6 Mar 2009 22:36:24 +0000 (22:36 +0000)]
If we get an error from ff_aac_parse_header() we should not trust the header info that it provides.

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

11 years agoADTS: Increased protection against writing illegal/nonsense files.
Alex Converse [Fri, 6 Mar 2009 21:19:16 +0000 (21:19 +0000)]
ADTS: Increased protection against writing illegal/nonsense files.

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

11 years agoAdd my name to copyright & author as requested by the original author.
Michael Niedermayer [Fri, 6 Mar 2009 20:51:50 +0000 (20:51 +0000)]
Add my name to copyright & author as requested by the original author.

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

11 years agoAdd code to the self test to print jitter & drift.
Michael Niedermayer [Fri, 6 Mar 2009 20:48:31 +0000 (20:48 +0000)]
Add code to the self test to print jitter & drift.

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

11 years agoFix the channel allocation bug/assumption (issue 800).
Alex Converse [Fri, 6 Mar 2009 19:47:01 +0000 (19:47 +0000)]
Fix the channel allocation bug/assumption (issue 800).
Approved by Rob on IRC.

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

11 years agoGet rid of redundant vdpau option, decoders can still be disabled individually.
Diego Biurrun [Fri, 6 Mar 2009 10:18:39 +0000 (10:18 +0000)]
Get rid of redundant vdpau option, decoders can still be disabled individually.

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

11 years agoFix H.264 bitstream field log2_max_pic_order_cnt_lsb_minus4
Stephen Warren [Fri, 6 Mar 2009 08:03:26 +0000 (08:03 +0000)]
Fix H.264 bitstream field log2_max_pic_order_cnt_lsb_minus4
if sps.poc_type == 0.

Patch by Stephen Warren, swarren nvidia com

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

11 years agoOops, very silly typo.
Ronald S. Bultje [Fri, 6 Mar 2009 03:12:33 +0000 (03:12 +0000)]
Oops, very silly typo.

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

11 years agoflacdec: Parse the metadata header in the raw FLAC demuxer.
Justin Ruggles [Fri, 6 Mar 2009 01:31:10 +0000 (01:31 +0000)]
flacdec: Parse the metadata header in the raw FLAC demuxer.

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

11 years agoflacdec: Add a shared function for parsing a FLAC metadata block header.
Justin Ruggles [Fri, 6 Mar 2009 01:25:11 +0000 (01:25 +0000)]
flacdec: Add a shared function for parsing a FLAC metadata block header.

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

11 years agoAdd '#undef rand' to fix test program build.
Diego Biurrun [Fri, 6 Mar 2009 00:57:26 +0000 (00:57 +0000)]
Add '#undef rand' to fix test program build.

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

11 years agocosmetics: Fix test program warnings.
Diego Biurrun [Fri, 6 Mar 2009 00:55:50 +0000 (00:55 +0000)]
cosmetics: Fix test program warnings.

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

11 years agopnm: Add missing 'else'. Fixes decoding for 16-bit pgm.
Justin Ruggles [Fri, 6 Mar 2009 00:54:49 +0000 (00:54 +0000)]
pnm: Add missing 'else'. Fixes decoding for 16-bit pgm.

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

11 years agoVertical align.
Michael Niedermayer [Fri, 6 Mar 2009 00:48:02 +0000 (00:48 +0000)]
Vertical align.

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

11 years agoBetter name for integrator2_state.
Michael Niedermayer [Fri, 6 Mar 2009 00:47:16 +0000 (00:47 +0000)]
Better name for integrator2_state.

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

11 years agoAdd clock_period parameter, this should make the code easier to use.
Michael Niedermayer [Fri, 6 Mar 2009 00:44:12 +0000 (00:44 +0000)]
Add clock_period parameter, this should make the code easier to use.

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

11 years agoSelftest code.
Michael Niedermayer [Fri, 6 Mar 2009 00:26:51 +0000 (00:26 +0000)]
Selftest code.

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

11 years agoFix bug with time==0 being special.
Michael Niedermayer [Fri, 6 Mar 2009 00:23:52 +0000 (00:23 +0000)]
Fix bug with time==0 being special.

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

11 years agoAdapt first factor.
Michael Niedermayer [Fri, 6 Mar 2009 00:20:55 +0000 (00:20 +0000)]
Adapt first factor.

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

11 years agoMerge ff_timefilter_read() and ff_timefilter_update(), this simplifies API and
Michael Niedermayer [Fri, 6 Mar 2009 00:14:44 +0000 (00:14 +0000)]
Merge ff_timefilter_read() and ff_timefilter_update(), this simplifies API and
avoids calling them in the wrong order.

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

11 years agoAllow timespans to vary.
Michael Niedermayer [Fri, 6 Mar 2009 00:09:14 +0000 (00:09 +0000)]
Allow timespans to vary.
No change in performance if they do not vary.

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

11 years agoReorder operations, 20% improved performance, 1 variable less.
Michael Niedermayer [Thu, 5 Mar 2009 23:57:42 +0000 (23:57 +0000)]
Reorder operations, 20% improved performance, 1 variable less.

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

11 years agoTimefilter code by Olivier Guilyardi o list O samalyse o com
Michael Niedermayer [Thu, 5 Mar 2009 23:45:18 +0000 (23:45 +0000)]
Timefilter code by Olivier Guilyardi o list O samalyse o com

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

11 years agoMark variables "j" and "structure" in execute_ref_pic_marking() as av_uninit
Diego Biurrun [Thu, 5 Mar 2009 23:38:52 +0000 (23:38 +0000)]
Mark variables "j" and "structure" in execute_ref_pic_marking() as av_uninit
to work around false positive 'may be used uninitialized' warnings.

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

11 years agoDirectly read the version number from a VERSION file; useful for releases.
Diego Biurrun [Thu, 5 Mar 2009 23:17:11 +0000 (23:17 +0000)]
Directly read the version number from a VERSION file; useful for releases.

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

11 years agoAAC: hoist dependent gain lookup out of the loop
Alex Converse [Thu, 5 Mar 2009 23:10:22 +0000 (23:10 +0000)]
AAC: hoist dependent gain lookup out of the loop

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

11 years agocosmetics: Zip Blocks Motion Video --> Zip Motion Blocks Video
Diego Biurrun [Thu, 5 Mar 2009 22:59:23 +0000 (22:59 +0000)]
cosmetics: Zip Blocks Motion Video --> Zip Motion Blocks Video

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

11 years agocosmetics: Order changelog entries chronologically.
Diego Biurrun [Thu, 5 Mar 2009 22:58:19 +0000 (22:58 +0000)]
cosmetics: Order changelog entries chronologically.

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

11 years agoRemove duplicated MUL16 macro definition, fixes the warning:
Diego Biurrun [Thu, 5 Mar 2009 22:17:12 +0000 (22:17 +0000)]
Remove duplicated MUL16 macro definition, fixes the warning:
libavcodec/ac3enc.c:119:1: warning: "MUL16" redefined

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

11 years agoARM: disable inline asm for armcc
Måns Rullgård [Thu, 5 Mar 2009 21:20:13 +0000 (21:20 +0000)]
ARM: disable inline asm for armcc

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

11 years agoARM: armcc versions of bswap_16/32
Måns Rullgård [Thu, 5 Mar 2009 21:20:10 +0000 (21:20 +0000)]
ARM: armcc versions of bswap_16/32

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

11 years agoARM: detect armcc compiler and enable gcc mode
Måns Rullgård [Thu, 5 Mar 2009 21:20:08 +0000 (21:20 +0000)]
ARM: detect armcc compiler and enable gcc mode

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

11 years agoconfigure: check asm support using $as
Måns Rullgård [Thu, 5 Mar 2009 21:20:04 +0000 (21:20 +0000)]
configure: check asm support using $as

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

11 years agoCompile .S files with $(AS), set it in configure
Måns Rullgård [Thu, 5 Mar 2009 21:20:01 +0000 (21:20 +0000)]
Compile .S files with $(AS), set it in configure

Assembler files using the GNU syntax need to be processed by gcc,
whichever compiler is used for C files.

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

11 years agoFix bug introduced by me in r28756
Cédric Schieli [Thu, 5 Mar 2009 21:02:33 +0000 (21:02 +0000)]
Fix bug introduced by me in r28756

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

11 years agoMark pos_min and pos_max variables as av_uninit to work around false
Diego Biurrun [Thu, 5 Mar 2009 19:15:14 +0000 (19:15 +0000)]
Mark pos_min and pos_max variables as av_uninit to work around false
positive uninitialized variable warnings.

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

11 years agoMark dvdaudio_substream_type variable as av_uninit to work around false
Diego Biurrun [Thu, 5 Mar 2009 19:13:12 +0000 (19:13 +0000)]
Mark dvdaudio_substream_type variable as av_uninit to work around false
positive uninitialized variable warning.

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

11 years agoPass packet position to the parser, so frame's AVPacket.pos is computed correctly.
Ivan Schreter [Thu, 5 Mar 2009 07:36:16 +0000 (07:36 +0000)]
Pass packet position to the parser, so frame's AVPacket.pos is computed correctly.

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

11 years agoAdd handling of frame position in the parser.
Ivan Schreter [Thu, 5 Mar 2009 07:35:06 +0000 (07:35 +0000)]
Add handling of frame position in the parser.

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

11 years agoflacdec: cosmetics: Add a comment with the data of the smallest FLAC
Justin Ruggles [Thu, 5 Mar 2009 04:40:42 +0000 (04:40 +0000)]
flacdec: cosmetics: Add a comment with the data of the smallest FLAC
frame for future reference.

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

11 years agoflacdec: There is an even smaller FLAC frame size possibility.
Justin Ruggles [Thu, 5 Mar 2009 02:36:17 +0000 (02:36 +0000)]
flacdec: There is an even smaller FLAC frame size possibility.

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

11 years agoflacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16
Justin Ruggles [Thu, 5 Mar 2009 02:21:35 +0000 (02:21 +0000)]
flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16
bytes, not 24.

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

11 years agoflacdec: cosmetics: move 2 statements to immediately after frame
Justin Ruggles [Thu, 5 Mar 2009 01:23:53 +0000 (01:23 +0000)]
flacdec: cosmetics: move 2 statements to immediately after frame
decoding.

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

11 years agoflacdec: Simplify frame sync by not using the bitstream reader.
Justin Ruggles [Thu, 5 Mar 2009 01:15:38 +0000 (01:15 +0000)]
flacdec: Simplify frame sync by not using the bitstream reader.

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

11 years agoflacdec: Split the metadata_parse() function into 2 separate functions,
Justin Ruggles [Thu, 5 Mar 2009 00:56:09 +0000 (00:56 +0000)]
flacdec: Split the metadata_parse() function into 2 separate functions,
parse_streaminfo() and get_metadata_size().

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

11 years agoflacdec: Add a check for small buffer size. This ensures reading as
Justin Ruggles [Wed, 4 Mar 2009 23:55:10 +0000 (23:55 +0000)]
flacdec: Add a check for small buffer size.  This ensures reading as
much of the frame header as possible without excluding the smallest
possible FLAC frame.  It also fixes a false positive warning message
that was being emitted at the end of decoding.

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

11 years agoflacdec: cosmetics: Use a more descriptive variable name for the number
Justin Ruggles [Wed, 4 Mar 2009 23:24:44 +0000 (23:24 +0000)]
flacdec: cosmetics: Use a more descriptive variable name for the number
of bytes read, instead of reusing 'i'.

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

11 years agoflacdec: Handle 32 bps data when checking allocated size.
Justin Ruggles [Wed, 4 Mar 2009 23:16:30 +0000 (23:16 +0000)]
flacdec: Handle 32 bps data when checking allocated size.

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

11 years agoflacdec: Check curr_bps after wasted bits are subtracted.
Justin Ruggles [Wed, 4 Mar 2009 23:10:40 +0000 (23:10 +0000)]
flacdec: Check curr_bps after wasted bits are subtracted.

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

11 years agoFix typo: "i" -> "in".
Stefano Sabatini [Wed, 4 Mar 2009 21:50:10 +0000 (21:50 +0000)]
Fix typo: "i" -> "in".

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

11 years agoAdd support for ct_type to correctly detect interlaced flag
Ivan Schreter [Wed, 4 Mar 2009 19:37:19 +0000 (19:37 +0000)]
Add support for ct_type to correctly detect interlaced flag

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

11 years agoRewrite of rgb15to32 and rgb16to32 using fewer asm instructions and setting alpha...
Cédric Schieli [Wed, 4 Mar 2009 19:12:49 +0000 (19:12 +0000)]
Rewrite of rgb15to32 and rgb16to32 using fewer asm instructions and setting alpha channel to 0xFF

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

11 years agoAdd "deprecated old scaler removed"
Michael Niedermayer [Wed, 4 Mar 2009 18:43:20 +0000 (18:43 +0000)]
Add "deprecated old scaler removed"

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

11 years agoRemove the swscale dummy option, most (all?) FATE configs should be updated
Reimar Döffinger [Wed, 4 Mar 2009 18:41:47 +0000 (18:41 +0000)]
Remove the swscale dummy option, most (all?) FATE configs should be updated
to work without it.

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

11 years ago100l, interplayvideo uses 8x8 blocks, so call the 8x8 put_pixels_tab function
Reimar Döffinger [Wed, 4 Mar 2009 18:18:49 +0000 (18:18 +0000)]
100l, interplayvideo uses 8x8 blocks, so call the 8x8 put_pixels_tab function
instead of the 16x16 one. Seems to fix decoding on PPC.

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

11 years agoSet AVFrame.reference correctly for nuv decoder.
Reimar Döffinger [Wed, 4 Mar 2009 17:12:58 +0000 (17:12 +0000)]
Set AVFrame.reference correctly for nuv decoder.

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

11 years agoAdd more correct bound checking in filter_mb().
Vitor Sessak [Wed, 4 Mar 2009 16:56:55 +0000 (16:56 +0000)]
Add more correct bound checking in filter_mb().

Should fix decoding of CVMAPAQP3_Sony_E.jsv in MinGW

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

11 years agoAdd frame buffer allocators. aka simplify calls to
Gwenole Beauchesne [Wed, 4 Mar 2009 08:47:29 +0000 (08:47 +0000)]
Add frame buffer allocators. aka simplify calls to
AVCodecContext.{get,release}_buffer().

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

11 years agoMOV: fix demuxing fragmented files
Alex Converse [Wed, 4 Mar 2009 07:57:09 +0000 (07:57 +0000)]
MOV: fix demuxing fragmented files

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

11 years agoFix a condition that causes an infinite loop, but only when compiled with
Mike Melanson [Wed, 4 Mar 2009 05:40:53 +0000 (05:40 +0000)]
Fix a condition that causes an infinite loop, but only when compiled with
gcc 4.2.4 on x86_32. Thanks to Vitor for hunting this down.

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

11 years agoexcellent first pass at a description; now it's time for the Ministry of
Mike Melanson [Wed, 4 Mar 2009 05:24:59 +0000 (05:24 +0000)]
excellent first pass at a description; now it's time for the Ministry of
English Composition to tear it apart and rebuild it, stronger than before

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

11 years agoPart 2 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
Reynaldo H. Verdejo Pinochet [Wed, 4 Mar 2009 01:33:56 +0000 (01:33 +0000)]
Part 2 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
more general' changeset. This one relocates the QCELP
especific code to the qcelpdec.* files.

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

11 years agoPart 1 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
Reynaldo H. Verdejo Pinochet [Wed, 4 Mar 2009 01:28:07 +0000 (01:28 +0000)]
Part 1 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
more general' changeset. This one splits ff_qcelp_lspf2lpc
into the QCELP-especific ff_qcelp_lspf2lpc + the more general
ff_qcelp_lspf2lpc.

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

11 years agoflacdec: When there is not enough data to read the next header block,
Justin Ruggles [Wed, 4 Mar 2009 01:08:26 +0000 (01:08 +0000)]
flacdec: When there is not enough data to read the next header block,
reset the bitstream reader instead of skipping backwards.

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

11 years agoSplit rtsp_send_cmd() into two functions, one for the actual sending of the
Ronald S. Bultje [Wed, 4 Mar 2009 00:57:37 +0000 (00:57 +0000)]
Split rtsp_send_cmd() into two functions, one for the actual sending of the
command and a second, new function to read the reply to this command. This
will make it possible to read server notices that are not in response to a
command in future versions, such as EOS or interrupt notices. See "[PATCH]
rtsp.c: split rtsp_send_cmd() in a send- and a receive-function" thread.

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

11 years agocosmetics: indentation after last commit
Justin Ruggles [Wed, 4 Mar 2009 00:53:04 +0000 (00:53 +0000)]
cosmetics: indentation after last commit

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

11 years agoflacdec: Check for an inline header before calling metadata_parse().
Justin Ruggles [Wed, 4 Mar 2009 00:52:18 +0000 (00:52 +0000)]
flacdec: Check for an inline header before calling metadata_parse().

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

11 years agoflacdec: Allocate buffers right after STREAMINFO is parsed.
Justin Ruggles [Wed, 4 Mar 2009 00:21:46 +0000 (00:21 +0000)]
flacdec: Allocate buffers right after STREAMINFO is parsed.

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

11 years agoAlpha: use -g3 with ccc to allow optimisation with debugging symbols
Måns Rullgård [Tue, 3 Mar 2009 23:53:29 +0000 (23:53 +0000)]
Alpha: use -g3 with ccc to allow optimisation with debugging symbols

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

11 years agoFix syntax for the libfaad_decoder definition.
Stefano Sabatini [Tue, 3 Mar 2009 23:52:31 +0000 (23:52 +0000)]
Fix syntax for the libfaad_decoder definition.

Fix compilation (when libfaad is enabled).

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

11 years agocosmetics: indentation after last commit
Justin Ruggles [Tue, 3 Mar 2009 23:50:21 +0000 (23:50 +0000)]
cosmetics: indentation after last commit

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

11 years agoflacdec: Avoid parsing the STREAMINFO multiple times.
Justin Ruggles [Tue, 3 Mar 2009 23:49:36 +0000 (23:49 +0000)]
flacdec: Avoid parsing the STREAMINFO multiple times.

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

11 years agoRename avctx_opts to avcodec_opts.
Stefano Sabatini [Tue, 3 Mar 2009 23:32:10 +0000 (23:32 +0000)]
Rename avctx_opts to avcodec_opts.

The new name is more meaningful and consistent with avformat_opts
and sws_opts.

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