Hi Mark :

Thanks for your answer in advance!! :)

I'm working on Xv driver for my company's graphic
chip, but I encounter an problem & can't fint out the
reason. Everytime I use other window to clip the video
window or move it, StopVideo will be called & makes
the video flicker. This doesn't happen in ATI AiW
r128.

When I check the XFree86.0.log of ATI AiW, only
PutImage is called. Does any special flags need to set
in the driver ?

BTW, if I run xawtv 3.71 under ATI AiW, PutVideo will
be called. When I use other window to clip the xawtv
video window, StopVideo is called & the video
flicker!!

It's very strange that StopVideo is called in xawtv
but not called in mpeg2 player. According to the docs,
I can't find out the reason between PutImage &
PutVideo.

Would you pls give me any hint ?

Thanks a lot !!

Sincerely,
Kevin Huang


 --- Mark Vojkovich <[EMAIL PROTECTED]> wrote�G

> On Thu, 21 Feb 2002, Kevin Huang wrote:
> 
> > Coz I use a non-member mailbox last time, so I
> send it
> > again by member mailbox
> > 
> > Kevin Huang
> > 
> > ===
> > 
> > Hello everyone :
> >  
> > I encounter a strange problem and can't figure out
> > why. I have a ATI AiW r128 video card & his new Xv
> > supported driver. When I use DVD player to play
> mpeg2
> > file & move other window to clip the video window,
> the
> > driver doesn't call StopVideo. But in it's
> VideoInit
> > function, it sets flag VIDEO_OVERLAID_IMAGES as
> below
> > :
> >  
> >         VAR[i].type |= XvWindowMask | XvVideoMask
> |
> > XvStillMask | XvImageMask;
> >         VAR[i].name = "R128";
> >        
> >
>
VAR[i].flags=VIDEO_OVERLAID_IMAGES|VIDEO_CLIP_TO_VIEWPORT;
> > 
> > According to XFree86 X server "New Design"(DRAFT):
> The
> > XFree86 X Video Extension(Xv) Device Dependent
> Layer
> > chapter, it mentions that if we set
> > VIDEO_OVERLAID_IMAGES, StopVideo will be called
> > whenever the destination gets clipped or moved so
> that
> > the image can be left up until then.
> 
>     The docs are old.  Stop won't actually get
> called with
> a simple clip change.  Stop will only get called on
> a move or
> when the cliplist changes such that an exposure is
> generated.
> Even then, the StopVideo function can be ignored by
> the driver
> in that case because the "cleanup" flag isn't set.
> What most of the drivers do in that case is make
> note that
> Stop was called and will stop it in a few seconds if
> there
> are no PutImage calls following.
> 
>  
>                       MArk
>  

-----------------------------------------------------------------
< �C�ѳ� Yahoo!�_�� >  www.yahoo.com.tw
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to