vpp: add black_threshold to disable video when window is too small [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Wed, 20 Mar 2019 17:15:54 +0000 (01:15 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 28 Mar 2019 05:34:21 +0000 (22:34 -0700)
commit4e6774d9650e245f9db0e3bf1aa863f1aaa0d359
tree0030a2d5c05c08e382f77934d2230dc7b82008cc
parentc715f0dcbbfabbf23c059e60fc0cf836e4e50dd6
vpp: add black_threshold to disable video when window is too small [1/1]

PD#TV-3641

Problem:
Add new interface to disable video when window is too small

Solution:
Add the black_threshold interface to control the threshold size.
And set the default value is width=20, height=30.

Verify:
verified by x301

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