View Single Post
Old 3rd January 2006, 10:55   #25  |  Link
hanfrunz
Registered User
 
hanfrunz's Avatar
 
Join Date: Feb 2002
Location: Germany
Posts: 540
Quote:
Originally Posted by tateu
10bit...yes, I was looking for a way to do a raw import, but I don't know enough to write my own 10bit to 8bit function from scratch. If I can find an open source one I'll add it in.
ITU-601 says:
To avoid confusion between 8-bit and 10-bit representations, the eight most-significant bits are considered to be an integer part while the two additional bits, if present, are considered to be fractional parts.

So just take the eight most-significant bits and you got your 8->10 bit conversion.

hanfrunz
hanfrunz is offline   Reply With Quote