Wiretap

Reply
Distinguished Contributor
dlabute
Posts: 103
Registered: ‎05-11-2004
Message 11 of 14 (184 Views)

Re: problem with 12bit unpacked, linux originated material

02-16-2007 05:26 AM in reply to: alatteri
Hi Alan,

Please just look at the format tag instead of sending us these big attachments. Much easier for all involved.

Dan
Distinguished Contributor
dlabute
Posts: 103
Registered: ‎05-11-2004
Message 12 of 14 (184 Views)

Re: problem with 12bit unpacked, linux originated material

02-16-2007 05:28 AM in reply to: alatteri
If one clip is rgb and the other is rgb_le, and your pixel loops only handle one endianness, then you have your answer.
Contributor
grattor
Posts: 16
Registered: ‎12-05-2006
Message 13 of 14 (184 Views)

Re: problem with 12bit unpacked, linux originated material

02-16-2007 06:09 AM in reply to: alatteri
Hmmm. So maybe I made an incorrect assumption there... sorry.
Contributor
panisset
Posts: 14
Registered: ‎01-15-2003
Message 14 of 14 (184 Views)

Re: problem with 12bit unpacked, linux originated material

03-12-2007 02:57 PM in reply to: alatteri
Something important to keep in mind when accessing 12 bit images in Wiretap (big endian or little endian) is that Flame makes absolutely no guarantees about the contents of the 4 least significant bits of each color component. In the best case, when a processed image was read straight from the frame buffer and written to disk, it will contain a copy of the 4 most significant bits, which gives you the correct scaling from 12 to 16 bits: 0x000 maps to 0x0000, 0xfff maps to 0xffff. But in most cases, those bits could be all zero, all one, or it could encode your SSN and credit card numbers. If you are going to pass this data to an application which expects valid 16 bit components, you will need to copy the 4 most significant bits of each color component into the 4 least significant bits (this is what the flame image export code does when exporting 16 bit images).

If this is not in the Wiretap documentation, it should be...

JF

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community