Commit Graph

462 Commits

Author SHA1 Message Date
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
Laurent Desnogues a6ce3d3d2d Add command line support for '-idct simplearmv6'.
patch by Laurent Desnogues, laurent.desnogues gmail com

Originally committed as revision 14027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 08:32:27 +00:00
Stefan Gehrer cf2baeb338 mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 20:01:31 +00:00
Baptiste Coudurier 8983aa337c enable global_header flag for audio and video encoding, was wrongly part of commit r13722
Originally committed as revision 13724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 01:21:57 +00:00
Baptiste Coudurier 02226bc8a5 revert wrong part of r13722 commit
Originally committed as revision 13723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 01:20:14 +00:00
Baptiste Coudurier febea2f2e1 uniformize trellis quant option
Originally committed as revision 13722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 00:43:07 +00:00
Baptiste Coudurier 89223ef698 add esa/dia compat me options and new tesa for libx264
Originally committed as revision 13660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 01:57:35 +00:00
Michael Niedermayer 09dafaeba1 Move *_static to bitstream.c which is the only file left which needs
them.

Originally committed as revision 13568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:12:33 +00:00
Diego Biurrun 245976da2a Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Michael Niedermayer f3eec1cf52 Fix closed gop flag disapearence.
Originally committed as revision 12625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-29 22:27:25 +00:00
Michael Niedermayer 978805b2c5 Fix possible heap overflow caused by av_fast_realloc()
Originally committed as revision 12579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 10:15:17 +00:00
Diego Biurrun 2cab640129 typo fixes
Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:58:46 +00:00
Baptiste Coudurier cbaf50f850 indentation
Originally committed as revision 12356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 23:10:47 +00:00
Baptiste Coudurier 7ee4dd0282 do not display par and dar if not available
Originally committed as revision 12355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 23:09:16 +00:00
Panagiotis Issaris d42a814ef1 Make av_class a pointer to a const AVClass. Addresses one warning in
imgresample.c.

Originally committed as revision 12352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 17:41:31 +00:00
Aurelien Jacobs 48d533e6fa define BI frame type along with other frame types
Originally committed as revision 12336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 15:19:26 +00:00
Aurelien Jacobs c06ccb1357 cosmetic: align
Originally committed as revision 12335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 15:15:07 +00:00
Aurelien Jacobs fbd4293df9 remove more useless mpegvideo.h includes
Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 00:43:11 +00:00
Michael Niedermayer 6f08c541b4 floating point AAN IDCT
Originally committed as revision 12233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 14:59:11 +00:00
Vitor Sessak cf73e32a5f Fix bug I introduced in r11962.
Thanks to Uoti Urpala for spotting it and proposing the
fix.

Originally committed as revision 12187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 07:47:02 +00:00
Michael Niedermayer a939a005f9 Remove apparently unneeded and buggy align.
Originally committed as revision 12179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-22 19:27:22 +00:00
Vitor Sessak db7ae7d1b9 Simplify avcodec_default_get_buffer()
Originally committed as revision 11962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:23:49 +00:00
Diego Biurrun 5e53486545 typo fix: inited --> initialized
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 09:26:10 +00:00
Paul Kelly f1618fd939 Add 'reservoir' flag to lavc's flags2 controlling whether or not codes may
utilize a bit reservoir. Also, make the lame encoder utilize this flag.

patch by Paul Kelly, paul a stjohnspoint d co d uk

Originally committed as revision 11903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 08:01:07 +00:00
Michael Niedermayer 2efa7fd10d Make avcodec_decode_* functions take const input buffers.
Originally committed as revision 11823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:54:50 +00:00
Michael Niedermayer 0431d3b121 one "cast discards qualifiers from pointer target type" less
Originally committed as revision 11709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:29:43 +00:00
Evgeniy Stepanov f8d7c9d373 Add support for Matroska attachments.
patch by eugeni _dot_ stepanov _at_ gmail.com and myself

Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 15:43:17 +00:00
Aurelien Jacobs 3abe5fbdc4 improve CRC API
- don't export any global var
 - provide either generated or hardcoded tables

Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Reimar Döffinger 9c87b8f777 Check for avcodec_open codec parameter == NULL and return error in that case
Originally committed as revision 11316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-25 15:36:12 +00:00
Justin Ruggles 1408352ada Add option for user to scale the amount of dynamic range compression which is
applied by the audio decoder, and use that option in the AC3 decoder.

