video: driver: amend interlace detection logic

As per HFI_PROP_CODED_FRAMES details, 0x0 is field interlace,
0x1 is progressive and 0x2 is adaptive frame field bitstream.
Treat 0x1 as progressive and both 0x0 and 0x2 as interlace in
driver.

Change-Id: I07c7c8b4faaccc896249b2da84148ec05c2047da
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
This commit is contained in:
Maheshwar Ajja
2021-02-24 16:49:15 -08:00
committed by Gerrit - the friendly Code Review server
父節點 481a6117d8
當前提交 395d4a9ff5
共有 4 個文件被更改,包括 13 次插入8 次删除

查看文件

@@ -1016,8 +1016,8 @@ static struct msm_platform_inst_capability instance_data_waipio[] = {
MSM_VIDC_POWER_SAVE_MODE},
{CODED_FRAMES, DEC, CODECS_ALL,
CODED_FRAMES_MBS_ONLY, CODED_FRAMES_ADAPTIVE_FIELDS,
1, CODED_FRAMES_MBS_ONLY,
CODED_FRAMES_PROGRESSIVE, CODED_FRAMES_INTERLACE,
1, CODED_FRAMES_PROGRESSIVE,
0,
HFI_PROP_CODED_FRAMES},