mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
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:
@@ -909,7 +909,8 @@ static int vpp_set_filters_internal(
|
|||||||
reverse = input->reverse;
|
reverse = input->reverse;
|
||||||
#endif
|
#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_left = 0;
|
||||||
video_source_crop_right = 0;
|
video_source_crop_right = 0;
|
||||||
video_source_crop_top = 0;
|
video_source_crop_top = 0;
|
||||||
@@ -2514,7 +2515,8 @@ static int vpp_set_filters_no_scaler_internal(
|
|||||||
reverse = input->reverse;
|
reverse = input->reverse;
|
||||||
#endif
|
#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_left = 0;
|
||||||
video_source_crop_right = 0;
|
video_source_crop_right = 0;
|
||||||
video_source_crop_top = 0;
|
video_source_crop_top = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user