summaryrefslogtreecommitdiff
path: root/src/xv.xml
Commit message (Collapse)AuthorAgeFilesLines
* xv: struct "AttributeInfo": add explicit align padChristian Linhart2015-10-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The align pad is needed so that a in list of struct "AttributeInfo", the 32-bit fields in subsequent "AttributeInfo" are aligned. (all fields except "name" are 32-bit values) The xv-protocol-spec does not contain the protocol encoding. (it specifies the protocol on a higher level) The X-Server uses function "WriteToClient" to write the list "name" to the connection: http://cgit.freedesktop.org/xorg/xserver/tree/Xext/xvdisp.c?id=xorg-server-1.17.99.901#n809 Function "WriteToClient" does 4-byte alignment padding: http://cgit.freedesktop.org/xorg/xserver/tree/os/io.c?id=xorg-server-1.17.99.901#n804 BTW, With the current server impl, the alignpad is not strictly needed because the field "size", which describes the length of list "name" is set to a multiple of 4: http://cgit.freedesktop.org/xorg/xserver/tree/Xext/xvdisp.c?id=xorg-server-1.17.99.901#n805 Signed-off-by: Christian Linhart <chris@demorecorder.com> Reviewed-by: Peter Harris <pharris@opentext.com>
* xv: struct "EncodingInfo": add explicit align padChristian Linhart2015-10-261-0/+1
| | | | | | | | | | | | | | | | | | | | The align pad is needed so that a in list of struct "EncodingInfo", the 32-bit fiels in subsequent "EncodingInfo" are aligned. (the field "encoding" is a 32-bit value, and the field "rate" contains two 32-bit values) The xv-protocol-spec does not contain the protocol encoding. (it specifies the protocol on a higher level) The X-Server uses function "WriteToClient" to write the list "name" to the connection: http://cgit.freedesktop.org/xorg/xserver/tree/Xext/xvdisp.c?id=xorg-server-1.17.99.901#n456 Function "WriteToClient" does 4-byte alignment padding: http://cgit.freedesktop.org/xorg/xserver/tree/os/io.c?id=xorg-server-1.17.99.901#n804 Signed-off-by: Christian Linhart <chris@demorecorder.com> Reviewed-by: Peter Harris <pharris@opentext.com>
* xv: Add align. pad in struct AdaptorInfobaserock/james/xcb-protoDaniel Martin2014-06-101-0/+1
| | | | | | | | | | | The (list) 'name' in the struct AdaptorInfo is not padded. Therefore we've to add an alignment pad after it. Reference: http://cgit.freedesktop.org/xorg/lib/libXv/tree/src/Xv.c#n250 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79808 Signed-off-by: Daniel Martin <consume.noise@gmail.com> Signed-off-by: Peter Harris <pharris@opentext.com>
* xv: Remove obsolete comments in EncodingInfo and QueryEncodingsDaniel Martin2013-11-141-8/+0
| | | | | | | | | | | | | | | The padding in EncodingInfo (struct) and QueryEncodings (reply) has been fixed upstream: Xvproto: fix xvEncodingInfo to match actual wire protocol http://cgit.freedesktop.org/xorg/proto/videoproto/commit/?id=d970512 and Xvproto.h: fix xvQueryEncodingsReply to match actual wire protocol http://cgit.freedesktop.org/xorg/proto/videoproto/commit/?id=1a96222 So, we can remove the comments. Signed-off-by: Daniel Martin <consume.noise@gmail.com> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* xv: Use explicit enum valueDaniel Martin2013-08-251-17/+17
| | | | | | Signed-off-by: Daniel Martin <consume.noise@gmail.com> Reviewed-by: Ran Benita <ran234@gmail.com> (and tested) Reviewed-by: Josh Triplett <josh@joshtriplett.org>
* Add enum references to fields in XVideoPeter Harris2009-04-211-10/+32
| | | | Signed-off-by: Peter Harris <pharris@opentext.com>
* Move Format above its first use in xv.xmlPeter Harris2008-10-201-6/+6
| | | | | | | This change makes it easier to process the xml file in a single streamy pass. Signed-off-by: Julien Danjou <julien@danjou.info>
* xv: add missing padding bytesJulien Danjou2008-09-051-0/+4
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* xv.xml: Use <pad> for paddingPeter Harris2008-08-271-11/+6
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* xv.xml: Make padding explicitPeter Harris2008-08-271-3/+5
| | | | | | | | I noticed that xv.xml assumes implicit padding in a couple of locations. Please apply this patch to make the padding explicit. Or is implicit pad support required in all consumers of xcb/proto? Signed-off-by: Julien Danjou <julien@danjou.info>
* Use <bit> instead of <value> where appropriatePeter Harris2007-12-151-7/+7
|
* fixed xv SelectPortNotify argument; bug reported by Julien Cristau ↵Bart Massey2007-12-101-1/+1
| | | | <jcristau@debian.org>
* Remove support for the <localfield> tag: nothing needs it.Jamey Sharp2006-11-191-4/+1
| | | | | | | Only one use of <localfield> remained, for a list length expression in xv.xml. List length parameters that don't actually appear in the protocol should be left implicit: if no length expression is given, then a localfield will be automatically created by c-client.xsl.
* Added major-version and minor-version attributes to the xcb tag.Jeremy Kolb jkolb@brandeis.edu2006-10-291-1/+1
|
* Move extension descriptions out of extensions/ subdirectoryJosh Triplett2006-10-151-0/+430
Now that the extensions do not get installed to an extensions/ subdirectory, move them out of the extensions/ subdirectory in the source as well.