summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
Commit message (Collapse)AuthorAge
* lavc/avcodec.h: document bitstream filter APIStefano Sabatini2013-07-05
|
* configure: rename have_incompatible_fork_abi -> have_incompatible_libav_abiStefano Sabatini2013-07-03
| | | | | | | | | "Fork" is an ambiguous term, since there may be more than one fork, also "fork" could be confused with the corresponding function. Also it seems important to point the name of the referenced fork in the symbol. Note: the old --enable-incompatible-fork-abi command is retained for compatibility, although it should be considered deprecated.
* lavc/avcodec.h: fix prolems -> problems typoStefano Sabatini2013-07-03
|
* Merge commit '95d52464542f532061290192518d5fe1c1930e8d'Michael Niedermayer2013-06-24
|\ | | | | | | | | | | | | | | | | | | | | * commit '95d52464542f532061290192518d5fe1c1930e8d': lavc: Add option to encode MPEG-2 AAC with libfdk-aac Conflicts: doc/APIchanges libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: Add option to encode MPEG-2 AAC with libfdk-aacKieran Kunhya2013-06-24
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c'Michael Niedermayer2013-06-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c': Go2Webinar decoder Conflicts: Changelog configure libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/version.h libavformat/riff.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Go2Webinar decoderKostya Shishkov2013-06-03
| |
* | lavc/avcodec: decodimg → decoding.Clément Bœsch2013-06-01
| |
* | lavf/webvttdec: save cue id and settings as side dataMatthew Heaney2013-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the WebVTT demuxer parses the cues but throws away the cue id (the optional first line of the cue) and cue settings (the optional rendering instructions that follow the timestamp). However, in order to write inband text tracks (to WebM files), the entire cue payload from the WebVTT source must be preserved. This commit makes no change to the data part of the output buffer packet (where the actual cue text is stored), but does add the cue id and settings as a side data items, if they're present in the cue. Existing code that cares only about the data part of the packet can continue to ignore the side data. There are two new packet data type flags, AV_PKT_DATA_WEBVTT_IDENTIFIER and AV_PKT_DATA_WEBVTT_SETTINGS.
* | Merge commit 'b493847df4ff8ce46f258749e4a3f304696b34c1'Michael Niedermayer2013-05-24
|\| | | | | | | | | | | | | | | | | | | | | * commit 'b493847df4ff8ce46f258749e4a3f304696b34c1': avcodec: Add picture structure information to AVCodecParserContext. Conflicts: doc/APIchanges libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Add picture structure information to AVCodecParserContext.Yusuke Nakamura2013-05-24
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Support playing SMV files.Ash Hughes2013-05-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Escape 130 (RPL) decoder Conflicts: libavcodec/Makefile libavcodec/allcodecs.c libavcodec/codec_desc.c libavcodec/escape130.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Escape 130 (RPL) decoderEli Friedman2013-05-18
| | | | | | | | | | | | | | | | Some fixes provided by Paul B Mahol <onemda@gmail.com> and Michael Niedermayer <michaelni@gmx.at> and me. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* | Merge commit '006ec64877fb638de4b15ae5fd969e22bd0f60ca'Michael Niedermayer2013-05-18
|\| | | | | | | | | | | | | | | * commit '006ec64877fb638de4b15ae5fd969e22bd0f60ca': lavr doxy: add version.h to the lavr group lavc doxy: add avcodec.h to the libavcodec group. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc doxy: add avcodec.h to the libavcodec group.Anton Khirnov2013-05-17
| |
* | Merge commit '1232a1647ab27e024a3baf4d01d40c8d08d6ced9'Michael Niedermayer2013-05-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1232a1647ab27e024a3baf4d01d40c8d08d6ced9': Apple Intermediate Codec decoder movenc: Don't add base_data_offset in tfhd for PIFF files Conflicts: Changelog libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Apple Intermediate Codec decoderKostya Shishkov2013-05-17
| |
* | avcodec/avpacket: Refactoring copy_side_data into a separate functionVignesh Venkatasubramanian2013-05-14
| | | | | | | | | | | | | | | | Refactoring copy_side_data into a separate function so that it can be called in cases where side data needs to be duplicated. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ADPCM IMA Radical decoderJames Almer2013-05-10
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | ADPCM DTK decoderJames Almer2013-05-10
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '507b1e454cf9953da3e18f33c9bd1fca78c97cb5'Michael Niedermayer2013-05-03
|\| | | | | | | | | | | | | | | | | | | | | * commit '507b1e454cf9953da3e18f33c9bd1fca78c97cb5': avcodec: Add field order information to AVCodecParserContext. Conflicts: doc/APIchanges libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Add field order information to AVCodecParserContext.Masaki Tanaka2013-05-03
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec: move lowres down with the next ABI bump and add accessorsMichael Niedermayer2013-05-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '803d21f38bdafe7c4e2571a9ae7052013a12923b'Michael Niedermayer2013-05-03
|\| | | | | | | | | | | | | | | | | | | * commit '803d21f38bdafe7c4e2571a9ae7052013a12923b': lavc: schedule AVCodecContext.lowres for removal on next bump. Conflicts: libavcodec/avcodec.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: schedule AVCodecContext.lowres for removal on next bump.Anton Khirnov2013-05-03
| | | | | | | | | | It has been deprecated some time ago, but was forgotten during the last bump.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-01
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avutil: doxy: Small clarification for av_buffer_create() avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2() avcodec: doxy: Clarify what get_buffer2 must fill in buf[] Conflicts: libavutil/buffer.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: doxy: Clarify how to use buf[] when implementing get_buffer2()Derek Buitenhuis2013-04-30
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * avcodec: doxy: Clarify what get_buffer2 must fill in buf[]Derek Buitenhuis2013-04-30
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-04-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avcodec: Bump minor for JPEG 2000 decoder JPEG 2000 decoder for DCinema The mqc code is merged, the rest is added independent of the existing jpeg2000 decoder and encoder. Conflicts: Changelog doc/general.texi libavcodec/Makefile libavcodec/allcodecs.c libavcodec/mqc.c libavcodec/mqc.h libavcodec/mqcdec.c libavcodec/version.h tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * JPEG 2000 decoder for DCinemaNicolas Bertrand2013-04-22
| | | | | | | | | | | | | | | | Based on the 2007 GSoC project from Kamil Nowosad <k.nowosad@students.mimuw.edu.pl> Updated to current programming standards, style and many more small fixes by Diego Biurrun <diego@biurrun.de>. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit '5e83d9aced2fc2b2e1360452794c58aba55d497c'Michael Niedermayer2013-04-19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5e83d9aced2fc2b2e1360452794c58aba55d497c': h264: fully support cropping. Conflicts: doc/APIchanges libavcodec/h264.c libavcodec/h264_ps.c libavcodec/options_table.h libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: fully support cropping.Anton Khirnov2013-04-19
| | | | | | | | | | | | Based on a patch by Vittorio Giovara <vittorio.giovara@gmail.com> Fixes Bug 378.
* | lavc: add AV_CODEC_PROP_TEXT_SUB.Clément Bœsch2013-04-19
| | | | | | | | CC are not marked. Also allow potential mixed types later.
* | subtitles: introduce ASS codec id and use it.Clément Bœsch2013-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we have a AV_CODEC_ID_SSA, which matches the way the ASS/SSA markup is muxed in a standalone .ass/.ssa file. This means the AVPacket data starts with a "Dialogue:" string, followed by a timing information (start and end of the event as string) and a trailing CRLF after each line. One packet can contain several lines. We'll refer to this layout as "SSA" or "SSA lines". In matroska, this markup is not stored as such: it has no "Dialogue:" prefix, it contains a ReadOrder field, the timing information is not in the payload, and it doesn't contain the trailing CRLF. See [1] for more info. We'll refer to this layout as "ASS". Since we have only one common codec for both formats, the matroska demuxer is constructing an AVPacket following the "SSA lines" format. This causes several problems, so it was decided to change this into clean ASS packets. Some insight about what is changed or unchanged in this commit: CODECS ------ - the decoding process still writes "SSA lines" markup inside the ass fields of the subtitles rectangles (sub->rects[n]->ass), which is still the current common way of representing decoded subtitles markup. It is meant to change later. - new ASS codec id: AV_CODEC_ID_ASS (which is different from the legacy AV_CODEC_ID_SSA) - lavc/assdec: the "ass" decoder is renamed into "ssa" (instead of "ass") for consistency with the codec id and allows to add a real ass decoder. This ass decoder receives clean ASS lines (so it starts with a ReadOrder, is followed by the Layer, etc). We make sure this is decoded properly in a new ass-line rectangle of the decoded subtitles (the ssa decoder OTOH is doing a simple straightforward copy). Using the packet timing instead of data string makes sure the ass-line now contains the appropriate timing. - lavc/assenc: just like the ass decoder, the "ssa" encoder is renamed into "ssa" (instead of "ass") for consistency with the codec id, and allows to add a real "ass" encoder. One important thing about this encoder is that it only supports one ass rectangle: we could have put several dialogue events in the AVPacket (separated by a \0 for instance) but this would have cause trouble for the muxer which needs not only the start time, but also the duration: typically, you have merged events with the same start time (stored in the AVPacket->pts) but a different duration. At the moment, only the matroska do the merge with the SSA-line codec. We will need to make sure all the decoders in the future can't add more than one rectangle (and only one Dialogue line in it obviously). FORMATS ------- - lavf/assenc: the .ass/.ssa muxer can take both SSA and ASS packets. In the case of ASS packets as input, it adds the timing based on the AVPacket pts and duration, and mux it with "Dialogue:", trailing CRLF, etc. - lavf/assdec: unchanged; it currently still only outputs SSA-lines packets. - lavf/mkv: the demuxer can now output ASS packets without the need of any "SSA-lines" reconstruction hack. It will become the default at next libavformat bump, and the SSA support will be dropped from the demuxer. The muxer can take ASS packets since it's muxed normally, and still supports the old SSA packets. All the SSA support and hacks in Matroska code will be dropped at next lavf bump. [1]: http://www.matroska.org/technical/specs/subtitles/ssa.html
* | Merge commit '9de9b828ef005dec37052548c195a6b4f18fc701'Michael Niedermayer2013-04-11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9de9b828ef005dec37052548c195a6b4f18fc701': lavc: don't overwrite display dimensions with coded dimensions. lavc: extend / update the [coded_]{width,height} doxy Conflicts: libavcodec/avcodec.h libavcodec/utils.c The change to the w/h handling is not merged as it breaks lowres Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: extend / update the [coded_]{width,height} doxyAnton Khirnov2013-04-10
| |
* | lavc: fix typoPaul B Mahol2013-03-29
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | vp8: WebP decoding supportMichael Niedermayer2013-03-22
| | | | | | | | | | | | | | VP8L, padding and bounds checks by Pascal Massimino Reviewed-by: Pascal Massimino <pascal.massimino@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '4e70d66ded537cadd32dbd02a38c3d86a203c812'Michael Niedermayer2013-03-20
|\| | | | | | | | | | | | | | | * commit '4e70d66ded537cadd32dbd02a38c3d86a203c812': mpegvideo: fix allocation of the hwaccel_picture_private data lavc: update the doxy for avcodec_decode_{video,audio} wtih refcounting. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: update the doxy for avcodec_decode_{video,audio} wtih refcounting.Anton Khirnov2013-03-19
| |
* | lavc,lavu: fix two doxy mixup between h/v chroma shift.Clément Bœsch2013-03-18
| |
* | mpeg: Add passing DVD navigation packets (startcode 0x1bf) to caller to ↵Richard2013-03-17
| | | | | | | | | | | | | | | | | | allow better playback handling of DVDs. The two types of packets (PCI and DSI) are passed untouched but combined by the new codec ID AV_CODEC_ID_DVD_NAV. The first 980 bytes in the packet contain the PCI data. The next 1018 are the DSI data. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f099d3d1d5466bd63f4ab36270d169ff9ea613b8'Michael Niedermayer2013-03-14
|\| | | | | | | | | | | | | | | * commit 'f099d3d1d5466bd63f4ab36270d169ff9ea613b8': Add av_log_{ask_for_sample|missing_feature} replacements to libavutil ismindex: Check the return value of allocations Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add av_log_{ask_for_sample|missing_feature} replacements to libavutilDiego Biurrun2013-03-13
| | | | | | | | | | This allows reporting missing features and requesting samples from all libraries in a standard way; with a simplified API.
* | avcodec: remove AVCodecContext->metadataHendrik Leppkes2013-03-13
| | | | | | | | | | | | | | | | | | This field was only ever set and freed from avcodec, and not otherwise used. However, because frames are refcounted now, avcodec cannot make any assumptions about the lifetime of the frame metadata, which can result in double-frees or leaked memory. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: remove disabled 8SVX_RAW cruftPaul B Mahol2013-03-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'd6ed604cf4ca86ed345125b26eb5bdeea6d6bf68'Michael Niedermayer2013-03-13
|\| | | | | | | | | | | | | | | | | | | * commit 'd6ed604cf4ca86ed345125b26eb5bdeea6d6bf68': lavc: remove disabled FF_API_IDCT cruft Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: remove disabled FF_API_IDCT cruftAnton Khirnov2013-03-11
| |
* | Merge commit '3bcdf8dcb9891ffe49b6398d0e2c02f1712d8f00'Michael Niedermayer2013-03-13
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '3bcdf8dcb9891ffe49b6398d0e2c02f1712d8f00': lavc: remove disabled FF_API_SNOW cruft Conflicts: libavcodec/avcodec.h libavcodec/options_table.h libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>