summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
Commit message (Collapse)AuthorAge
* avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio()Justin Ruggles2012-01-15
| | | | | | | | This allows audio encoders to optionally take an AVFrame as input and write encoded output to an AVPacket. This also adds AVCodec.encode2() which will also be usable by video and subtitle encoders once support is implemented in the public functions.
* avcodec: add a public function, avcodec_fill_audio_frame().Justin Ruggles2012-01-15
| | | | This is a convenience function for the user to fill audio AVFrame information.
* lavc: Relax API strictness in avcodec_decode_audio3 with a custom get_buffer()Reinhard Tartler2012-01-15
| | | | | | | | | | | | | Do not fail audio decoding with avcodec_decode_audio3 if user has set a custom get_buffer. Strictly speaking, this was never allowed by the API, but it seems that some software packages did so anyways. In order to unbreak applications (cf. http://bugs.debian.org/655890), this change clarifies the API and overrides the custom get_buffer() with the defaults. This change is inspired by a similar commit (c3846e3ebab610be691adb8b40d376dc2f675dc4) in FFmpeg. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* avcodec: attempt to clarify the CODEC_CAP_DELAY documentationJustin Ruggles2012-01-07
|
* avcodec: fix avcodec_encode_audio() documentation.Justin Ruggles2012-01-07
| | | | | the previous documentation indicated how many bytes are read from the input, not how many samples are read.
* threads: introduce CODEC_CAP_AUTO_THREADS and add it to libx264Janne Grunau2012-01-01
| | | | | | Some external codecs have their own code to determine the best number of threads. This number is not necessary the number of cpu cores. Thread_count will be only 0 if the codec has CODEC_CAP_AUTO_THREADS.
* lavc: add format field to AVFrameStefano Sabatini2011-12-25
| | | | | | The format is a per-frame property, having it in AVFrame simplify the operation of extraction of that information, since avoids the need to access the codec/stream context.
* lavc: add width and height fields to AVFrameStefano Sabatini2011-12-25
| | | | | | width and height are per-frame properties, setting these values in AVFrame simplify the operation of extraction of that information, since avoids the need to check the codec/stream context.
* lavc: add a sample_aspect_ratio field to AVFrameStefano Sabatini2011-12-25
| | | | | | | The sample aspect ratio is a per-frame property, so it makes sense to define it in AVFrame rather than in the codec/stream context. Simplify application-level sample aspect ratio information extraction, and allow further simplifications.
* mov: Don't stick the QuickTime field ordering atom in extradata.Alex Converse2011-12-21
| | | | | | The 'fiel' atoms can be found in H.264 tracks clobbering the extradata. MJPEG supports non field based extradata, and this data should be preserved when copying.
* libavcodec: Define a side data type for parameter changesMartin Storsjö2011-12-21
| | | | | | | Also define a codec capability for codecs that can handle parameters changed externally between decoded packets. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Define a side data type for new extradataMartin Storsjö2011-12-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: deprecate AVFrame.ageMans Rullgard2011-12-18
| | | | | | | | This was intended as an optimisation for skipped blocks in MPEG2 P-frames and never used elsewhere. Removing this "optimisation" speeds up MPEG2 decoding by 1-2% (ARM Cortex-A9). Signed-off-by: Mans Rullgard <mans@mansr.com>
* v410 encoder and decoderDerek Buitenhuis2011-12-13
| | | | | | | | v410 is a packed 10-bit 4:4:4 YCbCr format used in QuickTime. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-12
|
* Fix a bunch of common typos.Diego Biurrun2011-12-11
|
* Dxtory capture format decoderKostya Shishkov2011-12-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add avcodec_decode_audio4().Justin Ruggles2011-12-02
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* avcodec: change number of plane pointers from 4 to 8 at next major bump.Justin Ruggles2011-12-02
| | | | | | Add AV_NUM_DATA_POINTERS to simplify the bump transition. This will allow for supporting more planar audio channels without having to allocate separate pointer arrays.
* lavc: update doxy to use nondeprecated API.Anton Khirnov2011-11-26
|
* Make channel layout masks unsignedMans Rullgard2011-11-25
| | | | | | | | | | It makes more sense for a bit mask to use an unsigned type. The change should be source and binary compatible on all supported systems, hence micro version bump. Fixes a few invalid shifts. Signed-off-by: Mans Rullgard <mans@mansr.com>
* doxy: introduce an empty structure in libavcodecLuca Barbato2011-11-22
|
* avcodec: move some AVCodecContext fields to an internal struct.Justin Ruggles2011-11-19
| | | | | | | | A new field, AVCodecContext.internal is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are used by general libavcodec functions. Moved internal_buffer, internal_buffer_count, and is_copy.
* VBLE DecoderDerek Buitenhuis2011-11-11
| | | | | | | | | Add a decoder for the VBLE Lossless Codec, which still has a cult following. Used to be popular several years ago on doom9. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: add support for planar signed 8-bit PCM.Justin Ruggles2011-11-09
| | | | | | It is found in some 8svx files (e.g. ones created by SoX). Currently the decoder reuses the 8svx functions because we already have handling of a single large planar packet for the compressed 8svx codecs.
* BMV demuxer and decoderKostya Shishkov2011-11-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: insert some spaces in explicit enum value assignmentsKostya Shishkov2011-11-06
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* move 8SVX audio codecs to the audio codec list part on the next bumpKostya Shishkov2011-11-06
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* deprecate codec IDs that won't ever be usedKostya Shishkov2011-11-06
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: Remove a misplaced and useless attribute_deprecatedMartin Storsjö2011-11-03
| | | | | | | | | | | | | | | | | | | If attribute_deprecated is used in an enum declaration, it should follow the 'enum' keyword, otherwise it's ignored silently. This is the only case of attribute_deprecated for enum declarations currently. Currently, this attribute_deprecated doesn't have any effect. If moved to the right place, it emits a warning every single time avcodec.h is included, like this: avcodec.h:2827: warning: ‘AVLPCType’ is deprecated (declared at avcodec.h:543) There is already a working attribute_deprecated for the corresponding field in AVCodecContext, so therefore this one shouldn't be needed. Signed-off-by: Martin Storsjö <martin@martin.st>
* isom: Add MPEG4SYSTEMS dummy object type indication.Alex Converse2011-10-28
|
* avcodec: remove avcodec_parse_frame and deprecate associated elements.Justin Ruggles2011-10-27
| | | | | | The documentation for CODEC_CAP_PARSE_ONLY and AVCodecContext.parse_only indicates that they are utilized through avcodec_parse_frame(), which was never actually implemented.
* lavc: deprecate img_get_alpha_info().Anton Khirnov2011-10-20
| | | | | | It's never been touched or used in any way since it was added in 2003 and only works for PIX_FMT_PAL8, which makes me conclude that nobody's ever used it.
* avcodec: add CODEC_CAP_DELAY note to avcodec_decode_audio3() documentationJustin Ruggles2011-10-20
|
* avcodec: clarify the CODEC_CAP_DELAY note in avcodec_decode_video2()Justin Ruggles2011-10-20
|
* avcodec: clarify documentation of CODEC_CAP_DELAYJustin Ruggles2011-10-20
|
* avcodec.h: Move G.729/G.723 CODEC_IDs to the correct section.Diego Biurrun2011-10-20
| | | | This is done conditional to the libavcodec version to avoid ABI breaks.
* lavc: make avcodec_get_context_defaults3 "officially" publicAnton Khirnov2011-10-19
| | | | Deprecate avcodec_get_context_defaults/avcodec_get_context_defaults2
* Ut Video decoderKostya Shishkov2011-10-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: rename AV_ER_* options to AV_EF_* and rename AGGRESSIVE to BUFFERDustin Brody2011-10-18
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: replace API-bump-triggered AVCodecContext field change with shorter, ↵Dustin Brody2011-10-18
| | | | | | non-conflicting name Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: remove stray @deprecated commentMans Rullgard2011-10-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavc: add a flag-based error_recognition field to AVCodecContext and ↵Dustin Brody2011-10-14
| | | | | | deprecate non-flag-based ER field Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: rename deprecation symbol FF_API_VERY_AGGRESSIVE to FF_API_ERDustin Brody2011-10-14
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libx264: support 9- and 10-bit output.Anton Khirnov2011-10-06
|
* Synchronize various 4CCs and codec tags from FFmpeg.Diego Biurrun2011-10-04
|
* oggdec: add support for Xiph's CELT codecNicolas George2011-09-26
| | | | | | | This patch also introduces CODEC_ID_CELT. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: undeprecate AVPALETTE_SIZE and AVPALETTE_COUNT macrosAnton Khirnov2011-09-21
| | | | They are still being used and shouldn't be removed.
* libx264: add 'direct-pred' private optionAnton Khirnov2011-09-07
| | | | Deprecate AVCodecContext.directpred
* libx264: add 'partitions' private optionAnton Khirnov2011-09-07
| | | | Deprecate AVCodecContext.partitions.