[PATCHv2 2/3] hdmi: added unpack and logging functions for InfoFrames

2014-12-19 Thread Hans Verkuil
Hi Thierry, On 12/18/2014 09:19 AM, Thierry Reding wrote: >> +static int hdmi_avi_infoframe_unpack(struct hdmi_avi_infoframe *frame, >> + void *buffer) >> +{ >> +u8 *ptr = buffer; >> +int ret; >> + >> +if (ptr[0] != HDMI_INFOFRAME_TYPE_AVI || >> +

[PATCHv2 2/3] hdmi: added unpack and logging functions for InfoFrames

2014-12-18 Thread Thierry Reding
On Tue, Dec 02, 2014 at 01:08:45PM +0100, Hans Verkuil wrote: > From: Martin Bugge > > When receiving video it is very useful to be able to unpack the InfoFrames. > Logging is useful as well, both for transmitters and receivers. > > Especially when implementing the VIDIOC_LOG_STATUS ioctl (suppo

[PATCHv2 2/3] hdmi: added unpack and logging functions for InfoFrames

2014-12-02 Thread Hans Verkuil
From: Martin Bugge When receiving video it is very useful to be able to unpack the InfoFrames. Logging is useful as well, both for transmitters and receivers. Especially when implementing the VIDIOC_LOG_STATUS ioctl (supported by many V4L2 drivers) for a receiver it is important to be able to ea