On Thu, 2009-02-12 at 14:59 +0800, Ma Ling wrote:

> > > +struct cea_vendor_blk {
> > > +  unsigned char ieee_id[3];
> > > +  Uchar  portB:4;
> > > +  Uchar  portA:4;
> > > +  Uchar  portD:4;
> > > +  Uchar  portC:4;
> > > +  struct vendor_hdmi hdmi;
> > > +};
> > 
> > I don't see the port bits mentioned in the base CEA spec, at all.  Where
> > are you getting this from?
> Oh, I saw it in 8.3.2 HDMI Vendor-Specific Data Block (HDMI VSDB) of 
> HDMISpecification13a.pdf

The name "cea_vendor_block" implies that it's a generic container for
vendor block encodings.  Something more like:

struct cea_vendor_block_hdmi {
    unsigned char portB:4;
    unsigned char portA:4;
    unsigned char portD:4:
    unsigned char portC:4;
    unsigned char support_flags;
    unsigned char max_tmds_clock;
    unsigned char latency_present;
    unsigned char video_latency;
    unsigned char audio_latency;
    unsigned char interlaced_video_latency;
    unsigned char interlaced_audio_latency;
};

/* other vendor block types */

struct cea_vendor_block {
    unsigned char ieee_id[3];
    union {
        struct cea_vendor_block_hdmi hdmi;
        /* any other vendor blocks we know about */
    } u;
};

perhaps?

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to