vpp: add the pic_mode backup to check difference [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Tue, 19 Mar 2019 13:19:30 +0000 (21:19 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 20 Mar 2019 08:49:01 +0000 (00:49 -0800)
commitc67657f1bdfebc0c4cc04ad8bba7e01533ba7f50
tree981fb58db7e15b1b79ecf49ee193ab95bd9bba6f
parenta1bf1b1b20fd2f7a1f74fe5a52562bc310c6d141
vpp: add the pic_mode backup to check difference [1/1]

PD#TV-2929

Problem:
The pic_mode in cur_dispbuf was changed but not be detected.

Solution:
Add global pic_mode variable to check if the pic_mode in cur_dispbuf
is changed. If so, force vpp_set_filters.

Verify:
verified on x301

Change-Id: I5b95f512ad0823b031989f05526f114694887f2b
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/video_sink/video.c