Hello,

This patch introduces new type of v4l2 control - the binary control. It
will be useful for exchanging raw binary data between the user space and
the driver/hardware.

The patch is pretty small – basically it adds a new control type.

1.  Reasons to include this new type
- Some devices require data which are not part of the stream, but there
are necessary for the device to work e.g. coefficients for transformation
matrices.
- String control is not suitable as it suggests that the data is a null
terminated string. This might be important when printing debug information -
one might output strings as they are and binary data in hex.

2. How does the binary control work
The binary control has been based on the string control. The principle of
use is the same. It uses v4l2_ext_control structure to pass the pointer and
size of the data. It is left for the driver to call the copy_from_user/
copy_to_user function to copy the data.

3. About the patch
The patch is pretty small – it basically adds a new control type. 

Best wishes,
-- 
Kamil Debski
Linux Platform Group
Samsung Poland R&D Center
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to