Commit Graph

3054 Commits

Author SHA1 Message Date
Michael Niedermayer
63d33cf439 bitstream related fixes from [PATCH] from DivX, Part 9: bitstream crashes by (Steve Lhomme | slhomme divxcorp com)
Originally committed as revision 4747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 11:31:56 +00:00
Michael Niedermayer
725e38777f wrong sizes, part of [PATCH] from DivX, Part 9: bitstream crashes from (Steve Lhomme | slhomme divxcorp com)
Originally committed as revision 4746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 11:29:34 +00:00
Mike Melanson
e84a047525 correctly deal with the alpha channel in 32-bit QT RLE (courtesy of John
Koleszar <jkoleszar at on2.com>)

Originally committed as revision 4743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-14 08:02:03 +00:00
Mike Melanson
0c3ee78f91 correctly handle very large Cinepak frames (courtesy of John Koleszar
<jkoleszar@on2.com>)

Originally committed as revision 4742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-14 00:19:01 +00:00
Måns Rullgård
4733abcbf3 use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:56:46 +00:00
Måns Rullgård
7e491fa5f9 remove unused variables
Originally committed as revision 4738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:42:06 +00:00
Loren Merritt
ab470fa73b recognize some more nal types
Originally committed as revision 4734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-11 02:16:21 +00:00
Benjamin Larsson
b7c24ff668 This patch adds some support for non-joint stereo streams. It also
removes some fixmes.
Patch by Benjamin Larsson

Originally committed as revision 4733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-11 00:56:39 +00:00
Guillaume Poirier
f6d1338cb5 Add the rest of missing Reg_* macros to support both AMD-64 style regs and IA32 regs.
Not used yet, but should be once the SIMD code to accelerate Snow decoding is merged.

Originally committed as revision 4731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-10 22:53:44 +00:00
Luca Barbato
5a872801d5 SONAME support for shared libs
patch by Luca Barbato < .. lu_zero .. @@ .. gentoo .. . .. org .. >

Originally committed as revision 4730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-10 17:14:24 +00:00
Benjamin Larsson
e0f7e32970 Cook compatibe decoder, patch by Benjamin Larsson
Add cook demucing, change rm demuxer so that it reorders audio packets
before sending them to the decoder, and send minimum decodeable sized
packets; pass only real codec extradata fo the decoder
Fix 28_8 decoder for the new demuxer strategy

Originally committed as revision 4726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-09 16:08:18 +00:00
Michael Niedermayer
60d76256cb psnr calculation with threads>1 fix
Originally committed as revision 4725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-07 18:21:16 +00:00
Roberto Togni
a4893bafd8 Support for samples with fft_order = 7
Fail init for unknown fft order, to prevent an array overflow
Output sound high-pitched compared to binary. Sample here
http://a1862.g.akamai.net/7/1862/14448/v1/esa.download.akamai.com/13452/qt/ESA_VenusExpress_110K_Stream.mov

Originally committed as revision 4724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-06 17:42:16 +00:00
Roberto Togni
db795a1c57 Remove duplicated fft init
Originally committed as revision 4723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-06 16:58:03 +00:00
Michael Niedermayer
4393e6392c check block_max_depth (fixes crash)
Originally committed as revision 4718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-03 14:20:03 +00:00
Michael Niedermayer
91aa4e3300 make selftest code compile again
Originally committed as revision 4717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-03 03:07:54 +00:00
Michael Niedermayer
c7622f9a28 default_get_buffer() cleanup
fixes probably exploitable heap overflow
heap overflow found by (Simon Kilvington <s D kilvington A eris D qinetiq D com>)

Originally committed as revision 4714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-02 00:12:37 +00:00
Måns Rullgård
9fa62f2aad BMP image decoder
Originally committed as revision 4711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-30 01:40:50 +00:00
Guillaume Poirier
348e52c91d Make DV(B|D) subtitles (en|de)coders be conditonnaly compiled depending on the configure system
Original thread:
Date: Nov 20, 2005 9:25 PM
Subject: [PATCH] make dvdsub encoder depend on config variables

Originally committed as revision 4709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-21 20:03:35 +00:00
Ivan Kalvachev
31a78b718b Mark all 12 block unused when there are no coded blocks
Fixes 422/444 artifacts

Originally committed as revision 4708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-20 23:09:05 +00:00
Wolfram Gloger
689abe56fe dvbsub encoder, patch by Wolfram Gloger < wmglo AH dent POIS med POIS uni-muenchen POIS de >
Original thread:
Date: 8 Oct 2005 09:35:38 -0000
Subject: [Ffmpeg-devel] [PATCH] dvdsub encoder -- 2nd version

Originally committed as revision 4706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-14 22:17:29 +00:00
Alex Beregszaszi
52ceae0624 10l, left debugging on
Originally committed as revision 4705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 20:12:33 +00:00
Matthieu Castet
2da2ba037a Correctly skip unknown matrices (patch by Matthieu Castet) and disable comment reading
Originally committed as revision 4704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 20:06:31 +00:00
Alex Beregszaszi
7146d2c267 Fixing theora _again_. DONT BOTHER BREAKING THIS AGAIN. Added support for Theora 3.4 and stream created by Elphel cameras are decodable.
Originally committed as revision 4703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 17:59:21 +00:00
Alex Beregszaszi
dd36b66722 fixed long standing off-by-one bug (fixes playback on ppc)
Originally committed as revision 4702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 17:48:27 +00:00
Alex Beregszaszi
2b18752c28 mode_code_vlc_table size mismatch
Originally committed as revision 4701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-13 17:46:21 +00:00
Loren Merritt
ea15df8048 use sse16_sse2() in nsse
Originally committed as revision 4688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-12 05:23:25 +00:00
Reimar Döffinger
a0ed075b29 clear the whole vert_pred buffer for 24 bit decoding.
This is currently not needed since the decoder creates only half of the
pixels, but should reduce confusion for people fiddling with it *g*

