Commit Graph

2374 Commits

Author SHA1 Message Date
Michael Niedermayer 80a4995853 simplify
benchmark

Originally committed as revision 3844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-17 18:25:32 +00:00
Matthieu Castet d06c75a830 10l patch by (matthieu castet <castet.matthieu free fr>)
Originally committed as revision 3842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-16 22:11:47 +00:00
Michael Niedermayer 67e11730fc simplify
Originally committed as revision 3841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 20:04:41 +00:00
Michael Niedermayer b349fde101 simplify, null pointer, selftest
Originally committed as revision 3840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 19:05:26 +00:00
Roberto Togni 1ede228a4f Decode MP3 in ADU format
Originally committed as revision 3839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 14:59:47 +00:00
Roberto Togni f9c6d80e4e 1l, forgot to remove duplicated error message
Originally committed as revision 3838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 14:05:37 +00:00
Diego Biurrun 47d9182521 Mention the l5 pp filter in 'mplayer -pphelp' output.
Originally committed as revision 3837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 10:34:49 +00:00
Roberto Togni 3048af8350 Use avcodec_check_dimensions instead of custom hack
Originally committed as revision 3836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-15 00:07:38 +00:00
Michael Niedermayer a9c3ff5b9e assertion about bits statistic and minor bits stat fix
Originally committed as revision 3835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-14 23:48:12 +00:00
Michael Niedermayer 30231f8169 10l (dont modify the input picture pts)
Originally committed as revision 3833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-13 11:59:19 +00:00
Kurosu f41c1fac3c av_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>)
Originally committed as revision 3830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 18:25:48 +00:00
Michael Niedermayer d5f121e2a5 10l (gcc 2.95 fix)
Originally committed as revision 3827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 11:14:12 +00:00
Michael Niedermayer 1f3f950799 disallow strcat
Originally committed as revision 3826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 01:44:02 +00:00
Michael Niedermayer 2fc8ea249f dissallow sprintf
Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:59:42 +00:00
Michael Niedermayer 0ecca7a49f various security fixes and precautionary checks
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Diego Biurrun f14d4e7e21 Quote path expression to take care of $(prefix) possibly containing spaces.
Originally committed as revision 3821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-11 08:16:04 +00:00
Michael Niedermayer 6041c21749 fixing selftest
Originally committed as revision 3820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-11 03:18:08 +00:00
Michael Niedermayer eaba7c7fd6 picture heap corruption fix
Originally committed as revision 3819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-10 23:41:25 +00:00
Roberto Togni c31b812166 Check pointers before writing to memory, fix possible integer overflows
Force alignement for mszh and zlib decoders

Originally committed as revision 3817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-09 23:39:32 +00:00
Gert Vervoort 9c6221ae62 10l (obmc_scratchpad not always initialize)
patch by (Gert Vervoort <gert.vervoort at hccnet dot nl>)

Originally committed as revision 3816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-09 00:48:37 +00:00
Loren Merritt 934b0821db 10l: scratchpad could be allocated before its size was known.
Originally committed as revision 3812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 08:56:18 +00:00
Loren Merritt 9f2d1b4ff5 H.264 weighted prediction.
Bidirectional weighting has not been tested for bitwise accuracy, but looks correct.

