vpp: 3d: disable crop when 3d playback or hdmi in [1/1]

PD#TV-3962

Problem:
3D mode does not support crop function

Solution:
Remove crop when 3D display.

Verify:
Verified on x301

Change-Id: Id35dd662886be24e3ec78d070e3a70f513f89b16
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
This commit is contained in:
Brian Zhu
2019-04-02 14:16:05 +08:00
committed by Tao Zeng
parent 6862fb2e96
commit e8a3758855

View File

@@ -909,7 +909,8 @@ static int vpp_set_filters_internal(
reverse = input->reverse;
#endif
if (vf->type & VIDTYPE_MVC) {
if ((vf->type & VIDTYPE_MVC) ||
(input->proc_3d_type & MODE_3D_ENABLE)) {
video_source_crop_left = 0;
video_source_crop_right = 0;
video_source_crop_top = 0;
@@ -2514,7 +2515,8 @@ static int vpp_set_filters_no_scaler_internal(
reverse = input->reverse;
#endif
if (vf->type & VIDTYPE_MVC) {
if ((vf->type & VIDTYPE_MVC) ||
(input->proc_3d_type & MODE_3D_ENABLE)) {
video_source_crop_left = 0;
video_source_crop_right = 0;
video_source_crop_top = 0;