PF_Pixel16 with 10-bit values
I am trying to write an output plugin for a restricted type of DPX file. If I have a comp that has 16-bit pixels but contains 1-=bit Cineon or DPX values, is there anyway I can tell on the output whether the PF_Pixel16 contains 10-bit or 16-bit values?
Does every comp in After Effects work on floating point values with a maximum of 1.0 and then just translate that into 8-bt or 16-bit values to display for the user? Is there anyway to have pixel values in excess of 1.0 in After Effects. I am under the impression that proper EXR files can easily contain values above 1.0, but it is unclear to me how After Effects deals with them when it imports the image.
I have written DPX files where the header says the maximum value is 65535 rather than 32768 and when I import them into After Effects the values come in as half of what I thought they were written as. This implies to me that After Effects interprets the max value in a DPX file as 1.0 and then scales all the values. Is this true?
Thanks.