vpp: add osd and video zorder control [2/6]

PD#SWPL-85

Problem:
Upper layer need control osd and video layer zorder

Solution:
1.Add video layer zorder interface by sysfs and ioctl
2.Switch the osd and video layer order in vsync

Verify:
Verify on U212

Change-Id: Ic50e81784b865cc57e4ab9a63d74806f7a8721cf
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>

Conflicts:
	drivers/amlogic/media/video_sink/video.c
	include/linux/amlogic/media/video_sink/vpp.h
This commit is contained in:
Brian Zhu
2019-01-18 03:25:21 +08:00
committed by Dongjin Kim
parent 8a0cfce510
commit e7e934364a

View File

@@ -456,6 +456,8 @@ static u32 reference_zorder = 128;
static s32 black_threshold_width = 20;
static s32 black_threshold_height = 30;
static u32 reference_zorder = 128;
#define MAX_ZOOM_RATIO 300
#define VPP_PREBLEND_VD_V_END_LIMIT 2304