• 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 blending and implicit format conversion(NV12<->YV12<->I420).
6#  you can modify this configuration file to set the corresponding parameters.
7
8#1.Source YUV(RGB) file information
9#src file number:
10SRC_NUMBER: 2
11#source file1
12SRC_FILE_NAME_1: ./00003_section1_ColorfulPens_960x640.nv12
13SRC_FRAME_WIDTH_1:960
14SRC_FRAME_HEIGHT_1:640
15SRC_FRAME_FORMAT_1: NV12
16SRC_FILE_FORMAT_1: NV12
17#Cropping info
18SRC_CROP_LEFT_X_1: 0
19SRC_CROP_TOP_Y_1: 0
20SRC_CROP_WIDTH_1:960
21SRC_CROP_HEIGHT_1:640
22
23#destination area (used in scaling)
24SRC_DstLeftX_1: 0
25SRC_DstTopY_1: 0
26SRC_DstWidth_1: 960
27SRC_DstHeight_1: 640
28#we can support N>=2 input, you just need add the para to xx_N format
29SRC_FILE_NAME_2: ./00003_section1_ColorfulPens_5f_720x480_writer720x480.argb
30SRC_FRAME_WIDTH_2:720
31SRC_FRAME_HEIGHT_2: 480
32SRC_FRAME_FORMAT_2: ARGB
33SRC_FILE_FORMAT_2: ARGB
34#Cropping info
35SRC_CROP_LEFT_X_2: 0
36SRC_CROP_TOP_Y_2: 0
37SRC_CROP_WIDTH_2:720
38SRC_CROP_HEIGHT_2:480
39#destination area (used in scaling)
40SRC_DstLeftX_2: 100
41SRC_DstTopY_2: 100
42SRC_DstWidth_2: 720
43SRC_DstHeight_2: 480
44#Defines Video blend flags 1-Global Alpah, 2-Premutiplied Alpha, 3-Luma Key
45SRC_CompositionBlendFlags_2: 1
46#Defines Global Alpah blending value 0.0 to 1.0
47SRC_CompositionAlpha_2: 0.5
48#Defines Minimum Luma value 0.0 to 1.0 for Luma Key  (used in composition)
49SRC_compositionLumaMin_2:0.0
50#Defines Maximum Luma value 0.0 to 1.0 for Luma Key  (used in composition)
51SRC_compositionLumaMax_2:1.0
52
53#2.Destination YUV(RGB) file information
54DST_FILE_NAME:    ./writer960x640.argb
55DST_FRAME_WIDTH:  960
56DST_FRAME_HEIGHT: 640
57DST_FRAME_FORMAT: ARGB
58DST_FILE_FORMAT: ARGB
59
60#3.How many frames to be processed
61FRAME_SUM: 5
62