Quoting Selwyn Tang: > On 01/08/04 07:49, Denis Oliver Kropp wrote: > > Some basic detection should still be there, e.g. for choosing the fastest > > pixel format. > > How can I determine which pixel format is the fastest?
For video playback the fastest pixel format is the format coming from the video decoder. If the hardware doesn't support it, the pixelformat with the lowest software conversion effort should be used, e.g. planar YUV from decoder, but only packed YUV and RGB in hardware. In this case conversion from planar YUV to packed YUV should be done, not YUV to RGB. > > But the current implementation doesn't allow multiple applications > > to share the same exclusive context, while multiple exclusive contexts > > are allowed. Entering exclusive cooperative level creates a private layer > > context (config etc.) and switches to it. > > Actually, I get confused by the concept of cooperative levels and contexts. Layer contexts are part of the core. They are used to implement cooperative levels. Each context has its own display layer configuration, surface etc. Only one context is active per layer. Switching between these contexts changes the complete configuration, layer surface etc. > >>The good approach should be turning on destination aplha keying/blending (if > >>availabe). > >>The UI will fill primary layer with key color in places where video should > >>be visible. > > Is it like a mask in the sense of Photoshop? At least the effect is the same. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
