diff options
author | Jonas Karlman <[email protected]> | 2019-11-06 23:35:11 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2019-11-10 18:00:08 +0100 |
commit | a2cbf80a842add9663522bf898cf13cb2ac4e423 (patch) | |
tree | c613bf5b5f48822d44f0ce362a0b4f01a76a8400 /lib/mpi/mpiutil.c | |
parent | 0875962af488e1bbfe6dc4f773495529459d2a28 (diff) |
media: hantro: Set H264 FIELDPIC_FLAG_E flag correctly
The FIELDPIC_FLAG_E bit should be set when field_pic_flag exists in stream,
it is currently set based on field_pic_flag of current frame.
The PIC_FIELDMODE_E bit is correctly set based on the field_pic_flag.
Fix this by setting the FIELDPIC_FLAG_E bit when frame_mbs_only is not set.
Fixes: dea0a82f3d22 ("media: hantro: Add support for H264 decoding on G1")
Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions