Commit Graph

370 Commits

Author SHA1 Message Date
Diego Biurrun 406792e7b0 cosmetics: Remove pointless period after copyright statement non-sentences.
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 15:46:40 +00:00
Aurelien Jacobs 9ce6c13879 export gcd function as av_gcd()
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 11:13:33 +00:00
Kenan Gillet 0ba39dd1a9 Split ff_log_missing_feature into ff_log_missing_feature
and ff_log_ask_for_sample.
Patch by Kenan Gillet: gmail_adress(author)

Originally committed as revision 16637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 16:20:42 +00:00
Aurelien Jacobs 49fb20cb8a replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions.

Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 17:19:17 +00:00
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 23:44:16 +00:00
Michael Niedermayer c9b3c0c740 Remove hack to print mp2/mp1 with codec_id of CODEC_ID_MP3.
Originally committed as revision 16583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 19:38:54 +00:00
Stefano Sabatini 78acb9e74b Move the AVCodecContext options definition to a dedicated file, reduce
the utils.c clutter.

Originally committed as revision 16514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 09:53:21 +00:00
Benoit Fouet 5163c0d9a2 s/FFmpeg-devel/ffmpeg-devel/
Originally committed as revision 16314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 08:03:26 +00:00
Diego Biurrun 0fa5f24c3b Change mplayerhq.hu references to ffmpeg.org where appropriate.
Originally committed as revision 16310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 15:49:50 +00:00
Måns Rullgård 7eec43289a ARM: NEON optimised simple_idct
Originally committed as revision 16146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:37 +00:00
Stefano Sabatini 7a961a46ba Make register_avcodec() call avcodec_init().
This avoids the possibility to use a registered codec without first
initializing libavcodec, which resulted in unexpected behavior.

Originally committed as revision 16131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:00 +00:00
Stefano Sabatini 335a761a90 Use a more explicit "codec" rather than "format" as the parameter of
register_avcodec().

Originally committed as revision 16130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 19:36:38 +00:00
Stefano Sabatini dbbec0c2f2 Make av_log_missing_feature an internal function, and change its name
to ff_log_missing_feature.

Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-08 21:21:38 +00:00
Baptiste Coudurier 3bff4d8b7a Implement the fields rc_max_available_vbv_use and
rc_min_vbv_overflow_use in AVCodecContext, and use their values in the
ratecontrol code rather than hardcoded ones.

See the thread: "[RFC] ratecontrol buffer size magic".
Patch by Baptiste Coudurier.

Originally committed as revision 15955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-29 14:08:48 +00:00
Roman Shaposhnik 3a84713aaa Making it easier to send arbitrary structures as work orders to MT workers
Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:47:23 +00:00
Diego Biurrun 7fb9440674 Add missing #include "libavutil/avstring.h", fixes
libavcodec/utils.c:1139: warning: implicit declaration of function 'av_strlcat'

Originally committed as revision 15777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 23:28:41 +00:00
Peter Ross 0d72e7d0ae Add audio channel layout API to libavcodec.
Originally committed as revision 15762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 05:03:42 +00:00
Aurelien Jacobs 37d3e0667a uses FF_ARRAY_ELEMS() where appropriate
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 21:40:24 +00:00
Aurelien Jacobs fc228c9014 allows calling avcodec_find_(en|de)coder_by_name with NULL parameter
Originally committed as revision 15586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-08 17:19:26 +00:00
Diego Pettenò e6df765ed3 Mark list heads static. Patch by Diego Pettenò
Originally committed as revision 15548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 09:29:31 +00:00
Jason Garrett-Glaser a5d2413345 x264 has removed the b-rdo and bime options, and instead integrated
them into the subme number to attempt to reduce the number of
unnecessary options.  subme now scales up to 9.
Patch by Jason Garett-Glaser %darkshikari A gmail P com%

Originally committed as revision 15523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 19:05:35 +00:00
Michael Niedermayer ae4ffe9f64 Allocate 1 line more in the chroma plane for H.264, this avoids some
out of array reads with mmx/sse2 code.
Fixes issue327.

Originally committed as revision 15467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 01:45:53 +00:00
Michael Niedermayer 503bc4026d Replace second (and wrong) call to avcodec_align_dimensions() by adjusting
stride_align. This is not particularly pretty and I will gladly implement
something else if someone has an idea!

Originally committed as revision 15466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 01:07:25 +00:00
Diego Biurrun d0feff2a5b Uniformly define _XOPEN_SOURCE to 600.
The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort
the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well
as POSIX.1-2001), and will only accept it to be defined to 600.
inspired by a patch from Diego Pettenò, flameeyes gmail com

