projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3628cd9
)
amvideo: set black_threshold_height default 48 [1/1]
author
jintao xu
<jintao.xu@amlogic.com>
Tue, 21 May 2019 11:47:32 +0000
(19:47 +0800)
committer
Tao Zeng
<tao.zeng@amlogic.com>
Fri, 24 May 2019 01:32:08 +0000
(18:32 -0700)
PD#OTT-1836
Problem:
disable video when window is too small
Solution:
set black_threshold_height default 48
Verify:
U212
Change-Id: I9ed7deb54baef1c44bb9cc0c1a4d699140663864
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
drivers/amlogic/media/video_sink/video.c
patch
|
blob
|
history
diff --git
a/drivers/amlogic/media/video_sink/video.c
b/drivers/amlogic/media/video_sink/video.c
index 862a3e95a5d7d6c7a8dbb0472e1c6bddbee7749c..e46c9331f2499711223f6b6ae83ce5af2d2a5e28 100644
(file)
--- a/
drivers/amlogic/media/video_sink/video.c
+++ b/
drivers/amlogic/media/video_sink/video.c
@@
-458,7
+458,7
@@
static u32 reference_zorder = 128;
/* default value 20 30 */
static s32 black_threshold_width = 20;
-static s32 black_threshold_height =
30
;
+static s32 black_threshold_height =
48
;
static struct vframe_s hist_test_vf;
static bool hist_test_flag;