hdmi_infoframe_unpack(9) unpack binary buffer to a HDMI infoframe

SYNOPSIS

int hdmi_infoframe_unpack(union hdmi_infoframe * frame, void * buffer);

ARGUMENTS

frame

HDMI infoframe

buffer

source buffer

DESCRIPTION

Unpacks the information contained in binary buffer buffer into a structured frame of a HDMI infoframe. Also verifies the checksum as required by section 5.3.5 of the HDMI 1.4 specification.

Returns 0 on success or a negative error code on failure.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT