aboutsummaryrefslogtreecommitdiffstats
path: root/doc/APIchanges
Commit message (Collapse)AuthorAgeFilesLines
...
| * lavc: add avcodec_free_context().Anton Khirnov2014-05-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | 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.
* | lavu: add av_gettime_relative()Olivier Langlois2014-05-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These functions are using the POSIX clock_gettime() function with the CLOCK_MONOTONIC clock id. If these are not present on the targeted platform, the new functions will fallback on using the original realtime functions av_gettime() and av_usleep(). Monotonic support can be added on other platforms with their equivalent native system API eventually if possible. Whenever time is requested to measure relative time, the monotonic clock, when available, is superior to the system realtime clock because it is not affected by discontinuous jumps in the system time In a future step, offering the flexibility to let the user choose between rt and monotonic clock for avdevices packets will be investigated. It is very easy to experience the issues that this patch attempt to address by rewinding back in the past the system time while ffmpeg is running. this is breaking the ffmpeg report printing (ffmepg.c:print_report()) and the the rate emulator functionality (-re) without the patch. Signed-off-by: Olivier Langlois <olivier@trillion01.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '0c1959b056f6ccaa2eee2c824352ba93c8e36d52'Michael Niedermayer2014-05-151-0/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0c1959b056f6ccaa2eee2c824352ba93c8e36d52': lavf: add AVFMT_FLAG_BITEXACT. Conflicts: doc/APIchanges libavformat/avformat.h libavformat/flacenc.c libavformat/movenc.c libavformat/oggenc.c libavformat/options_table.h libavformat/version.h tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: add AVFMT_FLAG_BITEXACT.Anton Khirnov2014-05-151-0/+4
| | | | | | | | | | | | | | | | 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.
* | swresample: swr_close()Michael Niedermayer2014-05-151-0/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '66e6c8a7b4e3ac926302529606bd3e323c28b20f'Michael Niedermayer2014-05-121-0/+3
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '66e6c8a7b4e3ac926302529606bd3e323c28b20f': lavu: Add a pixel format for new VDA hwaccel Conflicts: doc/APIchanges libavutil/pixfmt.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: Add a pixel format for new VDA hwaccelAnton Khirnov2014-05-111-0/+3
| | | | | | | | | | The current hwaccel is broken and cannot be fixed in a compatible way. It will be deprecated and replaced with a new one.
* | lavu/fifo: add av_fifo_freep functionLukasz Marek2014-05-071-0/+3
| | | | | | | | | | | | Function allows to free fifo and reset freed pointer. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | doc/APIchanges: more dates and hashesMichael Niedermayer2014-05-031-14/+14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/APIchanges: add hashes and datesLukasz Marek2014-05-031-5/+5
| | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/opt: add av_opt_set_dict2() functionLukasz Marek2014-05-021-0/+3
| | | | | | | | | | | | | | | | Existing av_opt_set_dict doesn't accept flags. It doesn't allow to pass options to nested structs. New function alllows that. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Merge commit 'a2941c8cb216bdc144953cace64973f5600ffa2d'Michael Niedermayer2014-05-011-0/+4
|\| | | | | | | | | | | | | | | | | | | * commit 'a2941c8cb216bdc144953cace64973f5600ffa2d': lavc: move CODEC_FLAG_MV0 to mpegvideo Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: move CODEC_FLAG_MV0 to mpegvideoAnton Khirnov2014-05-011-0/+4
| |
* | Merge commit '6484149158b6fc6d13d2b2ef84cb26a2d3275400'Michael Niedermayer2014-05-011-0/+4
|\| | | | | | | | | | | | | | | | | | | | | * commit '6484149158b6fc6d13d2b2ef84cb26a2d3275400': lavc: make the xvid-specific "gmc" flag a private option of libxvid Conflicts: libavcodec/libxvid.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: make the xvid-specific "gmc" flag a private option of libxvidAnton Khirnov2014-05-011-0/+4
| |
* | Merge commit 'b2c31710c96fa47d9dcd40b64d39663e8957f683'Michael Niedermayer2014-05-011-0/+4
|\| | | | | | | | | | | | | | | | | | | * commit 'b2c31710c96fa47d9dcd40b64d39663e8957f683': lavc: move CODEC_FLAG_NORMALIZE_AQP to mpegvideo Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: move CODEC_FLAG_NORMALIZE_AQP to mpegvideoAnton Khirnov2014-05-011-0/+4
| |
* | Merge commit '5fccedaa67390ccddd6347c8e1c71b7664558bcd'Michael Niedermayer2014-05-011-0/+4
|\| | | | | | | | | | | | | | | | | | | * commit '5fccedaa67390ccddd6347c8e1c71b7664558bcd': lavc: deprecate CODEC_FLAG_INPUT_PRESERVED Conflicts: doc/APIchanges Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: deprecate CODEC_FLAG_INPUT_PRESERVEDAnton Khirnov2014-05-011-0/+4
| | | | | | | | The addition of reference-counted frames makes it pointless.
* | lavc: minor bump and APIchanges for AVCodecDescriptor.mime_types.Nicolas George2014-04-291-0/+3
| | | | | | | | The minor bump also covers AV_CODEC_ID_BIN_DATA.
* | lavu/hash: add hash_final helpers.Nicolas George2014-04-291-0/+3
| | | | | | | | | | The helpers use local memory to compute the final hash, making AV_HASH_MAX_SIZE safe to use.
* | Merge commit 'ed4b757177f9b563412cdbc8ee3405d82e10fc05'Michael Niedermayer2014-04-291-0/+3
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'ed4b757177f9b563412cdbc8ee3405d82e10fc05': dxva2_h264: add a workaround for old Intel GPUs Conflicts: doc/APIchanges libavcodec/version.h See: 8b2a130d3fe61e348092714dffa425b63c4d796c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dxva2_h264: add a workaround for old Intel GPUsHendrik Leppkes2014-04-281-0/+3
| | | | | | | | | | | | | | | | | | | | 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>
| * avutil: Add av_get_time_base_q()Derek Buitenhuis2014-04-221-0/+3
| | | | | | | | | | | | | | | | This fixes usage of AV_TIME_BASE_Q in C++ applications, which cannot use compound literals directly in their code. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Fix bistream typosMichael Niedermayer2014-04-271-1/+1
| | | | | | | | | | Found-by: wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fix bistream typosMichael Niedermayer2014-04-271-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil: Add av_get_time_base_q()Derek Buitenhuis2014-04-221-0/+3
| | | | | | | | | | | | | | | | This fixes usage of AV_TIME_BASE_Q in C++ applications, which cannot use compound literals directly in their code. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '0983d48111f578e17e8c1967d25ce593fce62b63'Michael Niedermayer2014-04-171-0/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0983d48111f578e17e8c1967d25ce593fce62b63': crc: add ANSI CRC16 LE Conflicts: doc/APIchanges libavutil/crc.c libavutil/crc.h libavutil/version.h tests/ref/fate/crc Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * crc: add ANSI CRC16 LEAlessandro Ghedini2014-04-171-0/+3
| | | | | | | | | | | | This adds the reversed byte-order version of the ANSI CRC16. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avformat: add av_format_inject_global_side_data(), and disable it by defaultMichael Niedermayer2014-04-151-0/+3
| | | | | | | | | | | | | | | | | | | | After this commit applications needs to call av_format_inject_global_side_data() or handle AVStream side data by some other means if they want it not to be lost. This fixes a API incompatibility with libav. libav API does not allow the data to be passed through AVPackets Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/log: add av_log_get_flags()Michael Niedermayer2014-04-121-0/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd: add device capabilities APILukasz Marek2014-04-111-0/+4
| | | | | | | | | | | | | | Provides API to query device capabilities. Each device must implement callbacks to benefit from this API. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* | Merge commit '8b17243d1742279bcb2368f8d325ea71e66736c8'Michael Niedermayer2014-04-091-0/+3
|\| | | | | | | | | | | | | | | | | | | * commit '8b17243d1742279bcb2368f8d325ea71e66736c8': lavu: Add packed YVYU422 pixel format Conflicts: libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavu: Add packed YVYU422 pixel formatVittorio Giovara2014-04-071-0/+3
| |
* | Merge commit '8542f9c4f17125d483c40c0c5723842f1c982f81'Michael Niedermayer2014-04-041-0/+4
|\| | | | | | | | | | | | | | | | | | | * commit '8542f9c4f17125d483c40c0c5723842f1c982f81': replaygain: correctly parse peak values Conflicts: libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * replaygain: correctly parse peak valuesAlessandro Ghedini2014-04-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the ReplayGain spec, the peak amplitude may overflow and may result in peak amplitude values greater than 1.0 with psychoacoustically coded audio, such as MP3. Fully compliant decoders must allow peak overflows. Additionally, having peak values in the 0<->UINT32_MAX scale makes it more difficult for applications to actually use the peak values (e.g. when implementing clipping prevention) since values have to be rescaled down. This patch corrects the peak parsing by removing the rescaling of the decoded values between 0 and UINT32_MAX and the 1.0 upper limit. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '7763118cae4eb468b032dbd29af15a011c2c233b'Michael Niedermayer2014-04-031-0/+3
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '7763118cae4eb468b032dbd29af15a011c2c233b': log: Support for 256color terminals Conflicts: doc/APIchanges libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * log: Support for 256color terminalsLuca Barbato2014-04-031-0/+3
| | | | | | | | | | | | | | | | | | And provide extended coloring capabilities for debugging. The default colors do not change in 256 more to keep supporting people using Black on White, White on Black and Solarized terminals. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'lukaszmluki/master^'Michael Niedermayer2014-04-031-0/+4
|\ \ | | | | | | | | | | | | | | | | | | * commit 'lukaszmluki/master^': lavu/opt: extend AVOptionRange by extra values Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | lavu/opt: extend AVOptionRange by extra valuesLukasz Marek2014-04-031-0/+4
|/ / | | | | | | | | | | | | | | | | AVOptionRange is not flexible enough to store AV_OPT_TYPE_IMAGE_SIZE ranges. Current implementation can only store pixel count. This patch aims to keep backward compatibility and extend AVOptionRange with possibility to store width/height ranges. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* | lavu/mem: add av_dynarray_add_nofree functionLukasz Marek2014-03-291-0/+3
| | | | | | | | | | | | | | | | av_dynarray_add_nofree function have similar functionality as existing av_dynarray_add, but it doesn't deallocate memory on fails. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* | Merge commit 'd161ae0a37900cbd36c1390ca32a56b892c02ab5'Michael Niedermayer2014-03-241-0/+4
|\| | | | | | | | | | | | | | | | | | | * commit 'd161ae0a37900cbd36c1390ca32a56b892c02ab5': frame: add a function for removing side data from a frame Conflicts: libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * frame: add a function for removing side data from a frameAnton Khirnov2014-03-241-0/+4
| |
* | Merge commit '5a7e35dd2351c30bab45177b9482cb8833a0ca78'Michael Niedermayer2014-03-241-0/+7
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '5a7e35dd2351c30bab45177b9482cb8833a0ca78': Add replaygain side data type and code for parsing replaygain tags. Conflicts: libavcodec/avcodec.h libavcodec/version.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add replaygain side data type and code for parsing replaygain tags.Anton Khirnov2014-03-241-0/+7
| |
* | Merge commit '25b32586566f285d797737863c97a1c5c9c84e2b'Michael Niedermayer2014-03-241-0/+4
|\| | | | | | | | | | | | | | | | | | | | | * commit '25b32586566f285d797737863c97a1c5c9c84e2b': lavf: add an AVStream field for exporting stream-global side data Conflicts: libavformat/utils.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: add an AVStream field for exporting stream-global side dataAnton Khirnov2014-03-241-0/+4
| |
* | Merge commit '0e2c3ee9a335d8a0a5edf0509e222e804d7b2619'Michael Niedermayer2014-03-241-0/+4
|\| | | | | | | | | | | | | | | | | | | | | * commit '0e2c3ee9a335d8a0a5edf0509e222e804d7b2619': lavc: give a typedeffed name to the AVPacket.side_data struct Conflicts: doc/APIchanges libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: give a typedeffed name to the AVPacket.side_data structAnton Khirnov2014-03-241-0/+4
| |
* | Add APIchanges entry and bump libswscale micro version for making gray16 ↵Carl Eugen Hoyos2014-03-191-0/+3
| | | | | | | | full-scale.