Originally committed as revision 11280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 00:55:08 +00:00
Måns Rullgård a309073bf4 use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 21:48:50 +00:00
Michael Niedermayer 55b9e69a31 av_*_next() API for libavcodec
Originally committed as revision 11204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-12 18:40:11 +00:00
Michael Niedermayer 3d86e370d8 make rc_buffer_size apply to audio as well
Originally committed as revision 11150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-03 10:02:26 +00:00
Aurelien Jacobs 725d86bfd5 add pcm_s16le_planar support for electronicarts files
Originally committed as revision 11092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-25 16:32:47 +00:00
Michel Bardiaux 59771f7191 Print pixel and display aspect ratios
Originally committed as revision 10778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 14:01:20 +00:00
Loren Merritt 815d96a65d oops, revert unrelated change
Originally committed as revision 10597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 03:16:25 +00:00
Loren Merritt dc44d4ad64 unroll encode_residual_lpc(). speedup varies between 1.2x and 1.8x depending on lpc order.
Originally committed as revision 10596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-27 02:42:00 +00:00
Kostya Shishkov 81fc2f37db Remove check for input buffer size as it does not guarantee that
decoder will not run out of output buffer bounds (and all suspected
decoders have their own checks now).

Originally committed as revision 10567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 16:50:32 +00:00
Aurelien Jacobs b70335a28d add support for yuva420p colorspace (yuv420p + alpha)
Originally committed as revision 10565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 13:21:41 +00:00
Reimar Döffinger b1ec601f7f Add request_channels member to AVCodecContext so we now have a proper
way to tell the decoder how many output channels we would like.

Originally committed as revision 10199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-23 20:28:28 +00:00
Reimar Döffinger 7b07d3e8fe Use defines instead of raw hex numbers to specify CRC polynomials
Originally committed as revision 10143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-19 12:36:15 +00:00
Ramiro Polla 5e4c7ca224 Add attribute that forces alignment of stack to functions that need it.
Necessary for systems that don't align by default to 16 bytes, required by some
SSE instructions.
Requires GCC >= 4.2.
Based on patch by Gaël Chardon.

Originally committed as revision 10106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 15:28:29 +00:00
David Conrad 42c71907cb Add av_get_bits_per_sample_format()
Originally committed as revision 10099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 05:23:38 +00:00
Michael Niedermayer 0701006e34 ensure that default_get_buffer() doesnt reuse images if the dimension or
pix_fmt changed
fixes heap overflow, possibly exploitable

Originally committed as revision 10064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 19:28:28 +00:00
Panagiotis Issaris 7868349a91 Return AVERROR(EINVAL) when invalid width and/or height are specified to
avcodec_open.

Originally committed as revision 9770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-20 15:09:10 +00:00
Panagiotis Issaris 90f06ceaa0 Return AVERROR(ENOMEM) on memory allocation failure of avcodec_open.
Originally committed as revision 9769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-20 15:08:10 +00:00
Alex Beregszaszi 0509d453b5 set codec_type on init
Originally committed as revision 9721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17 13:35:16 +00:00
Ramiro Polla 76353b42fa Remove underscores before fcntl flags
Originally committed as revision 9599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 15:21:24 +00:00
Ramiro Polla 6ffa87d325 Proper check for mkstemp().
Originally committed as revision 9596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 13:57:22 +00:00
Janne Grunau ab2cfc59a6 free thread context
patch by Janne Grunau: [janne-ffmpeg grunau be]