Originally committed as revision 4687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-10 18:05:45 +00:00
Mike Melanson
4b7e4bedd6 improvements by Reimar Döffinger; 24-bit decoding is not perfect, only
the left half of the frame is painted, but the area that is painted
looks correct

Originally committed as revision 4686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-10 13:54:32 +00:00
Loren Merritt
3165e258b1 fix a crash on seeking to an invalid frame
Originally committed as revision 4685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-10 04:40:49 +00:00
Måns Rullgård
68dce79b00 revert incorrect change
Originally committed as revision 4683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-09 19:18:20 +00:00
Michael Niedermayer
af8aa846fa check MPV_frame_start() return value
Originally committed as revision 4682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-09 11:29:29 +00:00
Steven M. Schultz
3712092e76 s/log2/av_log2/
patch by Steven M. Schultz <sms at 2bsd com>

Originally committed as revision 4681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-09 08:50:55 +00:00
Fredrik Orderud
25f8db58ee Put double-quotes around the install path in the "install-headers" section
of the makefiles for libavcodec, libavformat and libavutil.
Fixes installing into paths with spaces in them, i.e. Windows.
patch by Fredrik Orderud < fredrik . orderud -- at -- idi . ntnu . no >

Originally committed as revision 4680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-07 01:32:29 +00:00
Kostya Shishkov
7c017693c9 Two tables in truemotion1data.h were slightly different from VpVision
source. This patch fixes decoding of some samples from Phantasmagoria 2
(they use delta tables N1, not N0 as the rest of files).
patch by the author, Kostya Shishkov
< kostya -- dot -- shishkov -- at -- gmail -- dot -- com >

Originally committed as revision 4679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-05 19:03:07 +00:00
Michael Niedermayer
a75a3ca429 frame skip fixes
fix 16pixel error in comparission
 fix vbv messup
 fix unlimited skip intervals, limited by GOP now

Originally committed as revision 4678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-05 00:16:03 +00:00
Roberto Togni
c555392a5b Place qdm2 and truemotion2 in ifdef block so that they can be disabled
Originally committed as revision 4676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-05 00:00:24 +00:00
Michael Niedermayer
ed57bb79e8 extradata endianness comment
Originally committed as revision 4674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-04 23:24:24 +00:00
Loren Merritt
1fd97d8c1a tidier cabac_intra4x4_pred_mode
Originally committed as revision 4673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-03 23:26:51 +00:00
Guillaume Poirier
d4de20d11c Typo fix
Originally committed as revision 4672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-02 09:18:32 +00:00
Måns Rullgård
c7ea4f1903 no mixing of code and declarations
Originally committed as revision 4670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-28 18:18:04 +00:00
Matthieu Castet
5b0e811a65 Make rle_code int everywhere instead of signed char.
Fixes playback of auth_generator-demo.mov, for rle_code == -128 the assignement
rle_code = -rle_code would overflow.
Patch by matthieu castet (castet matthieu (at) free fr)

Originally committed as revision 4669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-28 16:01:12 +00:00
Loren Merritt
0f72508c10 25% faster deblocking, 4-6% overall.
Originally committed as revision 4668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-28 06:37:32 +00:00
Loren Merritt
cd19c677cb fix a crash on dropped frames
Originally committed as revision 4667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-27 21:03:36 +00:00
Loren Merritt
a6624e21cb faster h264_chroma_mc8_mmx, added h264_chroma_mc4_mmx.
2-4% overall speedup.

Originally committed as revision 4666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-27 06:45:29 +00:00
Emiliano Parasassi
2c5ee47d84 avoid the registration of DECODERS if only CONFIG_DECODERS is not defined.
patch by Emiliano Parassassi < millallo AH tiscali -- it >
Original thread:
Date: Mon, 24 Oct 2005 13:03:01 +0200
Subject: [Ffmpeg-devel] [PATCH] avoid registration of decoders if only encoders are choosed

Originally committed as revision 4664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-26 12:51:10 +00:00
Loren Merritt
56edbd818a 10l: cqm weren't initialized in svq3.
Originally committed as revision 4662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-26 03:58:06 +00:00
Loren Merritt
239ea04ccf decode custom quant matrices.
based on a patch by anonymous, with optimizations by me.

Originally committed as revision 4660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-25 01:17:20 +00:00
Diego Biurrun
fe9a734c82 Add DTS_INC to the CFLAGS for DTS. This is only set by external configure
programs (such as the MPlayer one) and thus somewhat hackish.  We already
do this for things like MLIB_INC and IPP_INC so it should be acceptable.

Originally committed as revision 4659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-23 18:16:53 +00:00
Roberto Togni
291b3ef4fb Increase version because of QDM2 decoder addition
Originally committed as revision 4654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-20 20:04:45 +00:00
Steve L'Homme
065148e773 init_get_bits() requires size in bits, not bytes
Patch by Steve Lhomme ||| steve | lhomme >at< free | fr |||

Originally committed as revision 4653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-19 22:27:34 +00:00
Guillaume Poirier
9918aa24e4 revert useless patch that was supposed to fix DTS support (but the fix belongs to MPlayer, not FFmpeg)
Originally committed as revision 4652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-19 18:42:37 +00:00
Roberto Togni
3135258e19 QDM2 compatible decoder
Originally committed as revision 4650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-18 20:31:12 +00:00
Roberto Togni
d9b1c197e5 QDM2 compatible decoder
Originally committed as revision 4649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-18 20:16:43 +00:00
Mike Melanson
48fa22d747 chroma decoding fix by Kostya
Originally committed as revision 4647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-16 13:56:52 +00:00
Roberto Togni
e6885654eb Reverse patch 1.59->1.60, it break mp3 in ffplay and ffmpeg
Reversing approved by patch author

