summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.c
Commit message (Collapse)AuthorAge
...
* Remove redundant assignment from avcodec_get_pix_fmt_loss() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18564 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentationBaptiste Coudurier2009-04-14
| | | | Originally committed as revision 18503 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid strcmp NULL, fix segv on mingwBaptiste Coudurier2009-04-14
| | | | Originally committed as revision 18502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the pixel formats which were defined as macros:Stefano Sabatini2009-03-22
| | | | | | | | | | | | | | | | | | | | | | PIX_FMT_ARGB PIX_FMT_RGBA PIX_FMT_ABGR PIX_FMT_BGRA defined as enum PixelFormat values, and viceversa make: PIX_FMT_RGB32 PIX_FMT_RGB32_1 PIX_FMT_BGR32 PIX_FMT_BGR32_1 defined as macros, also resort accordingly the enum PixelFormat list. Also make avcodec_get_pix_fmt() recognize the "rgb32" and "bgr32" aliases, in order to make ffmpeg pass regressions test. This change breaks ABI backward compatibility. Originally committed as revision 18163 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize: use the X_NE() macro in avcodec_get_pix_fmt().Stefano Sabatini2009-03-22
| | | | Originally committed as revision 18160 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement X_NE() macro.Stefano Sabatini2009-03-22
| | | | Originally committed as revision 18158 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the RGB5X5/BGR5X5 pixel format defines so that we have littleStefano Sabatini2009-03-21
| | | | | | | | endian and big endian variants instead of native-endian ones. This patch breaks API/ABI backward-compatibility. Originally committed as revision 18133 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend the behavior of avcodec_get_pix_fmt(), if it cannot find aStefano Sabatini2009-03-21
| | | | | | | pixel format for the provided name, make it look for the native endian variant of the name. Originally committed as revision 18130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally prefer enum PixelFormat over int when it makes sense.Stefano Sabatini2009-03-21
| | | | Originally committed as revision 18129 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix avpicture_get_size for non-paletted formats with a helper paletteReimar Döffinger2009-03-21
| | | | | | | to not include the size of that palette. Also clarify its documentation. Originally committed as revision 18106 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not set linesize for palette data, it does not make sense and createsReimar Döffinger2009-03-19
| | | | | | problems with following patch to fix linesize alignment. Originally committed as revision 18046 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove old scaler.Michael Niedermayer2009-03-03
| | | | Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set PixFmtInfo::{x, y}_chroma_shift for VDPAU and VAAPI formats.Gwenole Beauchesne2009-03-03
| | | | Originally committed as revision 17766 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix avpicture_layout to not chroma shift the alpha plane when outputting ↵Cédric Schieli2009-02-28
| | | | | | YUVA420P Originally committed as revision 17654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VA API pixel formats.Gwenole Beauchesne2009-02-27
| | | | | | Patch by Gwenole Beauchesne. Originally committed as revision 17634 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Approved hunks for VAAPI / our new shiny hwaccel APIMichael Niedermayer2009-02-23
| | | | | | by Gwenole Beauchesne gbeauchesne splitted desktop com Originally committed as revision 17539 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing av_cold in static init/close functions.Daniel Verkamp2009-02-22
| | | | | | Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add PIX_FMT_RGB48BE and PIX_FMT_RGB48LE.Peter Ross2009-02-22
| | | | Originally committed as revision 17510 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a default (error) for the switch in case of an unsupported PIX_FMT.Patrik Kullman2009-02-10
| | | | | | | Removes warnings about possibly uninitialized variables. Patch by Patrik Kullman %patrik A yes P nu% Originally committed as revision 17130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that the palette is set in data[1] for all 8bit formats.Michael Niedermayer2009-02-06
| | | | | | Also document it. Originally committed as revision 17018 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VDPAU hardware accelerated decoding for WMV3 and VC1 which canNVIDIA Corporation2009-01-20
| | | | | | | | be used by video players. Original patch by NVIDIA corporation. Originally committed as revision 16699 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which canNVIDIA Corporation2009-01-16
| | | | | | | | be used by video players. Original patch by NVIDIA corporation. Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VDPAU hardware accelerated decoding for H264 which can be used byNVIDIA Corporation2009-01-04
| | | | | | | | video players. Original patch by NVIDIA corporation. Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename libavcodec/i386/ --> libavcodec/x86/.Diego Biurrun2008-12-22
| | | | | | | It contains optimizations that are not specific to i386 and libavutil uses this naming scheme already. Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent shift overflow, patch by Anders Grönberg, galileo.m2 gmail com.Anders Grönberg2008-12-14
| | | | Originally committed as revision 16121 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of mmx_t.Aurelien Jacobs2008-12-14
| | | | Originally committed as revision 16116 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable, patch by Art Clarke, aclarke vlideshow com.Art Clarke2008-10-30
| | | | Originally committed as revision 15748 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix av_picture_copy missing pixels on packed planar AVPictures with odd size.Art Clarke2008-10-29
| | | | | | patch by Art Clarke, aclarke vlideshow com Originally committed as revision 15744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename template included sources from .h to _template.c.Diego Pettenò2008-10-27
| | | | | | | | | | | | There are multiple source files that are #include'd rather than compiled, as they are used as template for generation of similar code, like asm-optimised code. Some of these files are right now named with a .h extension, although they are not header in any reasonable sense. Rename them so that instead of being named with .h extension they are named with _template.c as final part. Originally committed as revision 15730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 ↵Michael Niedermayer2008-09-08
| | | | | | pix_fmts. Originally committed as revision 15271 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove stuff under #if LIBAVCODEC_VERSION_INT.Michael Niedermayer2008-09-08
| | | | Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add graceful error handling to avcodec_get_pix_fmt_name() and ↵Peter Ross2008-08-03
| | | | | | avcodec_get_pix_fmt(). Originally committed as revision 14513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* memcpy considering output width, not src linesize, fix segv with av_picture_padBaptiste Coudurier2008-06-01
| | | | Originally committed as revision 13594 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not read from prior the array, fix CID 127.Michael Niedermayer2008-05-27
| | | | Originally committed as revision 13471 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-06
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move functions that are only used when libswscale is not compiled in belowDiego Biurrun2008-03-16
| | | | | | | the appropriate #ifdef. This avoids a bunch of "defined but not used" warnings when compiling with libswscale enabled. Originally committed as revision 12463 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename --enable-swscaler --> enable-swscale to be consistent with theDiego Biurrun2008-03-10
| | | | | | directory name and other option names. Also rename variables accordingly. Originally committed as revision 12408 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This should not be part of the public APIVitor Sessak2008-02-15
| | | | Originally committed as revision 11960 to svn://svn.ffmpeg.org/ffmpeg/trunk
* My commit in r11942 broke compilation.Vitor Sessak2008-02-15
| | | | | | This fixes it. Originally committed as revision 11959 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split avpicture_fill() in two functions. This will beVitor Sessak2008-02-15
| | | | | | | useful for libavfilter and to simplify avcodec_default_get_buffer(). Originally committed as revision 11942 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo fix: inited --> initializedDiego Biurrun2008-02-13
| | | | Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factor bytewidth determination in its own functionVitor Sessak2008-02-11
| | | | Originally committed as revision 11907 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cast to dest type, fix warning imgconvert.c:1958: warning: assignment from ↵Baptiste Coudurier2008-01-31
| | | | | | incompatible pointer type Originally committed as revision 11675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid infinite loop if pixel format conversion does not existBaptiste Coudurier2007-12-18
| | | | Originally committed as revision 11259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spellingVitor Sessak2007-12-01
| | | | Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enable avpicture_deinterlace() for PIX_FMT_GRAY8.Andrea Gualano2007-10-11
| | | | | | Patch by Andrea Gualano, gualano T imavis O com Originally committed as revision 10712 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use emms_c() instead of ifdefRonald S. Bultje2007-09-29
| | | | | | patch by: Ronald S. Bultje rsbultje a gmail d com Originally committed as revision 10616 to svn://svn.ffmpeg.org/ffmpeg/trunk