Originally committed as revision 9508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 15:24:08 +00:00
Stefano Sabatini c0de00dac5 me option implemented as an AVOption
patch by Stefano Sabatini: [stefano sabatini-lala poste it]
original thread:
[FFmpeg-devel] [PATCH] ffmpeg.c -me option implemented as an AVOption
date: 07/05/2007 03:12 PM

Originally committed as revision 9501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 11:47:02 +00:00
Stefano Sabatini c0ad72a787 split frame rate and frame size abbreviation into two structures
patch by Stefano Sabatini: [stefano sabatini-lala poste it]

Originally committed as revision 9379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-21 07:46:48 +00:00
Diego Biurrun 755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Stefano Sabatini 26ef3220cf Move the video size and rate abbreviations system from libavformat to libavcodec
patch by Stefano Sabatini: [stefano dot sabatini minus lala poste dot it]
original thread:
[FFmpeg-devel] [PATCH] Redesign the video size and rateabbreviations system
date: 06/02/2007 05:30 PM

Originally committed as revision 9288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 08:06:54 +00:00
Loren Merritt 5b67307a68 fix a crash with svq1 + sse2.
EMU_EDGE broke memory alignment when the desired alignment is >32 bytes.

Originally committed as revision 8999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 00:31:48 +00:00
Nicolas George 4f2c36ac4f add the possibility to choose aac profile
patch by Nicolas George nicolas george chez normalesup org
original thread: [Ffmpeg-devel] [PATCH] FAAC profile selection
date: 04/27/2007 08:11 PM

Originally committed as revision 8872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-02 13:49:08 +00:00
Diego Biurrun fe0372296a typos
Originally committed as revision 8642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-07 14:10:02 +00:00
Michael Niedermayer 5d79e24a98 typo
Originally committed as revision 8611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-03 13:53:25 +00:00
Kamil Nowosad f87459e419 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
2007-04-03 13:52:00 +00:00
Michael Niedermayer 2de4f9eb47 indention
Originally committed as revision 8590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 16:14:19 +00:00
Michael Niedermayer 6e546aaa24 make AVCodec.init() optional
Originally committed as revision 8589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-01 16:13:24 +00:00
Limin Wang e2f3d94786 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
the option name.

Patch by Limin Wang lance dot lmwang at gmail com

