Skip to content

Commit e71e2ef

Browse files
committed
FIXME: h264: store Inter Y scaling matrix at both index 1 and 3
At this point it is unclear whether to store the Inter Y scaling matrix at index 1 (h.264 standard) or 3 [1]. Store it at both indices for now. [1] https://lore.kernel.org/linux-media/HE1PR06MB40118B3C30939861DD91113CACBE0@HE1PR06MB4011.eurprd06.prod.outlook.com/T/#m60af013132990335d525e6e5600c5f5bd692cfbf Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent d9fd9e1 commit e71e2ef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/h264.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,10 @@ static void h264_va_matrix_to_v4l2(struct request_data *driver_data,
317317
*/
318318
memcpy(v4l2_matrix->scaling_list_8x8[0], &VAMatrix->ScalingList8x8[0],
319319
sizeof(v4l2_matrix->scaling_list_8x8[0]));
320+
/* FIXME --> */
321+
memcpy(v4l2_matrix->scaling_list_8x8[1], &VAMatrix->ScalingList8x8[1],
322+
sizeof(v4l2_matrix->scaling_list_8x8[1]));
323+
/* <-- FIXME */
320324
memcpy(v4l2_matrix->scaling_list_8x8[3], &VAMatrix->ScalingList8x8[1],
321325
sizeof(v4l2_matrix->scaling_list_8x8[3]));
322326
}

0 commit comments

Comments
 (0)