summaryrefslogtreecommitdiffstats
path: root/doc/APIchanges
Commit message (Collapse)AuthorAgeFilesLines
* h264_parser: export video format and dimensionsAnton Khirnov2015-02-191-0/+4
|
* pixfmt: add a pixel format for QSV hwaccelAnton Khirnov2015-02-191-0/+3
|
* doc/APIchanges: fill in missing dates and hashesAnton Khirnov2015-02-131-17/+17
| | | | Also, move a misplaced block to the right position.
* Add a side data type for audio service type.Anton Khirnov2015-01-271-0/+4
| | | | | Currently, audio service type is a field in AVCodecContext. However, side data is more appropriate for this kind of information.
* imgutils: create misc functions for dealing with buffersStefano Sabatini2015-01-141-0/+4
| | | | | | | | | | | | | | | | | Move the lavc/imgconvert functions and rename them as follows: avpicture_get_size -> av_image_get_buffer_size() avpicture_fill -> av_image_fill_arrays() avpicture_layout -> av_image_copy_to_buffer() The new functions have an align parameter, which allows to define the linesize alignment assumed in the buffer (which is set or read). The names of the functions are consistent with the lavu/samples API (av_samples_get_buffer_size(), av_samples_fill_arrays()). A redundant check has been dropped from av_image_fill_arrays(). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* vdpau: add helper for surface chroma type and sizeRémi Denis-Courmont2014-12-251-0/+3
| | | | | | | | | | | | | | | | | | | | | Since the VDPAU pixel format does not distinguish between different VDPAU video surface chroma types, we need another way to pass this data to the application. Originally VDPAU in libavcodec only supported decoding to 8-bits YUV with 4:2:0 chroma sampling. Correspondingly, applications assumed that libavcodec expected VDP_CHROMA_TYPE_420 video surfaces for output. However some of the new HEVC profiles proposed for addition to VDPAU would require different depth and/or sampling: http://lists.freedesktop.org/archives/vdpau/2014-July/000167.html ...as would lossless AVC profiles: http://lists.freedesktop.org/archives/vdpau/2014-November/000241.html To preserve backward binary compatibility with existing applications, a new av_vdpau_bind_context() flag is introduced in a further change. Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libavcodec: add AV_HWACCEL_ALLOW_HIGH_DEPTH flagRémi Denis-Courmont2014-12-251-0/+3
| | | | | | | | This can be used by the application to signal its ability to cope with video surface of types other than 8-bits YUV 4:2:0. Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: add AVCodecContext.sw_pix_fmtRémi Denis-Courmont2014-12-251-0/+3
| | | | | | | | This carries the pixel format that would be used if it were not for hardware acceleration. This is equal to AVCodecContext.pix_fmt if hardware acceleration is not in use. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* APIchanges: mark the release 11 branch pointwm42014-12-031-3/+7
|
* lavf: Add an option for avoiding negative timestampsMichael Niedermayer2014-11-071-0/+3
| | | | | | | | | | | This is the same logic as is invoked on AVFMT_TS_NEGATIVE, but which can be enabled manually, or can be enabled in muxers which only need it in certain conditions. Also allow using the same mechanism to force streams to start at 0. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: add a public API for parsing vorbis packets.Anton Khirnov2014-11-061-0/+3
| | | | | | It is required by (at least) the ogg demuxer. Mark the current semi-public apriv API for removal.
* lavu: Add av_gettime_relativeMartin Storsjö2014-10-241-0/+3
| | | | | | | | | | | | | | | | | | | Since av_gettime() is used in a number of places where actual real time clock is required, the monotonic clock introduced in ebef9f5a5 would have consequences that are hard to handle. Instead split it into a separate function that can be used in the cases where only relative time is desired. On platform where no monotonic clock is available, the difference between the two av_gettime functions is not clear, and one could mistakenly use the relative clock where an absolute one is required. Therefore add an offset, to make it evident that the time returned from av_gettime_relative never is actual current real time, even though it is based on av_gettime. Based on a patch by Olivier Langlois. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: deprecate the use of AVCodecContext.time_base for decodingAnton Khirnov2014-10-151-0/+4
| | | | | | | | | | | When decoding, this field holds the inverse of the framerate that can be written in the headers for some codecs. Using a field called 'time_base' for this is very misleading, as there are no timestamps associated with it. Furthermore, this field is used for a very different purpose during encoding. Add a new field, called 'framerate', to replace the use of time_base for decoding.
* vdpau: add AV_HWACCEL_FLAG_IGNORE_LEVEL to skip the codec level checkRémi Denis-Courmont2014-10-151-0/+3
| | | | | | | | | | | | | Decoding acceleration may work even if the codec level is higher than the stated limit of the VDPAU driver. Or the problem may be considered acceptable by the user. This flag allows skipping the codec level capability checks and proceed with decoding. Applications should obviously not set this flag by default, but only if the user explicitly requested this behavior (and presumably knows how to turn it back off if it fails). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* doc: fix typing mistakeRémi Denis-Courmont2014-10-151-1/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: use a separate field for exporting audio encoder paddingAnton Khirnov2014-10-131-0/+4
| | | | | | | | | | | | | | Currently, the amount of padding inserted at the beginning by some audio encoders, is exported through AVCodecContext.delay. However - the term 'delay' is heavily overloaded and can have multiple different meanings even in the case of audio encoding. - this field has entirely different meanings, depending on whether the codec context is used for encoding or decoding (and has yet another different meaning for video), preventing generic handling of the codec context. Therefore, add a new field -- AVCodecContext.initial_padding. It could conceivably be used for decoding as well at a later point.
* pixdesc: return color properties namesVittorio Giovara2014-10-081-0/+3
|
* vdpau: add av_vdpau_bind_context()Rémi Denis-Courmont2014-10-061-0/+4
| | | | | | | | | | | | This function provides an explicit VDPAU device and VDPAU driver to libavcodec, so that the application is relieved from codec specifics and VdpDevice life cycle management. A stub flags parameter is added for future extension. For instance, it could be used to ignore codec level capabilities (if someone feels dangerous). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: add stream-level stereo3d side dataVittorio Giovara2014-08-281-0/+3
|
* doc: fix a typoGabriel Dume2014-08-261-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavf: add AVFormatContext.max_ts_probeAnton Khirnov2014-08-251-0/+3
| | | | | It allows to configure how long will avformat_find_stream_info() wait to get the first timestamp.
* doc/APIchanges: fill in missing hashes and datesAnton Khirnov2014-08-251-29/+29
|
* mem: add av_strndup() for duplicating substringsAnton Khirnov2014-08-131-0/+3
|
* AVOption: add support for dictionary types.Andrew Stone2014-08-131-0/+4
| | | | | | | In order to support metadata being set as an option, it's necessary to be able to set dictionaries as values. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: add AVFormatContext/AVStream fields for signaling to the user when ↵Andrew Stone2014-08-131-0/+4
| | | | | | | | | | | events happen. The only flags, for now, indicate if metadata was updated and are set after each call to av_read_frame(). This comes with the caveat that, on stream start, it might not be set properly as packets might be buffered in AVFormatContext.packet_buffer before being given to the user in av_read_frame(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avresample: Introduce AVFrame-based APILuca Barbato2014-08-101-0/+6
|
* Bump major versions of all libraries.Anton Khirnov2014-08-091-7/+7
|
* avcodec: Rename xvidmmx IDCT to xvidDiego Biurrun2014-08-081-0/+4
| | | | The Xvid IDCT is not MMX-specific.
* swscale: Undeprecate sws_getContext()Diego Biurrun2014-08-071-0/+3
| | | | sws_getCachedContext is not a full replacement for the function.
* avcodec: Undeprecate reordered_opaqueDiego Biurrun2014-08-071-0/+3
| | | | | | | It allows attaching other external, opaque data to the frame and passing it through the reordering process, for cases when the caller wants other data than just the plain packet pts. There is no way to cleanly achieve this without the field.
* avutil: add AV_PIX_FMT_YA16 pixel formatVittorio Giovara2014-08-041-0/+3
|
* avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8Vittorio Giovara2014-08-041-0/+4
| | | | | | | The rationale is that you have a packed format in form <greyscale sample> <alpha sample> <greyscale sample> <alpha sample> and shortening greyscale to 'G' might make one thing about Greenscale instead. An alias pixel format and color space name are provided for compatibility.
* pixdesc: Support pixelformat aliasesLuca Barbato2014-08-041-0/+3
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: Deprecate dtg_active_format field in favor of avframe side-dataKieran Kunhya2014-08-031-0/+4
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avcodec: Deprecate unused defines and optionsDiego Biurrun2014-08-031-0/+7
|
* avstring: Expose the simple name match functionLuca Barbato2014-07-291-0/+3
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: add a property for marking codecs that support frame reorderingAnton Khirnov2014-07-281-0/+3
|
* display: add matrix flip apiVittorio Giovara2014-07-091-0/+3
|
* lavc: export DV profile API used by muxer/demuxer as publicAnton Khirnov2014-07-091-0/+3
|
* apichanges: fill in changes for lavu 51.19 and 51.20Vittorio Giovara2014-06-281-0/+7
|
* Add av_image_check_sar() and use it to validate SARJustin Ruggles2014-06-201-0/+3
|
* lavc: add a convenience function for rescaling timestamps in a packetAnton Khirnov2014-06-201-0/+3
|
* lavf: switch to AVStream.time_base as the hint for the muxer timebaseAnton Khirnov2014-06-181-0/+5
| | | | | | | | | | | | Previously, AVStream.codec.time_base was used for that purpose, which was quite confusing for the callers. This change also opens the path for removing AVStream.codec. The change in the lavf-mkv test is due to the native timebase (1/1000) being used instead of the default one (1/90000), so the packets are now sent to the crc muxer in the same order in which they are demuxed (previously some of them got reordered because of inexact timestamp conversion).
* lavc: add an option to enable side data-only packets during encodingAnton Khirnov2014-06-011-0/+5
| | | | | | Some encoders (e.g. flac) need to send side data when there is no more data to be output. This enables them to output a packet with no data in it, only side data.
* lavu: add all color-related enums to AVFramewm42014-06-011-0/+5
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avresample: Add avresample_get_out_samplesLuca Barbato2014-05-281-0/+3
| | | | | Utility function to get the upper bound on the number of samples the resampler would output.
* avformat: Provide a standard compliance flagLuca Barbato2014-05-281-0/+4
| | | | | | Provide f_strict for avconv usage. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avcodec: bump version after rotation apiVittorio Giovara2014-05-231-1/+1
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* lavf: add av_stream_get_side_dataJanne Grunau2014-05-201-0/+4
|
* Add transformation matrix API.Vittorio Giovara2014-05-191-0/+8
| | | | | | | | | | | Add AV_PKT_DATA_DISPLAYMATRIX and AV_FRAME_DATA_DISPLAYMATRIX as stream and frame side data (respectively) to describe a display transformation matrix for linear transformation operations on the decoded video. Add functions to easily extract a rotation angle from a matrix and conversely to setup a matrix for a given rotation angle. Signed-off-by: Anton Khirnov <anton@khirnov.net>
OpenPOWER on IntegriCloud