On Sat, 27 May 2006, Miller Puckette wrote:
I think that allowing a compile-time typedef to set the data type of a single video sample should add only a small amount of code, and then if it turns out that one format really is better than the others, there's no need to support run-time selection. On the other hand, if it turns out that each sample format has advantages and disadvantages, then it might be necessary to go all out and support polymorphic video sample types. That would be ugly and I'm hoping to avoid it if at all possible.
It has already been determined that each of many sample formats has advantages and disadvantages. What you need to do is pick some number of sample formats and pretend that you're giving the user enough choice.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada