Statistics
| Branch: | Revision:

ffmpeg / libavcodec / utils.c @ ad1ea1f1

History | View | Annotate | Download (63.3 KB)

# Date Author Comment
fe037229 04/07/2007 02:10 PM Diego Biurrun

typos

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

5d79e24a 04/03/2007 01:53 PM Michael Niedermayer

typo

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

f87459e4 04/03/2007 01:52 PM Kamil Nowosad

FF_CODER_TYPE_RAW / RLE / DEFLATE extracted from a patch by Kamil Nowosad

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

2de4f9eb 04/01/2007 04:14 PM Michael Niedermayer

indention

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

6e546aaa 04/01/2007 04:13 PM Michael Niedermayer

make AVCodec.init() optional

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

e2f3d947 03/24/2007 12:07 PM Limin Wang

Fix H.264 8x8 transform selection

It seems that it's opt parse bug, it can't process the flags which start by
digit. After change 8x8dct to dct8x8, I can set it without problem. I guess
nobody will use it since it can't work as expected, so the quick fix is change...

08cb1950 03/14/2007 01:59 AM Michael Niedermayer

kill 3 more av_mallocz_static()

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

6289025d 03/07/2007 09:51 AM Michael Niedermayer

add a -ab with default of 64k
change -b to only apply to video
this returns -ab/-b to the old defautls and old behavior regarding ordering of them

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

29301573 03/07/2007 09:29 AM Michael Niedermayer

add avcodec_get_context_defaults2() / avcodec_alloc_context2() which take CodecType as an additional parameter
also mark them as NOT part of the public API yet, so we can change their argument to CodecID if we decide to do so

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

066a81a8 03/05/2007 10:04 AM Benoit Fouet

change management of "ab" option in ffmpeg.c, so that it works as "b" option.
patch by Benoit Fouet % benoit P fouet A purplelabs P com %
Original thread:
Subj: [Ffmpeg-devel] [PATCH] use new way to handle "ab" option
Date: 03/03/2007 10:51 PM

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

636d6a4a 03/04/2007 11:53 AM Panagiotis Issaris

Add the prefix "av_" to img_crop(), img_copy() and img_pad(), and rename "img"
to "picture" as suggested by Baptiste Coudurier.

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

5a6b9443 03/04/2007 02:26 AM Baptiste Coudurier

dummy support for mpeg2 non linear quant

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

ea0fe83b 03/01/2007 04:36 PM Baptiste Coudurier

remove ps option and rename rtp_payload_size AVOption to ps

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

ccec0f4f 02/28/2007 05:56 PM Baptiste Coudurier

get rid of rtp_mode field after next major bump

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

39c39d5f 02/28/2007 05:40 PM Baptiste Coudurier

enable rtp payload size AVOption for video encoding

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

9c856d62 02/23/2007 12:47 AM Michael Niedermayer

dont check buffer size if the decode function wont be called at all

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

5dad0282 02/23/2007 12:20 AM Panagiotis Issaris

av_realloc_static() is an internal function and therefore should use the ff_ prefix instead of av_.

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

8ab4861c 02/22/2007 07:05 PM Panagiotis Issaris

Move the Doxygen function documentation unaltered from libavcodec/utils.c to
libavcodec/avcodec.h.

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

f9ec0aa1 02/22/2007 06:59 PM Panagiotis Issaris

Add more Doxygen documentation.

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

56048011 02/22/2007 12:46 AM Panagiotis Issaris

Fix typo.

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

6829ac8d 02/21/2007 11:46 PM Aurelien Jacobs

simplify release_buffer using FFSWAP

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

7ad731e9 02/20/2007 12:45 PM Panagiotis Issaris

Add some more Doxygen documentation to libavcodec/utils.c.

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

5286d11f 02/15/2007 12:57 PM Michel Bardiaux

Spelling fix

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

e13d8023 02/14/2007 10:50 AM Michael Niedermayer

