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 scaling and implicit format conversion(NV12<->YV12<->I420). 6# input and output crop and usrptr. 7# you can modify this configuration file to set the corresponding parameters. 8 9#1.Source YUV(RGB) file information 10SRC_FILE_NAME: ./flowersky_352x288_writer352x288.yv12 11SRC_FRAME_WIDTH: 352 12SRC_FRAME_HEIGHT: 288 13SRC_FRAME_FORMAT: YV12 14 15# supported type: (CPU, VA), default: VA 16SRC_SURFACE_MEMORY_TYPE: VA 17 18#if use usrptr CPU memory type, can support 16/128 align mode 19SRC_SURFACE_CPU_ALIGN_MODE: 128 20 21#if you want to do source crop, you need define the area below to crop 22#do the crop: 1; not do the crop: 0(default) 23SRC_SURFACE_CROP: 1 24 25#Cropping info 26SRC_CROP_LEFT_X: 10 27SRC_CROP_TOP_Y: 20 28SRC_CROP_WIDTH:200 29SRC_CROP_HEIGHT:200 30 31#2.Destination YUV(RGB) file information 32#dest file number: 33DST_NUMBER: 1 34 35#we can support N>=2 outputs, you just need add the para to xx_N format 36DST_FILE_NAME_1: ./scaling_out_1400x1200.nv12 37DST_FRAME_WIDTH_1: 1400 38DST_FRAME_HEIGHT_1: 1200 39DST_FRAME_FORMAT_1: NV12 40 41#dest surface memory type 42# supported type: (CPU, VA), default: VA 43DST_SURFACE_MEMORY_TYPE_1: VA 44 45#if use usrptr CPU memory type, can support 16/128 align mode 46DST_SURFACE_CPU_ALIGN_MODE_1: 128 47 48#we can support the output crop with none (0, 0) top/left in render target 49#if the value set to 1, the output can be scale to the positon below defined 50#if the value set to 0, ignore and do not crop output 51#if the value set to 1, please ensure the DST_NUMBER to 1 52DST_SURFACE_CROP: 1 53#destination area (used in scaling) 54DST_CROP_LEFT_X: 100 55DST_CROP_TOP_Y: 100 56DST_CROP_WIDTH: 1000 57DST_CROP_HEIGHT: 800 58 59DST_FILE_NAME_2: ./scaling_out_1000x800_2.yuy2 60DST_FRAME_WIDTH_2: 1000 61DST_FRAME_HEIGHT_2: 800 62DST_FRAME_FORMAT_2: YUY2 63 64DST_FILE_FORMAT_2: YUY2 65#dest surface memory type 66# supported type: (CPU, VA), default: VA 67DST_SURFACE_MEMORY_TYPE_2: CPU 68 69#if use usrptr CPU memory type, can support 16/128 align mode 70DST_SURFACE_CPU_ALIGN_MODE_2: 128 71 72DST_FILE_NAME_3: ./scaling_out_1200x1000_3.nv12 73DST_FRAME_WIDTH_3: 1200 74DST_FRAME_HEIGHT_3: 1000 75DST_FRAME_FORMAT_3: NV12 76 77#dest surface memory type 78# supported type: (CPU, VA), default: VA 79DST_SURFACE_MEMORY_TYPE_3: CPU 80 81#if use usrptr CPU memory type, can support 16/128 align mode 82DST_SURFACE_CPU_ALIGN_MODE_3: 128 83 84#if you need to scale the 16align output as input, you can add the para 2ND_SCALE, 85#xx_02 will be the 2nd scale output, regarding the 1st scale output as input 86# 1: enable the 2ndscale, default:0 872ND_SCALE: 0 88#3.How many frames to be processed 89FRAME_SUM: 1 90 91