Commit Graph

13 Commits

Author SHA1 Message Date
Lars Täuber
35f6c15405 Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>.

Originally committed as revision 19775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-05 23:33:25 +00:00
Stefano Sabatini
5efccce2a9 Implement av_get_bits_per_pixel().
Originally committed as revision 18709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 23:20:30 +00:00
Stefano Sabatini
75801da580 Add pixdescs definitions for planar YUV pixfmts with 16 bits per
component.

Originally committed as revision 18690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 18:29:31 +00:00
Stefano Sabatini
10151b138a Add missing pixel format descriptor definitions.
Originally committed as revision 18682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 07:53:55 +00:00
Stefano Sabatini
bcbd9a149e Cosmetics: reorder the pixel format descriptors to make them match the
same order in pixfmt.h.

Originally committed as revision 18281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-31 18:52:50 +00:00
Stefano Sabatini
f938cbf984 Change the order of the components for RGB565LE and RGB565BE,
to make them resemble the order in the name: BGR <-> RGB.

Originally committed as revision 18279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-31 18:41:39 +00:00
Stefano Sabatini
eb39fb512a Add comments specifying the name of the components in the descriptors.
Originally committed as revision 18278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-31 18:36:58 +00:00
Stefano Sabatini
d2863e72ab Export to pixdesc.h the av_pix_fmt_descriptors array.
Originally committed as revision 18152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-22 21:01:08 +00:00
Stefano Sabatini
f82674e584 Change the RGB5X5/BGR5X5 pixel format defines so that we have little
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
2009-03-21 23:08:20 +00:00
Stefano Sabatini
1e896640c4 Implement a name field for AVPixFmtDescriptor.
Originally committed as revision 18035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-18 20:10:09 +00:00
Stefano Sabatini
e5681ba0f2 Rename the (yet not defined) macros:
PIX_FMT_RGB565_BE -> PIX_FMT_RGB565BE
PIX_FMT_RGB565_LE -> PIX_FMT_RGB565LE
for consistency with the other pixfmts macros.

Originally committed as revision 17977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 10:33:51 +00:00
Diego Biurrun
e0cffbe7ea spelling/wording/grammar cosmetics
Originally committed as revision 17588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-25 18:03:47 +00:00
Michael Niedermayer
9b61d838f6 Pixel Format descriptor, try #1.
(yes its intentionally unused, this is intended as a basis for further
 work, and to prevent repeation of the whole discussion dying and the
 results being forgotten)

Originally committed as revision 17548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-24 01:08:29 +00:00