I think you have to do the rotation yourself on the raw data.  I am not sure
how possible this is.

I think this is an issue!

I think the following:
Rotate function could be added to the IDirectFBSurface API.  (four
orientations 90,180,270,0)
Whilst we were at it
FlipSurface could be added: Here i mean a Horizontal Flip/ Vertical Flip i.e
mirror image in the horizontal/vertical.

These sorts of functions are generic and could be added easily so that all
people benefitted.  That way any surface could have this done to it even the
ones being use by Image providers.  You could then do the decode/rotate on
an offscreen surface and then Flip so it was visable.

However, whilst RGB is ok to do these things with(still time consuming)  YUV
is a pain to do.

What do people think about the addition of these functions. 
--
View this message in context: 
http://www.nabble.com/how+to+rotate+a+image+display+in+DirectFB--t1710149.html#a4645002
Sent from the DirectFB Dev forum at Nabble.com.


_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to