Originally committed as revision 3811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-07 05:56:07 +00:00
Michael Niedermayer 85df8f7cf0 print "D" instead of "P" for dropable frames in flv with -debug 1
Originally committed as revision 3810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-06 01:02:36 +00:00
Michael Niedermayer 3f05305d73 RV30/RV40 demuxing (untested)
Originally committed as revision 3809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-06 00:54:03 +00:00
Michael Niedermayer f6d5112387 fixing decoding of http://mplayerhq.hu/~atmos4/ffrv20-crashing-atmos.rm
Originally committed as revision 3808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-05 02:36:10 +00:00
Michael Niedermayer 503a47255f fix decoding of http://mplayerhq.hu/~diego/problem.mov
Originally committed as revision 3806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-05 00:20:52 +00:00
Loren Merritt 1b2dcdc1e0 reduce stutter if we learn too late that the stream contains B-frames.
Originally committed as revision 3801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 10:26:47 +00:00
Loren Merritt a4dae92b58 Sort B-frames into display order.
Originally committed as revision 3799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-04 01:12:48 +00:00
Gianluigi Tiesi 8ff53f5b07 Disable encoders patch by (Gianluigi Tiesi <mplayer netfarm it>)
Originally committed as revision 3797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 16:13:52 +00:00
Diego Biurrun bf69c4e55f Make -pphelp output consistent with the other instances of -xxx help.
Originally committed as revision 3792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 00:36:26 +00:00
Michael Niedermayer 2d2651f821 WV1F support
Originally committed as revision 3790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-01 23:02:09 +00:00
Michael Niedermayer 53f0090dcc faster and slightly less accurate nearest neighbor resampler
Originally committed as revision 3789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 17:37:23 +00:00
Michael Niedermayer 17bfbd70ab 10l
Originally committed as revision 3788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 14:02:35 +00:00
Michael Niedermayer 6cb5dcb392 special case for filter_length==1
Originally committed as revision 3787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 12:58:46 +00:00
Loïc Le Loarer 579448a083 - correct several errors on the deblocking accross slice boundaries.
- add support for deblocking_filter_idc==2 which means no deblocking accross slice.
- correct MMCO with multiple slices.

5 more streams from H264 conformance suite are now correctly decoded.

patch by (Loic <lll+ffmpeg >< m4x dot org>)

Originally committed as revision 3786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-31 00:07:17 +00:00
Roberto Togni f31ecffb4f Fix avc1 if there is nore than one nal per mov frame
Originally committed as revision 3785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-30 18:05:54 +00:00
Panagiotis Issaris 13160c0708 imgresample test cleanup patch by (Panagiotis Issaris <takis )( lumumba d0t luc d0t ac.be>)
Originally committed as revision 3784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-30 14:48:01 +00:00
Roberto Togni 4d4bb927ce Fix compilation when both amr_nb and amr_wb are enabled
Originally committed as revision 3782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 23:17:42 +00:00
Michael Niedermayer caa336b4cc common.c -> bitstream.c (and the single non bitstream func -> utils.c)
common.h -> common.h/bitstream.h

Originally committed as revision 3777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 17:50:25 +00:00
Michael Niedermayer 6143607303 motion_val doxy
Originally committed as revision 3776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 12:14:14 +00:00
Loren Merritt 5ad984c997 implement B_DIRECT and B_SKIP macroblock types.
fix reference list sorting for B-frames.
fix mv caching for mixed list B-blocks.

Originally committed as revision 3775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 04:17:52 +00:00
Loren Merritt 650cec0c8c vismv for h264 displayed incorrect motion vectors.
Originally committed as revision 3765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-20 03:03:37 +00:00
Michael Niedermayer f0b77c69c1 better motion_subsample_log2 docs
Originally committed as revision 3762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 12:26:54 +00:00
Sigbjørn Skjæret 0d00cf38c6 fixes transcoding to vorbis with ffmpeg on big endian machines patch by (Sigbjørn Skjæret {sskjer-1 broadpark no})
Originally committed as revision 3759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 16:20:42 +00:00
Loic Le Loarer 5175b9376f add multi slice support
for main profile H.264 streams. I have tested this on all H264
conformance streams and comparing the result with the current CVS
version, there is 8 streams which decode correctly more frames and 2
streams which are now completely correct with my patch.

This patch also correct some typo in comments.

patch by (Loic Le Loarer <lll+ffmpeg >at< m4x org>)

