hdmi_infoframe_pack(9)

hdmi_infoframe_pack9

Write a hdmi infoframe to binary buffer

Usage

ssize_t hdmi_infoframe_pack(union hdmi_infoframe * frame, void * buffer, size_t size);

Arguments

frame

HDMI infoframe

buffer

destination buffer

size

size of buffer

Overview

Packs the information contained in the frame structure into a binary representation that can be written into the corresponding controller registers. Also computes the checksum as required by section 5.3.5 of the HDMI 1.4 specification.

Returns the number of bytes packed into the binary buffer 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

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.