doxy for avcodec_encode_video()

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

ab1c6dc9 02/08/2007 06:55 PM Luca Abeni

Directly access av_log_level instead of calling av_log_{set, get}_level()
(which will be removed at the next avutil version increment)

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

71e445fc 02/07/2007 01:48 AM Diego Biurrun

Replace deprecated PIX_FMT names by the newer variants.

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

65d999d6 02/01/2007 09:45 AM Michel Bardiaux

Activate guards in avcodec_default_get_buffer. Patch by Michel Bardiaux,
mbardiaux mediaxim dot be.

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

ac66834c 01/14/2007 11:50 PM Michael Niedermayer

avcodec_decode_audio2()
difference to avcodec_decode_audio() is that the user can pass the allocated size of the output buffer to the decoder and the decoder can check if theres enough space

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

4785c016 01/14/2007 11:19 PM Michael Niedermayer

er and strict also apply to audio theoretically

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

2606f38a 12/26/2006 05:08 PM Michael Niedermayer

skiprd doxygen comment from avcodec.h -> AVOption comment

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

c52f5d66 12/23/2006 03:05 AM Michael Niedermayer

skiprd

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

a45bc592 12/22/2006 10:10 AM Baptiste Coudurier

bt 0 is invalid, setting min to 1

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

f70d367b 12/13/2006 11:10 AM Diego Biurrun

vqmin/vqmax --> qmin/qmax in the option description

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

895bf499 12/11/2006 10:51 AM Diego Biurrun

Improve option description.

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

d3075ed5 12/06/2006 05:04 PM Panagiotis Issaris

Add "mixed_refs" description suggested by Loren Merritt and update accompanying
comment in the code.

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

119aae1d 12/06/2006 08:24 AM Panagiotis Issaris

Add more descriptions to the AVOption array taken from the avcodec.h AVCodec structure member comments.

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

4a1bb619 12/04/2006 12:04 PM Diego Biurrun

Fix some obvious mistakes in the option descriptions.

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

97041923 12/02/2006 06:58 PM Víctor Paesa

Fill in some missing AVOption descriptions.
patch by Víctor Paesa, wzrlpy arsystel com

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

486497e0 11/14/2006 03:18 AM Måns Rullgård

revert bad checkin

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

be6ed6ff 11/14/2006 03:12 AM Måns Rullgård

move some CFLAGS settings away from config.* writing section

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

9cc6be9d 11/13/2006 11:30 AM Baptiste Coudurier

add low delay forcing option for mpeg1/2 encoding

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

80d617f5 11/07/2006 01:45 PM Baptiste Coudurier

add option to set mpeg1/2 gop timecode start, and drop frame flag timecode flag

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

1984f5cd 11/02/2006 11:08 PM Corey Hickey

Correct description of mblmin and mblmax.

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

34380af0 10/24/2006 04:57 AM Kostya Shishkov

16-bit grayscale support

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

9f1c1c99 10/16/2006 05:44 PM Luca Barbato

Make ffmpeg work with x264 r592

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

462209fe 10/09/2006 11:36 AM Andrea Gianarro

fix AC3 5.1 being decoded as mono
patch by Andrea Gianarro % giandrea AH gmail P com %
Original thread:
Date: Oct 9, 2006 11:55 AM
Subject: [Ffmpeg-devel] AC3 5:1 decoding as mono

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

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

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

4bef236b 10/02/2006 10:23 AM Diego Biurrun

Fix quantiSer --> quantiZer typo.

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

6d6f42d2 09/29/2006 07:34 PM Panagiotis Issaris

Remove the override of lmin and lmax, so the actual option value provided will
be used.

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

72044298 09/28/2006 05:46 PM Panagiotis Issaris

Remove the "mblmax" OptionDef. The equally named AVOption takes over its
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.

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

93b26b63 09/28/2006 05:45 PM Panagiotis Issaris

