summaryrefslogtreecommitdiff
path: root/doc/APIchanges
Commit message (Collapse)AuthorAge
* lavu: Add av_gettime_relativeMartin Storsjö2014-10-24
| | | | | | | | | | | | | | | | | | | 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-15
| | | | | | | | | | | 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-15
| | | | | | | | | | | | | 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-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: use a separate field for exporting audio encoder paddingAnton Khirnov2014-10-13
| | | | | | | | | | | | | | 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-08
|
* vdpau: add av_vdpau_bind_context()Rémi Denis-Courmont2014-10-06
| | | | | | | | | | | | 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-28
|
* doc: fix a typoGabriel Dume2014-08-26
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavf: add AVFormatContext.max_ts_probeAnton Khirnov2014-08-25
| | | | | 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-25
|
* mem: add av_strndup() for duplicating substringsAnton Khirnov2014-08-13
|
* AVOption: add support for dictionary types.Andrew Stone2014-08-13
| | | | | | | 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-13
| | | | | | | | | | | 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-10
|
* Bump major versions of all libraries.Anton Khirnov2014-08-09
|
* avcodec: Rename xvidmmx IDCT to xvidDiego Biurrun2014-08-08
| | | | The Xvid IDCT is not MMX-specific.
* swscale: Undeprecate sws_getContext()Diego Biurrun2014-08-07
| | | | sws_getCachedContext is not a full replacement for the function.
* avcodec: Undeprecate reordered_opaqueDiego Biurrun2014-08-07
| | | | | | | 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-04
|
* avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8Vittorio Giovara2014-08-04
| | | | | | | 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-04
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: Deprecate dtg_active_format field in favor of avframe side-dataKieran Kunhya2014-08-03
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avcodec: Deprecate unused defines and optionsDiego Biurrun2014-08-03
|
* avstring: Expose the simple name match functionLuca Barbato2014-07-29
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: add a property for marking codecs that support frame reorderingAnton Khirnov2014-07-28
|
* display: add matrix flip apiVittorio Giovara2014-07-09
|
* lavc: export DV profile API used by muxer/demuxer as publicAnton Khirnov2014-07-09
|
* apichanges: fill in changes for lavu 51.19 and 51.20Vittorio Giovara2014-06-28
|
* Add av_image_check_sar() and use it to validate SARJustin Ruggles2014-06-20
|
* lavc: add a convenience function for rescaling timestamps in a packetAnton Khirnov2014-06-20
|
* lavf: switch to AVStream.time_base as the hint for the muxer timebaseAnton Khirnov2014-06-18
| | | | | | | | | | | | 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-01
| | | | | | 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-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avresample: Add avresample_get_out_samplesLuca Barbato2014-05-28
| | | | | Utility function to get the upper bound on the number of samples the resampler would output.
* avformat: Provide a standard compliance flagLuca Barbato2014-05-28
| | | | | | Provide f_strict for avconv usage. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avcodec: bump version after rotation apiVittorio Giovara2014-05-23
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* lavf: add av_stream_get_side_dataJanne Grunau2014-05-20
|
* Add transformation matrix API.Vittorio Giovara2014-05-19
| | | | | | | | | | | 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>
* lavf: deprecate now unused AVStream.ptsAnton Khirnov2014-05-19
|
* doc/APIchanges: mark the release 10 branch pointAnton Khirnov2014-05-18
|
* doc/APIchanges: fill in missing hashes and datesAnton Khirnov2014-05-18
|
* lavc: add avcodec_free_context().Anton Khirnov2014-05-18
| | | | | | | | | | | Right now, the caller has to manually manage some allocated AVCodecContext fields, like extradata or subtitle_header. This is fragile and prone to leaks, especially if we want to add more such fields in the future. The only reason for this behaviour is so that the AVStream codec context can be reused for decoding. Such reuse is discouraged anyway, so this commit is the first step to deprecating it.
* lavf: add AVFMT_FLAG_BITEXACT.Anton Khirnov2014-05-15
| | | | | | | | Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's codec context. Using codec options inside lavf is fragile and can easily break when the muxing codec context is not the encoding context.
* lavu: Add a pixel format for new VDA hwaccelAnton Khirnov2014-05-11
| | | | | The current hwaccel is broken and cannot be fixed in a compatible way. It will be deprecated and replaced with a new one.
* lavc: move CODEC_FLAG_MV0 to mpegvideoAnton Khirnov2014-05-01
|
* lavc: make the xvid-specific "gmc" flag a private option of libxvidAnton Khirnov2014-05-01
|
* lavc: move CODEC_FLAG_NORMALIZE_AQP to mpegvideoAnton Khirnov2014-05-01
|
* lavc: deprecate CODEC_FLAG_INPUT_PRESERVEDAnton Khirnov2014-05-01
| | | | The addition of reference-counted frames makes it pointless.
* dxva2_h264: add a workaround for old Intel GPUsHendrik Leppkes2014-04-28
| | | | | | | | | | Old Intel GPUs expect the reference frame index to the actual surface, instead of the index into RefFrameList as specified by the spec. This workaround should be set when using one of the "ClearVideo" decoder devices. Signed-off-by: Anton Khirnov <anton@khirnov.net>