Originally committed as revision 4646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-15 16:29:58 +00:00
Mike Melanson
adeba28193 TM2 fixes by Kostya
Originally committed as revision 4645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-15 14:33:11 +00:00
Giacomo Comes
aa35d2647c Fix DTS support compilation issue. Patch by Giacomo Comes < comes AH naic POIS edu >
Original thread:
Date: Oct 6, 2005 4:27 PM
Subject: [Ffmpeg-devel] [PATCH] dts support compilation issue

Originally committed as revision 4644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-14 18:17:47 +00:00
Mike Melanson
670924fd9e gcc 2.95 fix, courtesy of Luca Abeni
Originally committed as revision 4641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-14 16:17:40 +00:00
Mike Melanson
515ae4760a support for FLX and DTA extensions in the FLIC format, courtesy of
Steven Johnson (mplayer -at- sakuraindustries.com)

Originally committed as revision 4639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-13 04:35:31 +00:00
Mike Melanson
64af6168f7 Duck TrueMotion 2 video decoder, courtesy of Konstantin Shishkov
Originally committed as revision 4638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-13 04:31:55 +00:00
Alex Beregszaszi
e134e10f37 set_se_golomb can only write 16bits, add a note about this (ok, maybe it's brain dead using it with more than 16bits, but..)
Originally committed as revision 4635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 22:43:12 +00:00
Alex Beregszaszi
d10dc61682 sanity check whether dimensions are non-null
Originally committed as revision 4634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 22:40:10 +00:00
Alex Beregszaszi
83254e245c removed unused CONFIG_AUDIO_NONSHORT
Originally committed as revision 4633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-12 22:37:42 +00:00
Loren Merritt
b926572aa9 h264 mmx weighted prediction. up to 3% overall speedup.
Originally committed as revision 4630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-09 23:38:52 +00:00
Diego Biurrun
5539733bed Ignore AMR directories.
Originally committed as revision 4629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-06 12:13:25 +00:00
j@v2v.cc
c99dd23307 Move all definitions of external dependencies into configure instead of
defining it in configure and the Makefiles in a random fashion.
patch by j -- at -- v2v -- dot -- cc

Originally committed as revision 4628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-10-04 11:19:08 +00:00
Loren Merritt
5693c08356 sse2 16x16 sum squared diff (306=>268 cycles on a K8)
faster 8x8 mmx ssd (77=>70 cycles)

Originally committed as revision 4623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-30 02:31:47 +00:00
Loren Merritt
d90cbe5fe8 6% faster decode_cabac_residual
Originally committed as revision 4618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-27 05:12:13 +00:00
diane_cartman@gmx.de
ca3b0d2719 13% faster decode_residual (cavlc).
patch by diane_cartman at gmx dot de.

Originally committed as revision 4617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-27 04:46:45 +00:00
Diego Biurrun
4e159595b5 support for building dynamic libraries on Mac OS X
based on a patch by Lina Pezzella <J4rg0n -- at -- gentoo -- dot -- org>

Originally committed as revision 4616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-26 10:05:13 +00:00
Michel Bardiaux
399d84012f Fix some #ifdef to allow building amr_wb alone.
patch by Michel Bardiaux < mbardiaux -- dot -- mediaxim -- dot -- be >

Originally committed as revision 4615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-24 17:42:56 +00:00
Michel Bardiaux
288f1e6815 fix some pointer to intger without cast warnings (patch by Michel Bardiaux)
Originally committed as revision 4610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 23:18:52 +00:00
Aurelien Jacobs
62ab0b7822 fix unused variable warnings
Originally committed as revision 4609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 23:09:16 +00:00
Michael Niedermayer
12e9668119 replace a few mov + psrlq with pshufw, there are more cases which could benefit from this but they would require us to duplicate some functions ...
the trick is from various places (my own code in libpostproc, a patch on the x264 list, ...)

Originally committed as revision 4608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 21:17:09 +00:00
Gábor Kovács
dc9f52602f Just noticed there is a memory leak in h264.c with the usage of rbsp_buffer.
Here is a patch which frees the rbsp_buffer in decode_end().
patch by (Gábor Kovács | picard / demoscene \ hu)

Originally committed as revision 4607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-21 08:14:17 +00:00
Michael Niedermayer
8f196b14f5 changing a few options to AVOptions
Originally committed as revision 4603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 21:43:45 +00:00
Michael Niedermayer
9061be9fb3 precautionary checks
Originally committed as revision 4602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 18:51:12 +00:00
Michael Niedermayer
d2752a0ddf dont print NULL
Originally committed as revision 4600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-20 12:57:20 +00:00
Diego Biurrun
7df6545556 Move lrintf implementation from libavcodec/dsputil.h to libavutil/common.h
where it makes more sense.

Originally committed as revision 4599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-19 23:26:47 +00:00
Michael Niedermayer
0f88407075 set pts for h.263 decoding
Originally committed as revision 4598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-19 12:03:51 +00:00
Diego Biurrun
344b825ceb Rename put_string to ff_put_string to avoid a symbol clash on Mac OS X.
Originally committed as revision 4597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 21:21:01 +00:00
Michael Niedermayer
2118901192 print more time_base fps stuff if av_log level is at debug or above
print more likely correct fps
not sure if this is formated optimally ...

Originally committed as revision 4596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 14:45:17 +00:00
Reimar Döffinger
357a28430a check return value of decode_cabac_mb_dqp, it is INT_MIN on error.
fixes crash with http://stud4.tuwien.ac.at/~e0326863/ats/bbc-sample_small.mpg
and MPlayer's broken packetizer (but will not decode right of course).

Originally committed as revision 4595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-17 08:15:07 +00:00
Dario Andrade
18ae520b72 set more x264 encoding parameters
patch by Dario Andrade <dario at ip tv>

Originally committed as revision 4594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-14 21:05:24 +00:00
Michael Niedermayer
fac862c659 the people want lower case ...
Originally committed as revision 4592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 19:16:07 +00:00
Michael Niedermayer
6fd46414db dont include opt.h in avcodec.h
Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 18:24:48 +00:00
Diego Biurrun
1471c6c2e8 CAREFULL --> CAREFUL typo fix
Originally committed as revision 4590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 16:30:47 +00:00
Michael Niedermayer
ec9127c4a4 converting a few more options to AVOptions
Originally committed as revision 4587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 12:07:08 +00:00
Michael Niedermayer
637b5326f3 convert some options in ffmpeg.c to AVOptions
Originally committed as revision 4586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 10:23:52 +00:00
Michael Niedermayer
a1689e2f19 avoid stdio.h
Originally committed as revision 4585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 23:19:57 +00:00
Michael Niedermayer
c44a131dc7 missing include noticed by g0th
Originally committed as revision 4582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 14:39:33 +00:00
Michael Niedermayer
233f6f889e flags and named constants with type checking of course for AVOption
spliting AVOption specific stuff out of avcodec.h into opt.h

Originally committed as revision 4581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 14:22:42 +00:00
Michael Niedermayer
8bbf6db98b AVOption API improvments
support AVOptions for encoding in ffmpeg.c

Originally committed as revision 4580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 11:10:25 +00:00
Michael Niedermayer
434df899fe add xvid idcts to dct-test
Originally committed as revision 4576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 23:00:13 +00:00
Reimar Döffinger
cd7af76d9e Fix compile without CONFIG_GPL, misplaced #endif caused a missing }.
Originally committed as revision 4575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 19:30:40 +00:00
Michael Niedermayer
9f211bc6d7 remove unused table entries
change non portable table access

Originally committed as revision 4574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 19:03:37 +00:00
Michael Niedermayer
ddabdfefa8 select xvid idct for xvid files if possible
Originally committed as revision 4573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 17:09:54 +00:00
Michael Niedermayer
84740d5980 xvids mmx&mmx2 idcts
needed to decode xvid without some minor artefacts
under #ifdef CONFIG_GPL of course

Originally committed as revision 4572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 17:01:30 +00:00
Michael Niedermayer
96b6ace22e dont be so picky with .mp4 ... fixes Mr&MrsSmith.mp4
Originally committed as revision 4571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 01:13:10 +00:00
Alex Beregszaszi
8868d31065 use av_log in debug mode
Originally committed as revision 4570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-07 19:15:48 +00:00
Michael Niedermayer
3735e82f2d AVOption enumeration support and some flags to classify AVOptions
Originally committed as revision 4568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:32:18 +00:00
Måns Rullgård
79396ac685 Kill some compiler warnings. Compiled code verified identical after changes.
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:25:35 +00:00
Michael Niedermayer
d57d8cbc25 a few more raw yuv fourccs
Originally committed as revision 4565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 15:02:43 +00:00
Michael Niedermayer
860a40c8a7 AVOption first try
Originally committed as revision 4563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 12:51:56 +00:00
Loren Merritt
fbd312fd91 fix emulated edge motion compensation when resolution%16!=0
Originally committed as revision 4561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 17:07:52 +00:00
Michael Niedermayer
f79432a26e set a few variables correctly
Originally committed as revision 4560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 10:26:11 +00:00
Michael Niedermayer
1cef211dca AV_LOG_DEBUG vs. AV_LOG_ERROR
Originally committed as revision 4559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 09:28:46 +00:00
Michael Niedermayer
3723f01c14 fixme note
Originally committed as revision 4557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 09:04:52 +00:00
Michael Niedermayer
42661adfe6 pts must be in time_base units
Originally committed as revision 4556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 09:03:01 +00:00
Michael Niedermayer
b983a5c608 print fourcc in a readable form if possible
Originally committed as revision 4554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-03 20:36:24 +00:00
Michael Niedermayer
d3a9f79871 simplify (d&a) and (d&~a) calculation, hint by skal
Originally committed as revision 4552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-03 09:17:30 +00:00
Michael Niedermayer
b5b65df7a9 add consts (this was in my local tree, dunno where it came from, probably forgoten from some const patch)
Originally committed as revision 4551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 21:13:19 +00:00
Reimar Döffinger
6c0d606471 Document "us" parameter for PCM conversion functions.
Originally committed as revision 4550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 20:04:03 +00:00
Reimar Döffinger
b461b3bc4a Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 19:16:48 +00:00
Michael Niedermayer
16beae15f3 setting timebase in the encoder doesnt seem like a good idea
Originally committed as revision 4547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 17:12:16 +00:00
Justin Ruggles
1ff8f2b36a fixed quality / vbr encoding patch by (Justin Ruggles, jruggle, earthlink net)
Originally committed as revision 4546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 11:08:49 +00:00
Michael Niedermayer
4325ffd0a2 lowres support
Originally committed as revision 4545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 08:30:26 +00:00
Michael Niedermayer
473a200d93 error concealment fix
Originally committed as revision 4543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-01 00:15:12 +00:00
Michael Niedermayer
c619ff6daf optimizations
dc coeff rounding fix
class=3 num of bits fix
do interlaced check & idct only if CODEC_FLAG_INTERLACED_DCT

Originally committed as revision 4542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-30 20:03:19 +00:00
Michael Niedermayer
95ae72b7e0 Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
Originally committed as revision 4540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-26 19:05:44 +00:00
Burkhard Plaum
5b2bf94340 Fix for memleak in dv.c patch by (Burkhard Plaum; plaum, ipf uni-stuttgart de)
Originally committed as revision 4539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-26 15:41:28 +00:00
Michael Niedermayer
ba17363ff7 prevent assert failures and infinite loops with broken streams
Originally committed as revision 4538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-25 00:01:57 +00:00
Michael Niedermayer
5b28c8c355 time_base description by Rich Felker | dalias, aerifal cx
Originally committed as revision 4536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 22:31:01 +00:00
Michael Niedermayer
cc884a3506 reducing minimum supported picture size
Originally committed as revision 4535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 22:17:41 +00:00
Justin Ruggles
c57c770db3 vbr audio encode patch by (Justin Ruggles: jruggle, earthlink net)
with changes by me
    int->float as video uses float too
    remove silent cliping to some per codec range, this should result in an error instead
    remove change to utils.c as its inconsistant with video

Originally committed as revision 4533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 20:27:00 +00:00
Burkhard Plaum
32fbf33e61 Call av_free_static automatically before DLL unload patch by (plaum:ipf uni-stuttgart de)
Originally committed as revision 4532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 19:50:22 +00:00
Michael Niedermayer
1cd89f276a segfault fix
Originally committed as revision 4531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 15:44:59 +00:00
Michael Niedermayer
a1043f9c50 automatically remove mess
Originally committed as revision 4529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-16 07:53:03 +00:00
Michael Niedermayer
7cbaa7bafa parse pict_type for streams in avi
fix mpeg4 parser so it outputs te pict_type
support header only parseing without repacking

Originally committed as revision 4527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 15:58:21 +00:00
Mike Melanson
af9da83b0e automatically detect Cinepak data from Sega FILM/CPK files
Originally committed as revision 4525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 18:39:59 +00:00
Wolfram Gloger
f0ff20a197 minor fixes for invalid audio data patch by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 16:37:29 +00:00
Måns Rullgård
bf4e3bd2d0 kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 15:42:40 +00:00
Ian Caulfield
bf01fb696d subs.diff fixes a couple of minor bugs in my DVB subtitle decoder, and also fixes a few
problems in the DVD decoder (the palette entries were being read
back-to-front, and the timing conversions were slighly off)
patch by (Ian Caulfield: imc25, cam ac uk)

Originally committed as revision 4520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 01:15:27 +00:00
Michael Niedermayer
2eca4a44b1 set pix_fmt
Originally committed as revision 4518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 21:34:24 +00:00
Mike Melanson
ca16618b01 tinfoil patch: no array is written to in bulk before counts are
validated; do not free frames that are not allocated; removed all of the
output modes that no one uses and only PAL8 remains

Originally committed as revision 4517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 20:48:47 +00:00
Mike Melanson
485bb00108 removed a bunch of unused, sub-optimal code
Originally committed as revision 4516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:49:01 +00:00
Mike Melanson
8458dab185 tinfoil patch: be more diligent about checking array boundaries before
writing to them

Originally committed as revision 4515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:39:21 +00:00
Mike Melanson
b9029997d4 tinfoil patch: validate motion vectors and do not free frame on exit if
frame is NULL; also removed some ancient MC code that did not perform
half-pel C-plane MC

Originally committed as revision 4514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:25:17 +00:00
Mike Melanson
a06c7e07d7 tinfoil patch: make sure pixel_ptr never goes negative
Originally committed as revision 4513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 17:46:09 +00:00
Mike Melanson
6b892a4227 tinfoil patch: accept no widths that are no multiples of 4
Originally committed as revision 4512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 17:12:38 +00:00
Mike Melanson
3c8c94b403 tinfoil patch: make sure that pixel pointer does not go out of bounds
Originally committed as revision 4511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 16:59:01 +00:00
Måns Rullgård
a71a1dfc37 fix building in separate directory
Originally committed as revision 4509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 13:45:42 +00:00
Kostya Shishkov
f63166f8df security fixes
* check for writing to lines -1,-2,...
* check for motion compensation (copying from and to valid place)
patch by (Kostya: kostya shishkov, gmail com)

Originally committed as revision 4508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 09:12:09 +00:00
Edward Hervey
856170f752 DV video encoder/decoder doesn't set keyframe and picture type properties patch by (Edward Hervey:bilboed,gmail com)
Originally committed as revision 4503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-11 01:28:04 +00:00
Michael Niedermayer
77b854883e mkstemp on win32 workaround by (Ivan Wong: email, ivanwong info)
Originally committed as revision 4495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-06 09:46:04 +00:00
Steven M. Schultz
6987c58a0a liba52/crc.c fails to compile patch by ("Steven M. Schultz": sms, 2bsd com)
Originally committed as revision 4494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-05 23:25:35 +00:00
Alex Beregszaszi
23972d5a6c 10l
Originally committed as revision 4493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-05 19:15:34 +00:00
Michael Niedermayer
804b0dac58 segfault fix
Originally committed as revision 4491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-04 22:46:27 +00:00
Alexander Strasser
c11c2bc20b libavutil: Utility code from libavcodec moved to a separate library.
Originally committed as revision 4489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 20:07:05 +00:00
Michael Niedermayer
0cc64d3d1c fix assertion failure for mpeg2 encoding
Originally committed as revision 4488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 20:01:41 +00:00
Michael Niedermayer
cdd106899f workaround 'colocated mv if colocated block is L1 predicted' bug in x264
Originally committed as revision 4487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 14:47:07 +00:00
Michael Niedermayer
5aa083eec1 A.B.C versions
Originally committed as revision 4486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-31 10:51:04 +00:00
Michael Niedermayer
e53222d19b try to check for nonsense time_base instead of setting fake one
Originally committed as revision 4485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-31 10:00:25 +00:00
Michael Niedermayer
efbc614de0 check time_base.den for mpeg4
avoid zero time_base.* for h263

Originally committed as revision 4483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-30 16:15:36 +00:00
Michael Niedermayer
2f300f8965 motion vector limit for mpeg2
Originally committed as revision 4482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 13:16:35 +00:00
Diego Biurrun
51fd379af2 Reduce verbosity.
Originally committed as revision 4478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 07:29:20 +00:00
Michael Niedermayer
8583bef871 fixing colocated mv if colocated block is L1 predicted for the temporal direct case
untested (none of the conformance streams laying around on my disk seems affected by this change)

Originally committed as revision 4477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 00:15:55 +00:00
Michael Niedermayer
4866bd2b82 fixing colocated mv if colocated block is L1 predicted
fixes "H.264 decoding bug in either lavc/JM"

Originally committed as revision 4476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-26 23:40:55 +00:00
Martin Boehme
acb22f9391 Fix for overflow issue in mpegvideo.c patch by (Martin Boehme: boehme, inb uni-luebeck de)
this integer overflow might lead to the execution of arbitrary code during encoding with threads

Originally committed as revision 4474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-25 23:07:27 +00:00
Michael Niedermayer
ddebfb15dc thread mess check for avcodec_open/close()
Originally committed as revision 4472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-25 14:35:01 +00:00
Michael Niedermayer
91d44ffc9a fix user data parsing code so it suppors pre1 and cvs
Originally committed as revision 4471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-24 09:28:24 +00:00
Michael Niedermayer
d9dd7a0d2c minor user data reading bugfix
Originally committed as revision 4467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-23 11:16:18 +00:00
Reimar Döffinger
cad4368af7 Add missing +1 in bounds check.
Originally committed as revision 4465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 09:01:47 +00:00
Reimar Döffinger
4eecd5bc66 reset restart_count when restart_interval is set and fill the
MJpegDecodeContext with 0 on init.

Originally committed as revision 4464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 08:48:00 +00:00
Michael Niedermayer
2e8f2c20c9 portable IEEE float/double read/write functions
Originally committed as revision 4458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 14:25:23 +00:00
Michael Niedermayer
ea4377de8c portable IEEE float/double read/write functions
Originally committed as revision 4457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 13:29:13 +00:00
Michael Niedermayer
4c1a012e9c dont pre allocate uselessly large buffer and dont ignore FF_INPUT_BUFFER_PADDING_SIZE
Originally committed as revision 4452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 12:56:56 +00:00
Michael Niedermayer
e33943728e verify len field validity in mjpeg_decode_com()
Originally committed as revision 4451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 11:27:00 +00:00
Michael Niedermayer
50e2450bc1 10l (forgot to commit this yesterday)
DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)

