platform/upstream/libav.git
20 years agosplit asf patch by (Konstantin Andreyev <kandreyev at bcsii dot com>)
Konstantin Andreyev [Fri, 5 Mar 2004 21:34:30 +0000 (21:34 +0000)]
split asf patch by (Konstantin Andreyev <kandreyev at bcsii dot com>)

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

20 years agofix motion compensation with (x+1/2,y+1/2) MVs
Michael Niedermayer [Fri, 5 Mar 2004 18:44:04 +0000 (18:44 +0000)]
fix motion compensation with (x+1/2,y+1/2) MVs

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

20 years ago10l
Michael Niedermayer [Fri, 5 Mar 2004 15:10:56 +0000 (15:10 +0000)]
10l

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

20 years ago* more consts
Zdenek Kabelac [Fri, 5 Mar 2004 14:21:56 +0000 (14:21 +0000)]
* more consts

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

20 years ago* const warn elimination
Zdenek Kabelac [Fri, 5 Mar 2004 14:09:12 +0000 (14:09 +0000)]
* const warn elimination

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

20 years ago* const warn elimintation
Zdenek Kabelac [Fri, 5 Mar 2004 14:08:33 +0000 (14:08 +0000)]
* const warn elimintation

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

20 years ago* const
Zdenek Kabelac [Fri, 5 Mar 2004 14:07:33 +0000 (14:07 +0000)]
* const

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

20 years agosilence warnings
Ivan Kalvachev [Thu, 4 Mar 2004 14:58:48 +0000 (14:58 +0000)]
silence warnings

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

20 years agocount > thread_count for execute()
Michael Niedermayer [Wed, 3 Mar 2004 19:29:00 +0000 (19:29 +0000)]
count > thread_count for execute()

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

20 years agoav_log() cleanup
Michael Niedermayer [Wed, 3 Mar 2004 17:53:55 +0000 (17:53 +0000)]
av_log() cleanup
 null pointer segfaults
 dont print redundant spam
 dont print prefix if reference==NULL
 class -> av_class
 dont copy AVClass to every object, its a waste of memory and not a good idea at all

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

20 years agoav_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Michel Bardiaux [Wed, 3 Mar 2004 15:41:21 +0000 (15:41 +0000)]
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

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

20 years agomacrofree av_freep()
Michael Niedermayer [Wed, 3 Mar 2004 01:57:43 +0000 (01:57 +0000)]
macrofree av_freep()

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

20 years agoadd vlc for cbp=0 that is valid in 422,444
Ivan Kalvachev [Tue, 2 Mar 2004 18:39:25 +0000 (18:39 +0000)]
add vlc for cbp=0 that is valid in 422,444

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

20 years ago10l (segfault fix)
Michael Niedermayer [Tue, 2 Mar 2004 17:21:55 +0000 (17:21 +0000)]
10l (segfault fix)

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

20 years ago100l (divx5 b frame + seeking + flush fix)
Michael Niedermayer [Tue, 2 Mar 2004 03:18:03 +0000 (03:18 +0000)]
100l (divx5 b frame + seeking + flush fix)

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

20 years agoforgot default chroma_format value
Ivan Kalvachev [Tue, 2 Mar 2004 00:40:18 +0000 (00:40 +0000)]
forgot default chroma_format value

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

20 years agofix typo
Ivan Kalvachev [Tue, 2 Mar 2004 00:30:25 +0000 (00:30 +0000)]
fix typo

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

20 years agoinitial chroma_format changes,xvmc tweaks and codec_cap
Ivan Kalvachev [Mon, 1 Mar 2004 14:55:21 +0000 (14:55 +0000)]
initial chroma_format changes,xvmc tweaks and codec_cap

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

20 years agoattribute_used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
Dmitry Baryshkov [Mon, 1 Mar 2004 12:46:20 +0000 (12:46 +0000)]
attribute_used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))

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

20 years agooptimizing/cleanup of mpeg/qpel_motion()
Michael Niedermayer [Sun, 29 Feb 2004 22:14:46 +0000 (22:14 +0000)]
optimizing/cleanup of mpeg/qpel_motion()

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

