Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-06 | 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 | |
Aligns frame dimensions to 16, which fixes potential invalid writes. | |||
2014-01-05 | avframe: add AV_FRAME_DATA_MATRIXENCODING side data type. | Tim Walker | |
Includes a libavcodec utility function to update a frame's side data. | |||
2013-12-11 | lavc: deprecate avcodec_get_frame_defaults(). | Anton Khirnov | |
Also bump libavcodec micro and add an APIchanges entry saying that av_frame_* should now be used instead of the lavc AVFrame functions. | |||
2013-12-11 | lavc: call av_frame_unref() instead of avcodec_get_frame_defaults(). | Anton Khirnov | |
avcodec_get_frame_defaults() will be deprecated. | |||
2013-12-11 | lavc: deprecate avcodec_free_frame() | Anton Khirnov | |
av_frame_free() should be used instead. | |||
2013-12-09 | lavc: rework handling of refcounted_frames=0 | Anton Khirnov | |
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(). | |||
2013-12-09 | lavc/decode_video(): always unref the frame if there is no output in ↵ | Anton Khirnov | |
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. | |||
2013-12-09 | lavc: remove a pointless check in decode_audio4() | Anton Khirnov | |
av_frame_unref() works fine on unallocated frames. | |||
2013-12-09 | lavc: use buf[0] instead of data[0] as the indicator of an allocated frame | Anton Khirnov | |
data[0] may be NULL for valid frames with hwaccel pixel formats. | |||
2013-12-09 | lavc: remove the extended_data workarounds. | Anton Khirnov | |
All decoders should now handle it properly. | |||
2013-11-16 | 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-14 | Move av_fast_{m,re}alloc from lavc to lavu. | Anton Khirnov | |
2013-11-10 | hwaccel: Simplify ff_find_hwaccel | Luca Barbato | |
It is always called by passing fields from an AVCodecContext. | |||
2013-11-04 | lavc: move AVCodecContext.pkt to AVCodecInternal | Anton Khirnov | |
It's a private field, not meant to be accessed from outside lavc. | |||
2013-11-04 | pthread: store thread contexts in AVCodecInternal instead of AVCodecContext | Anton Khirnov | |
It's a private field, it should not be visible to callers. Deprecate AVCodecContext.thread_opaque | |||
2013-10-31 | lavc/utils: stop using deprecated avcodec_set_dimensions | Anton Khirnov | |
2013-10-31 | lavc: replace avcodec_set_dimensions with ff_set_dimensions | Anton Khirnov | |
avcodec_set_dimensions() is supposed to be an internal utility function, there is no reason whatsoever for it to be public. Therefore deprecate it. | |||
2013-10-30 | lavc: add error checking to apply_param_change. | Anton Khirnov | |
2013-09-27 | pcm: support 24-bit/32-bit little-endian planar | Paul B Mahol | |
Used by LXF. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | |||
2013-08-21 | avcodec/utils: Simplify a condition that combines HAVE_NEON and ARCH_ARM | Diego Biurrun | |
2013-08-02 | Disable deprecation warnings for cases where a replacement is available | Diego Biurrun | |
2013-06-20 | lavc: free the padded last frame during audio encoding properly | Anton Khirnov | |
2013-06-16 | utils: fix avcodec_flush_buffers pre-reference counting compatibility | Janne Grunau | |
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> | |||
2013-06-10 | lavc: use AVFrame API properly in pad_last_frame(). | Anton Khirnov | |
This also simplifies the code. | |||
2013-05-17 | lavc/pthread: remove obsolete checks | Anton Khirnov | |
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. | |||
2013-05-15 | pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* | Anton Khirnov | |
2013-05-14 | lavc: Fix msvc compilation of utils.c with -WX (warnings treated as errors) | Matt Wolenetz | |
This fixes https://bugzilla.libav.org/show_bug.cgi?id=514. Signed-off-by: Martin Storsjö <martin@martin.st> | |||
2013-05-07 | lavc: do not leak frames in avcodec_decode_audio4 | Luca Barbato | |
Notwithstanding the return value the frame should be freed if is not going to be used. Reported-by: Matthew Wolenetz <wolenetz@chromium.org> | |||
2013-05-04 | avcodec: Add av_cold attributes to init functions missing them | Diego Biurrun | |
2013-04-30 | 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 | |
Otherwise some code might mistakenly think it is allowed to unref those buffers, which would lead to double unref. | |||
2013-04-19 | ff_get_buffer(): allocate the frame for max(coded,display) dimensions | Anton Khirnov | |
Needed e.g. for h264 cropping to work properly. | |||
2013-04-10 | lavc: don't overwrite display dimensions with coded dimensions. | Anton Khirnov | |
2013-04-10 | dsputil: Make dsputil selectable | Ronald S. Bultje | |
Signed-off-by: Martin Storsjö <martin@martin.st> | |||
2013-03-26 | utils: add workaround for AVHWAccel in ff_get_buffer compat code | Janne Grunau | |
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. | |||
2013-03-26 | lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo | Martin Storsjö | |
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> | |||
2013-03-26 | lavc: Move start code finding to utils.c | Martin Storsjö | |
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> | |||
2013-03-19 | lavc, lavfi: fix counting number of planes in AVBufferRef wrappers | Anton Khirnov | |
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. | |||
2013-03-17 | lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappers | Anton Khirnov | |
It is supposed to be height * linesize, not width * linesize. Thanks to Hendrik Leppkes for pointing out the bug. | |||
2013-03-13 | Add av_log_{ask_for_sample|missing_feature} replacements to libavutil | Diego Biurrun | |
This allows reporting missing features and requesting samples from all libraries in a standard way; with a simplified API. | |||
2013-03-11 | avframe: call release_buffer only if it is set | Janne Grunau | |
AVCodecContext release_buffer() shall be NULL for audio codecs using get_buffer. The backward compatibility code hence have to check before calling it. | |||
2013-03-11 | lavc: fix get_buffer() compatibility layer for audio. | Anton Khirnov | |
planes - FF_ARRAY_ELEMS would be evaluated as unsigned and underflow instead of being negative as was intended. | |||
2013-03-09 | 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-08 | lavc: update the fallback versions of ff_thread_* | Anton Khirnov | |
Fixes build without threads after 759001c534287a96dc96d1e274665feb7059145d. | |||
2013-03-08 | lavc: make up a fake frame channel layout when there is no real one. | Anton Khirnov | |
This should ensure that a valid channel layout is always set on a frame, until a better solution is implemented. | |||
2013-03-08 | lavc: allow decoders to override frame parameters. | Anton Khirnov | |