Originally committed as revision 3758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 03:49:07 +00:00
Drew Hess a2c3bf82a7 fixes for PIC code on x86-64 patch by (Drew Hess <drew.hess gmail com>)
Originally committed as revision 3757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-18 03:07:15 +00:00
Michael Niedermayer 3c9ec07ef2 quantizer overflow warning + AAN dct fix
Originally committed as revision 3754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 20:17:23 +00:00
Michael Niedermayer 7984bbe2ce fix timestamp prediction for low_delay mpeg streams
Originally committed as revision 3751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 12:04:45 +00:00
Michael Niedermayer e42a152bbc x86 cpu capabilities detection rewrite / cleanup
Originally committed as revision 3750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-13 16:11:38 +00:00
Michael Niedermayer 74679f5c1c another try at fixing rv20 ...
Originally committed as revision 3749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-13 11:41:59 +00:00
Michael Niedermayer f48c0551ca flush remaining data from parser at EOF
Originally committed as revision 3748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-12 14:19:54 +00:00
Michael Niedermayer 732ce18eab warn the user if the quantization code could overflow with the selected custom matrix and qp limits
Originally committed as revision 3747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-11 18:33:18 +00:00
Michael Niedermayer bf835aee11 uppercase codec_tag=AVC1 support
Originally committed as revision 3746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-09 22:04:15 +00:00
Michael Niedermayer a979965313 out of buffer access fix
Originally committed as revision 3744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-09 01:01:11 +00:00
Michael Niedermayer 0fd6aea1f1 more flexible frame skip decission
Originally committed as revision 3743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-08 18:02:56 +00:00
Michael Niedermayer bbf18b21b7 frame skip support
Originally committed as revision 3742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-08 11:46:16 +00:00
Michael Niedermayer d0271e8a3a rv20 encoding
Originally committed as revision 3739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-07 13:14:37 +00:00
Michael Niedermayer bc17df09d4 seeking in rm
Originally committed as revision 3737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 22:44:03 +00:00
Michael Niedermayer 18ade9543f rv10 thread safety fix / rv10 ffplay fix
Originally committed as revision 3733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 17:21:17 +00:00
Matthieu Castet e7ddb0cf4c detect sse on athlon-xp patch by (matthieu castet <castet >.< matthieu >at< free >.< fr>)
Originally committed as revision 3729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 23:26:43 +00:00
Michael Niedermayer 423962dc01 next try at fixing rv20 decoding
Originally committed as revision 3728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-05 23:21:39 +00:00
Michael Niedermayer 9d2a069519 raw rgb flip fix
Originally committed as revision 3724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-30 21:50:16 +00:00
Loren Merritt 42dd22c4a5 fix interlacing check in v1 huffyuv.
Originally committed as revision 3721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 19:19:39 +00:00
Loren Merritt f37b9768f6 split ffhuffyuv into 2 codecs:
"huffyuv" is compatible with the official version
"ffvhuff" contains our improvements

Originally committed as revision 3720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 18:29:38 +00:00
Michael Niedermayer 17179d2d97 fix some codec_id values so that new ones can be added at the end of the subsets without breaking binary compatibility
Originally committed as revision 3719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 15:33:15 +00:00
Michael Niedermayer 6989963c1f 10l (dont use codec_id for error simulation)
Originally committed as revision 3718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 14:58:50 +00:00
Burkhard Plaum 073c2593c9 Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 18:10:06 +00:00
Loren Merritt 1108708609 new option: context_model
stores per-frame optimal huffman tables.

