[FFmpeg-devel] [WIP/RFC]012V decoder

Michael Niedermayer michaelni at gmx.at
Tue Jul 10 22:33:40 CEST 2012

On Tue, Jul 10, 2012 at 08:57:45PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> I originally wanted to implement a12v, but there is no
> PIX_FMT_YUVA422P16 (or PIX_FMT_YUVA422P10) and I have no sample with
> actual transparency to test.
> The more difficult problem that attached patch has is that the
> rightmost pixels are missing: There are remaining bytes in every
> line that contain (afaict) the 8 least significant bits of the
> missing samples, but I couldn't find the msb's: The unused two bits
> of every four-byte sample are always 0.

if you have access to an encoder then you can simply encode a all 0
picture that just sets the MSBs of the "missing" pixels and then check
where these bits end


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120710/648a2058/attachment.asc>

More information about the ffmpeg-devel mailing list