platform/upstream/libav.git
15 years agoCorrectly skip complete INDX chunks, i.e. read the 32-bit header correctly
Ronald S. Bultje [Tue, 10 Mar 2009 12:55:29 +0000 (12:55 +0000)]
Correctly skip complete INDX chunks, i.e. read the 32-bit header correctly
and if the size is broken (20 bytes, header-only), calculate the expected
size and skip the index entries anyway. See "[PATCH] rmdec.c: correctly
skip indexes" thread.

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

15 years agoReplace all `` by $(), the latter can be nested more easily.
Diego Biurrun [Mon, 9 Mar 2009 23:59:31 +0000 (23:59 +0000)]
Replace all `` by $(), the latter can be nested more easily.

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

15 years agoFix MMX2 check, 'movss' is not an MMX2 instruction, use 'pmaxub' instead.
Diego Biurrun [Mon, 9 Mar 2009 23:33:27 +0000 (23:33 +0000)]
Fix MMX2 check, 'movss' is not an MMX2 instruction, use 'pmaxub' instead.

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

15 years agoFix unaligned access in ff_copy_bits()
Måns Rullgård [Mon, 9 Mar 2009 23:27:38 +0000 (23:27 +0000)]
Fix unaligned access in ff_copy_bits()

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

15 years agoSet AS to $CC by default, override with gcc only when CC is armcc
Måns Rullgård [Mon, 9 Mar 2009 22:39:49 +0000 (22:39 +0000)]
Set AS to $CC by default, override with gcc only when CC is armcc

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

15 years agoPrevent (negative) overflow of rm->remaining_len. This evaluation really only
Ronald S. Bultje [Mon, 9 Mar 2009 22:03:47 +0000 (22:03 +0000)]
Prevent (negative) overflow of rm->remaining_len. This evaluation really only
has two possible outcomes: either len and rm->remaining_len are the same, in
which case we care about the outcome and it is zero, or rm->remaining_len is
currently not in use and we don't care about the outcome. In that case, len
is positive and rm->remaining_len is zero, which leads to a negative result.
This is confusing and could eventually lead to a sign-flip if we skip a lot
of packets (unlikely, but still). Therefore, just always set it to zero.

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

15 years agoRevert to r17908.
Ronald S. Bultje [Mon, 9 Mar 2009 22:02:06 +0000 (22:02 +0000)]
Revert to r17908.

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

15 years agoCosmetics from Kenan Gillet's 'extract and share weighted_vector_sumf'
Reynaldo H. Verdejo Pinochet [Mon, 9 Mar 2009 22:00:35 +0000 (22:00 +0000)]
Cosmetics from Kenan Gillet's 'extract and share weighted_vector_sumf'
patchset. Just a reindent.

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

15 years agoFunctional part Kenan Gillet's 'extract and share weighted_vector_sumf'
Reynaldo H. Verdejo Pinochet [Mon, 9 Mar 2009 21:55:24 +0000 (21:55 +0000)]
Functional part Kenan Gillet's 'extract and share weighted_vector_sumf'
patchset. Idea is to share this common code between the AMR and QCELP
decoders.

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

15 years agoMove MOVContext and related structures from mov.c to isom.h. See "[PATCH]
Ronald S. Bultje [Mon, 9 Mar 2009 21:53:00 +0000 (21:53 +0000)]
Move MOVContext and related structures from mov.c to isom.h. See "[PATCH]
move MOVContext from mov.c to isom.h" thread on ML.

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

15 years agoReorder arguments for av_fifo_generic_read to be more logical and
Reimar Döffinger [Mon, 9 Mar 2009 17:47:47 +0000 (17:47 +0000)]
Reorder arguments for av_fifo_generic_read to be more logical and
consistent with av_fifo_generic_write.

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

15 years agoFix seek regression test broken by r17905, seeking fails completely
Reimar Döffinger [Mon, 9 Mar 2009 17:44:57 +0000 (17:44 +0000)]
Fix seek regression test broken by r17905, seeking fails completely
for swf before and after, but it now incorrectly creates additional
streams.

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

