[FFmpeg-devel] AVComponentDescriptor & v210
Michael Niedermayer
michaelni
Sun Jun 27 02:39:32 CEST 2010
On Sat, Jun 26, 2010 at 06:49:59PM -0400, Daniel Kristjansson wrote:
> I've been trying to wrap my head around AVComponentDescriptor
> and as far as I can tell it can not represent packed 10 bit
> formats like v210.
>
> The v210 format is:
>
> b3 | b2 | b1 | b0 in little-endian
> ? ? | Cr0 | Y'0 | Cb0 |
> ? ? | Y'2 | Cb2 | Y'1 |
> ? ? | Cb4 | Y'3 | Cr0 |
> ? ? | Y'5 | Cr4 | Y'4 |
>
> Where the ?'s are 1-bit padding and the rest are 10 bit samples.
>
> Am I just not understanding how AVComponentDescriptor is supposed
> to work? It would seem that it you would need 3 sets of offsets
> and 2 sets of shifts per component at minimum to represent this.
>
> Also for submission to ffmpeg what should the format be called?
> I'm calling it PIX_FMT_UYVYUYVYUYVY422 right now, but that seems
its not a pixel format. Its a very poorly compressing codec.
> rather cumbersome. This is the Apple format for uncompressed 10-bit
yes, apple
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- 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/20100627/f768338a/attachment.pgp>
More information about the ffmpeg-devel
mailing list