Commit Graph

412 Commits

Author SHA1 Message Date
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
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
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
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
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
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
860a40c8a7 AVOption first try
Originally committed as revision 4563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 12:51:56 +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
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
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
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
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
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
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
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
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
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
Måns Rullgård
ad2b531d3f change extradata format for vorbis
Originally committed as revision 4235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 18:10:23 +00:00
Roine Gustafsson
44608ac7cd ff_reverse to utils.c patch by (Roine Gustafsson )roine users.sourceforge net)
Originally committed as revision 4199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-07 19:24:07 +00:00
Michael Niedermayer
c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Michael Niedermayer
82c0c4ba78 print pix_fmt if its known instead of if the raw codec is used
Originally committed as revision 4162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:41:38 +00:00
Michael Niedermayer
644a92626a PIX_FMT_NONE and related fixes
Originally committed as revision 4161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:29:06 +00:00
Michael Niedermayer
09c3e44e8a motion estimation bitrate penalty compensation
Originally committed as revision 4092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-27 12:19:59 +00:00
Måns Rullgård
88730be651 kill warnings patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 19:08:50 +00:00
Michael Niedermayer
6e0d8c06c7 mb_lmin/max to limit the per mb quality for the ratecontrol independant from the frame limits
Originally committed as revision 3928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-02 19:33:48 +00:00
Michael Niedermayer
c342499df2 make keyframe default for AVFrames
Originally committed as revision 3920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 18:36:51 +00:00
Michael Niedermayer
934982c4ac avoid buf_size == 0 checks in every decoder
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 18:09:06 +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
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
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
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
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
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
Michael Niedermayer
3237f73183 stride align cleanup
Originally committed as revision 3640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-26 12:47:56 +00:00
Roman Shaposhnik
f02be79d61 * Introducing IIDC1394 grabbing interface.
Use it with -grab dc1394

   * Introducing yet another packed pix_fmt in order to support some of
     the IIDC1394 modes: uyvy411 (Cb Y0 Y1 Cr Y2 Y3).

Originally committed as revision 3621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-22 02:04:30 +00:00
Michael Niedermayer
15862411e6 infinte recursion fix
Originally committed as revision 3606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-18 03:02:48 +00:00
Michael Niedermayer
9fe5a7b831 do not call (av_)abort()
Originally committed as revision 3543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-01 12:31:11 +00:00
Michael Niedermayer
21adafec2a lowres width/height cleanup 3rd try
Originally committed as revision 3522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 11:50:56 +00:00
Michael Niedermayer
1f0182250a av_rescale with user specified rounding
Originally committed as revision 3481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 16:38:54 +00:00
Michael Niedermayer
b100eab869 changing size segfault fix
Originally committed as revision 3463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 00:35:18 +00:00
Michael Niedermayer
8b69867f2e Minor Patch for shared libs on Mac OSX by (Bill May <wmay at cisco dot com>)
Originally committed as revision 3387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 15:30:42 +00:00
Michael Niedermayer
baced9f598 user overrideable level & profile
Originally committed as revision 3385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-13 13:59:28 +00:00
Todd Kirby
ebb177ddef UYVY support patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
Originally committed as revision 3339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 10:01:36 +00:00
Michael Niedermayer
5f63d108eb simplify
Originally committed as revision 3314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 18:23:49 +00:00
Roberto Togni
d99fbbf4d7 Force alignement for rpza and smc
Originally committed as revision 3262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-27 11:07:05 +00:00
Michael Niedermayer
6f82497728 flush audio encoder buffers at the end
fix vorbis in nut again

Originally committed as revision 3244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-22 21:14:01 +00:00
Michael Niedermayer
50071f0b48 avcodec_find is in no header file, and appearently not used or very usefull so lets make it static ...
Originally committed as revision 3157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-25 18:17:25 +00:00
Michael Niedermayer
53db1cae1c data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:37:16 +00:00
Michael Niedermayer
ca8ad84767 dummy avcodec_thread_init() to avoid linking issues
Originally committed as revision 3122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-10 23:38:53 +00:00
Michael Niedermayer
4c263142c5 use AVInteger in av_rescale() so it can finally do 64*64/64 instead of just 64*32/32
Originally committed as revision 3106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-04 02:58:30 +00:00
Michael Niedermayer
d01dbeb800 simplify
Originally committed as revision 3097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 18:11:34 +00:00
Michael Niedermayer
eea8c08fa8 cleanup & memleak fix
Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 17:42:58 +00:00
Michael Niedermayer
4e39ab4c97 1000l in av_mallocz_static()
less overallocation in av_fast_realloc() for small arrays

