• 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/P010)
3#  you require. After video processing, the processed content (ARGB10 surface)
4#  will be stored to frames(ARGB10 format in file).
5#    Supported features include: HDR Tone Mapping, implicit format conversion(P010->A2RGB10). Each
6# time only one kind of processing will be executed in test application. Although libva supports
7# multiple filters execution in one time. you can modify this configuration file to set the
8# filter and the corresponding parameters.
9
10#To simplify this test app, we use the default gamut for both source and destination.
11#Please set correct gamut according to the real value and VAAPI definition.
12#BT2020    Gammut        Multiplier        Output
13#G          0.17          0.797            50000        8500      39850
14#R          0.708         0.292            50000        35400     14600
15#B          0.131         0.046            50000        6550      2300
16#w          0.3127        0.329            50000        15635     16450
17#BT709    Gammut         Multiplier       Output
18#G          0.3           0.6              50000        15000     30000
19#R          0.64          0.33             50000        32000     16500
20#B          0.15          0.06             50000        7500      3000
21#w          0.3127        0.329            50000        15635     16450
22
23#0. Tone Map Type: 0-H2H, 1-H2E, 2-H2S
24TM_TYPE: 2
25
26#1.Source YUV(RGB) file information
27SRC_FILE_NAME: Source_1920x1080_4000nits.p010
28SRC_FRAME_WIDTH: 1920
29SRC_FRAME_HEIGHT: 1080
30SRC_FRAME_FORMAT: P010
31SRC_FRAME_COLOUR_PRIMARIES: 9
32SRC_FRAME_TRANSFER_CHARACTERISTICS: 16
33SRC_MAX_DISPLAY_MASTERING_LUMINANCE: 10000000
34SRC_MIN_DISPLAY_MASTERING_LUMINANCE: 100
35SRC_MAX_CONTENT_LIGHT_LEVEL: 4000
36SRC_MAX_PICTURE_AVERAGE_LIGHT_LEVEL: 100
37
38#2.Destination YUV(RGB) file information
39DST_FILE_NAME:    Dest_1920x1080_100nits_writer.abgr
40DST_FRAME_WIDTH:  1920
41DST_FRAME_HEIGHT: 1080
42DST_FRAME_FORMAT: RGBA
43DST_FRAME_COLOUR_PRIMARIES: 1
44DST_MAX_DISPLAY_MASTERING_LUMINANCE: 1000000
45DST_MIN_DISPLAY_MASTERING_LUMINANCE: 100
46DST_MAX_CONTENT_LIGHT_LEVEL: 100
47DST_MAX_PICTURE_AVERAGE_LIGHT_LEVEL: 100
48
49#3.How many frames to be processed
50FRAME_SUM: 1
51
52#4.VPP filter specific parameters. If they are not specified here,
53#default value will be applied then.
54FILTER_TYPE: VAProcFilterHighDynamicRangeToneMapping
55
56