summaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: document the use of AVCodecContext.delay for audio encodersJustin Ruggles2012-02-251-2/+14
|
* avcodec: add duration field to AVCodecParserContextJustin Ruggles2012-02-201-0/+7
| | | | | This will allow parsers to export the duration of the current frame being output, if known, instead of using AVCodecContext.frame_size.
* CDXL demuxer and decoderPaul B Mahol2012-02-141-0/+1
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Move PS2 MMI code below the mips subdirectory, where it belongs.Diego Biurrun2012-02-131-1/+1
| | | | | Also give a more suitable name to the MMI-optimized IDCT; it is not PS2-specific, as the name currently suggests.
* lavc: add avcodec_encode_video2() that encodes from an AVFrame -> AVPacketAnton Khirnov2012-02-081-0/+39
| | | | Deprecate avcodec_encode_video().
* Remove Sun medialib glue code.Diego Biurrun2012-02-081-2/+0
| | | | | It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
* avcodec: Clarify AVFrame member documentation.Kieran Kunhya2012-02-061-2/+2
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avcodec: Add av_fast_padded_malloc().Janne Grunau2012-02-011-0/+9
| | | | | | | Wrapper around av_fast_malloc() that keeps FF_INPUT_BUFFER_PADDING_SIZE zero-padded bytes at the end of the used buffer. Based on a patch by Reimar Döffinger <Reimar.Doeffinger@gmx.de>.
* avcodec.h: Remove some disabled cruft.Diego Biurrun2012-02-011-26/+0
|
* lavc: set AVCodecContext.codec in avcodec_get_context_defaults3().Anton Khirnov2012-01-311-0/+5
| | | | | | | | | This way, if the AVCodecContext is allocated for a specific codec, the caller doesn't need to store this codec separately and then pass it again to avcodec_open2(). It also allows to set codec private options using av_opt_set_* before opening the codec.
* lavc: make avcodec_close() work properly on unopened codecs.Anton Khirnov2012-01-311-1/+11
| | | | | I.e. free the priv_data and other stuff allocated in avcodec_alloc_context3() and not segfault.
* lavc: add avcodec_is_open().Anton Khirnov2012-01-311-0/+6
| | | | | | | It allows to check whether an AVCodecContext is open in a documented way. Right now the undocumented way this check is done in lavf/lavc is by checking whether AVCodecContext.codec is NULL. However it's desirable to be able to set AVCodecContext.codec before avcodec_open2().
* lavc: reorder AVCodec fields.Anton Khirnov2012-01-311-16/+23
| | | | | | | Put all private fields at the end and mark them as such so they can be easily changed/removed. This breaks ABI.
* lavc: extend doxy for avcodec_alloc_context3().Anton Khirnov2012-01-281-0/+3
|
* lavc: remove disabled FF_API_AVFRAME_AGE cruft.Anton Khirnov2012-01-271-7/+0
|
* lavc: remove disabled FF_API_DATA_POINTERS cruft.Anton Khirnov2012-01-271-4/+0
|
* lavc: remove disabled FF_API_INTERNAL_CONTEXT cruft.Anton Khirnov2012-01-271-29/+0
|
* lavc: remove disabled FF_API_PARSE_FRAME cruft.Anton Khirnov2012-01-271-14/+0
|
* lavc: remove disabled FF_API_GET_ALPHA_INFO cruft.Anton Khirnov2012-01-271-13/+0
|
* lavc: remove disabled FF_API_MJPEG_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-11/+0
|
* lavc: remove disabled FF_API_SNOW_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-3/+0
|
* lavc: remove disabled FF_API_LAME_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-3/+0
|
* lavc: remove disabled FF_API_AVCODEC_INIT cruft.Anton Khirnov2012-01-271-9/+0
|
* lavc: remove disabled FF_API_ER cruft.Anton Khirnov2012-01-271-15/+0
|
* lavc: remove disabled FF_API_DRC_SCALE cruft.Anton Khirnov2012-01-271-11/+0
|
* lavc: remove disabled FF_API_AVCODEC_OPEN cruft.Anton Khirnov2012-01-271-34/+0
|
* lavc: remove disabled FF_API_ALLOC_CONTEXT cruft.Anton Khirnov2012-01-271-35/+0
|
* lavc: remove disabled FF_API_GET_PIX_FMT_NAME cruft.Anton Khirnov2012-01-271-8/+0
|
* lavc: remove disabled FF_API_FLAC_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-67/+0
|
* lavc: remove disabled FF_API_OLD_FF_PICT_TYPES cruft.Anton Khirnov2012-01-271-23/+0
|
* lavc: remove disabled FF_API_THREAD_INIT cruft.Anton Khirnov2012-01-271-8/+0
|
* lavc: remove disabled FF_API_ANTIALIAS_ALGO cruft.Anton Khirnov2012-01-271-13/+0
|
* lavc: remove disabled FF_API_OLD_AUDIOCONVERT cruft.Anton Khirnov2012-01-271-48/+0
|
* lavc: remove disabled FF_API_OLD_SAMPLE_FMT cruft.Anton Khirnov2012-01-271-20/+0
|
* lavc: remove disabled FF_API_PALETTE_CONTROL cruft.Anton Khirnov2012-01-271-32/+0
|
* lavc: remove disabled FF_API_MPEGVIDEO_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-12/+0
|
* lavc: remove disabled FF_API_X264_GLOBAL_OPTS cruft.Anton Khirnov2012-01-271-147/+0
|
* avcodec: add a new codec_id for CRYO APC IMA ADPCM.Justin Ruggles2012-01-241-0/+1
| | | | | The stereo layout and extradata is significantly different from that in Westwood IMA ADPCM, so a separate codec_id is warranted.
* XWD encoder and decoderPaul B Mahol2012-01-231-0/+1
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* avcodec: Add avcodec_encode_audio2() as replacement for avcodec_encode_audio()Justin Ruggles2012-01-151-2/+70
| | | | | | | | 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-151-0/+20
| | | | 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-151-0/+5
| | | | | | | | | | | | | 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-071-3/+15
|
* avcodec: fix avcodec_encode_audio() documentation.Justin Ruggles2012-01-071-5/+8
| | | | | 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-011-0/+4
| | | | | | 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-251-0/+9
| | | | | | 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-251-0/+7
| | | | | | 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-251-0/+7
| | | | | | | 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-211-0/+15
| | | | | | 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-211-0/+26
| | | | | | | Also define a codec capability for codecs that can handle parameters changed externally between decoded packets. Signed-off-by: Martin Storsjö <martin@martin.st>
OpenPOWER on IntegriCloud