Originally committed as revision 4449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 09:22:51 +00:00
Michael Niedermayer
c6ec28b18c DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
Originally committed as revision 4448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 00:28:12 +00:00
Michael Niedermayer
b194c327fc yamaha adpcm nibbles in the wrong order fix by (Vidar Madsen: vidarino, gmail com)
Originally committed as revision 4446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-16 11:18:42 +00:00
Vidar Madsen
2ff4524e72 Add Yamaha ADPCM encoding/decoding patch by (Vidar Madsen: vidarino, gmail com)
Originally committed as revision 4442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-15 06:51:36 +00:00
Michael Niedermayer
e0111b3243 more fine grained skip_frame
Originally committed as revision 4441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:57:22 +00:00
Michael Niedermayer
8c3eba7c62 skip_idct
skip_frame
skip_loop_filter

Originally committed as revision 4440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:39:36 +00:00
Michael Niedermayer
fec9ccb7e6 check for CODEC_CAP_DELAY in audio decoders too
Originally committed as revision 4439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 15:30:39 +00:00
Michael Niedermayer
46044471a0 ffmpeg version should be "CVS"
Originally committed as revision 4438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 14:34:39 +00:00
Michael Niedermayer
aa6ff39bb0 check len (should fix #1165694)
Originally committed as revision 4436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 23:39:47 +00:00
Michael Niedermayer
1a55810e87 fix segfault (bug #1165640)
Originally committed as revision 4435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:56:23 +00:00
Michael Niedermayer
472ea1284e fix infinite loop (suggested change by rjayne at convera dot com)
fixes bug #1160195

Originally committed as revision 4434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:34:34 +00:00
Michael Niedermayer
02fb0d7c72 fix decoding of (broken) files with f_code=0
fix segfault if the first P frames header is damaged

Originally committed as revision 4432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:15:03 +00:00
Michael Niedermayer
5b2ad9f520 segfault fix
Originally committed as revision 4430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 00:43:21 +00:00
Michael Niedermayer
337afd1420 patch from http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/ffmpeg-devel/files/patch-libavcodec::x264.c
(math.h needed for log2() at least)

Originally committed as revision 4426 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-10 00:22:13 +00:00
Michael Niedermayer
32fe3ac0f9 Here is the patch suggested by: unkaggregate, users sf net
Main reason is: deltas in interframes need scaling by 3/4 before applying.
Detailed description is at:
http://sourceforge.net/tracker/index.php?func=detail&aid=1222099&group_id=16082&atid=116082
He also mentioned some samples at:
http://www.nerdgrounds.com/indeo21_test/
patch posted to ffmpeg-devel by (Kostya: kostya shishkov, gmail com)

Originally committed as revision 4425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-09 21:39:29 +00:00
Alex Beregszaszi
41a33f51d2 100l - this has only worked on big endian
Originally committed as revision 4418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:43:23 +00:00
Alex Beregszaszi
19d9ac8169 parenthesing to avoid compiler errors in the future - compared asm outputs, behaviour didnt changed
Originally committed as revision 4417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:39:58 +00:00
Alex Beregszaszi
0ede2c556a print 'not working' message
Originally committed as revision 4416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:28:32 +00:00
Alex Beregszaszi
282152b133 1l
Originally committed as revision 4414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-02 19:10:30 +00:00
Sigbjørn Skjæret
4af5b6cdb0 Disable AltiVec IDCT for lowres decoding in lavc patch by (Sigbjørn Skjæret: cisc, broadpark no)
Originally committed as revision 4413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-01 09:37:35 +00:00
Michael Niedermayer
73480a1552 off by 1 error bugfix
avoid adding duplicate global headers to the bitstream

Originally committed as revision 4410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-29 08:41:01 +00:00
Gildas Bazin
eba9ae3cfc IWMMXT configure support + runtime selection patch by (Gildas Bazin, gbazin : altern org)
Originally committed as revision 4409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 22:46:36 +00:00
Mark Weaver
ff547a52d2 WMA MAX_CODED_SUPERFRAME_SIZE too small patch by (Mark Weaver: mark-clist, npsl co uk)
Originally committed as revision 4407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 14:56:16 +00:00
Michael Niedermayer
3f46995ca5 support extracting sps/pps from bitstream and putting it in extradata
Originally committed as revision 4403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 08:13:23 +00:00
Michael Niedermayer
e679cd1ab0 fixing first_mb_in_slice if frame_mbs_only_flag==0 && mb_aff==0
Originally committed as revision 4402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 06:45:41 +00:00
Michael Niedermayer
6b53b87e20 check mb_y
Originally committed as revision 4401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 23:13:10 +00:00
Michael Niedermayer
3d15acf27b keep decoding nal units after an error
Originally committed as revision 4399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 09:37:16 +00:00
Michael Niedermayer
80581e9887 x86_64 + PIC fix by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:55:29 +00:00
Michael Niedermayer
90ad92b39d support changing in bitstream global headers into extradata style and back
Originally committed as revision 4395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:04:03 +00:00
Michael Niedermayer
718b27a7d0 tiny docs improvement which i apparebtly forgot to commit
Originally committed as revision 4394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-26 23:04:59 +00:00
Guillaume Poirier
ee8f719308 GCC4 fix
Originally committed as revision 4388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-23 20:24:25 +00:00
Michael Niedermayer
806bb93fe2 make decoder a little bit more tolerant to missing NAL units
Originally committed as revision 4385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-19 23:33:09 +00:00
Falk Hüffner
2fdf9cb2fb Communicate proper aliasing to gcc (needed for 4.1).
Originally committed as revision 4384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-19 21:46:14 +00:00
Diego Biurrun
bb628dae44 spelling fixes
patch by Peter Robinson pbrobinson @ at @ gmail . dot . com and myself

Originally committed as revision 4382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-17 15:02:53 +00:00
Loren Merritt
36940eca76 H.264 lossless mode
Originally committed as revision 4381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-17 08:24:35 +00:00
Ronald S. Bultje
7dc1bea30f non-avc h264 stream problems patch by ("Ronald S. Bultje" rbultje, ronald bitfreak net)
Originally committed as revision 4368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-09 20:01:02 +00:00
Loren Merritt
1b7576e785 typo in cabac tables
Originally committed as revision 4360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-08 00:40:41 +00:00
Michael Niedermayer
a7cc43047f apiexample fix by (Chip: szarlada, freemail hu)
Originally committed as revision 4357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-07 20:57:15 +00:00
Michael Niedermayer
59d8efb340 uint_fast64_t emulation by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-07 14:12:15 +00:00
Michael Niedermayer
8d204aa415 10l (dont read variables before they have been set)
Originally committed as revision 4355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-05 15:51:20 +00:00
Måns Rullgård
fb3ca6ba3e remove mixed code/declarations
Originally committed as revision 4353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-04 15:49:54 +00:00
Fabrice Bellard
240c1657dc subtitle codec type support
Originally committed as revision 4346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 13:59:38 +00:00
Loren Merritt
43efd19a88 decode H.264 with 8x8 transform.
deblocking is still incorrect with 8x8+cavlc

Originally committed as revision 4339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-02 21:15:20 +00:00
Loren Merritt
d2bb7db135 sort H.264 mmx dsp functions into their own file
Originally committed as revision 4338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-02 20:45:35 +00:00
Michael Niedermayer
c26ae41db2 adding a few const
Originally committed as revision 4337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 21:19:00 +00:00
Michael Niedermayer
435b0720a8 100l for myself (breaking amd64)
Originally committed as revision 4336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 18:04:01 +00:00
Måns Rullgård
ca15919699 fix segfault if flush is called before the first frame
(I think that's it, and this fixes it)

Originally committed as revision 4335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 12:03:25 +00:00
Michael Niedermayer
6510f43cf3 merge a few asm blocks so gcc cant unoptimize it (658->631 dezicycles on duron)
Originally committed as revision 4334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 11:56:58 +00:00
Michael Niedermayer
987ae784e6 get rid of 2 movq (680 -> 658 dezicycles on duron)
Originally committed as revision 4333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 11:36:32 +00:00
Michael Niedermayer
e4b36d4434 avoid one transpose (730->680 dezicycles on duron)
Originally committed as revision 4332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 08:43:40 +00:00
Loren Merritt
85bbfcd4ee 10l (symbol mangling)
Originally committed as revision 4331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 04:51:46 +00:00
Michael Niedermayer
1f3dbc09b1 add rounding bias before the horizontal idct (765->730 dezicyles on duron)
Originally committed as revision 4330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-01 01:18:41 +00:00
Loren Merritt
1d62fc8560 MMX for H.264 iDCT (adapted from x264)
Originally committed as revision 4329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-31 22:48:33 +00:00
Michael Niedermayer
5a408f91e6 decrease V_NB_BITS if possible
Originally committed as revision 4327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 22:02:00 +00:00
Michael Niedermayer
f4e61cd194 more trivial optimizations
Originally committed as revision 4326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 20:34:05 +00:00
Måns Rullgård
568d4b810f enable x264 multi-threading
Originally committed as revision 4325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 20:34:02 +00:00
Michael Niedermayer
9a9d530126 maxdepth is supposed to be a constant, its faster if its too large then if its non constant
Originally committed as revision 4324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 19:14:50 +00:00
Michael Niedermayer
de312e51d0 optimizations
Originally committed as revision 4320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 15:03:06 +00:00
Michael Niedermayer
f56f96d80f faster float->short conversation
Originally committed as revision 4319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-30 00:07:52 +00:00
Michael Niedermayer
e19ca8451d ilog() -> av_log2()
Originally committed as revision 4318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 22:50:22 +00:00
Michael Niedermayer
13c2469d7f Vorbis sse fix by (Balatoni Denes: dbalatoni, programozo hu)
Originally committed as revision 4317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 22:11:05 +00:00
Loren Merritt
6d1feb028f decode h264 end-of-slice flag
Originally committed as revision 4316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 18:18:13 +00:00
Michael Niedermayer
3f3f8b2b75 cleanup
Originally committed as revision 4312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 14:40:20 +00:00
Bernhard Rosenkränzer
6ad1fa5a49 Better ARM support for mplayer/ffmpeg, ported from atty fork
while playing with some new hardware, I found it's running a forked mplayer
 -- and it looks like they're following the GPL.

 The maintainer's page is here: http://atty.jp/?Zaurus/mplayer
 Unfortunately it's mostly in Japanese, so it's hard to figure out any
  details.

  Their code looks quite interesting (at least to those of us w/ ARM CPUs).

  The patches I've attached are the patches from atty.jp with a couple of
  modifications by myself:
  - ported to current CVS
  - reverted their change of removing SNOW support from ffmpeg
  - cleaned up their bswap mess
  - removed DOS-style linebreaks from various files

patch by (Bernhard Rosenkraenzer: bero, arklinux org)

Originally committed as revision 4311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 14:32:46 +00:00
Michael Niedermayer
e18c1f19f6 AV_LOG_DEBUG is not a good default ...
Originally committed as revision 4307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 08:57:13 +00:00
Zoltán Hidvégi
3072f0cb2e MMX code for (put|avg)_h264_chroma_mc8
Originally committed as revision 4305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-25 08:05:41 +00:00
Mike Melanson
9c7154c7ae read loop filter limit values from Theora header, courtesy of Matthieu
Castet (castet.matthieu -at- free.fr)

Originally committed as revision 4304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-24 14:21:42 +00:00
Jacob Meuser
f39e56a84b ldconfig as config.mak variable patch by (Jacob Meuser: jakemsr, jakemsr com)
Originally committed as revision 4303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-22 23:58:58 +00:00
Michael Niedermayer
bb4c2140c2 libgsm warper by (Alban Bedel: albeu, free fr)
Originally committed as revision 4302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-22 23:39:11 +00:00
Michael Niedermayer
ded8477def fix max b frames with b frame strategy 1
Originally committed as revision 4300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 22:20:26 +00:00
Michael Niedermayer
0775c88f4e START/STOP_TIMER for ppc32 by (Luca Barbato: lu_zero, gentoo org)
Originally committed as revision 4298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 21:37:07 +00:00
Mike Melanson
2935001c86 fix bugs in new loop filter code; also, refrain from filtering against
data that has yet to be rendered; still #if'd out, will revisit when
proper algorithm can be validated

Originally committed as revision 4297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 19:31:16 +00:00
Michael Niedermayer
14ee9d1539 remove unused vp3 related function pointers
Originally committed as revision 4293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 07:43:49 +00:00
Michael Niedermayer
720537282b disable broken loop filter optimization
melanson please test your optimizations before commiting!

Originally committed as revision 4292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 07:35:15 +00:00
Mike Melanson
f44b08a5a0 apply the loop filter to fragments as they are rendered into the final
output

Originally committed as revision 4291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 05:20:52 +00:00
Mike Melanson
dc4b78d9dd render by the slice rather than the plane
Originally committed as revision 4290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 04:43:36 +00:00
Mike Melanson
7dc9ed1155 clean up some warnings and dead code
Originally committed as revision 4288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 02:06:27 +00:00
Denes Balatoni
84a96d6a3d 1.) LGPL license mentioned
2.) Stack useage decreased by 64kb
3.) One more bug fixed
patch by (Balatoni Denes <dbalatoni.programozo@hu>)

Originally committed as revision 4287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 01:17:20 +00:00
Mike Melanson
7f9926a45e another bitstream extraction to optimize: fixed-length motion vectors
Originally committed as revision 4286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-21 01:12:41 +00:00
Mike Melanson
39922395d2 read Huffman tables from Theora header (patch courtesy of
Matthieu Castet <castet.matthieu at free.fr>)

Originally committed as revision 4284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 23:59:10 +00:00
Loren Merritt
ba4ffc2b48 memory leak
Originally committed as revision 4282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 19:11:40 +00:00