20 years agoattribute used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
Dmitry Baryshkov [Sun, 29 Feb 2004 22:10:18 +0000 (22:10 +0000)]
attribute used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))

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

20 years agoskip b frames before first i frame
Michael Niedermayer [Sun, 29 Feb 2004 02:25:19 +0000 (02:25 +0000)]
skip b frames before first i frame

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

20 years agosimplify MPV_motion()
Michael Niedermayer [Sun, 29 Feb 2004 02:08:28 +0000 (02:08 +0000)]
simplify MPV_motion()

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

20 years agointerlaced mpeg4 + edge emu fix (fixes decoding of mermaid.avi)
Michael Niedermayer [Sun, 29 Feb 2004 00:37:36 +0000 (00:37 +0000)]
interlaced mpeg4 + edge emu fix (fixes decoding of mermaid.avi)
related cleanup

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

20 years agompeg2 field pic decoding fix
Michael Niedermayer [Sat, 28 Feb 2004 21:02:49 +0000 (21:02 +0000)]
mpeg2 field pic decoding fix
simplifiations

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

20 years agoint64_t_C patch by (Gael Chardon <gael-announcements+ffmpeg at 4now dot net>)
Gael Chardon [Sat, 28 Feb 2004 16:41:23 +0000 (16:41 +0000)]
int64_t_C patch by (Gael Chardon <gael-announcements+ffmpeg at 4now dot net>)

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

20 years agoos x md5sum patch by (John Dalgliesh <johnd at defyne dot org>)
John Dalgliesh [Sat, 28 Feb 2004 15:15:58 +0000 (15:15 +0000)]
os x md5sum patch by (John Dalgliesh <johnd at defyne dot org>)

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

20 years agoMetrowerks CodeWarrior patches by (John Dalgliesh <johnd at defyne dot org>)
Michael Niedermayer [Sat, 28 Feb 2004 15:03:53 +0000 (15:03 +0000)]
Metrowerks CodeWarrior patches by (John Dalgliesh <johnd at defyne dot org>)

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

20 years ago10l (vdpart fix)
Michael Niedermayer [Thu, 26 Feb 2004 19:11:21 +0000 (19:11 +0000)]
10l (vdpart fix)

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

20 years agoAVCodec.supported_framerates
Michael Niedermayer [Thu, 26 Feb 2004 18:29:39 +0000 (18:29 +0000)]
AVCodec.supported_framerates

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

20 years agoINT64_MIN fix
Michael Niedermayer [Thu, 26 Feb 2004 15:15:05 +0000 (15:15 +0000)]
INT64_MIN fix

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

20 years ago10l
Michael Niedermayer [Thu, 26 Feb 2004 13:42:17 +0000 (13:42 +0000)]
10l

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

20 years ago100l (field picture decoding fix)
Michael Niedermayer [Thu, 26 Feb 2004 02:48:07 +0000 (02:48 +0000)]
100l (field picture decoding fix)

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

20 years agoWolfgang Hesseler (mv/dct coeff export & mv vissualiztion)
Michael Niedermayer [Wed, 25 Feb 2004 18:30:49 +0000 (18:30 +0000)]
Wolfgang Hesseler (mv/dct coeff export & mv vissualiztion)

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

