summaryrefslogtreecommitdiffstats
path: root/libavcodec/imgconvert.c
Commit message (Collapse)AuthorAgeFilesLines
* lavc: deprecate img_get_alpha_info().Anton Khirnov2011-10-201-0/+2
| | | | | | 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-211-3/+0
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavu: add av_get_pix_fmt_name() convenience functionStefano Sabatini2011-05-281-4/+3
| | | | | | 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-191-51/+0
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-151-2/+1
| | | | | | | | | | | | 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-121-1/+1
| | | | | | 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-081-2/+4
| | | | Originally committed as revision 25922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent.Stefano Sabatini2010-12-081-2/+2
| | | | Originally committed as revision 25921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_image_alloc() in avpicture_alloc(), simplify.Stefano Sabatini2010-12-081-15/+4
| | | | Originally committed as revision 25920 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate avcodec_pix_fmt_string() in favor ofStefano Sabatini2010-12-041-15/+2
| | | | | | 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-221-3/+3
| | | | Originally committed as revision 25793 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-implement avpicture_layout() using pixdesc and imgutils API.Stefano Sabatini2010-11-211-50/+13
| | | | | | | 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
* Replace "depth" with "nb_bits" in the header of avcodec_pix_fmt_string().Stefano Sabatini2010-11-211-2/+2
| | | | Originally committed as revision 25791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In avcodec_pix_fmt_string() use local variable pixdesc rather thanStefano Sabatini2010-11-101-3/+3
| | | | | | av_pix_fmt_descriptors[pix_fmt], simplify. Originally committed as revision 25718 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avcodec_pix_fmt_string() use the information in the pixel formatStefano Sabatini2010-11-101-5/+4
| | | | | | | | | | | | | | | | | | descriptors for printing the number of channels/components. Also replace the term "nb_channels" with "nb_components" which is more consistent with the FFmpeg internal terminology, and is somehow different with respect to the current definition of nb_channels in PixFmtInfo. See thread: Subject: [FFmpeg-devel] [PATCH 6/8] Make avcodec_pix_fmt_string() use the information in the pixel format descriptors for printing the number of planes. Also replace the term "nb_channels" with "nb_planes" which is more correct. Date: Fri, 5 Nov 2010 12:01:38 +0100 Originally committed as revision 25717 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move internal function ff_set_systematic_pal() to libavcore, andStefano Sabatini2010-11-091-38/+4
| | | | | | rename it ff_set_systematic_pal2(). Originally committed as revision 25712 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize / simplify avcodec_get_pix_fmt_name() check.Stefano Sabatini2010-11-071-1/+1
| | | | Originally committed as revision 25689 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_pix_fmt_descriptors information in avcodec_pix_fmt_string().Stefano Sabatini2010-11-071-1/+1
| | | | Originally committed as revision 25688 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avpicture_fill() return a meaningful error code.Stefano Sabatini2010-11-071-4/+5
| | | | Originally committed as revision 25687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove alpha information from avcodec_pix_fmt_string(), as thatStefano Sabatini2010-11-071-6/+3
| | | | | | information does not belong to the pixel format. Originally committed as revision 25686 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support deinterlacing of YUVJ422P in old deinterlacer.Maksym Veremeyenko2010-09-251-0/+2
| | | | | | Patch by Maksym Veremeyenko verem at m1stereo tv. Originally committed as revision 25195 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support deinterlacing of YUVJ420P.Benjamin Larsson2010-09-201-0/+2
| | | | Originally committed as revision 25148 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent.Stefano Sabatini2010-09-071-1/+1
| | | | Originally committed as revision 25068 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_picture_data_copy() to libavcore, and rename itStefano Sabatini2010-09-071-30/+4
| | | | | | 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-071-16/+17
| | | | | | | | 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-071-4/+4
| | | | 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-071-10/+4
| | | | | | 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-071-8/+8
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: remove useless ().Stefano Sabatini2010-08-211-1/+1
| | | | Originally committed as revision 24860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate ff_get_plane_bytewidth() in favor ofStefano Sabatini2010-08-121-1/+3
| | | | | | 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-121-47/+1
| | | | | | | | 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-111-9/+17
| | | | | | | | | | | 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-061-2/+2
| | | | | | 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-311-0/+2
| | | | | | 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-311-3/+3
| | | | Originally committed as revision 24617 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert deinterlacing MMX code to YASMVitor Sessak2010-07-311-84/+15
| | | | Originally committed as revision 24615 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avpicture_fill() directly call av_fill_image_linesizes() andStefano Sabatini2010-07-301-2/+2
| | | | | | | | | 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-291-141/+3
| | | | | | | 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-261-34/+45
| | | | | | | | | | | | 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-011-1/+1
| | | | | | 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-061-1/+2
| | | | Originally committed as revision 23507 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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-141-0/+1
| | | | Originally committed as revision 22881 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_fill_linesize() use the information stored inStefano Sabatini2010-04-111-95/+24
| | | | | | | | 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-051-2/+2
| | | | | | 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-051-1/+45
| | | | | | | | | 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-051-2/+4
| | | | | | | 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-281-0/+2
| | | | | | | | 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-301-30/+3
| | | | Originally committed as revision 21545 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud