vpp: improve the csc and dv switch flow and policy [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Wed, 11 Sep 2019 19:39:26 +0000 (03:39 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 27 Sep 2019 09:33:29 +0000 (02:33 -0700)
commit190492f6a9800dc99aa6ff8372202ec3bda78adc
tree60a818030ff703c7526d8f645b4286b23f50658d
parent87952ccbc79d4e7b1d1893d3561bf2cc89b217df
vpp: improve the csc and dv switch flow and policy [1/1]

PD#SWPL-13990

Problem:
There are some conflicts between csc and dv module switching.
Can not switch to SDR->DV when HDR core is working on SDR->SDR mode.

Solution:
1. Improve the switching policy. DV and csc will use same on.
2. add mute operation under dv mode.

Verify:
Verified on AC211

Change-Id: I4d59328fc34228a0ef5275d22643932c4dfe00b0
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c
drivers/amlogic/media/enhancement/amvecm/amcsc.c
drivers/amlogic/media/enhancement/amvecm/amcsc.h
drivers/amlogic/media/enhancement/amvecm/amcsc_pip.c
drivers/amlogic/media/enhancement/amvecm/set_hdr2_v0.c
drivers/amlogic/media/video_sink/video.c
include/linux/amlogic/media/amdolbyvision/dolby_vision.h
include/linux/amlogic/media/video_sink/video.h