20 years agoexport DCT coefficients patch by (Wolfgang Hesseler <wolfgang.hesseler at imk dot...
Wolfgang Hesseler [Wed, 25 Feb 2004 18:29:17 +0000 (18:29 +0000)]
export DCT coefficients patch by (Wolfgang Hesseler <wolfgang.hesseler at imk dot fraunhofer dot de>)

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

20 years ago1l
Michael Niedermayer [Wed, 25 Feb 2004 18:17:45 +0000 (18:17 +0000)]
1l

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

20 years agouse AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0
Michael Niedermayer [Wed, 25 Feb 2004 17:35:52 +0000 (17:35 +0000)]
use AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0
move AV_NOPTS_VALUE & AV_TIME_BASE from avformat.h -> avcodec.h
related fixes

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

20 years agoav_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Steven M. Schultz [Wed, 25 Feb 2004 02:47:53 +0000 (02:47 +0000)]
av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

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

20 years agoset AVFrame.pts based upon framerate if its 0
Michael Niedermayer [Wed, 25 Feb 2004 02:05:50 +0000 (02:05 +0000)]
set AVFrame.pts based upon framerate if its 0
detect & warn if the user prvides pts only for some frames, and try to guess the missing ones

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

20 years ago av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Steven M. Schultz [Mon, 23 Feb 2004 21:18:29 +0000 (21:18 +0000)]
 av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

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

20 years agomultithreaded mpeg2 decoding
Michael Niedermayer [Mon, 23 Feb 2004 20:56:56 +0000 (20:56 +0000)]
multithreaded mpeg2 decoding

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

20 years agoav_log patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Steven M. Schultz [Mon, 23 Feb 2004 16:07:30 +0000 (16:07 +0000)]
av_log patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

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

20 years agoav_log()
Michael Niedermayer [Mon, 23 Feb 2004 15:59:21 +0000 (15:59 +0000)]
av_log()

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

20 years agoc99
Michael Niedermayer [Sun, 22 Feb 2004 21:22:47 +0000 (21:22 +0000)]
c99

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

20 years ago(f)printf() is disallowed in libavcodec, compilation will fail now if its used, excep...
Michael Niedermayer [Sun, 22 Feb 2004 00:31:19 +0000 (00:31 +0000)]
(f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get

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

20 years agoavsync patch by (Gildas Bazin <gbazin at altern dot org>)
Gildas Bazin [Fri, 20 Feb 2004 14:39:15 +0000 (14:39 +0000)]
avsync patch by (Gildas Bazin <gbazin at altern dot org>)

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

20 years agoimproved VCD support patch by ("Hauke Duden" <H.NS.Duden at gmx dot net>)
Hauke Duden [Thu, 19 Feb 2004 22:34:13 +0000 (22:34 +0000)]
improved VCD support patch by ("Hauke Duden" <H.NS.Duden at gmx dot net>)
  - the first audio and video packs now contain only a system header and lots
  of padding.
  - no system headers in any packs other than the first ones
  - the two system headers only contain information about "their" stream
  - fixed some header values (muxrate, some flags, ...) so that they have the
  values specified by the standard
  - padding packs are inserted if the mux rate would be below 75 packs per
  second (the rate must not be below or above that value).
  - fixed the SCR of the packs
  - 20 zero bytes are now inserted at the end of each audio pack, after the
  data packet

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

20 years agow32threads by (Gildas Bazin <gbazin at altern dot org>)
Michael Niedermayer [Thu, 19 Feb 2004 20:29:26 +0000 (20:29 +0000)]
w32threads by (Gildas Bazin <gbazin at altern dot org>)

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

20 years agouse get_format
Ivan Kalvachev [Thu, 19 Feb 2004 00:30:33 +0000 (00:30 +0000)]
use get_format

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

20 years agosimplify
Michael Niedermayer [Wed, 18 Feb 2004 22:54:02 +0000 (22:54 +0000)]
simplify

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

20 years agoauxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)
Michael Niedermayer [Wed, 18 Feb 2004 19:15:19 +0000 (19:15 +0000)]
auxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)

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

