• Home
  • Raw
  • Download

Lines Matching full:echo

14     echo -e "\033[32m ********************************************************************* \033[0m"
15 echo " Usage: "
16 echo " --$0 \$TestPicW \$TestPicH \$TestEncoderList"
17 echo ""
18 echo " --example:"
19 echo " $0 1280 720 h264enc_master h264enc_target1 h264enc_target2 "
20 echo ""
21 echo " Pre-test:"
22 echo " --1) copy welsenc.cfg from ./openh264/testbin/ to current dir"
23 echo " --2) set test YUV path in welsenc.cfg "
24 echo " --3) copy layer0.cfg from ./openh264/testbin/layer2.cfg to current dir"
25 echo " --4) copy layer1.cfg from ./openh264/testbin/layer2.cfg to current dir"
26 echo " --5) copy layer2.cfg from ./openh264/testbin/layer2.cfg to current dir"
27 echo " --6) copy layer3.cfg from ./openh264/testbin/layer2.cfg to current dir"
28 echo " layer0.cfg~layer3.cfg are used for multi-layers test cases"
29 echo ""
30 echo " --7) generate at least one encoder, "
31 echo " eg. h264enc_master----master branch as benchmark codec"
32 echo " h264enc_target----your branch CodecChanged as target codec"
33 echo ""
34 echo " --8) copy all tests codec to folder ./Encoder"
35 echo " --9) run below command line:"
36 echo " $0 \$TestPicW \$TestPicH \$TestEncoderList"
37 echo ""
38 echo " Post-test:"
39 echo " --1) temp cases log will be output in ./Trace-AllTestData"
40 echo " --2) all comparision data parsed from log files will be output to "
41 echo " related .csv file under ./Trace-AllTestData "
42 echo ""
43 echo " example:"
44 echo " --comparison almong h264enc_master h264enc_target1 h264enc_target2"
45 echo " for Zhuling_1280x720.yuv"
46 echo ""
47 echo " --run command as below:"
48 echo " $0 1280 720 h264enc_master h264enc_target1 h264enc_target2 "
49 echo ""
50 echo " --get final result files(.csv) under ./Trace-AllTestData"
51 echo ""
52 echo -e "\033[32m ********************************************************************* \033[0m"
57 echo -e "\033[32m ********************************************************************* \033[0m"
58 echo " brief:"
59 echo ""
60 echo " encoder veision comparision "
61 echo " --comparision almong encoders in \$TestEncoderList"
62 echo " --please generate at least one encoder and copy to folder ./Encoder"
63 echo " --script will run all test cases for each test encoder"
64 echo " and generate related trace log files for each encoder"
65 echo " --script will parse and extact data based on keyword from trace log file"
66 echo " and output to related .csv files for all encoder"
67 echo " --the test outout file will be put under ./Trace-AllTestData"
68 echo ""
69 echo " test cases:"
70 echo " --add more cases in function runGlobleInit()"
71 echo " --add new argument with for loop like rc. etc in function "
72 echo " runAllEncodeCasesAndGenerateLog()"
73 echo ""
74 echo " new data:"
75 echo " --currently only memory usage, you can add new data for your comparision"
76 echo " --need to add related data parse in function runParseTraceLog()"
77 echo ""
78 echo -e "\033[32m ********************************************************************* \033[0m"
83 echo -e "\033[32m ********************************************************************* \033[0m"
84 echo ""
85 echo " ------Test completed!--------"
86 echo ""
87 echo -e "\033[32m ********************************************************************* \033[0m"
88 echo " "
89 echo " --Total ${iTotalCaseNum} cases run for encoders: ${aEncoderList[@]}"
90 echo ""
91 echo " --Statistic files for comparision are list as below:"
92 echo " ${MemoryUsageStatic}"
93 echo ""
94 echo " --trace log files can be found under:"
95 echo " ${LogDir}"
96 echo ""
97 echo -e "\033[32m ********************************************************************* \033[0m"
127 echo "LogDir is ${LogDir}"
128 echo "MemoryUsageStatic file is ${MemoryUsageStatic}"
129echo "SpatialLayerNum, ThreadNum, SliceMode, SliceNum, SlicMbNum, ${TempEncoderList}" >${MemoryUsa…
131 echo "LogDir is ${LogDir}"
132 echo "MemoryUsageStatic file is ${MemoryUsageStatic}"
154echo "encoder folder does not exist, please following below command to copy encoder to test folder…
155 echo " mkdir Encoder"
156 echo " cp \${AllVersionEncoders} ./Encoder "
161 echo "aEncoderList is ${aEncoderList[@]} "
172echo "no encoder under test folder, please following below command to copy encoder to test folder-…
173 echo " cp \${AllVersionEncoders} ./Encoder "
174 echo " chmod u+x ./Encoder/* "
219 echo "*************************************************************************"
220 echo " ${SpatialLayerNum} layers spactial resolution for ${PicW}x${PicH} are:"
221 echo ""
222 echo " aPicW is ${aPicW[@]}"
223 echo " aPicH is ${aPicH[@]}"
224 echo "*************************************************************************"
235 echo "*****************************************"
236 echo "parsing trace log file"
237 echo "log file name is ${TempLogFile}"
238 echo "*****************************************"
242 echo "LogFile ${TempLogFile} does not exist, please double check!"
252 MemUsageInLog=(`echo $line | awk 'BEGIN {FS="usage:"} {print $2}' `)
262 # DataYouWant=(`echo $line | awk 'BEGIN {FS="keywordYourSearch"} {print $2}' `)
269 echo "MemoryUsage is ${MemoryUsage}"
275 echo "------------------------------------------------------"
276 echo "${Encoder} welsenc.cfg ${sEncoderCommand}" >${LogFile}
279 echo "------------------------------------------------------"
285 echo "aSpatialLayerNum is ${aSpatialLayerNum[@]}"
286 echo "aThreadIdc is ${aThreadIdc[@]}"
287 echo "aSliceMode is ${aSliceMode[@]}"
288 echo "aSliceNum is ${aSliceNum[@]}"
289 echo "aSliceMbNum is ${aSliceMbNum[@]}"
346 echo "Encode command is: "
347 echo "${Encoder} welsenc.cfg ${sEncoderCommand}"
348 echo ""
349 echo "log file is ${LogFile}"
359 echo "memory usage is ${MemoryUsage}"
366 echo "TempMemoryUsage is ${TempMemoryUsage}"
371echo "${TempTestCase}, ${TempMemoryUsage}, ${OtherDataYouWant}" >>${MemoryUsageStatic}
415 echo "encoder is ${aParamList[$i]}"
421 echo -e "\033[32m ********************************* \033[0m"
422 echo ""
423 echo " --num parameters is ${ParamNum} "
424 echo " --input parameters are:"
425 echo " $0 $@"
426 echo ""
427 echo -e "\033[32m ********************************* \033[0m"