summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.c
Commit message (Collapse)AuthorAge
* imgconvert: Add the proper API guards to a deprecated functionVittorio Giovara2016-01-21
|
* imgconvert: Move AVPicture-related static function to the deprecated sectionVittorio Giovara2016-01-21
|
* imgconvert: Move the shrink functions only where neededVittorio Giovara2016-01-21
|
* imgconvert: Drop outdated comment blockVittorio Giovara2016-01-21
|
* imgconvert: Re-enable the deprecation warningsLuca Barbato2015-12-05
| | | | | | The end-marked was typoed in f7edcac040f73635fc1127489c9bb29ca8b43532
* avpicture: Suppress warning from deprecated codeLuca Barbato2015-12-05
|
* lavc: Deprecate AVPicture structure and related functionsVittorio Giovara2015-10-22
| | | | | | | | | | | | | | | | | This structure served as a bridge between data pointers and frames, but it suffers from several limitations: - it is not refcounted and data must be copied to every time - it cannot be expanded without ABI break due to being used on the stack - its functions are just wrappers to imgutils which add a layer of unneeded indirection, and maintenance burden - it allows hacks like embedding uncompressed data in packets - its use is often confusing to our users AVFrame provides a much better API, and, if a full blown frame is not needed, it is just as simple and more straightfoward to use data and linesize arrays directly. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fieldsVittorio Giovara2015-09-07
| | | | | | The new fields can be accessed directly and are more intelligible. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Drop deprecated deinterlace moduleVittorio Giovara2015-08-28
| | | | Deprecated in 03/2013.
* imgutils: Fix a typo in avcodec_get_pix_fmt_lossLuca Barbato2015-08-21
| | | | | | | If the candidate does not have alpha and the source does have alpha report the loss of alpha. CC: libav-stable@libav.org
* imgconvert: check memory allocations and propagate errorsVittorio Giovara2014-12-18
|
* imgconvert: cosmetics: Reshuffle defines to reduce ifdefferyDiego Biurrun2014-07-21
|
* dsputil: Move ff_zigzag_direct and ff_crop_tab declarations to mathops.hDiego Biurrun2014-03-22
|
* imgconvert: Move ff_deinterlace_line_*_mmx declarations out of dsputilDiego Biurrun2014-03-22
|
* dsputil: cosmetics: Lose camelCase on ff_cropTbl and ff_squareTbl namesDiego Biurrun2014-03-13
| | | | Also switch from "tbl" to "tab" name suffixes.
* pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
|
* x86: dsputil: Rename dsputil_mmx.h --> dsputil_x86.hDiego Biurrun2013-05-12
| | | | The header is not (anymore) MMX-specific.
* lavc: Make pointers to ff_cropTbl constMartin Storsjö2013-04-08
| | | | | | There's no point in these pointers not being const. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: remove disabled FF_API_FIND_BEST_PIX_FMT cruftAnton Khirnov2013-03-09
|
* lavc: Deprecate the deinterlace functions in libavcodecRonald S. Bultje2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Move ff_shrink* function declarations to separate headerDiego Biurrun2013-02-07
|
* imgconvert: remove PixFmtInfoLuca Barbato2012-11-20
| | | | It is pleonastic and was used in stale functions pending replacement.
* avcodec: split avpicture from imgconvertLuca Barbato2012-11-20
| | | | All the non deprecated functions are in avpicture.c now.
* avcodec: remove ff_is_hwaccel_pix_fmtLuca Barbato2012-11-13
| | | | | It is used only in one place and is unlikely it would be needed elsewhere.
* lavc: do not use av_pix_fmt_descriptors directly.Anton Khirnov2012-10-12
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* avcodec: Drop long-deprecated imgconvert.h headerDiego Biurrun2012-09-27
|
* x86: Split inline and external assembly #ifdefsDiego Biurrun2012-08-31
|
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* imgconvert: deprecate avcodec_find_best_pix_fmt()Janne Grunau2012-07-13
|
* imgconvert: add avcodec_find_best_pix_fmt2()Janne Grunau2012-07-13
| | | | | | | The number of pixel formats outgrew the number of available bits in the bitmask used in avcodec_find_best_pix_fmt(). avcodec_find_best_pix_fmt2() uses a PIX_FMT_NONE terminated list of pixel formats instead.
* imgconvert: avoid undefined left shift in avcodec_find_best_pix_fmtJanne Grunau2012-07-13
| | | | CC: libav-stable@libav.org
* pixdesc: mark pseudopaletted formats with a special flag.Anton Khirnov2012-02-08
| | | | | | This makes it possible to dintinguish them from PAL8. Fixes an invalid write in avpicture_layout().
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* lavc: remove disabled FF_API_GET_ALPHA_INFO cruft.Anton Khirnov2012-01-27
|
* lavc: remove disabled FF_API_GET_PIX_FMT_NAME cruft.Anton Khirnov2012-01-27
|
* Drop some pointless void* return value casts from av_malloc() invocations.Diego Biurrun2012-01-02
|
* lavc: deprecate img_get_alpha_info().Anton Khirnov2011-10-20
| | | | | | It's never been touched or used in any way since it was added in 2003 and only works for PIX_FMT_PAL8, which makes me conclude that nobody's ever used it.
* imgconvert: remove unused glue and xglue macrosStefano Sabatini2011-07-21
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavu: add av_get_pix_fmt_name() convenience functionStefano Sabatini2011-05-28
| | | | | | Also deprecate avcodec_get_pix_fmt_name() in its favor. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavc: remove misc disabled cruft.Anton Khirnov2011-04-19
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Fix avpicture_alloc(), which was aligning the linesizes with 0 and thusStefano Sabatini2010-12-12
| | | | | | causing a wrong allocation. Originally committed as revision 25938 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avpicture_alloc() return meaningful values.Stefano Sabatini2010-12-08
| | | | Originally committed as revision 25922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent.Stefano Sabatini2010-12-08
| | | | Originally committed as revision 25921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_image_alloc() in avpicture_alloc(), simplify.Stefano Sabatini2010-12-08
| | | | Originally committed as revision 25920 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate avcodec_pix_fmt_string() in favor ofStefano Sabatini2010-12-04
| | | | | | av_get_pix_fmt_string(), added to libavutil/pixdesc.h. Originally committed as revision 25879 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix pointer truncation to int in avpicture_layout()Ramiro Polla2010-11-22
| | | | Originally committed as revision 25793 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-implement avpicture_layout() using pixdesc and imgutils API.Stefano Sabatini2010-11-21
| | | | | | | The new implementation is more compact, more correct and doesn't hurt the eyes. Originally committed as revision 25792 to svn://svn.ffmpeg.org/ffmpeg/trunk