summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
Commit message (Collapse)AuthorAge
...
* avcodec: add stream-level stereo3d side dataVittorio Giovara2014-08-28
|
* cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: drop the av_fast_{re,m}alloc compatibility wrappersAnton Khirnov2014-08-10
| | | | They were only needed until the bump.
* Remove obsolete FF_API_AVFRAME_COLORSPACE cruft.Anton Khirnov2014-08-09
|
* avcodec: Mark argument in av_{parser|hwaccel|bitstream_filter}_next as constDiego Biurrun2014-07-26
|
* build: Add define for SIMD extensions requiring 16-byte aligned buffersDiego Biurrun2014-07-22
|
* dsputil: Split motion estimation compare bits off into their own contextDiego Biurrun2014-07-17
|
* dsputil: Move draw_edges() to mpegvideoencdspDiego Biurrun2014-07-06
|
* lavc: do not allocate edges in the default get_buffer2()Anton Khirnov2014-06-26
|
* Add av_image_check_sar() and use it to validate SARJustin Ruggles2014-06-20
|
* libavcodec: set AVFrame colorspace fields on decodingwm42014-06-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* 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>
* lavc: remove the locking code in avcodec_close()Anton Khirnov2014-05-18
| | | | | This function should not modify any global state, so there should be no reason for any locking.
* lavc: Add hwaccel private data and init/uninit callbacksAnton Khirnov2014-05-11
|
* hwaccel: Support specific frame allocatorsLuca Barbato2014-05-11
| | | | It would reduce the boilerplate code users have to write.
* lavc: set AVCodecContext.hwaccel in ff_get_format()Anton Khirnov2014-05-11
| | | | This way each decoder does not have to do the same thing manually.
* lavc: Add an internal wrapper around get_format()Anton Khirnov2014-05-11
| | | | It will be useful in the following commits.
* lavc: do not use AVCodecContext.codec_name in avcodec_string()Anton Khirnov2014-05-01
| | | | That field will be deprecated.
* utils: add yvyu422 to avcodec_align_dimensions2Vittorio Giovara2014-04-19
|
* mpegvideo: operate with pointers to AVFrames instead of whole structswm42014-04-09
| | | | | | | | | | | | | The most interesting parts are initialization in ff_MPV_common_init() and uninitialization in ff_MPV_common_end(). ff_mpeg_unref_picture and ff_thread_release_buffer have additional NULL checks for Picture.f, because these functions can be called on uninitialized or partially initialized Pictures. NULL pointer checks are added to ff_thread_release_buffer() stub function. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libavcodec: when decoding, copy replaygain side data to decoded framesAnton Khirnov2014-03-24
|
* lavc: use AVFrame API properly in ff_reget_buffer()Anton Khirnov2014-02-24
|
* lavc: set AVFrame pkt_pts and reordered_opaque in reget_bufferJohn Stebbins2014-02-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: Suppress deprecation warnings from avcodec_alloc_frame()Diego Biurrun2014-02-04
| | | | The function is itself obsolete and slated for removal.
* lavc: do not force the emu edge flagAnton Khirnov2014-01-21
| | | | | | | The default get_buffer2() implementation (and possibly some user ones) does not allocate edges when this flag is set, which may expose bugs in some decoders. Until the 10 release is out, it is safer to remove this part.
* lavc: deprecate CODEC_FLAG_EMU_EDGE and avcodec_get_edge_width().Anton Khirnov2014-01-20
|
* lavc: allow the caller to override dimensions in ff_get_buffer()Anton Khirnov2014-01-20
| | | | This will be useful for allocating edges in the encoders.
* lavc: do not leak the internal frame if opening the codec failsAnton Khirnov2014-01-06
|
* lavc: add 422/444 YUV with alpha to align_dimensions()Anton Khirnov2014-01-06
| | | | Aligns frame dimensions to 16, which fixes potential invalid writes.
* avframe: add AV_FRAME_DATA_MATRIXENCODING side data type.Tim Walker2014-01-05
| | | | Includes a libavcodec utility function to update a frame's side data.
* lavc: deprecate avcodec_get_frame_defaults().Anton Khirnov2013-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 Khirnov2013-12-11
| | | | avcodec_get_frame_defaults() will be deprecated.
* lavc: deprecate avcodec_free_frame()Anton Khirnov2013-12-11
| | | | av_frame_free() should be used instead.
* lavc: rework handling of refcounted_frames=0Anton Khirnov2013-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 Khirnov2013-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 Khirnov2013-12-09
| | | | av_frame_unref() works fine on unallocated frames.
* lavc: use buf[0] instead of data[0] as the indicator of an allocated frameAnton Khirnov2013-12-09
| | | | data[0] may be NULL for valid frames with hwaccel pixel formats.
* lavc: remove the extended_data workarounds.Anton Khirnov2013-12-09
| | | | All decoders should now handle it properly.
* lavc: deprecate avcodec_alloc_frame().Anton Khirnov2013-11-16
|
* Replace all instances of avcodec_alloc_frame() with av_frame_alloc().Anton Khirnov2013-11-16
|
* Move av_fast_{m,re}alloc from lavc to lavu.Anton Khirnov2013-11-14
|
* hwaccel: Simplify ff_find_hwaccelLuca Barbato2013-11-10
| | | | It is always called by passing fields from an AVCodecContext.
* lavc: move AVCodecContext.pkt to AVCodecInternalAnton Khirnov2013-11-04
| | | | It's a private field, not meant to be accessed from outside lavc.
* pthread: store thread contexts in AVCodecInternal instead of AVCodecContextAnton Khirnov2013-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_dimensionsAnton Khirnov2013-10-31
|
* lavc: replace avcodec_set_dimensions with ff_set_dimensionsAnton Khirnov2013-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 Khirnov2013-10-30
|
* pcm: support 24-bit/32-bit little-endian planarPaul B Mahol2013-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_ARMDiego Biurrun2013-08-21
|