Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | lavc: deprecate CODEC_FLAG_EMU_EDGE and avcodec_get_edge_width(). | Anton Khirnov | 2014-01-20 |
| | |||
* | lavc: allow the caller to override dimensions in ff_get_buffer() | Anton Khirnov | 2014-01-20 |
| | | | | This will be useful for allocating edges in the encoders. | ||
* | lavc: do not leak the internal frame if opening the codec fails | Anton Khirnov | 2014-01-06 |
| | |||
* | lavc: add 422/444 YUV with alpha to align_dimensions() | Anton Khirnov | 2014-01-06 |
| | | | | Aligns frame dimensions to 16, which fixes potential invalid writes. | ||
* | avframe: add AV_FRAME_DATA_MATRIXENCODING side data type. | Tim Walker | 2014-01-05 |
| | | | | Includes a libavcodec utility function to update a frame's side data. | ||
* | lavc: deprecate avcodec_get_frame_defaults(). | Anton Khirnov | 2013-12-11 |
| | | | | | Also bump libavcodec micro and add an APIchanges entry saying that av_frame_* should now be used instead of the lavc AVFrame functions. | ||
* | lavc: call av_frame_unref() instead of avcodec_get_frame_defaults(). | Anton Khirnov | 2013-12-11 |
| | | | | avcodec_get_frame_defaults() will be deprecated. | ||
* | lavc: deprecate avcodec_free_frame() | Anton Khirnov | 2013-12-11 |
| | | | | av_frame_free() should be used instead. | ||
* | lavc: rework handling of refcounted_frames=0 | Anton Khirnov | 2013-12-09 |
| | | | | | | | | | Use only proper AVFrame API (no assigning of whole frames, since that hardcodes sizeof(AVFrame) into lavc). Make a copy of the side data, so the caller can use av_frame_unref/free on non-refcounted frames, eliminating the need for avcodec_get_frame_defaults()/avcodec_free_frame(). | ||
* | lavc/decode_video(): always unref the frame if there is no output in ↵ | Anton Khirnov | 2013-12-09 |
| | | | | | | | | decode_video Not just on failure. This is the same thing that is done in the audio path and should prevent leaks in decoders that allocate a frame, but then end up not writing into it. | ||
* | lavc: remove a pointless check in decode_audio4() | Anton Khirnov | 2013-12-09 |
| | | | | av_frame_unref() works fine on unallocated frames. | ||
* | lavc: use buf[0] instead of data[0] as the indicator of an allocated frame | Anton Khirnov | 2013-12-09 |
| | | | | data[0] may be NULL for valid frames with hwaccel pixel formats. | ||
* | lavc: remove the extended_data workarounds. | Anton Khirnov | 2013-12-09 |
| | | | | All decoders should now handle it properly. | ||
* | lavc: deprecate avcodec_alloc_frame(). | Anton Khirnov | 2013-11-16 |
| | |||
* | Replace all instances of avcodec_alloc_frame() with av_frame_alloc(). | Anton Khirnov | 2013-11-16 |
| | |||
* | Move av_fast_{m,re}alloc from lavc to lavu. | Anton Khirnov | 2013-11-14 |
| | |||
* | hwaccel: Simplify ff_find_hwaccel | Luca Barbato | 2013-11-10 |
| | | | | It is always called by passing fields from an AVCodecContext. | ||
* | lavc: move AVCodecContext.pkt to AVCodecInternal | Anton Khirnov | 2013-11-04 |
| | | | | It's a private field, not meant to be accessed from outside lavc. | ||
* | pthread: store thread contexts in AVCodecInternal instead of AVCodecContext | Anton Khirnov | 2013-11-04 |
| | | | | | | It's a private field, it should not be visible to callers. Deprecate AVCodecContext.thread_opaque | ||
* | lavc/utils: stop using deprecated avcodec_set_dimensions | Anton Khirnov | 2013-10-31 |
| | |||
* | lavc: replace avcodec_set_dimensions with ff_set_dimensions | Anton Khirnov | 2013-10-31 |
| | | | | | | avcodec_set_dimensions() is supposed to be an internal utility function, there is no reason whatsoever for it to be public. Therefore deprecate it. | ||
* | lavc: add error checking to apply_param_change. | Anton Khirnov | 2013-10-30 |
| | |||
* | pcm: support 24-bit/32-bit little-endian planar | Paul B Mahol | 2013-09-27 |
| | | | | | | Used by LXF. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||
* | avcodec/utils: Simplify a condition that combines HAVE_NEON and ARCH_ARM | Diego Biurrun | 2013-08-21 |
| | |||
* | Disable deprecation warnings for cases where a replacement is available | Diego Biurrun | 2013-08-02 |
| | |||
* | lavc: free the padded last frame during audio encoding properly | Anton Khirnov | 2013-06-20 |
| | |||
* | utils: fix avcodec_flush_buffers pre-reference counting compatibility | Janne Grunau | 2013-06-16 |
| | | | | | | | | | | | | The to_free AVframe must be freed just like the other ones. Indeed, the calling application may expect all frames to be released. (This regression caused use-after-free in VLC with hwaccel.) Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||
* | lavc: use AVFrame API properly in pad_last_frame(). | Anton Khirnov | 2013-06-10 |
| | | | | This also simplifies the code. | ||
* | lavc/pthread: remove obsolete checks | Anton Khirnov | 2013-05-17 |
| | | | | | | Those were useful when avcodec_thread_init() was a public functions. It was deprecated and removed some time ago, so those checks are not needed anymore. | ||
* | pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* | Anton Khirnov | 2013-05-15 |
| | |||
* | lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors) | Matt Wolenetz | 2013-05-14 |
| | | | | | | This fixes https://bugzilla.libav.org/show_bug.cgi?id=514. Signed-off-by: Martin Storsjö <martin@martin.st> | ||
* | lavc: do not leak frames in avcodec_decode_audio4 | Luca Barbato | 2013-05-07 |
| | | | | | | | Notwithstanding the return value the frame should be freed if is not going to be used. Reported-by: Matthew Wolenetz <wolenetz@chromium.org> | ||
* | avcodec: Add av_cold attributes to init functions missing them | Diego Biurrun | 2013-05-04 |
| | |||
* | avcodec: Drop unnecessary ff_ name prefixes from static functions | Diego Biurrun | 2013-04-30 |
| | |||
* | lavc: clear AVBuffers on decoded frames if refcounted_frames is not set | Anton Khirnov | 2013-04-30 |
| | | | | | Otherwise some code might mistakenly think it is allowed to unref those buffers, which would lead to double unref. | ||
* | ff_get_buffer(): allocate the frame for max(coded,display) dimensions | Anton Khirnov | 2013-04-19 |
| | | | | Needed e.g. for h264 cropping to work properly. | ||
* | lavc: don't overwrite display dimensions with coded dimensions. | Anton Khirnov | 2013-04-10 |
| | |||
* | dsputil: Make dsputil selectable | Ronald S. Bultje | 2013-04-10 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||
* | utils: add workaround for AVHWAccel in ff_get_buffer compat code | Janne Grunau | 2013-03-26 |
| | | | | | | | Since c977039e585bfff28ecc037ef827c6c3d1ed88aa plane count for PIX_FMT_HWACCEL pixel formats is 0 instead of 1. The created dummy AVBuffers are still bogus since AVFrame does not hold frame data when AVHWAccels are used. | ||
* | lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo | Martin Storsjö | 2013-03-26 |
| | | | | | | | Also move the declaration to internal.h, and add restrict qualifiers to the declaration (as in the implementation). Signed-off-by: Martin Storsjö <martin@martin.st> | ||
* | lavc: Move start code finding to utils.c | Martin Storsjö | 2013-03-26 |
| | | | | | | | | | | This allows dropping the mpegvideo dependency from a number of components. This also fixes standalone building of the h264 parser, which was broken in 64e438697. Signed-off-by: Martin Storsjö <martin@martin.st> | ||
* | lavc, lavfi: fix counting number of planes in AVBufferRef wrappers | Anton Khirnov | 2013-03-19 |
| | | | | | | Number of planes is not always equal to the number of components even for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components in two planes. | ||
* | lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappers | Anton Khirnov | 2013-03-17 |
| | | | | | It is supposed to be height * linesize, not width * linesize. Thanks to Hendrik Leppkes for pointing out the bug. | ||
* | Add av_log_{ask_for_sample|missing_feature} replacements to libavutil | Diego Biurrun | 2013-03-13 |
| | | | | | This allows reporting missing features and requesting samples from all libraries in a standard way; with a simplified API. | ||
* | avframe: call release_buffer only if it is set | Janne Grunau | 2013-03-11 |
| | | | | | | AVCodecContext release_buffer() shall be NULL for audio codecs using get_buffer. The backward compatibility code hence have to check before calling it. | ||
* | lavc: fix get_buffer() compatibility layer for audio. | Anton Khirnov | 2013-03-10 |
| | | | | | planes - FF_ARRAY_ELEMS would be evaluated as unsigned and underflow instead of being negative as was intended. | ||
* | lavc: remove disabled FF_API_OLD_ENCODE_VIDEO cruft | Anton Khirnov | 2013-03-09 |
| | |||
* | lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruft | Anton Khirnov | 2013-03-09 |
| | |||
* | lavc: remove disabled FF_API_OLD_DECODE_AUDIO cruft | Anton Khirnov | 2013-03-09 |
| | |||
* | lavc: update the fallback versions of ff_thread_* | Anton Khirnov | 2013-03-08 |
| | | | | | Fixes build without threads after 759001c534287a96dc96d1e274665feb7059145d. |