Originally committed as revision 2913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-22 11:00:51 +00:00
Michael Niedermayer
8d1f2ba5e1 static allocation rewrite (old code was plain a broken mess)
doesnt call realloc every time
 doesnt randomly overwrite memory after after 8-16 calls
 doesnt use ugly macro wraper
 fewer lines of code

Originally committed as revision 2912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-21 21:58:14 +00:00
Ivan Kalvachev
494c56d36f silence warnings
Originally committed as revision 2843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-04 14:58:48 +00:00
Michael Niedermayer
4346539522 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
2004-03-03 17:53:55 +00:00
Michel Bardiaux
bc874daea8 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 15:41:21 +00:00
Michael Niedermayer
81c5f88748 macrofree av_freep()
Originally committed as revision 2839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 01:57:43 +00:00
Michael Niedermayer
9740beffc6 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
2004-02-25 17:35:52 +00:00
Michael Niedermayer
d705e4a6bb (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
2004-02-22 00:31:19 +00:00
Michael Niedermayer
9c3d33d67f 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
2004-02-13 17:54:10 +00:00
Michael Niedermayer
7984082a08 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
2004-02-12 16:21:21 +00:00
Falk Hüffner
95ba2c8f43 tiny warning fix
Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-01 22:56:54 +00:00
Michael Niedermayer
83f8c0c3c8 segfault fix
Originally committed as revision 2719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-23 12:30:31 +00:00
Michael Niedermayer
8f2ab83318 copyright year update of the files i touched and remembered, things look annoyingly unmaintained otherwise
Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-10 16:04:55 +00:00
Michael Niedermayer
620fe604a8 10l
Originally committed as revision 2670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-05 23:40:23 +00:00
Roberto Togni
e1c2a5a0a8 - Add reget_buffer() function to AVCodecContext
- Add default reget_buffer implementation in libavcodec/utils.c
- Remove AVCodecContext.cr_available, no longer needed
- Remove CODEC_CAP_CR, no longer used
- Add img_copy() prototype to avcodec.h (function from imgconvert.c)
- Rename img_copy() to jpeg_img_copy() in libavformat/jpeg.c to avoid
conflict
- Updated msrle, msvideo1, rpza, smc to use reget_buffer

Originally committed as revision 2531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-26 20:57:15 +00:00
Roberto Togni
074c4ca7fd Add cr codec capability and buffer hints
Originally committed as revision 2484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-07 21:20:24 +00:00
Michael Niedermayer
89b9441aba only add prefix after \n
Originally committed as revision 2471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 13:58:26 +00:00
Michel Bardiaux
9b87956678 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 13:26:22 +00:00
Michael Niedermayer
237e49387a initalize various uninitalized variables and avoid coded_picture_number as its not always correct (later should be reversed after fixing the picture_number mess)
Originally committed as revision 2454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 21:05:00 +00:00
Mike Melanson
2a2bbcb05f revised palette API, courtesy of Roberto Togni (rtogni at freemail.it)
Originally committed as revision 2451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-30 05:40:58 +00:00
Fabrice Bellard
985180a1b8 added fake codec CODEC_ID_MPEG2TS of type CODEC_TYPE_DATA (needed for simpler handling of raw transport streams in ffserver and RTP - better solutions are welcomed)
Originally committed as revision 2445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-29 14:08:18 +00:00
Michael Niedermayer
5ed9f2e5aa use continued fractions to approximate a fraction if its numerator or denominator is too large
Originally committed as revision 2405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 22:33:53 +00:00
Michael Niedermayer
5ff85f1d8b AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-20 20:23:46 +00:00
Roman Shaposhnik
5c00fe4137 * original fix still didn't align lines on s_align when CODEC_FLAG_EMU_EDGE
was not set.

Originally committed as revision 2394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-16 18:27:48 +00:00
Michael Niedermayer
f0bbfc4a20 default_get_buffer() fixes
Originally committed as revision 2391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 21:59:08 +00:00
Michael Niedermayer
158c7f059c use lagrange multipler instead of qp for ratecontrol, this may break some things, tell me ASAP if u notice anything broken
quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range

Originally committed as revision 2348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-07 11:32:40 +00:00
Michael Niedermayer
09770af869 detect avcodec_open() on an already opened AVCodecContext
Originally committed as revision 2251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 08:20:14 +00:00
Fabrice Bellard
b160941221 removed warnings
Originally committed as revision 2248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-09 22:59:16 +00:00
Fabrice Bellard
98ce5991d7 update sub_id in mpegaudio decoding (might need same method as MPEG2VIDEO too ?)
Originally committed as revision 2238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:49:26 +00:00
Michael Niedermayer
59c673d518 cleanup / fixes
Originally committed as revision 2103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-08-05 10:19:43 +00:00
Michael Niedermayer
7d1c3fc1d6 rate distortion mb decision support
fix decoding of old %16!=0 divx
fix assertion failure in motion_est.c

Originally committed as revision 2094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-29 02:09:12 +00:00
Michael Niedermayer
7a06ff148d AVCodec.flush()
ff_draw_horiz_band() in coded order / cleanup

Originally committed as revision 2064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 12:29:07 +00:00
Garrick Meeker
d4f5d74a54 flash video (flv) support patch by (Garrick Meeker <gmeeker at theoryllc dot com>)
Originally committed as revision 2024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-09 23:10:59 +00:00
Michael Niedermayer
ba88675b1d rgb15 & rgb16 fix
Originally committed as revision 1921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-30 13:27:21 +00:00
Falk Hüffner
4cfbf61bf1 Warning and compatibility fixes.
Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-24 18:48:30 +00:00
Michael Niedermayer
d8085ea727 cleanup
Originally committed as revision 1882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-14 23:08:01 +00:00
Michael Niedermayer
f138f88364 100l (document buffer padding requirements)
Originally committed as revision 1866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 23:03:00 +00:00
Michael Niedermayer
7c9375f15a 10l
Originally committed as revision 1823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 20:03:17 +00:00
Michael Niedermayer
d90cf87b90 fixing mixed dr1 + internal buffers
Originally committed as revision 1820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 00:29:48 +00:00
Fabrice Bellard
59cf08ce90 fixed static init
Originally committed as revision 1799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-20 16:16:52 +00:00
Michael Niedermayer
2c19981a93 10l
Originally committed as revision 1725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-02 10:18:29 +00:00
Michael Niedermayer
1984f6359e user setable quantizer bias
Originally committed as revision 1701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-22 12:09:02 +00:00
Fred Rothganger
e8750b0076 rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)
Originally committed as revision 1687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-16 21:03:20 +00:00
Michael Niedermayer
b536d0aad2 field pic decoding cleanup
Originally committed as revision 1686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-16 20:22:22 +00:00
Michael Niedermayer
14bea432f1 per context frame_rate_base, this should finally fix frame_rate related av sync issues
Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 15:16:19 +00:00
Michael Niedermayer
983e3246b7 per file doxy
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 11:32:04 +00:00
Zdenek Kabelac
0c1a9edad4 * UINTX -> uintx_t INTX -> intx_t
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Zdenek Kabelac
5c91a6755b * static,const,compiler warning cleanup
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:35:32 +00:00
Fabrice Bellard
0d4c587854 removed warning
Originally committed as revision 1506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 23:18:42 +00:00
Fabrice Bellard
8e1e6f31c1 use av_malloc() functions - added av_strdup and av_realloc()
Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 23:03:09 +00:00
Michael Niedermayer
a33c7159e1 get_format()
Originally committed as revision 1451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-12 00:48:29 +00:00
Fabrice Bellard
5915a6dc85 moved avpicture_xxx to imgconvert
Originally committed as revision 1434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:52:39 +00:00
Fabrice Bellard
9bbffbb155 moved avcodec_get_chroma_sub_sample() to imgconvert.c
Originally committed as revision 1430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 00:07:06 +00:00
Zdenek Kabelac
87fb268fdc * avoid usage of next/last buffer after flush
(but there still something wrong when the first frame isn't keyframe)

Originally committed as revision 1403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-06 18:09:27 +00:00
Michael Niedermayer
826f429ae9 qpel in mmx2/3dnow
qpel refinement quality parameter

Originally committed as revision 1393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-05 15:57:10 +00:00
Michael Niedermayer
17a70fdeef mb qp limits
Originally committed as revision 1340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-18 10:09:43 +00:00
Zdenek Kabelac
4cb3ca724d * fill codec_id in codec_open
Originally committed as revision 1329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 18:54:09 +00:00
Michael Niedermayer
492cd3a920 AVVideoFrame -> AVFrame
Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 12:03:43 +00:00
Michael Niedermayer
4e00e76b3c cleanup / messup?
fixes 20% speedloss bug
removes redundant variables from MpegEncContext
release buffers in avcodec_flush_buffers() (untested)

Originally committed as revision 1325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 00:29:17 +00:00
Michael Niedermayer
5b20b7328a print a warning if something allocates 0 bytes
Originally committed as revision 1307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 12:42:25 +00:00
Michael Niedermayer
1e491e29c2 cleanup
adding AVVideoFrame
 moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame
 removing obsolete variables in AVCodecContext
 skiping of MBs in b frames
 correctly initalizing AVCodecContext
 picture buffer cleanup

Originally committed as revision 1302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 10:04:03 +00:00
Zdenek Kabelac
855ea723b0 * two functions to handle allocation of static data more simple
av_mallocz_static - called for every static data table
  av_free_static - called when ffmpeg is no longer needed and should free
                   all static resources
* simple usage shown in mpegaudiodec.c

Originally committed as revision 1301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-03 19:40:35 +00:00
Zdenek Kabelac
18f770162b * fixing some minor const warnings
Originally committed as revision 1205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 15:00:04 +00:00
Zdenek Kabelac
c6af86c240 * avcodec_init could be removed I guess...
Originally committed as revision 1192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-11 09:31:17 +00:00
Michael Niedermayer
6bb925f47d dont call emms_c() for each MB
Originally committed as revision 1127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-31 12:11:53 +00:00
Michael Niedermayer
8d0e42cad0 more defaults
Originally committed as revision 1065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-22 23:43:25 +00:00
Michael Niedermayer
4d2858deac better/cleaner error resilience (done in a 2nd pass after decoding)
h263/mpeg4 out of order slice decoding

Originally committed as revision 1030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-13 13:16:04 +00:00
Fabrice Bellard
a5e880583c corrected pixel format display
Originally committed as revision 1025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-11 09:16:35 +00:00
Fabrice Bellard
4bfad53561 added two pass info
Originally committed as revision 1022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-10 17:12:55 +00:00
Falk Hüffner
7ffbb60ee7 Minor warning fix.
Originally committed as revision 977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-28 01:49:37 +00:00
Michael Niedermayer
b3a391e8b8 fixing i_quant_factor, this should finally fix the bitrate bug with ffserver hopefully
Originally committed as revision 959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 20:22:39 +00:00
Michael Niedermayer
e8b62df6e4 fixing apiexample
Originally committed as revision 958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 18:24:52 +00:00
Michael Niedermayer
a949d72e0e avcodec_alloc_context()
Originally committed as revision 954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 09:13:43 +00:00
Philip Gladstone
b71472eb62 Add conversions to and from RGBA32 and BGRA32.
Originally committed as revision 824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-27 03:08:04 +00:00
Nick Kurshev
be8ffec9cd new codec: Sorenson v1
Originally committed as revision 726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-09 16:08:43 +00:00
Fabrice Bellard
ce992c6932 moved code to mem.c and allcodecs.c
Originally committed as revision 689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-11 13:45:17 +00:00
Zdenek Kabelac
cd4af68ad5 * started to cleanup name clashes for onetime compilation
Originally committed as revision 617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-27 16:42:14 +00:00
Fabrice Bellard
ff4ec49e64 license/copyright change
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:45:33 +00:00
Fabrice Bellard
4d7a0a0593 better av_freep()
Originally committed as revision 541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-20 16:23:27 +00:00
Fabrice Bellard
3123dd793e proper memory handling functions
Originally committed as revision 520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-18 22:59:50 +00:00
Nick Kurshev
8bceb6af09 build info for ABI
Originally committed as revision 489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-12 15:53:25 +00:00
Philip Gladstone
0edf8a7a65 * Don't allocate 0 bytes of memory. It upsets electricFence!
Originally committed as revision 472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-09 01:24:27 +00:00
Nick Kurshev
156e5023e8 version info
Originally committed as revision 443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-05 09:56:13 +00:00
Michael Niedermayer
1c2a8c7f14 avcodec_flush_buffers()
Originally committed as revision 420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-24 01:24:06 +00:00
Zdenek Kabelac
623563c04a * using some small char buffer - needed for sprintf
Originally committed as revision 416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-22 19:57:26 +00:00
Juanjo
4b1f4f236b - Versions defined for libav/libavcodec.
- Bug fix in wav muxer for MP2 audio.
- ffmpeg/libavcodec version in MPEG-4 user data.

Originally committed as revision 400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-15 02:28:05 +00:00
Juanjo
e0d2714adc - Fixed AC3 decoding for 5:1 AC3 streams. Now when calling av_audio_decode for
AC3 set avcodec_context->channels to the desired number channels, if the
setting is 0 AC3 decoder will set it to the channels found in the
stream.
- Changed ffmpeg to cope with the new "way" of AC3 decoding.
- ASF muxer now uses Tickers for PTS calculations.

Originally committed as revision 393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-09 04:52:49 +00:00
Zdenek Kabelac
bc657ac31d * using pixtype as enum - by Philip Gladstone
Originally committed as revision 389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-08 21:03:35 +00:00
Michael Niedermayer
e1a9dbffed wmv1 header parser (unfinished)
Originally committed as revision 380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-06 22:29:37 +00:00
Michael Niedermayer
84afee348f msmpeg4v2 decoding (no encoding yet)
Originally committed as revision 376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-05 04:09:04 +00:00
Alex Beregszaszi
0344cd0a7c multiple init bugfix (patch by Alex Beregszaszi <alex@naxine.org>)
Originally committed as revision 371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-04-01 13:24:47 +00:00
Juanjo
1cb0edb40b - Bug fix MPEG-2 decoder to handle "repeat_first_field" (Telecine)
- Hack in MPEG-2 demux to cope with buggy VOBs.

Originally committed as revision 333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-16 02:41:00 +00:00
Juanjo
9d36bdc9be - Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
Originally committed as revision 326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-10 14:58:53 +00:00
Arpi
98f3b098f9 avcodec_find_encoder_by_name() patch by Alex
Originally committed as revision 237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-12-23 22:25:18 +00:00
Fabrice Bellard
a190b7e94e fixed pcm bitrate
Originally committed as revision 149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-24 23:29:46 +00:00
Fabrice Bellard
a96b68b717 added pcm codecs
Originally committed as revision 140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-23 17:16:51 +00:00
Arpi
829fa996a9 CONFIG_MPGLIB no more needed
Originally committed as revision 136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-21 21:30:15 +00:00
Nick Kurshev
3d2043852d memalign autodetection
Originally committed as revision 115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-09-13 07:16:59 +00:00
Nick Kurshev
3615700918 Aligned malloc. Another 10% of speedup.
Originally committed as revision 111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-20 16:01:35 +00:00
Fabrice Bellard
58f26ba916 changed opendivx to mpeg4
Originally committed as revision 102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-15 13:12:23 +00:00
Fabrice Bellard
cf0875950d picture utils
Originally committed as revision 72 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-11 19:04:31 +00:00
Fabrice Bellard
4e66ab3bab added MJPEG decoder + comments
Originally committed as revision 35 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-06 00:47:03 +00:00
Fabrice Bellard
d771bcae33 added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)
Originally committed as revision 9 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-23 20:58:31 +00:00
Fabrice Bellard
de6d9b6404 Initial revision
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-22 14:18:56 +00:00