i'm still hacking on my xine provider and try to get hardware acceleration for scaling and blitting since i now got a mtrox g550. as i understood from the source it should be possible to blit from one pixelformat to another, automatically using a available hardware acceleration or falling back to the generic software thing (which is slow).
so i thought the following: - xine says me that the data is either yv12 or yuy2 and that a frame is width x height pixels - so i use createsurface to get a temporary surface of the size and pixeltype xine told me - while displaying the frame i copy the data from the xine buffer into my my surface, which is now just a memcpy since width, height and pixelformat is the same - then i wanted to use stretchblit to convert my surface to the targets pixelformat, width and height the problem i have by now is that i can't create a surface using dfb->CreateSurface in the videoprovider, because i can't get a hand on the IDirectFB interface. there are functions like dfb_create_surface, but i don't know how to use them, though i recognized that othe providers only use such dfb_... functions (which don't need the handle). if this problem can be solved somehow, then please let me know. this is the last step to get a working xine video provider. thanks again, frank. -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
