The VA_TOP_FIELD and VA_BOTTOM_FIELD flags are intended for doing BOB 
de-interlacing. The top and bottom fields are stored (interleaved) in a single 
VASurface, and if VA_TOP_FIELD is specified with vaPutSurface(), then the top 
field in the surface is "bob"ed, and the same is true for the bottom field.

Regards,
Jonathan

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf 
Of Malte Sarner
Sent: Wednesday, July 14, 2010 2:19 AM
To: [email protected]
Subject: [Libva] Deinterlace flags

Hi

I have a problem with saw-tooth edge distortion when playing interlaced coded 
video with gma500. When reading the mplayer source it looks like the following 
deinterlace options are available.

  0: no deinterlacing (default)
  1: only show first field
  2: bob deinterlacing

Bob would be great but it does not look good when I test it. It looks similar 
to "only show first field" and if I am not wrong the options in mplayer ends up 
with the following defines in libva.

  #define VA_FRAME_PICTURE        0x00000000 
  #define VA_TOP_FIELD            0x00000001
  #define VA_BOTTOM_FIELD         0x00000002

So it does not look like it is possible to define bob deinterlace in libva? Is 
it something that could be added? Also the libva deinterlace options in mplayer 
looks similar to the vdpau deinterlace options. What happens when vdpau backend 
is used with libva?


This might be related to the "New post processing flags" discussion in April.

Regards, Malte


Malte Särner
MultiQ International AB
Industrigatan 14
SE-212 14 Malmö, Sweden
Phone +46 (0)40 14 35 38
Switch +46 (0)14 35 00

[email protected]
www.multiq.com





_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to