Statistics
| Branch: | Revision:

ffmpeg / libavcodec / utils.c @ 727c236a

History | View | Annotate | Download (59.2 KB)

# Date Author Comment
4b45de0e 07/18/2006 11:00 AM Luca Abeni

Move av_log() & friends to libavutil

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

2f30a81d 07/11/2006 09:45 PM Diego Biurrun

CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
CONFIG_MINGW or MINGW32 instead.

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

c6375bf2 07/08/2006 04:39 PM Justin Ruggles

allows user-settable block size and fixes related typo

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

f1b163e0 07/08/2006 07:14 AM Aurelien Jacobs

set proper bits_per_sample value for ADPCM codecs

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

5da71469 07/07/2006 10:42 PM Aurelien Jacobs

simplify the voc demuxer using av_get_bits_per_sample()

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

ac3e1834 07/07/2006 05:50 PM Baptiste Coudurier

av_get_bits_per_sample and due simplifications

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

62a05b5b 07/06/2006 01:53 PM Stefan Huehner

Mark some read-only datastructures as const.
patch by Stefan Huehner, stefan & at & huehner & dot & org

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

a403fc03 07/02/2006 10:22 AM Justin Ruggles

flac-lpc patch by (Justin Ruggles jruggle earthlink net)
tabs removed and regression.sh fixed (it was missing in the patch) by me

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

3a6fc8fa 06/30/2006 07:50 AM Diego Pettenò

Disable w53 and w97 cmp methods when snow encoder is disabled
Patch by Diego 'Flameeyes' Petteno flameeyes AH gentoo PP org
Original thread:
Date: Jun 30, 2006 1:16 AM
Subject: [Ffmpeg-devel] [PATCH] Disable w53 and w97 cmp methods when snow encoder is disabled...

f2508b17 06/30/2006 05:53 AM Reynaldo H. Verdejo Pinochet

anothe useless sizeof(char)

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

696d6889 06/03/2006 07:04 PM Loren Merritt

ADPCM: trellis quantization

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

f9243d34 06/03/2006 06:26 AM Corey Hickey

Make B-frame reduction sensitivity by b_strategy/vb_strategy = 1
user-tunable.

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

307eb248 05/13/2006 05:16 PM Baptiste Coudurier

add MPEG-2 intra vlc support

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

1dd509b1 05/07/2006 11:48 AM Michael Niedermayer

make zero motion vector threshold user setable

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

1005f542 03/30/2006 04:33 AM Corey Hickey

- Add new file internal.h for common internal-use-only functions.
- Add new function av_tempfile() for creating temporary files; contains
workaround for MinGW.
- Make XviD stuff use av_tempfile().

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

b865838e 03/06/2006 03:09 PM Michael Niedermayer

switch flac to av_crc

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

e027d0a8 03/06/2006 02:53 PM Michael Niedermayer

switch ac3enc to av_crc

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

43a80cce 03/06/2006 02:13 PM Michael Niedermayer

generic crc calculation code

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

b5c85991 03/03/2006 08:36 PM Michael Niedermayer

fix segfault with BLUR8.AVI

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

1319a77b 02/21/2006 10:05 PM Alex Beregszaszi

added none/8bit/24bit audio formats and defaulting to s16 for now (once the system works like pix_fmt, the defaulting should be changed to SAMPLE_FMT_NONE)

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

ceaf1909 01/30/2006 11:33 PM Dieter

add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>

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

39a64e30 01/22/2006 08:54 PM Corey Hickey

sc_factor support for encoding.

Here's the description I'll add to the mplayer man page:
---
Causes frames with higher quantizers to be more likely to trigger a
scene change detection and make libavcodec use an I-frame (default: 1).
1-16 is a sane range....

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

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

14f0c8e2 01/10/2006 08:07 PM Luca Abeni

Parameter added for user to set the cutoff frequency when encoding with faac.
Patch by Luca Abeni - lucabe72 at email dot it.

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

58f7833e 12/29/2005 07:24 AM Robert Swain

update x264 wrapper.
patch by Robert Swain.

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

e8501c93 12/25/2005 06:34 PM Michael Niedermayer

support downscaling frames for dynamic b frame decission

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

c9ab8df8 12/25/2005 05:43 PM Michael Niedermayer

10l (didnt remove option from old ones after converting to AVOption)

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

316a2ec8 12/23/2005 04:25 PM Michael Niedermayer

bidir refine support

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

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

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

a42bed52 12/18/2005 11:41 AM Michael Niedermayer

typo

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

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

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

c7622f9a 12/02/2005 12:12 AM Michael Niedermayer

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

d4de20d1 11/02/2005 09:18 AM Guillaume Poirier

Typo fix

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

8f196b14 09/20/2005 09:43 PM Michael Niedermayer

changing a few options to AVOptions

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

21189011 09/18/2005 02:45 PM Michael Niedermayer

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

fac862c6 09/12/2005 07:16 PM Michael Niedermayer

the people want lower case ...

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

6fd46414 09/12/2005 06:24 PM Michael Niedermayer

dont include opt.h in avcodec.h

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

1471c6c2 09/12/2005 04:30 PM Diego Biurrun

CAREFULL --> CAREFUL typo fix

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

ec9127c4 09/12/2005 12:07 PM Michael Niedermayer

converting a few more options to AVOptions

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

637b5326 09/12/2005 10:23 AM Michael Niedermayer

convert some options in ffmpeg.c to AVOptions

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

233f6f88 09/11/2005 02:22 PM Michael Niedermayer

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

8bbf6db9 09/11/2005 11:10 AM Michael Niedermayer

AVOption API improvments
support AVOptions for encoding in ffmpeg.c

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