Originally committed as revision 3715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 03:54:18 +00:00
Michael Niedermayer 2554db9b5f fix for build on IRIX by (Michel Bardiaux {mbardiaux peaktime be})
Originally committed as revision 3713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-25 19:26:46 +00:00
Jeff Muizelaar 21d7e2ff40 fix some type mismatches patch by (Jeff Muizelaar <muizelaar rogers com>)
Originally committed as revision 3712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-25 19:17:27 +00:00
Luca Abeni bac6516545 YUV420P to UYVY422 conversion patch by (Luca Abeni <lucabe72 >< email >< it>)
Originally committed as revision 3710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-24 22:54:16 +00:00
Loren Merritt 7d7f635dc0 Fixed typo which caused incorrect motion prediction in B-frames. patch by (Loren Merritt <lorenm ta u tod washington tod edu>)
Originally committed as revision 3709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-24 22:50:49 +00:00
Michael Niedermayer 6db2583c4f check num_entries too to avoid reading over the array end and dont check i>0 it must be >0 there
Originally committed as revision 3708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-24 00:15:49 +00:00
Loren Merritt 80516d720a Fixes a segfault when flushing delayed B-frames on the 2nd pass. patch by (Loren Merritt <lorenm.u@washington@edu>)
Originally committed as revision 3707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-23 23:58:54 +00:00
François Revol 2450cff2c3 BeOS threading support. changed some "if FOO_THREAD||BAR_THREAD" to a more generic "if HAVE_THREADS"
Originally committed as revision 3702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 18:04:56 +00:00
James A. Morrison 6813f1d5cf whitespace cleanup patch by (James A. Morrison <ja2morri>@<csclub>dot<uwaterloo>point<ca>)
Originally committed as revision 3699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 01:47:36 +00:00
Michael Niedermayer 55429b5534 workaround apps which dont provided correctly padded streams
Originally committed as revision 3695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 20:49:12 +00:00
Michael Niedermayer 9993064eec fixing rv20201002
Originally committed as revision 3694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 18:19:36 +00:00
Michael Niedermayer 35ef76b51c rv20103001 support
Originally committed as revision 3692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 16:57:47 +00:00
Michael Niedermayer ec892563ae reset ref_index
Originally committed as revision 3690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 13:08:25 +00:00
Michael Niedermayer e731697665 fix parser
Originally committed as revision 3689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 11:37:03 +00:00
Mike Melanson acfd8f0fdb native QPEG video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 3688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-17 03:45:53 +00:00
Michael Niedermayer 096c3b7e90 overflow fix
Originally committed as revision 3685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-16 13:40:56 +00:00
Michael Niedermayer dffcdbb5f6 extradata and FF_INPUT_BUFFER_PADDING_SIZE doc
Originally committed as revision 3684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-15 15:53:53 +00:00
Michael Niedermayer b43ff7e2b0 attribute_used
Originally committed as revision 3682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-14 22:05:21 +00:00
Michael Niedermayer fc0be57f66 plane predicted non-interlacd rgb decodeing fix
Originally committed as revision 3681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-14 15:46:34 +00:00
Michael Niedermayer 4940ed6ae1 automatic workaround for another padding bug
Originally committed as revision 3678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-13 01:05:12 +00:00
Michael Niedermayer 311c700878 merge pam_decode_frame() into pnm_decode_frame()
Originally committed as revision 3677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 23:38:43 +00:00
Michael Niedermayer 99f0623629 pnm parser
Originally committed as revision 3675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 22:55:29 +00:00
Milan Cutka e20815b396 When bswap_32 is a macro, png images fail to decode properly, patch by (Milan Cutka <cutka>at<szm>dot<sk>)
Originally committed as revision 3672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 09:48:06 +00:00
Michael Niedermayer 788d7a8cac av_resample_compensate() doxy
Originally committed as revision 3671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 02:05:26 +00:00
Maarten Daniels ccff9da62a H261 fixing and cleaning:
-corrected wrong value in mv data
 -set correct mb_type after adjusting index
 -don't use H263 loop filter when the loop filter flag is set but when
  using the H261 encoder
 -use the same unquantizer as H263 (which is optimized btw)
 -removed unused members in H261Context
patch by (Maarten Daniels <maarten.daniels >at< luc >dot< ac >dot< be>)

regression test checksum update by me

Originally committed as revision 3669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 01:21:34 +00:00
Michael Niedermayer 5b6d559680 move p*m from image/lavf -> image2/lavc
video/audio_codec_id in AVFormatParameters to override/help demuxer
av_guess_codec() to guess the default codecs based upon muxer + filename

Originally committed as revision 3668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-11 18:09:28 +00:00
Michael Niedermayer 6c3890b6d3 10l (CONFIG_ZLIB)
Originally committed as revision 3667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-11 10:33:11 +00:00
Michael Niedermayer 4eff7cf42d porting png support from -f image to -f image2
Originally committed as revision 3665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-09 23:31:46 +00:00
Michael Niedermayer d07730ddd1 fix image stream copy
Originally committed as revision 3662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-08 23:36:32 +00:00
Michael Niedermayer 359fa0febc cbr audio muxing fix
Originally committed as revision 3661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-06 19:11:34 +00:00
Michael Niedermayer d34a07466f switch ffv1 to the put/get_symbol() from snow
Originally committed as revision 3659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 12:22:00 +00:00
Michael Niedermayer 880eae9c50 switch ffv1 from CABAC to the range coder
Originally committed as revision 3658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 10:08:50 +00:00
Michael Niedermayer 9b41cb1c41 remove debug stuff
Originally committed as revision 3657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-31 02:51:39 +00:00