| Branch: | Revision:

ffmpeg / libavutil / pixdesc.c @ 490a022d

History | View | Annotate | Download (23.5 KB)

# Date Author Comment
73389754 04/10/2011 02:44 AM Peter Ross

pixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

PIX_FMT_BGR48LE is used by PhantomCINE demuxer.

Signed-off-by: Luca Barbato <>

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

bb4afa13 12/04/2010 12:56 PM Stefano Sabatini

Deprecate avcodec_pix_fmt_string() in favor of
av_get_pix_fmt_string(), added to libavutil/pixdesc.h.

Originally committed as revision 25879 to svn://

4660143a 09/12/2010 10:00 PM Stefano Sabatini

Apply minor simplification in av_read_image_line().

Originally committed as revision 25112 to svn://

78b19cf0 09/12/2010 09:39 PM Måns Rullgård

pixdesc: indent

Originally committed as revision 25111 to svn://

9525243f 09/12/2010 09:39 PM Måns Rullgård

pixdesc: use 8-bit accesses when possible in av_read/write_image_line()

This fixes out of bounds accesses for big endian formats and should be
a little faster.

Originally committed as revision 25110 to svn://

4b9ac6de 09/12/2010 09:31 PM Stefano Sabatini

Cosmetics: use x ? y : z construct and merge intialization and
definition for the val variable in av_read_image_line(). Simplify.

Originally committed as revision 25109 to svn://

47bfd50a 07/10/2010 12:40 AM Måns Rullgård

pixdesc: add missing includes

Originally committed as revision 24153 to svn://

ee435580 07/08/2010 10:05 PM Stefano Sabatini

Reindent after r24101.

Originally committed as revision 24126 to svn://

ce1cd1cb 07/07/2010 11:41 PM Stefano Sabatini

Rename read/write_line() to av_read/write_image_line().

The old names were not av_ prefixed, and they were causing linking
failure on many platforms. The new names are also more descriptive.

Patch by Stefano Sabatini.

Originally committed as revision 24101 to svn://

4744f896 04/14/2010 08:15 PM Andreas Öman

Add PIX_FMT_Y400A, 8bit gray, 8bit alpha

Originally committed as revision 22881 to svn://

2b7cf167 03/05/2010 08:26 AM Janusz Krzysztofik

Add initial support for 12-bit color mode.
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://

ce7c7179 03/04/2010 12:27 AM Stefano Sabatini

Declare the PIX_FMT_GRAY8 pixel format as a paletted format. This is
consistent with the allocation currently done for PIX_FMT_GRAY8

No significant slow-downs have been measured.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Is gray8 a paletted format?...

f47a7cb7 02/16/2010 08:17 PM Stefano Sabatini

Move read_line() and write_line() definition from pixdesc.h to
pixdesc.c, which are now not anymore marked as static inline.

Fix the inclusion of the private header intreadwrite.h in the public
header pixdesc.h.

Originally committed as revision 21854 to svn://

80a07f6e 01/30/2010 06:50 PM Stefano Sabatini

Implement av_get_pix_fmt(), and deprecate avcodec_get_pix_fmt().

Originally committed as revision 21545 to svn://

92c6a099 01/20/2010 06:54 PM Laurent Aimar

H264 DXVA2 implementation

It allows VLD H264 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
It is implemented by using AVHWAccel API. It has been tested successfully
for some time in VLC using an nvidia card on Windows 7.
To compile it, you need to have the system header dxva2api.h (either from...
382cb115 11/26/2009 08:58 PM Stefano Sabatini

Make av_pix_fmt_descriptors use the same pixel format names as defined
in libavcodec/imgconvert.c.

Avoid to break compatility when making the functions dealing with
pixel format names in imgconvert.c use the names defined in pixdescs.

Originally committed as revision 20624 to svn://

b8873c2a 11/18/2009 12:07 AM Stefano Sabatini

Rename AVPixFmtDescriptor.nb_channels to nb_components, the new name
is more clear and lexically more consistent with API and

Originally committed as revision 20545 to svn://

dd6308ad 11/11/2009 12:02 AM Carl Eugen Hoyos

Add PIX_FMT_VDPAU_MPEG4 to pixdesc.c.

Originally committed as revision 20509 to svn://

3fa70a3b 11/05/2009 11:45 PM Stefano Sabatini

Add pixel format descriptors for the HW-accelerated formats.

This completes the list of all descriptors in av_pix_fmt_descriptors.

Originally committed as revision 20467 to svn://

d71ad089 11/02/2009 08:23 PM Stefano Sabatini

Add PIX_FMT_PAL flag to BGR8, BGR4_BYTE, RGB8, and RGB4_BYTE formats.

Originally committed as revision 20434 to svn://

51135d1d 10/27/2009 08:56 PM Stefano Sabatini

Move pixdesc.{h,c} from libavcodec to libavutil.

This way pixdescs can be used without requiring a dependency on

Originally committed as revision 20389 to svn://