On Thu, 6 Jun 2002, etienne wrote: > hello, > > cant find the right doc!!!! > > does anyone know where I can find valid values for the id field in > XvShmCreateImage ? > > testxv.c internally defines one colour model, > #define GUID_YUV12_PLANAR 0x32315659 > > ............ I need YUV422 ............ where is this defined ? >
The id field is one of the values that are returned by XvListImageFormats. Those are your choices. The id is typically, but not necessarily, the standard fourcc code. There are some fourcc documents on the web, such as: http://www.webartz.com/fourcc/ The field that is supposed to uniquely define the XvImage format is the guid field. There are guids corresponding to standard fourccs as described by RFC 2361, but guids may be used for formats for which there is no fourcc and, in that case, the id will typically be something else. Mark. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