Remove the "mblmin" OptionDef. The equally named AVOption takes over its
function. A unit change is involved, but as AVOption parameters are now parsed
with ff_eval2(), you can use the QP2LAMBDA constant to ease the change.

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

a0403006 09/26/2006 08:26 PM Måns Rullgård

ARMv5TE optimized IDCT

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

327409d7 09/26/2006 08:49 AM Michael Niedermayer

mpeg1 b_strategy=2 segfault fix

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

79e47000 09/25/2006 03:23 PM Luca Barbato

move memory functions from avcodec to avutil

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

22565f5d 09/22/2006 03:05 PM Panagiotis Issaris

Remove the "error" OptionDef. The equally named AVOption takes over its
function.

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

cccb4c96 09/22/2006 03:04 PM Panagiotis Issaris

Remove the "mepc" OptionDef. The equally named AVOption takes over its function.

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

bf080813 09/22/2006 01:55 PM Panagiotis Issaris

Remove the "mb_threshold" OptionDef. The equally named AVOption takes over its
function.

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

58bba31e 09/20/2006 08:39 AM Panagiotis Issaris

Remove the "qsquish" OptionDef. The AVOption min/max value is changed to match
the removed range check in ffmpeg.c.

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

6bacd250 09/20/2006 08:36 AM Panagiotis Issaris

Remove the "qmax" OptionDef.

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

5687a2f4 09/20/2006 08:34 AM Panagiotis Issaris

Remove the "qmin" OptionDef.

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

315b0f97 09/20/2006 08:34 AM Panagiotis Issaris

Remove the "bf" OptionDef parameter so the equally named AVOption will take
over. Move over ffmpeg.c constraint checking, but allow value of zero to disable
B-frame.

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

076ce017 09/20/2006 08:27 AM Panagiotis Issaris

Correct the constraints of some AVOptions. These had a default value of zero,
while the minimum allowed value was set to FLT_MIN.

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

fda7eb90 09/15/2006 09:57 PM Panagiotis Issaris

Correct the i_qfactor minimum, which was current set higher then the default
value.

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

7df00a4e 09/15/2006 10:57 AM Panagiotis Issaris

Rename the AVOption's names to the shorter OptionDef names.

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

0b97eea3 09/14/2006 02:02 PM Panagiotis Issaris

Synchronize the defaults specified in the AVOptions[] array to the defaults
specified in the ffmpeg.c global static variabels. This preserves the current
behavior.

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

66acccf0 09/14/2006 01:51 PM Panagiotis Issaris

Make OFFSET reuse offsetof

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

7facadb0 09/13/2006 09:28 AM Panagiotis Issaris

corrects the type of the AVOption parameter "bugs", patch by Takis
Original thread:
Date: Sep 11, 2006 1:43 PM
Subject: [Ffmpeg-devel] [PATCH] Wrong AVOption type

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

5cc9b87f 09/13/2006 09:03 AM Panagiotis Issaris

adds descriptions to the libavcodec AVOptions array, taken from the
OptionDef options[] array.
Patch by Takis,
Original thread:
Date: Sep 11, 2006 3:39 PM
Subject: [Ffmpeg-devel] [PATCH] AVOptions description sync

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

8c3dd5dc 09/10/2006 09:51 PM Panagiotis Issaris

Use and set sane AVOption defaults
Patch by Takis
Original thread:
Date: Sep 8, 2006 3:26 PM
Subject: [Ffmpeg-devel] [PATCH 2/2] Use and set sane AVOption defaults

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

73a8ceaa 09/10/2006 08:21 PM Panagiotis Issaris

make AVOptions default value field work.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 8, 2006 3:22 PM
Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value

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

5e89b50b 09/09/2006 08:49 AM Panagiotis Issaris

undefines a few temporary defines which were not undefined after their usage.
Patch by Panagiotis Issaris

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

0e176c3e 09/02/2006 11:10 PM Måns Rullgård

remove redundant declarations

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

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