Slow video

I’m making a video player using SDL under an embedded linux
environment. When I use SDL for video, it’s really slow, but when I
write to /dev/fb0 directly, the framerate is so much faster! I have
no idea why…any ideas would be really helpful! thank you!