[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Colorkeying with Xv and Intel Textured Video
From:       brentkowal () gmail ! com
Date:       2012-10-25 13:53:27
Message-ID: 047d7b6dd0be161a8204cce28715 () google ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello All,

I am working on an application which displays video using Xv and requires  
simple 2D annotation to be drawn on top of the video. In previous  
experience I've set the XV_COLORKEY parameter and was able to draw  
annotation on the destination window, and mask out of the annotation using  
the colorkey. This option is not available when I do an xvinfo. Is there a  
similar or alternative method of annotation video with the Intel Textured  
Video adapter?

xvinfo dump:

X-Video Extension version 2.2
screen #0
Adaptor #0: "Intel(R) Textured Video"
number of ports: 16
port base: 113
operations supported: PutImage
supported visuals:
depth 24, visualID 0x21
number of attributes: 3
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 0)
"XV_SYNC_TO_VBLANK" (range -1 to 1)
client settable attribute
client gettable attribute (current value is 1)
maximum XvImage size: 2048 x 2048
Number of image formats: 5
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x434d5658 (XVMC)
guid: 58564d43-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)

[Attachment #5 (text/html)]

Hello All,<br /><br />I am working on an application which displays video u=
sing Xv and requires simple 2D annotation to be drawn on top of the video. =
 In previous experience I&#39;ve set the XV_COLORKEY parameter and was able=
 to draw annotation on the destination window, and mask out of the annotati=
on using the colorkey.  This option is not available when I do an xvinfo.  =
Is there a similar or alternative method of annotation video with the Intel=
 Textured Video adapter?<br /><br />xvinfo dump:<br /><br />X-Video Extensi=
on version 2.2<br />screen #0<br />  Adaptor #0: &quot;Intel(R) Textured Vi=
deo&quot;<br />    number of ports: 16<br />    port base: 113<br />    ope=
rations supported: PutImage<br />    supported visuals:<br />      depth 24=
, visualID 0x21<br />    number of attributes: 3<br />      &quot;XV_BRIGHT=
NESS&quot; (range -128 to 127)<br />              client settable attribute=
<br />              client gettable attribute (current value is 0)<br />   =
   &quot;XV_CONTRAST&quot; (range 0 to 255)<br />              client setta=
ble attribute<br />              client gettable attribute (current value i=
s 0)<br />      &quot;XV_SYNC_TO_VBLANK&quot; (range -1 to 1)<br />        =
      client settable attribute<br />              client gettable attribut=
e (current value is 1)<br />    maximum XvImage size: 2048 x 2048<br />    =
Number of image formats: 5<br />      id: 0x32595559 (YUY2)<br />        gu=
id: 59555932-0000-0010-8000-00aa00389b71<br />        bits per pixel: 16<br=
 />        number of planes: 1<br />        type: YUV (packed)<br />      i=
d: 0x32315659 (YV12)<br />        guid: 59563132-0000-0010-8000-00aa00389b7=
1<br />        bits per pixel: 12<br />        number of planes: 3<br />   =
     type: YUV (planar)<br />      id: 0x30323449 (I420)<br />        guid:=
 49343230-0000-0010-8000-00aa00389b71<br />        bits per pixel: 12<br />=
        number of planes: 3<br />        type: YUV (planar)<br />      id: =
0x59565955 (UYVY)<br />        guid: 55595659-0000-0010-8000-00aa00389b71<b=
r />        bits per pixel: 16<br />        number of planes: 1<br />      =
  type: YUV (packed)<br />      id: 0x434d5658 (XVMC)<br />        guid: 58=
564d43-0000-0010-8000-00aa00389b71<br />        bits per pixel: 12<br />   =
     number of planes: 3<br />        type: YUV (planar)

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic