[FFmpeg-devel] [PATCH] Implement function to compute bits per pixel

Michael Niedermayer michaelni
Mon Apr 27 01:10:24 CEST 2009


On Sun, Apr 26, 2009 at 03:15:24PM +0200, Stefano Sabatini wrote:
> On date Sunday 2009-04-26 13:29:58 +0200, Stefano Sabatini encoded:
> > On date Sunday 2009-04-26 12:55:33 +0200, Michael Niedermayer encoded:
> > > On Sun, Apr 26, 2009 at 12:19:28PM +0200, Stefano Sabatini wrote:
> > > > Hi, as in subject.
> > > > 
> > > > This is the output of the test program:
> > > > yuv420p: bits_per_pixel: 12
> > > > yuyv422: bits_per_pixel: 12
> > > 
> > > interresting
> > 
> > Ouch, fixed.
> > 
> > Output:
> > yuv420p: bits_per_pixel: 12
> > yuyv422: bits_per_pixel: 16
> > rgb24: bits_per_pixel: 24
> > bgr24: bits_per_pixel: 24
> > yuv422p: bits_per_pixel: 16
> > yuv444p: bits_per_pixel: 24
> > yuv410p: bits_per_pixel: 9
> > yuv411p: bits_per_pixel: 12
> > gray8: bits_per_pixel: 8
> > monowhite: bits_per_pixel: 1
> > monoblack: bits_per_pixel: 1
> > pal8: bits_per_pixel: 8
> > yuvj420p: bits_per_pixel: 12
> > yuvj422p: bits_per_pixel: 16
> > yuvj444p: bits_per_pixel: 24
> > (null): bits_per_pixel: 1
> > (null): bits_per_pixel: 1
> > uyvy422: bits_per_pixel: 16
> > uyyvyy411: bits_per_pixel: 12
> > bgr8: bits_per_pixel: 8
> > bgr4: bits_per_pixel: 4
> > bgr4_byte: bits_per_pixel: 4
> > rgb8: bits_per_pixel: 8
> > rgb4: bits_per_pixel: 4
> > rgb4_byte: bits_per_pixel: 4
> > nv12: bits_per_pixel: 12
> > nv21: bits_per_pixel: 12
> > argb: bits_per_pixel: 32
> > rgba: bits_per_pixel: 32
> > abgr: bits_per_pixel: 32
> > bgra: bits_per_pixel: 32
> > gray16be: bits_per_pixel: 16
> > gray16le: bits_per_pixel: 16
> > yuv440p: bits_per_pixel: 16
> > yuvj440p: bits_per_pixel: 16
> > yuva420p: bits_per_pixel: 14
> 
> Fixed this.

could you post the new list so i can check it?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090427/9bfda999/attachment.pgp>



More information about the ffmpeg-devel mailing list