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