Originally committed as revision 8492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 12:07:07 +00:00
Michael Niedermayer 08cb195020 kill 3 more av_mallocz_static()
Originally committed as revision 8397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 01:59:53 +00:00
Michael Niedermayer 6289025d8c 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
2007-03-07 09:51:45 +00:00
Michael Niedermayer 29301573af 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
2007-03-07 09:29:44 +00:00
Benoit Fouet 066a81a80f 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
2007-03-05 10:04:53 +00:00
Panagiotis Issaris 636d6a4a47 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
2007-03-04 11:53:11 +00:00
Baptiste Coudurier 5a6b9443ed dummy support for mpeg2 non linear quant
Originally committed as revision 8215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:26:20 +00:00
Baptiste Coudurier ea0fe83b0f remove ps option and rename rtp_payload_size AVOption to ps
Originally committed as revision 8172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 16:36:38 +00:00
Baptiste Coudurier ccec0f4f94 get rid of rtp_mode field after next major bump
Originally committed as revision 8164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 17:56:45 +00:00
Baptiste Coudurier 39c39d5f25 enable rtp payload size AVOption for video encoding
Originally committed as revision 8163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 17:40:31 +00:00
Michael Niedermayer 9c856d62be 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
2007-02-23 00:47:21 +00:00
Panagiotis Issaris 5dad0282b5 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
2007-02-23 00:20:39 +00:00
Panagiotis Issaris 8ab4861cc2 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
2007-02-22 19:05:44 +00:00
Panagiotis Issaris f9ec0aa1a9 Add more Doxygen documentation.
Originally committed as revision 8078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 18:59:05 +00:00
Panagiotis Issaris 5604801191 Fix typo.
Originally committed as revision 8065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:46:36 +00:00
Aurelien Jacobs 6829ac8de4 simplify release_buffer using FFSWAP
Originally committed as revision 8057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 23:46:25 +00:00
Panagiotis Issaris 7ad731e99f Add some more Doxygen documentation to libavcodec/utils.c.
Originally committed as revision 8041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 12:45:16 +00:00
Michel Bardiaux 5286d11fcd Spelling fix
Originally committed as revision 7989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 12:57:51 +00:00
Michael Niedermayer e13d80238c doxy for avcodec_encode_video()
Originally committed as revision 7977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 10:50:01 +00:00
Luca Abeni ab1c6dc95c 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
2007-02-08 18:55:36 +00:00
Diego Biurrun 71e445fca3 Replace deprecated PIX_FMT names by the newer variants.
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Michel Bardiaux 65d999d6cf 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
2007-02-01 09:45:05 +00:00
Michael Niedermayer ac66834c75 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
2007-01-14 23:50:06 +00:00
Michael Niedermayer 4785c01668 er and strict also apply to audio theoretically
Originally committed as revision 7510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:19:22 +00:00
Michael Niedermayer 2606f38a67 skiprd doxygen comment from avcodec.h -> AVOption comment
Originally committed as revision 7376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-26 17:08:03 +00:00
Michael Niedermayer c52f5d66a2 skiprd
Originally committed as revision 7365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-23 03:05:36 +00:00
Baptiste Coudurier a45bc5922f bt 0 is invalid, setting min to 1
Originally committed as revision 7357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-22 10:10:13 +00:00
Diego Biurrun f70d367b63 vqmin/vqmax --> qmin/qmax in the option description
Originally committed as revision 7316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-13 11:10:41 +00:00
Diego Biurrun 895bf49961 Improve option description.
Originally committed as revision 7276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 10:51:42 +00:00
Panagiotis Issaris d3075ed502 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
2006-12-06 17:04:23 +00:00
Panagiotis Issaris 119aae1dd5 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
2006-12-06 08:24:29 +00:00
Diego Biurrun 4a1bb6196b Fix some obvious mistakes in the option descriptions.
Originally committed as revision 7220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-04 12:04:53 +00:00
Víctor Paesa 970419236d 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
2006-12-02 18:58:20 +00:00
Måns Rullgård 486497e07b revert bad checkin
Originally committed as revision 7044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:18:09 +00:00
Måns Rullgård be6ed6fff4 move some CFLAGS settings away from config.* writing section
Originally committed as revision 7043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:12:29 +00:00
Baptiste Coudurier 9cc6be9d27 add low delay forcing option for mpeg1/2 encoding
Originally committed as revision 7008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 11:30:26 +00:00
Baptiste Coudurier 80d617f5b4 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
2006-11-07 13:45:08 +00:00
Corey Hickey 1984f5cdc9 Correct description of mblmin and mblmax.
Originally committed as revision 6873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:08:09 +00:00
Kostya Shishkov 34380af0e1 16-bit grayscale support
Originally committed as revision 6778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-24 04:57:43 +00:00
Luca Barbato 9f1c1c9985 Make ffmpeg work with x264 r592
Originally committed as revision 6711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-16 17:44:29 +00:00
Andrea Gianarro 462209fe10 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
2006-10-09 11:36:42 +00:00
Diego Biurrun b78e7197a8 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
2006-10-07 15:30:46 +00:00
Diego Biurrun 4bef236ba8 Fix quantiSer --> quantiZer typo.
Originally committed as revision 6523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-02 10:23:59 +00:00
Panagiotis Issaris 6d6f42d202 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
2006-09-29 19:34:53 +00:00
Panagiotis Issaris 720442981b 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
2006-09-28 17:46:25 +00:00
Panagiotis Issaris 93b26b6381 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
2006-09-28 17:45:51 +00:00
Måns Rullgård a0403006f8 ARMv5TE optimized IDCT
Originally committed as revision 6347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 20:26:22 +00:00
Michael Niedermayer 327409d7b9 mpeg1 b_strategy=2 segfault fix
Originally committed as revision 6337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 08:49:24 +00:00