• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Configuration information for video process test case.
2#    This application will firstly load yuv frames to one type of surface(NV12/YV12/I420)
3#  you require. After video processing, the processed content (NV12/YV12/I420 surface)
4#  will be stored to frames(yv12 format in file).
5#    Supported features include: denoise, deinterlacing, sharpening, color balance, skintone
6# detection/enhancement, blending and implicit format conversion(NV12<->YV12<->I420). Each
7# time only one kind of processing will be executed in test application. Although libva supports
8# multiple filters execution in one time. you can modify this configuration file to set the
9# filter and the corresponding parameters.
10
11#1.Source YUV(RGB) file information
12#SRC_FILE_NAME:    /root/clips/YUV/bus_cif.yv12
13SRC_FILE_NAME: ./bsw_src_1280x1024.yuy2.yuv
14SRC_FRAME_WIDTH:  1280
15SRC_FRAME_HEIGHT: 1024
16SRC_FRAME_FORMAT: YUYV
17
18#Note .yv12 files are in YV12 format and .yuv used above for STDE is in I420 format
19SRC_FILE_FORMAT: YUYV
20
21#2.Destination YUV(RGB) file information
22DST_FILE_NAME:    ./output.yuv
23DST_FRAME_WIDTH:  1920
24DST_FRAME_HEIGHT: 1080
25DST_FRAME_FORMAT: YUYV
26
27DST_FILE_FORMAT: YUYV
28
29#3.How many frames to be processed
30FRAME_SUM: 1
31
32#4.VPP filter type and parameters, the following filters are supported:
33  #(VAProcFilterNone,VAProcFilterNoiseReduction,VAProcFilterDeinterlacing,
34  # VAProcFilterSharpening,VAProcFilterColorBalance,VAProcFilterSkinToneEnhancement
35  # defalut VAProcFilterNone)
36FILTER_TYPE: VAProcFilterNone
37
38#5.VPP filter specific parameters. If they are not specified here,
39#default value will be applied then.
40
41#5.1 Denoise filter paramters
42 #(0.0 ~ 1.0, default 0.5)
43DENOISE_INTENSITY: 0.75
44
45#5.2 Deinterlacding parameters
46  #(VAProcDeinterlacingBob, VAProcDeinterlacingWeave,
47  # VAProcDeinterlacingMotionAdaptive, VAProcDeinterlacingMotionCompensated,
48  # default: VAProcDeinterlacingBob)
49DEINTERLACING_ALGORITHM:  VAProcDeinterlacingBob
50
51 #(VA_DEINTERLACING_BOTTOM_FIELD_FIRST |
52 # VA_DEINTERLACING_BOTTOM_FIELD |
53 # VA_DEINTERLACING_ONE_FIELD, default 0)
54DEINTERLACING_FLAGS: 0
55
56#5.3 Sharpening parameters
57 # (0.0 ~ 1.0, default 0.5)
58SHARPENING_INTENSITY: 0.75
59
60#5.4 Blending
61 # (0, 1, default 0)
62BLENDING_ENABLED:  0
63 # (VA_BLEND_GLOBAL_ALPHA |
64 #  VA_BLEND_LUMA_KEY, defalut 0)
65BLENDING_FLAGS: VA_BLEND_GLOBAL_ALPHA
66 # (0.0 ~ 1.0, default 0.5)
67BLENDING_GLOBAL_ALPHA: 0.5
68 # (1 ~ 254, defalut 1)
69BLENDING_MIN_LUMA: 1
70 # (1 ~ 254, defalut 254)
71BLENDING_MAX_LUMA: 254
72
73#5.5 Color balance parameters
74 #(-180 ~ 180, default 0)
75COLOR_BALANCE_HUE: 0
76 #(0.0 ~ 10.0, default 1.0)
77COLOR_BALANCE_SATURATION: 1.0
78 #(-100 ~ 100, default 0)
79COLOR_BALANCE_BRIGHTNESS: 20
80 #(0.0 ~ 10.0, default 1.0)
81COLOR_BALANCE_CONTRAST:  1.2
82
83#5.6 Skin Tone Detection and Enhancement parameters
84 # (One of 0, 3, 6, 9, default = 0)
85STDE_FACTOR: 9
86