Name

hdmi_infoframe_unpack — 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.