860a40c8 09/06/2005 12:51 PM Michael Niedermayer

AVOption first try

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

b983a5c6 09/03/2005 08:36 PM Michael Niedermayer

print fourcc in a readable form if possible

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

b461b3bc 09/02/2005 07:16 PM Reimar Döffinger

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

32fbf33e 08/21/2005 07:50 PM Burkhard Plaum

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

c11c2bc2 08/01/2005 08:07 PM Alexander Strasser

libavutil: Utility code from libavcodec moved to a separate library.

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

ddebfb15 07/25/2005 02:35 PM Michael Niedermayer

thread mess check for avcodec_open/close()

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

ea4377de 07/19/2005 01:29 PM Michael Niedermayer

portable IEEE float/double read/write functions

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

fec9ccb7 07/14/2005 03:30 PM Michael Niedermayer

check for CODEC_CAP_DELAY in audio decoders too

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

bb628dae 06/17/2005 03:02 PM Diego Biurrun

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

240c1657 06/03/2005 01:59 PM Fabrice Bellard

subtitle codec type support

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

e18c1f19 05/26/2005 08:57 AM Michael Niedermayer

AV_LOG_DEBUG is not a good default ...

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

ad2b531d 05/13/2005 06:10 PM Måns Rullgård

change extradata format for vorbis

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

44608ac7 05/07/2005 07:24 PM Roine Gustafsson

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

c0df9d75 04/30/2005 09:43 PM Michael Niedermayer

switch to native time bases

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

82c0c4ba 04/25/2005 06:41 PM Michael Niedermayer

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

644a9262 04/25/2005 06:29 PM Michael Niedermayer

PIX_FMT_NONE and related fixes

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

09c3e44e 03/27/2005 12:19 PM Michael Niedermayer

motion estimation bitrate penalty compensation

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

88730be6 02/24/2005 07:08 PM Måns Rullgård

kill warnings patch by (Måns Rullgård <mru inprovide com>)

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

6e0d8c06 02/02/2005 07:33 PM Michael Niedermayer

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

c342499d 02/01/2005 06:36 PM Michael Niedermayer

make keyframe default for AVFrames

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

934982c4 01/23/2005 06:09 PM Michael Niedermayer

avoid buf_size == 0 checks in every decoder

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

f41c1fac 01/12/2005 06:25 PM Kurosu

av_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>)

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

2fc8ea24 01/12/2005 12:59 AM Michael Niedermayer

dissallow sprintf

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

0ecca7a4 01/12/2005 12:16 AM Michael Niedermayer

various security fixes and precautionary checks

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

c31b8121 01/09/2005 11:39 PM Roberto Togni

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

caa336b4 12/29/2004 05:50 PM Michael Niedermayer

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

073c2593 11/27/2004 06:10 PM Burkhard Plaum

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

2450cff2 11/21/2004 06:04 PM François Revol

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

3237f731 10/26/2004 12:47 PM Michael Niedermayer

stride align cleanup

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

f02be79d 10/22/2004 02:04 AM Roman Shaposhnik
  • 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

15862411 10/18/2004 03:02 AM Michael Niedermayer

infinte recursion fix

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

9fe5a7b8 10/01/2004 12:31 PM Michael Niedermayer

do not call (av_)abort()

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

21adafec 09/27/2004 11:50 AM Michael Niedermayer

lowres width/height cleanup 3rd try

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

1f018225 09/19/2004 04:38 PM Michael Niedermayer

av_rescale with user specified rounding

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

b100eab8 09/15/2004 12:35 AM Michael Niedermayer

changing size segfault fix

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

8b69867f 08/13/2004 03:30 PM Michael Niedermayer

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

baced9f5 08/13/2004 01:59 PM Michael Niedermayer

user overrideable level & profile

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

ebb177dd 07/25/2004 10:01 AM Todd Kirby

UYVY support patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)

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

5f63d108 07/14/2004 06:23 PM Michael Niedermayer

simplify

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

d99fbbf4 06/27/2004 11:07 AM Roberto Togni

Force alignement for rpza and smc

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

6f824977 06/22/2004 09:14 PM Michael Niedermayer

flush audio encoder buffers at the end
fix vorbis in nut again

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

50071f0b 05/25/2004 06:17 PM Michael Niedermayer

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

53db1cae 05/21/2004 02:37 PM Michael Niedermayer

data_size = 0 cleanup

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

ca8ad847 05/10/2004 11:38 PM Michael Niedermayer

dummy avcodec_thread_init() to avoid linking issues

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

4c263142 05/04/2004 02:58 AM Michael Niedermayer

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

d01dbeb8 04/30/2004 06:11 PM Michael Niedermayer

simplify

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

eea8c08f 04/30/2004 05:42 PM Michael Niedermayer

cleanup & memleak fix

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

4e39ab4c 03/22/2004 11:00 AM Michael Niedermayer

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

8d1f2ba5 03/21/2004 09:58 PM Michael Niedermayer

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

494c56d3 03/04/2004 02:58 PM Ivan Kalvachev

silence warnings

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

43465395 03/03/2004 05:53 PM Michael Niedermayer

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

bc874dae 03/03/2004 03:41 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

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

81c5f887 03/03/2004 01:57 AM Michael Niedermayer

macrofree av_freep()

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

9740beff 02/25/2004 05:35 PM Michael Niedermayer

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

d705e4a6 02/22/2004 12:31 AM Michael Niedermayer

(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...

9c3d33d6 02/13/2004 05:54 PM Michael Niedermayer

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...

7984082a 02/12/2004 04:21 PM Michael Niedermayer

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

95ba2c8f 02/01/2004 10:56 PM Falk Hüffner

tiny warning fix

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