summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.c
Commit message (Collapse)AuthorAge
* Reindent.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25068 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_picture_data_copy() to libavcore, and rename itStefano Sabatini2010-09-07
| | | | | | av_image_copy(). Originally committed as revision 25067 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reimplement av_picture_data_copy() avoiding the use of PixFmtInfoStefano Sabatini2010-09-07
| | | | | | | | information. Required for moving the function to libavcore. Originally committed as revision 25066 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after the last commit.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25065 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reimplement ff_img_copy_plane() as av_image_copy_plane() in libavcore,Stefano Sabatini2010-09-07
| | | | | | and deprecate the old function. Originally committed as revision 25064 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: remove useless ().Stefano Sabatini2010-08-21
| | | | Originally committed as revision 24860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate ff_get_plane_bytewidth() in favor ofStefano Sabatini2010-08-12
| | | | | | av_get_image_linesize(). Originally committed as revision 24787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement av_get_image_linesize() and use it inStefano Sabatini2010-08-12
| | | | | | | | ff_get_plane_bytewidth(). The new implementation is more generic, more compact and more correct. Originally committed as revision 24786 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_picture_data_copy() and reimplement av_picture_copy() as aS.N. Hemanth Meenakshisundaram2010-08-11
| | | | | | | | | | | wrapper of it. The new function is more generic, and does not depend on the definition of the AVPicture struct. Patch by S.N. Hemanth Meenakshisundaram s + "meenakshisundaram".substr(0, 7) + "@ucsd.edu". Originally committed as revision 24768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove use of the deprecated function avcodec_check_dimensions(), useStefano Sabatini2010-08-06
| | | | | | av_check_image_size() instead. Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize,Stefano Sabatini2010-07-31
| | | | | | and drop the the ff_ variants at the next major bump. Originally committed as revision 24620 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with --disable-yasm. 10l to me.Vitor Sessak2010-07-31
| | | | Originally committed as revision 24617 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert deinterlacing MMX code to YASMVitor Sessak2010-07-31
| | | | Originally committed as revision 24615 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avpicture_fill() directly call av_fill_image_linesizes() andStefano Sabatini2010-07-30
| | | | | | | | | av_fill_image_pointers() rather than their wrappers ff_fill_linesize() and ff_fill_pointer(). Improve performance. Originally committed as revision 24587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move fill_image_linesize() and fill_image_data_ptr() fromStefano Sabatini2010-07-29
| | | | | | | libavcodec/imgconvert.c and make them public in libavcore/imgutils.h, with the names av_fill_image_linesizes() and av_fill_image_pointers(). Originally committed as revision 24583 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define static functions fill_image_linesize() andS.N. Hemanth Meenakshisundaram2010-07-26
| | | | | | | | | | | | fill_image_data_ptr(). ff_fill_linesize() and ff_fill_pointer() now wrap these functions. The new functions are more generic, and are going to be exported in a future patch. Patch by S.N. Hemanth Meenakshisundaram smeenaks # ucsd § edu. Originally committed as revision 24512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move colorspace.h from libavcodec to libavutil.Stefano Sabatini2010-07-01
| | | | | | Avoid a compile-time dependency of the pad filter on libavcodec. Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix width computation for nv12/nv21 in ff_get_plane_bytewidth().Stefano Sabatini2010-06-06
| | | | Originally committed as revision 23507 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add PIX_FMT_Y400A, 8bit gray, 8bit alphaAndreas Öman2010-04-14
| | | | Originally committed as revision 22881 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_fill_linesize() use the information stored inStefano Sabatini2010-04-11
| | | | | | | | av_pix_fmt_descriptors. Allow simplification and a more generic implementation. Originally committed as revision 22836 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Round correctly chroma picture height.Vitor Sessak2010-03-05
| | | | | | Fix issue 956. Originally committed as revision 22223 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add initial support for 12-bit color mode.Janusz Krzysztofik2010-03-05
| | | | | | | | | Patch by Janusz Krzysztofik jkrzyszt tis icnet pl Original thread: Subject: [FFmpeg-devel] [PATCH v2] Add initial support for 12-bit color mode. Date: Mon, 1 Mar 2010 02:05:07 +0100 Originally committed as revision 22220 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix BGR cases missing from depth test in avcodec_get_pix_fmt_loss().Janusz Krzysztofik2010-03-05
| | | | | | | Patch by Janusz Krzysztofik: <${name initial}${surname less the final "ofik"}@tis.icnet.pl>. Originally committed as revision 22215 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include internal.h and imgconvert.h, they contain the prototypes for theCarl Eugen Hoyos2010-02-28
| | | | | | | | following functions: ff_is_hwaccel_pix_fmt(), ff_set_systematic_pal(), ff_fill_linesize(), ff_fill_pointer(), ff_get_plane_bytewidth() Originally committed as revision 22106 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement av_get_pix_fmt(), and deprecate avcodec_get_pix_fmt().Stefano Sabatini2010-01-30
| | | | Originally committed as revision 21545 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use PIX_FMT_NONE for -1 when enum PixelFormat is expected (fixes two icc ↵Carl Eugen Hoyos2009-12-14
| | | | | | warnings). Originally committed as revision 20860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: remove empty definitions of hw-accelerated PixFmtInfoStefano Sabatini2009-12-04
| | | | | | structs. Originally committed as revision 20733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use pixel formats names defined in av_pix_fmt_descriptors rather thanStefano Sabatini2009-11-28
| | | | | | | in those in pix_fmt_info, and remove the not anymore used PixFmtInfo.name field. Originally committed as revision 20636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused PixFmtInfo.is_hwaccel field.Stefano Sabatini2009-11-28
| | | | Originally committed as revision 20635 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather thanStefano Sabatini2009-11-26
| | | | | | pix_fmt_info. Originally committed as revision 20625 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove x_chroma_shift and y_chroma_shift fields from PixFmtInfo, useStefano Sabatini2009-11-26
| | | | | | av_pix_fmt_descriptors log2_chroma_w and log2_chroma_h values instead. Originally committed as revision 20622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_pix_fmt_descriptors in avcodec_get_chroma_sub_sample(), ratherStefano Sabatini2009-11-26
| | | | | | than the PixFmtInfo x_chroma_shift and y_chroma_shift fields. Originally committed as revision 20617 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_pix_fmt_descriptors in ff_is_hwaccel_pix_fmt() rather thanStefano Sabatini2009-11-25
| | | | | | access the PixFmtInfo.is_hwaccel field which is going to be removed. Originally committed as revision 20616 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix nv12/nv21 handling. linesize for plane 1 should account for both chromaRamiro Polla2009-11-25
| | | | | | | planes instead of just doubling the height while computing plane sizes. Also adjust avpicture_layout() to copy the correct amount of data for plane 1. Originally committed as revision 20610 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IndentRamiro Polla2009-11-20
| | | | Originally committed as revision 20562 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix name for PIX_FMT_NV21 PixFmtInfo entry.Stefano Sabatini2009-11-19
| | | | Originally committed as revision 20555 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix palette copying in av_picture_copy(). Previous code worked only ifVitor Sessak2009-11-10
| | | | | | linesize[1] == 1, which does not make sense. Originally committed as revision 20503 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be usedNVIDIA Corporation2009-11-10
| | | | | | | | by video players. Original patch by NVIDIA corporation. Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l in avpicture_layout: width of chroma planes depends on format depth, too.Reimar Döffinger2009-10-11
| | | | | | Fixes issue 1465 Originally committed as revision 20202 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify format string for writing pix_fmt string.Justin Ruggles2009-09-26
| | | | Originally committed as revision 20034 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Align pix_fmt list by allowing one more char for the pix_fmt name.Justin Ruggles2009-09-25
| | | | Originally committed as revision 20024 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().Lars Täuber2009-09-05
| | | | | | Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>. Originally committed as revision 19775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use RGB5x5LE, RGB5x5BE, BGR5x5LE and BGR5x5BE instead of their nativeAlexis Ballier2009-08-11
| | | | | | | | endian counterparts. Patch by Alexis Ballier, alexis D ballier gmail Originally committed as revision 19626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix argument type mismatches for av_picture_crop and av_picture_fillMåns Rullgård2009-07-01
| | | | Originally committed as revision 19314 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add 420,422 and 444 planar 16bit per component pix formats.Michael Niedermayer2009-04-21
| | | | Originally committed as revision 18636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a useless assignment in img_get_alpha_info() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18582 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant assignment in av_picture_copy() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18581 to svn://svn.ffmpeg.org/ffmpeg/trunk