Skip to contentSkip to conversation

media: v4l2: Fix documentation for 12-bit packed Bayer

PATCH In review Suhrid Subramaniam 2 participants 3 messages Jul 11, 2023 – Aug 15, 2023 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: v4l2: Fix documentation for 12-bit packed Bayer

Fix documentation for R13 and R33 low bits.

---
 Documentation/userspace-api/media/v4l/pixfmt-srggb12p.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/userspace-api/media/v4l/pixfmt-srggb12p.rst +2 -2
index b6e79e2f8ce4..7c3810ff783c 100644
@@ -60,7 +60,7 @@ Each cell is one byte.
           G\ :sub:`10low`\ (bits 3--0)
        -  G\ :sub:`12high`
        -  R\ :sub:`13high`
-       -  R\ :sub:`13low`\ (bits 3--2)
+       -  R\ :sub:`13low`\ (bits 7--4)
 
           G\ :sub:`12low`\ (bits 3--0)
     -  -  start + 12:
@@ -82,6 +82,6 @@ Each cell is one byte.
           G\ :sub:`30low`\ (bits 3--0)
        -  G\ :sub:`32high`
        -  R\ :sub:`33high`
-       -  R\ :sub:`33low`\ (bits 3--2)
+       -  R\ :sub:`33low`\ (bits 7--4)
 
           G\ :sub:`32low`\ (bits 3--0)
Signature · 1 line
2.41.0
#1 lore raw

Hi Suhrid,

Quoted 3 lines · Suhrid Subramaniam

Fix documentation for R13 and R33 low bits.

This doesn't match with the From: field.

I can fix it this time --- which one should it be? And please do fix this going forward.

Signature · 1 line
Sakari Ailus
#2 lore raw

Hi Sakari,

I didn't know that the "From" field needs to match the "signed-off-by" field. If both need to match, please help me update both to [email protected]
Thanks!

Quoted 15 lines · Sakari Ailus

Hi Suhrid,

Quoted 3 lines · Suhrid Subramaniam

Fix documentation for R13 and R33 low bits.

This doesn't match with the From: field.

I can fix it this time --- which one should it be? And please do fix this going forward.

--
Sakari Ailus