<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Zpráva</TITLE>
<META content="MSHTML 6.00.2713.1100" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=111190212-15032002><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>is there any or
_could_ be there a function call to notify vo_driver, when frame decoding is
finished (in direct rendering)? </FONT></SPAN></DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>I have to
lock buffer in get_image() and need to know when to unlock
it.</FONT></SPAN></DIV>
<DIV></FONT></SPAN><SPAN class=111190212-15032002><FONT face=Arial size=2>Could
be a draw_osd used for this? I'm not sure if it is called in/after each
frame.</FONT></SPAN></DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>My desired scheme
for frame disp:</FONT></SPAN></DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>- get_image called
-> buffer locked for decoder access</FONT></SPAN></DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>-
__decode_complete__ called -> buffer is unlocked, (stretch)blit initiated to
scale and transfer from buffer to offscreen video memory (done preferably by
hw)-->> this is missing</FONT></SPAN></DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>- draw_osd/alpha
-> osd is drawn in offscreen</FONT> <FONT face=Arial size=2>video memory
(eg. osd and subtitles are using whole screen not just film
area)</FONT></SPAN></DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>- flip -> flip is
performed (switched video memory buffers)</FONT></SPAN></DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>As
it works today (in vo_directfb)</FONT></SPAN></DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>- get_image called
-> buffer locked for decoder
access</FONT></SPAN></DIV></FONT></SPAN></DIV></DIV>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>
<DIV><SPAN class=111190212-15032002><FONT face=Arial size=2>- draw_osd/alpha
->buffer is unlocked, osd is drawn in buffer (has some side effect when
bufffer is static)</FONT></SPAN></DIV>
<DIV><SPAN class=111190212-15032002>- flip -> (stretch)blit initiated to
scale and transfer from buffer to screen</SPAN></DIV>
<DIV><SPAN class=111190212-15032002></SPAN> </DIV>
<DIV><SPAN
class=111190212-15032002>
JS</SPAN></DIV>
<DIV><SPAN class=111190212-15032002></SPAN> </DIV>
<DIV><SPAN class=111190212-15032002>P.S.: vo_directfb with direct
rendering is not in CVS I will send patch later
today.</SPAN></DIV></FONT></SPAN></DIV></BODY></HTML>