20 years agoupdate libavformat regression checksums (it should be checked why exactly they change...
Michael Niedermayer [Wed, 18 Feb 2004 19:07:58 +0000 (19:07 +0000)]
update libavformat regression checksums (it should be checked why exactly they changed ...), and always test libavformat in make test so this doesnt happen again

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

20 years agocheck if threads_count is too large
Michael Niedermayer [Wed, 18 Feb 2004 16:26:16 +0000 (16:26 +0000)]
check if threads_count is too large

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

20 years agoflac_flush()
Michael Niedermayer [Wed, 18 Feb 2004 15:17:54 +0000 (15:17 +0000)]
flac_flush()

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

20 years agosimplify
Michael Niedermayer [Wed, 18 Feb 2004 14:05:49 +0000 (14:05 +0000)]
simplify
only change context if frame header is error-free, as some fields may not be stored in the frame header and so a single damaged frame-header may trash them

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

20 years agoflac
Alex Beregszaszi [Wed, 18 Feb 2004 12:51:56 +0000 (12:51 +0000)]
flac

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

20 years agoavoid negative array indices
Alex Beregszaszi [Wed, 18 Feb 2004 12:49:30 +0000 (12:49 +0000)]
avoid negative array indices

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

20 years agocrc8 checking, based upon a patch by (Miroslav Lichvar <lichvarm at phoenix dot inf...
Michael Niedermayer [Wed, 18 Feb 2004 04:10:52 +0000 (04:10 +0000)]
crc8 checking, based upon a patch by (Miroslav Lichvar <lichvarm at phoenix dot inf dot upol dot cz>)
less spam/av_log
fix synccode search
channel_order -> decorrelation_type (cosmetic i know, but the old name is too meaningless IMHO)
faster mid/side decorrelator based upon lifting transforms

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

20 years agoremove residual array, it isnt really needed
Michael Niedermayer [Wed, 18 Feb 2004 02:00:55 +0000 (02:00 +0000)]
remove residual array, it isnt really needed

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

20 years agoflac fixes:
Michael Niedermayer [Wed, 18 Feb 2004 01:49:30 +0000 (01:49 +0000)]
flac fixes:
fix data types of residual&decoded
fix twos complement bitfields
fix utf8 (no, utf8 is not the same as the simple and compact uvlc used in nut)
add truncated bitstream support, both ogg and flac demuxers in mplayer cvs provide incomplete frames, and furthermore it isnt possible to find frameboundaries in flac without decoding it completly
add escape-less golomb rice decoder (=flac style golomb rice) (ultra efficient, the longest vlc code is just 2^32-1 bits)
printf->av_log
fix bps for non independant channels
fix a few +-1 bugs
fix sample order for independant channels
fix data_size

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

20 years agoflac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
Michael Niedermayer [Wed, 18 Feb 2004 01:22:05 +0000 (01:22 +0000)]
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)

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

20 years agonoise reduction with threads bugfix
Michael Niedermayer [Tue, 17 Feb 2004 18:57:50 +0000 (18:57 +0000)]
noise reduction with threads bugfix

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

20 years agomore error checks for the sequence header
Michael Niedermayer [Mon, 16 Feb 2004 03:34:11 +0000 (03:34 +0000)]
more error checks for the sequence header

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

20 years agoAAC support in mov, correct aspect ratio support and user data support patch by ...
Gildas Bazin [Sat, 14 Feb 2004 19:08:09 +0000 (19:08 +0000)]
AAC support in mov, correct aspect ratio support and user data support patch by (Gildas Bazin <gbazin at altern dot org>)
and regression test checksum update for it by me

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

20 years agorle_code can overflow when multiplied by 4
Roberto Togni [Sat, 14 Feb 2004 18:12:36 +0000 (18:12 +0000)]
rle_code can overflow when multiplied by 4
(fixes Animation-256Greys.mov from mphq)

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

20 years agofix image resize
Michael Niedermayer [Sat, 14 Feb 2004 17:20:42 +0000 (17:20 +0000)]
fix image resize

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

20 years agoUse av_log
Roberto Togni [Sat, 14 Feb 2004 17:11:46 +0000 (17:11 +0000)]
Use av_log

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

20 years agoavio patch by (Gildas Bazin <gbazin at altern dot org>)
Gildas Bazin [Sat, 14 Feb 2004 16:25:32 +0000 (16:25 +0000)]
avio patch by (Gildas Bazin <gbazin at altern dot org>)

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

20 years agomsadpcm encoding
Michael Niedermayer [Sat, 14 Feb 2004 15:11:20 +0000 (15:11 +0000)]
msadpcm encoding

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

20 years agoLog file and Windows patch by ("Gael Chardon" <gael-announcements+ffmpeg at 4now...
Gael Chardon [Sat, 14 Feb 2004 15:04:01 +0000 (15:04 +0000)]
Log file and Windows patch by ("Gael Chardon" <gael-announcements+ffmpeg at 4now dot net>)

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

20 years agonormalize adaptive quantizatiuon fix (based upon a patch by (Jindrich Makovicka ...
Michael Niedermayer [Sat, 14 Feb 2004 13:37:58 +0000 (13:37 +0000)]
normalize adaptive quantizatiuon fix (based upon a patch by (Jindrich Makovicka <makovick at kmlinux dot fjfi dot cvut dot cz>))

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

20 years agompeg4 b frame + adaptive quantization assertion failure fix
Michael Niedermayer [Sat, 14 Feb 2004 03:49:43 +0000 (03:49 +0000)]
mpeg4 b frame + adaptive quantization assertion failure fix

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

20 years agomultithreaded spatial complexity calculation for i frames
Michael Niedermayer [Sat, 14 Feb 2004 03:21:03 +0000 (03:21 +0000)]
multithreaded spatial complexity calculation for i frames

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

20 years agoff_copy_bits() optimization
Michael Niedermayer [Sat, 14 Feb 2004 01:25:41 +0000 (01:25 +0000)]
ff_copy_bits() optimization

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

20 years agothreadless threads warning
Michael Niedermayer [Fri, 13 Feb 2004 22:18:33 +0000 (22:18 +0000)]
threadless threads warning

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

20 years agoactivate the memcpy special case for the byte aligned case in ff_copy_bits(), wasnt...
Michael Niedermayer [Fri, 13 Feb 2004 21:07:31 +0000 (21:07 +0000)]
activate the memcpy special case for the byte aligned case in ff_copy_bits(), wasnt working before because of a incorrectly used pbBufPtr()

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

20 years agoreplace a few pbBufPtr() by put_bits_count(), one of them was actually wrong
Michael Niedermayer [Fri, 13 Feb 2004 20:59:48 +0000 (20:59 +0000)]
replace a few pbBufPtr() by put_bits_count(), one of them was actually wrong

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

20 years agosimplify MV availability check / dont use below last row MV which is always zero
Michael Niedermayer [Fri, 13 Feb 2004 18:39:43 +0000 (18:39 +0000)]
simplify MV availability check / dont use below last row MV which is always zero

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

20 years agomultithreaded/SMP motion estimation
Michael Niedermayer [Fri, 13 Feb 2004 17:54:10 +0000 (17:54 +0000)]
multithreaded/SMP motion estimation
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c

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

20 years agoppc chroma mess workaround (real bug is that the motion compensation code assumes...
Michael Niedermayer [Thu, 12 Feb 2004 16:21:21 +0000 (16:21 +0000)]
ppc chroma mess workaround (real bug is that the motion compensation code assumes that 2*uvlinesize == linesize and fixing this would mean a slowdown)

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

20 years ago * turns out write_packet is supposed to return 0 on success, not
Roman Shaposhnik [Wed, 11 Feb 2004 02:28:34 +0000 (02:28 +0000)]
   * turns out write_packet is supposed to return 0 on success, not
     how many bytes were written.

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

20 years ago * gotta setup coded_frame for encoding. avcodec.h says that for decoding
Roman Shaposhnik [Tue, 10 Feb 2004 20:48:09 +0000 (20:48 +0000)]
* gotta setup coded_frame for encoding. avcodec.h says that for decoding
      lavc is supposed to set it up as well and I don't think I see any
      reason not to.

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

20 years agorv10/obmc fixes
Michael Niedermayer [Mon, 9 Feb 2004 15:23:35 +0000 (15:23 +0000)]
rv10/obmc fixes

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

20 years ago2 byte shorter userdata for mpeg4
Michael Niedermayer [Sun, 8 Feb 2004 22:52:35 +0000 (22:52 +0000)]
2 byte shorter userdata for mpeg4
in the past it was startcode,string,00,7F,startcode
now it is startcode,string,stratcode
both are mpeg4 compliant, as according to the standard the userdata lasts until the next 00 00 01 (startcode prefix) but some very primitive decoders which simply skip until the first 00 byte and then expect the next valid startcode might fail with the old variant, just a theory though (didnt test if quicktime can decode it now)

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

20 years agoima & ms adpcm regression test
Michael Niedermayer [Sun, 8 Feb 2004 02:35:37 +0000 (02:35 +0000)]
ima & ms adpcm regression test

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

20 years agoM$ ADPCM encoding & some simplifications
Michael Niedermayer [Sun, 8 Feb 2004 02:16:48 +0000 (02:16 +0000)]
M$ ADPCM encoding & some simplifications

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

20 years agosegfault fix
Michael Niedermayer [Sat, 7 Feb 2004 20:50:26 +0000 (20:50 +0000)]
segfault fix

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

20 years agopass strict_std_compliance to audio context too
Michael Niedermayer [Sat, 7 Feb 2004 15:35:53 +0000 (15:35 +0000)]
pass strict_std_compliance to audio context too

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

20 years agouse clip() from common.h
Michael Niedermayer [Sat, 7 Feb 2004 15:33:00 +0000 (15:33 +0000)]
use clip() from common.h
ignore sample_rate==8000 limit if strict_std_compliance < 0

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

20 years agog726 regression test
Michael Niedermayer [Sat, 7 Feb 2004 15:10:47 +0000 (15:10 +0000)]
g726 regression test

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

20 years ago * docs update for G.726
Roman Shaposhnik [Sat, 7 Feb 2004 08:24:24 +0000 (08:24 +0000)]
   * docs update for G.726

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

20 years ago * Initial implementation of the G.726 ADPCM audio codec.
Roman Shaposhnik [Sat, 7 Feb 2004 08:20:00 +0000 (08:20 +0000)]
  * Initial implementation of the G.726 ADPCM audio codec.

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

20 years ago100l
Michael Niedermayer [Sat, 7 Feb 2004 04:21:05 +0000 (04:21 +0000)]
100l

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

20 years agono limits!, warning is enough
Michael Niedermayer [Sat, 7 Feb 2004 00:03:11 +0000 (00:03 +0000)]
no limits!, warning is enough

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

20 years ago- made --extra-cflags option work on darwin
Tinic Uro [Fri, 6 Feb 2004 23:56:37 +0000 (23:56 +0000)]
- made --extra-cflags option work on darwin
- allow INTER4V macroblocks for FLV1 codec
- fixed issue in flv file format saving 8 mp3 frames per packet instead of 1
- fixed crasher in flv file format involving mp3 buffer handling
- added FLV1 codec support for swf file format (FlashPlayer6 or above
required) and made it default
- fixed broken mp3 support in swf file format
patch by (Tinic Uro <turo at macromedia dot com>)
cleanup by me

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

20 years agoh263 4mv encoding fix
Michael Niedermayer [Fri, 6 Feb 2004 22:34:33 +0000 (22:34 +0000)]
h263 4mv encoding fix

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

20 years agosegfault fix
Michael Niedermayer [Fri, 6 Feb 2004 21:07:17 +0000 (21:07 +0000)]
segfault fix

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

20 years agoget_bit_count -> put_bits_count
Alex Beregszaszi [Fri, 6 Feb 2004 17:51:58 +0000 (17:51 +0000)]
get_bit_count -> put_bits_count

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

20 years agoget_bit_count -> put_bits_count
Alex Beregszaszi [Fri, 6 Feb 2004 15:27:31 +0000 (15:27 +0000)]
get_bit_count -> put_bits_count

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

20 years agoanalyze the gradient of the error surface to avoid a few checks in the quantizing...
Michael Niedermayer [Fri, 6 Feb 2004 03:56:05 +0000 (03:56 +0000)]
analyze the gradient of the error surface to avoid a few checks in the quantizing noise shaper

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