ffmpeg.git
11 years agoAdd av_fifo_reset function to completely reset fifo state, which makes
Reimar Döffinger [Mon, 9 Mar 2009 09:26:32 +0000 (09:26 +0000)]
Add av_fifo_reset function to completely reset fifo state, which makes
it easier to reuse the fifo.

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

11 years agoEnable CONFIG_FASTDIV by default
Måns Rullgård [Mon, 9 Mar 2009 09:19:11 +0000 (09:19 +0000)]
Enable CONFIG_FASTDIV by default

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

11 years agoAdd private HW accel data infrastructure.
Gwenole Beauchesne [Mon, 9 Mar 2009 08:04:41 +0000 (08:04 +0000)]
Add private HW accel data infrastructure.

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

11 years agoreindent
Baptiste Coudurier [Mon, 9 Mar 2009 04:17:12 +0000 (04:17 +0000)]
reindent

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

11 years agoindent
Michael Niedermayer [Mon, 9 Mar 2009 03:39:58 +0000 (03:39 +0000)]
indent

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

11 years agochange path pattern to be similar to existing files, and remove useless buffer
Baptiste Coudurier [Mon, 9 Mar 2009 03:34:15 +0000 (03:34 +0000)]
change path pattern to be similar to existing files, and remove useless buffer

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

11 years agomerge struct declaration and definition
Baptiste Coudurier [Mon, 9 Mar 2009 02:49:47 +0000 (02:49 +0000)]
merge struct declaration and definition

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

11 years agowrite map packet every 100 packets according to specs
Baptiste Coudurier [Mon, 9 Mar 2009 02:47:32 +0000 (02:47 +0000)]
write map packet every 100 packets according to specs

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

11 years agowrite flt packet, might need some tweaking but it works
Baptiste Coudurier [Mon, 9 Mar 2009 01:35:00 +0000 (01:35 +0000)]
write flt packet, might need some tweaking but it works

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

11 years agocorrectly interleave audio and video according to specs
Baptiste Coudurier [Mon, 9 Mar 2009 01:10:28 +0000 (01:10 +0000)]
correctly interleave audio and video according to specs

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

11 years agowrite timecode track in gxf
Baptiste Coudurier [Mon, 9 Mar 2009 00:15:29 +0000 (00:15 +0000)]
write timecode track in gxf

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

11 years agowrite timecode track in gxf
Baptiste Coudurier [Mon, 9 Mar 2009 00:14:55 +0000 (00:14 +0000)]
write timecode track in gxf

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

11 years agocompute media info in write_header
Baptiste Coudurier [Sun, 8 Mar 2009 22:23:44 +0000 (22:23 +0000)]
compute media info in write_header

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

11 years agofactorize write packet
Baptiste Coudurier [Sun, 8 Mar 2009 22:14:26 +0000 (22:14 +0000)]
factorize write packet

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

11 years agoremove unneeded and empty user data
Baptiste Coudurier [Sun, 8 Mar 2009 22:12:56 +0000 (22:12 +0000)]
remove unneeded and empty user data

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

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