[MPlayer-dev-eng] [PATCH] Direct3D libvo driver

Georgi Petrov gogothebee at gmail.com
Tue Nov 18 16:50:55 CET 2008


Great, thanks. I have it in my head now.

Questions/assumptions:

1. Calling draw_slice() every 16 lines or calling VOCTRL_DRAW_IMAGE in
the end of the frame is video codec dependent? I could expect both
cases? Is this right?

2. Is VOCTRL_DRAW_IMAGE always called after the whole image is ready
(composed with draw_slice() or not)? If so, how can I know (flag or
something) that no draw_slice() calls were made before that or the
frame was drawn with draw_slice(), so I don't draw it again with one
big memcpy_pic?

3. When VOCTRL_DRAW_IMAGE is called, I should check if I should copy
the whole frame (in ase no draw_slice() calls were made) or it's
copied from the previous draw_slice() calls and AFTER that make a
StretchRect. Is this so?

4. flip_page() stays the same with only Present inside.



More information about the MPlayer-dev-eng mailing list