mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
media: uapi: Add MEDIA_BUS_FMT_SENSOR_DATA media bus format
This patch adds MEDIA_BUS_FMT_SENSOR_DATA used by the bcm2835-unicam driver to support CSI-2 embedded data streams from camera sensors. Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
This commit is contained in:
committed by
Dom Cobley
parent
0b025d5c35
commit
28a14e1da2
@@ -8561,3 +8561,33 @@ and finally the bit number in subscript. "x" indicates a padding bit.
|
|||||||
- x
|
- x
|
||||||
- x
|
- x
|
||||||
- x
|
- x
|
||||||
|
|
||||||
|
.. _v4l2-mbus-sensor-data:
|
||||||
|
|
||||||
|
Sensor Ancillary Metadata Formats
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
This section lists ancillary data generated by a camera sensor and
|
||||||
|
transmitted over a stream on the camera bus.
|
||||||
|
|
||||||
|
The following table lists the existing sensor ancillary metadata formats:
|
||||||
|
|
||||||
|
|
||||||
|
.. _v4l2-mbus-pixelcode-sensor-metadata:
|
||||||
|
|
||||||
|
.. tabularcolumns:: |p{8.0cm}|p{1.4cm}|p{7.7cm}|
|
||||||
|
|
||||||
|
.. flat-table:: Sensor ancillary metadata formats
|
||||||
|
:header-rows: 1
|
||||||
|
:stub-columns: 0
|
||||||
|
|
||||||
|
* - Identifier
|
||||||
|
- Code
|
||||||
|
- Comments
|
||||||
|
* .. _MEDIA_BUS_FMT_SENSOR_DATA:
|
||||||
|
|
||||||
|
- MEDIA_BUS_FMT_SENSOR_DATA
|
||||||
|
- 0x7001
|
||||||
|
- Sensor vendor specific ancillary metadata. Some vendors follow a generic
|
||||||
|
CSI-2/SMIA embedded data format as described in the `CSI-2 specification.
|
||||||
|
<https://mipi.org/specifications/csi-2>`_
|
||||||
|
|||||||
@@ -183,4 +183,7 @@
|
|||||||
#define MEDIA_BUS_FMT_META_20 0x8006
|
#define MEDIA_BUS_FMT_META_20 0x8006
|
||||||
#define MEDIA_BUS_FMT_META_24 0x8007
|
#define MEDIA_BUS_FMT_META_24 0x8007
|
||||||
|
|
||||||
|
/* Sensor ancillary metadata formats - next is 0x7002 */
|
||||||
|
#define MEDIA_BUS_FMT_SENSOR_DATA 0x7002
|
||||||
|
|
||||||
#endif /* __LINUX_MEDIA_BUS_FORMAT_H */
|
#endif /* __LINUX_MEDIA_BUS_FORMAT_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user