15 years agoMask all unused bits for packed pixel format instead of green and alpha mask only.
Kostya Shishkov [Mon, 9 Mar 2009 17:25:43 +0000 (17:25 +0000)]
Mask all unused bits for packed pixel format instead of green and alpha mask only.
That fixes the case when converting 15-bit RGB/BGR to YUV and high bit is set
for input value(s).

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

15 years agoUpdate VA API pixfmts documentation: struct vaapi_render_state
Gwenole Beauchesne [Mon, 9 Mar 2009 15:52:45 +0000 (15:52 +0000)]
Update VA API pixfmts documentation: struct vaapi_render_state
shall now be copied to Picture.data[3].

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

15 years agoConvert spurious DOS line breaks to UNIX line breaks in seek regression
Reimar Döffinger [Mon, 9 Mar 2009 15:38:08 +0000 (15:38 +0000)]
Convert spurious DOS line breaks to UNIX line breaks in seek regression
test reference file.

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

15 years agoPrevent (negative) overflow of rm->remaining_len. This evaluation really only
Ronald S. Bultje [Mon, 9 Mar 2009 13:08:19 +0000 (13:08 +0000)]
Prevent (negative) overflow of rm->remaining_len. This evaluation really only
has two possible outcomes: either len and rm->remaining_len are the same, in
which case we care about the outcome and it is zero, or rm->remaining_len is
currently not in use and we don't care about the outcome. In that case, len
is positive and rm->remaining_len is zero, which leads to a negative result.
This is confusing and could eventually lead to a sign-flip if we skip a lot
of packets (unlikely, but still). Therefore, just always set it to zero.

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

15 years agoReplace separate packet parsing for "old_format" .ra files by a call to
Ronald S. Bultje [Mon, 9 Mar 2009 12:46:32 +0000 (12:46 +0000)]
Replace separate packet parsing for "old_format" .ra files by a call to
ff_rm_parse_packet(). See "[PATCH] Make RM demuxer behave better with -an
option" thread, which sort-of turned into an aggregate of unrelated rmdec.c
cleanups.

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

15 years agoMove frame discarding out of the ff_rm_parse_packet() loop, and respect
Ronald S. Bultje [Mon, 9 Mar 2009 12:42:53 +0000 (12:42 +0000)]
Move frame discarding out of the ff_rm_parse_packet() loop, and respect
rm->audio_pkt_cnt in case multiple packets should be read before the next
syncpoint in the file, so that ffplay -an on a file containing AAC audio
works. See "[PATCH] Make RM demuxer behave better with -an option" thread
on mailinglist.

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

15 years agoMark all packets from nuv demuxer as keyframes in order to make seeking work.
Reimar Döffinger [Mon, 9 Mar 2009 12:25:13 +0000 (12:25 +0000)]
Mark all packets from nuv demuxer as keyframes in order to make seeking work.
For proper seeking, they should be set correctly though.

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

15 years agoReorder alphabetically after r17902.
Ronald S. Bultje [Mon, 9 Mar 2009 12:06:47 +0000 (12:06 +0000)]
Reorder alphabetically after r17902.

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

15 years ago100l, to start reading from the first frame we must seek to data_offset,
Reimar Döffinger [Mon, 9 Mar 2009 12:06:31 +0000 (12:06 +0000)]
100l, to start reading from the first frame we must seek to data_offset,
not 0 in av_seek_frame_generic.

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

15 years agoSet AVPacket pos also for audio packets in nuv demuxer.
Reimar Döffinger [Mon, 9 Mar 2009 11:35:59 +0000 (11:35 +0000)]
Set AVPacket pos also for audio packets in nuv demuxer.

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

15 years agoRemove all remaining code that was disabled through the major version bump.
Diego Biurrun [Mon, 9 Mar 2009 10:24:47 +0000 (10:24 +0000)]
Remove all remaining code that was disabled through the major version bump.

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

15 years agoAdd maintainers for RM muxer, demuxer and RDT protocol
Kostya Shishkov [Mon, 9 Mar 2009 10:00:45 +0000 (10:00 +0000)]
Add maintainers for RM muxer, demuxer and RDT protocol

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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