[MPlayer-dev-eng] [PATCH] vo_kva

Georgi Petrov gogothebee at gmail.com
Wed Feb 25 16:21:37 CET 2009


One possible flaw I see is that flip_page() calls imgDisplay(), which
copies the frame. The frame is supposed to be already copied to some
kind of offscreen buffer and flip_page() should only "flip" it and set
it active. I made exactly the same mistake with my driver. The reason
for this is that flip_page() is issued in the right time for each
frame and is supposed to return quick in order to have "fluent" video
experience (understand no jerkyness). The actual "frame upload" code
should be placed in draw_slice() and after VOCTRL_DRAW_IMAGE, so when
few parts of the second later a flip_page() is called, the "flip" can
happen in an instant. The strange thing is that you copy in both
draw_slice AND in flip_page()... How does this make sense?

I can be mistaken, of course.



More information about the MPlayer-dev-eng mailing list