Commit b4b3564c authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot Committed by Mauro Carvalho Chehab

media: hantro: Use VP8 lengths defined in uapi

Use the new defines instead of hardcoding the VP8 lengths.

[hverkuil: add commit log]
Signed-off-by: default avatarEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 8d48b611
...@@ -23,11 +23,11 @@ struct vp8_prob_tbl_packed { ...@@ -23,11 +23,11 @@ struct vp8_prob_tbl_packed {
u8 padding1; u8 padding1;
/* mv prob */ /* mv prob */
u8 prob_mv_context[2][19]; u8 prob_mv_context[2][V4L2_VP8_MV_PROB_CNT];
u8 padding2[2]; u8 padding2[2];
/* coeff probs */ /* coeff probs */
u8 prob_coeffs[4][8][3][11]; u8 prob_coeffs[4][8][3][V4L2_VP8_COEFF_PROB_CNT];
u8 padding3[96]; u8 padding3[96];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment