]> Git Repo - linux.git/commitdiff
media: uapi: h264: clarify expected scaling_list_4x4/8x8 order
authorJonas Karlman <[email protected]>
Tue, 29 Oct 2019 00:00:51 +0000 (01:00 +0100)
committerMauro Carvalho Chehab <[email protected]>
Sat, 9 Nov 2019 07:46:07 +0000 (08:46 +0100)
Clarify that the expected order of scaling lists should follow the order
they are listed in the H264 standard.

The expected scaling list order,
for 4x4: Intra Y, Intra Cb, Intra Cr, Inter Y, Inter Cb, Inter Cr,
for 8x8: Intra Y, Inter Y, Intra Cb, Inter Cb, Intra Cr, Inter Cr.

Also clarify that the values in a scaling list should be in matrix order,
the same value order that vaapi, vdpau and nvdec use.

Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Documentation/media/uapi/v4l/ext-ctrls-codec.rst

index a1209f68c5e8cf26732411a29e3b7dc8dd67209b..28313c0f4e7cc8f15fb344fdbe3e5146d6d8dac3 100644 (file)
@@ -1713,10 +1713,14 @@ enum v4l2_mpeg_video_h264_hierarchical_coding_type -
 
     * - __u8
       - ``scaling_list_4x4[6][16]``
-      -
+      - Scaling matrix after applying the inverse scanning process.
+        Expected list order is Intra Y, Intra Cb, Intra Cr, Inter Y,
+        Inter Cb, Inter Cr.
     * - __u8
       - ``scaling_list_8x8[6][64]``
-      -
+      - Scaling matrix after applying the inverse scanning process.
+        Expected list order is Intra Y, Inter Y, Intra Cb, Inter Cb,
+        Intra Cr, Inter Cr.
 
 ``V4L2_CID_MPEG_VIDEO_H264_SLICE_PARAMS (struct)``
     Specifies the slice parameters (as extracted from the bitstream)
This page took 0.06848 seconds and 4 git commands to generate.