Originally committed as revision 15460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 06:22:12 +00:00
Francesco Cosoleto 30ab4deda8 Document the directpred auto value.
Patch by Francesco Cosoleto cosoleto ^^AT^^ gmail @@dot@@ com

Originally committed as revision 15448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 19:11:26 +00:00
Michael Niedermayer 047599a4ba Rename error_resilience to error_recognition.
Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:18:49 +00:00
Michael Niedermayer 38360668d6 Remove DEFAULT_FRAME_RATE_BASE.
Originally committed as revision 15265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:28:07 +00:00
Michael Niedermayer 23694e27f0 Drop deprecated SAMPLE_FMT_S24.
Originally committed as revision 15264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:24:16 +00:00
Michael Niedermayer d578432db8 Remove stuff under #if LIBAVCODEC_VERSION_INT.
Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:03:17 +00:00
Luca Abeni dd1c8f3e6e Bump Major version, this commit is almost just renaming bits_per_sample to
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!

Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 14:24:59 +00:00
Peter Ross 312420f3fa Add AVCodecContext.bits_per_raw_sample field.
Originally committed as revision 15017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 03:59:48 +00:00
Peter Ross 46a73068a6 Change AVCodecContext.bits_per_sample to bits_per_coded_sample.
Nb: This change will become active on the next libavcodec major version bump.

Originally committed as revision 15016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 03:52:10 +00:00
Michael Niedermayer 79de84f263 Provide a simpler way for the user to reorder her timestamps.
Originally committed as revision 14871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 23:11:26 +00:00
Peter Ross 143a5d6f1f Add F64BE, F64LE and F64BE PCM codecs.
Originally committed as revision 14833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 10:43:47 +00:00
Peter Ross e06b00f3b6 Add SAMPLE_FMT_DBL.
Originally committed as revision 14832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 10:36:30 +00:00
Michael Niedermayer 3cffbe090a Fix rc_eq mem leak.
Originally committed as revision 14788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 14:46:31 +00:00
Michael Niedermayer 847d05360b Revert r14260
Log:
	Free in avcodec_close() avctx->rc_eq. Fix a memory leak.

Reason running free() on random pointers.

Originally committed as revision 14787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16 14:13:49 +00:00
Aurelien Jacobs 7246177d80 ensure we get explicit definition of various _XOPEN_SOURCE functions we use
Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 22:01:59 +00:00
Justin Ruggles ea779d91ca Add a generic function to lavc to log messages about missing features.
Patch by Justin Ruggles (justin ruggles gmail com)

Originally committed as revision 14685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-10 20:29:43 +00:00
Peter Ross 9d49b8ff90 Make avcodec_string() and av_get_bits_per_sample() report the sample size for CODEC_ID_PCM_ZORK
Originally committed as revision 14532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 07:40:07 +00:00
Peter Ross 9e82a113e5 Write sample format description within avcodec_string()
Originally committed as revision 14485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 12:56:56 +00:00
Peter Ross aa29709ec8 add CODEC_ID_PCM_F32BE (32-bit floating point PCM big endian decoder)
Originally committed as revision 14409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 07:08:15 +00:00
Alexander Strange 385c820b4a Add a new -debug option for tracing calls to the default get/release_buffer functions.
Originally committed as revision 14406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-26 01:57:10 +00:00
Michael Niedermayer 7c7cf452c9 Add skip* AVOptions, which seem to have been missed.
Originally committed as revision 14314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-20 16:02:49 +00:00
Michael Niedermayer 5771b2c324 Make strict_std_compliance available to decoders.
Originally committed as revision 14306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-19 15:57:06 +00:00
Michael Niedermayer 6ebc89ac48 Make the ugly hack which uses an unused entry in the internal buffer
array actually use a unused one, so it does work.

Originally committed as revision 14286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-19 00:32:15 +00:00
Michael Niedermayer 7c5ea40ca4 100l, someone used FLT_MIN where -FLT_MAX was meant at a few places in the
AVOptions array.

Originally committed as revision 14264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 17:42:44 +00:00
Stefano Sabatini ef2b64f04c Free in avcodec_close() avctx->rc_eq. Fix a memory leak.
Originally committed as revision 14260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-16 22:10:34 +00:00
Stefano Sabatini 9606a83824 strdup() the default value for rc_eq in AVCodec when setting it in
avcodec_get_context_defaults(). The value has to be alloced dinamically
rather than statically since it may be freed for example by
av_set_string2(). Fix a segmentation fault.

Originally committed as revision 14221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 21:44:00 +00:00
Andreas Öman 0261e3651a Deprecate avcodec_build(), it returns the same value as
avcodec_version().

Originally committed as revision 14169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 15:25:12 +00:00