[x265] [PATCH] Modified Regression Test scripts

Steve Borho steve at borho.org
Wed Jul 17 19:57:09 CEST 2013


On Wed, Jul 17, 2013 at 1:39 PM, <mahesh at multicorewareinc.com> wrote:

> # HG changeset patch
> # User maheshpittala
> # Date 1374086373 25200
> # Node ID e425601ecf4b6741215fe503facd45cf5e4896b6
> # Parent  0becdecde6ee77e4ec43daf8996a8eeb3f6f6131
> Modified Regression Test scripts
>
> diff -r 0becdecde6ee -r e425601ecf4b
> source/encoder/BuildEncoderApplications.bat
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/source/encoder/BuildEncoderApplications.bat       Wed Jul 17
> 11:39:33 2013 -0700
> @@ -0,0 +1,131 @@
> + at echo off
> +
> + cd "%builddir%"
> +   mkdir 8bit_PPA
> +   cd 8bit_PPA
> +   set solution="x265.sln"
>

why are there different indentations?  it looks rather odd


> +       echo SET(ENABLE_TESTS ON CACHE BOOL "Enable Unit Tests" FORCE ^)
> >> enablecache.txt
> +       echo SET(HIGH_BIT_DEPTH OFF CACHE BOOL "Use 8bit pixels
> internally" FORCE ^) >> enablecache.txt
>

The default is OFF, so it is unnecessary to enable this


> +       echo SET(ENABLE_PRIMITIVES ON CACHE BOOL "Enable use of optimized
> encoder primitives" FORCE ^) >> enablecache.txt
>

ENABLE_PRIMITIVES no longer does anything


> +       echo SET(ENABLE_PPA ON CACHE BOOL "ENABLE_PPA" FORCE ^) >>
> enablecache.txt
> +       echo SET(ENABLE_CLI ON CACHE BOOL "Enable ENABLE_CLI" FORCE ^) >>
> enablecache.txt
>

ENABLE_CLI is on by default


> +
> +       cmake -G %makefile%  -C enablecache.txt ..\..\..\source
>

If you're only enabling a couple of options, you can use "cmake -DOPT1=VAL1
-DOPT2=VAL2..\..\..\source" and don't need to use a cache file


> +       if exist %solution% (
> +               call %vcvars%
> +               MSBuild /property:Configuration="Debug" x265.sln >>
> BuildLog.txt
> +
> +               if %errorlevel% equ 1 (
> +                       echo Build with 8bit_PPA unsuccessfull for
> %makefile% refer the build log  >> "%LOG%"
> +                       exit 1
> +               )
> +               echo Build with 8bit_PPA successfull for %makefile% >>
> "%LOG%"
>

It's probably redundant to report successes.


> +
> +               if exist Debug\x265.exe (
> +                       echo build Application with 8bit_PPA successfull
> for %makefile% >> "%LOG%"
> +               ) else (
> +                       echo build Application with 8bit_PPA unsuccessfull
> for %makefile%  refer the Build log >> "%LOG%"
> +               )
> +        ) else ( echo 8bit_PPA solution is not created for %makefile% >>
> "%LOG%"
>

Please make the indentation style consistent


> +        )
> +
> +
>
>


> + cd "%builddir%"
>

using CD over and over forces %builddir% to be an absolute directory.  It
would be better if each build simply assumed they started in the builddir,
created their build folder and cd'd into it, and then cd'd back out at the
end.


> +   mkdir 16bit_PPA
> +   cd 16bit_PPA
> +   set solution="x265.sln"
>

x265.sln is not going to change, it should be defined once.


> +
> +       echo SET(ENABLE_TESTS ON CACHE BOOL "Enable Unit Tests" FORCE ^)
> >> enablecache.txt
> +       echo SET(HIGH_BIT_DEPTH ON CACHE BOOL "Use 16bit pixels
> internally" FORCE ^) >> enablecache.txt
> +       echo SET(ENABLE_PRIMITIVES ON CACHE BOOL "Enable use of optimized
> encoder primitives" FORCE ^) >> enablecache.txt
> +       echo SET(ENABLE_PPA ON CACHE BOOL "Enable ENABLE_PPA" FORCE ^) >>
> enablecache.txt
> +       echo SET(ENABLE_CLI ON CACHE BOOL "Enable ENABLE_CLI" FORCE ^) >>
> enablecache.txt
> +
> +       cmake -G %makefile%  -C enablecache.txt ..\..\..\source
> +
> +       if exist %solution% (
> +               call %vcvars%
> +               MSBuild /property:Configuration="Debug" x265.sln >>
> BuildLog.txt
> +
> +               if %errorlevel% equ 1 (
> +                       echo Build with 16bit_PPA unsuccessfull for
> %makefile% refer the build log  >> "%LOG%"
> +                       exit 1
> +               )
> +               echo Build with 16bit_PPA successfull for %makefile% >>
> "%LOG%"
> +
> +               if exist Debug\x265.exe (
> +                       echo build Application with 16bit_PPA successfull
> for %makefile% >> "%LOG%"
> +               ) else (
> +                       echo build Application with 16bit_PPA
> unsuccessfull for %makefile%  refer the Build log >> "%LOG%"
> +               )
> +        ) else ( echo 16bit_PPA solution is not created for %makefile% >>
> "%LOG%"
> +        )
> +
>


This really wants to be a subroutine that accepts a directory name and
cmake option arguments.

Please make this more re-usable and then we'll do another round of reviews
tomorrow.


> +   cd "%builddir%"
> +   mkdir 8bit
> +   cd 8bit
> +   set solution="x265.sln"
> +
> +       echo SET(ENABLE_TESTS ON CACHE BOOL "Enable Unit Tests" FORCE ^)
> >> enablecache.txt
> +       echo SET(HIGH_BIT_DEPTH OFF CACHE BOOL "Use 8bit pixels
> internally" FORCE ^) >> enablecache.txt
> +       echo SET(ENABLE_PRIMITIVES ON CACHE BOOL "Enable use of optimized
> encoder primitives" FORCE ^) >> enablecache.txt
> +       echo SET(FAST_MODE_DECISION OFF CACHE BOOL "Enable
> FAST_MODE_DECISION" FORCE ^) >> enablecache.txt
> +       echo SET(ENABLE_CLI ON CACHE BOOL "Enable ENABLE_CLI" FORCE ^) >>
> enablecache.txt
> +
> +       cmake -G %makefile%  -C enablecache.txt ..\..\..\source
> +
> +       if exist %solution% (
> +               call %vcvars%
> +               MSBuild /property:Configuration="Release" x265.sln >>
> BuildLog.txt
> +
> +               if %errorlevel% equ 1 (
> +                       echo Build with 8bit unsuccessfull for %makefile%
> refer the build log  >> "%LOG%"
> +                       exit 1
> +               )
> +               echo Build with 8bit successfull for %makefile% >> "%LOG%"
> +
> +               if exist Release\x265.exe (
> +                       echo build Application with 8bit successfull for
> %makefile% >> "%LOG%"
> +               ) else (
> +                       echo build Application with 8bit unsuccessfull for
> %makefile%  refer the Build log >> "%LOG%"
> +               )
> +        ) else ( echo 8bit solution is not created for %makefile% >>
> "%LOG%"
> +        )
> +
> +
> +
> + cd "%builddir%"
> +   mkdir 16bit
> +   cd 16bit
> +   set solution="x265.sln"
> +
> +       echo SET(ENABLE_TESTS ON CACHE BOOL "Enable Unit Tests" FORCE ^)
> >> enablecache.txt
> +       echo SET(HIGH_BIT_DEPTH ON CACHE BOOL "Use 16bit pixels
> internally" FORCE ^) >> enablecache.txt
> +       echo SET(ENABLE_PRIMITIVES ON CACHE BOOL "Enable use of optimized
> encoder primitives" FORCE ^) >> enablecache.txt
> +       echo SET(FAST_MODE_DECISION OFF CACHE BOOL "Enable
> FAST_MODE_DECISION" FORCE ^) >> enablecache.txt
> +       echo SET(ENABLE_CLI ON CACHE BOOL "Enable ENABLE_CLI" FORCE ^) >>
> enablecache.txt
> +
> +       cmake -G %makefile%  -C enablecache.txt ..\..\..\source
> +
> +       if exist %solution% (
> +               call %vcvars%
> +               MSBuild /property:Configuration="Release" x265.sln >>
> BuildLog.txt
> +
> +               if %errorlevel% equ 1 (
> +                       echo Build with 16bit unsuccessfull for %makefile%
> refer the build log  >> "%LOG%"
> +                       exit 1
> +               )
> +               echo Build with 16bit successfull for %makefile% >> "%LOG%"
> +
> +               if exist Release\x265.exe (
> +                       echo build Application with 16bit successfull for
> %makefile% >> "%LOG%"
> +               ) else (
> +                       echo build Application with 16bit unsuccessfull
> for %makefile%  refer the Build log >> "%LOG%"
> +               )
> +        ) else ( echo 16bit solution is not created for %makefile% >>
> "%LOG%"
> +        )
> +
> diff -r 0becdecde6ee -r e425601ecf4b
> source/encoder/CreateRegressionPackage.bat
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/source/encoder/CreateRegressionPackage.bat        Wed Jul 17
> 11:39:33 2013 -0700
> @@ -0,0 +1,82 @@
> + at echo off
> +
> +::Build the solution and applications for VS 11
> +
> +set builddir=""
> +set makefile=""
> +set vcvars=""
> +
> +if  not "%VS110COMNTOOLS%" == "" (
> +               echo Regression Test    -       VS 11 Compiler found >>
> "%LOG%"
> +       set builddir="%currentworkingdir%"\build\vc11-x86_64
> +       set makefile="Visual Studio 11 Win64"
> +       set vcvars="%VS110COMNTOOLS%\..\..\VC\vcvarsall.bat"
> +       call "%workingdir%BuildEncoderApplications.bat"
> +       call "%workingdir%RunEncoderApplications.bat"
> +
> +       set builddir="%currentworkingdir%"\build\vc11-x86
> +       set makefile="Visual Studio 11"
> +       call "%workingdir%BuildEncoderApplications.bat"
> +       call "%workingdir%RunEncoderApplications.bat"
> +)
> +
> +::Build the solution and applications for VS 10
> +
> +set builddir=""
> +set makefile=""
> +set vcvars=""
> +
> +set path=""
> +set INCLUDE=""
> +set LIB=""
> +set LIBPATH=""
> +
> +set "path=%save_path%"
> +set "INCLUDE=%save_include%"
> +set "LIB=%save_lib%"
> +set "LIBPATH=%save_libpath%"
> +
> +if  not "%VS100COMNTOOLS%" == "" (
> +       echo Regression Test    -       VS 10 Compiler found >> "%LOG%"
> +       set builddir="%currentworkingdir%"\build\vc10-x86_64
> +       set makefile="Visual Studio 10 Win64"
> +       set vcvars="%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat"
> +       call "%workingdir%BuildEncoderApplications.bat"
> +       call "%workingdir%RunEncoderApplications.bat"
> +
> +       set builddir="%currentworkingdir%"\build\vc10-x86
> +       set makefile="Visual Studio 10"
> +       call "%workingdir%BuildEncoderApplications.bat"
> +       call "%workingdir%RunEncoderApplications.bat"
> +)
> +
> +::Build the solution and applications for VS 09
> +
> +set builddir=""
> +set makefile=""
> +set vcvars=""
> +
> +set path=""
> +set INCLUDE=""
> +set LIB=""
> +set LIBPATH=""
> +
> +set "path=%save_path%"
> +set "INCLUDE=%save_include%"
> +set "LIB=%save_lib%"
> +set "LIBPATH=%save_libpath%"
> +
> +if  not "%%VS90COMNTOOLS%" == "" (
> +       echo Regression Test    -       VS 09 Compiler found >> "%LOG%"
> +       set builddir="%currentworkingdir%"\build\vc9-x86_64
> +       set makefile="Visual Studio 9 2008 Win64"
> +       set vcvars="%%VS90COMNTOOLS%%\..\..\VC\vcvarsall.bat"
> +       call "%workingdir%BuildEncoderApplications.bat"
> +       call "%workingdir%RunEncoderApplications.bat"
> +
> +       set builddir="%currentworkingdir%"\build\vc9-x86
> +       set makefile="Visual Studio 9 2008"
> +       call "%workingdir%BuildEncoderApplications.bat"
> +       call "%workingdir%RunEncoderApplications.bat"
> +)
> +
> diff -r 0becdecde6ee -r e425601ecf4b source/encoder/Main.bat
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/source/encoder/Main.bat   Wed Jul 17 11:39:33 2013 -0700
> @@ -0,0 +1,46 @@
> + at echo off
> +
> +for /f "tokens=1,2,3,4,5,6 delims==" %%a in (config.txt) do (
> +if %%a==FramesToCheck_BinMismatch set frames=%%b
> +if %%a==FramesToRun_PSNRperformance set frames1=%%b
> +if %%a==workingdir set workingdir=%%b
> +if %%a==testdir set testdir=%%b
> +if %%a==repository set repository=%%b
> +if %%a==video1 set video1=%%b
> +if %%a==video2 set video2=%%b
> +if %%a==video3 set video3=%%b
> +)
> +
> +set "save_path=%path%"
> +set "save_include=%INCLUDE%"
> +set "save_lib=%LIB%"
> +set "save_libpath=%LIBPATH%"
> +
> +set HG=hg
> +set currentworkingdir=%workingdir%RegressionTest
> +set Buildbat="BuildEncoderApplications.bat"
> +
> +if exist "%currentworkingdir%" rd /s /q %currentworkingdir%
> +mkdir "%currentworkingdir%"
> +cd  /d "%currentworkingdir%"
> +set LOG="%currentworkingdir%"\RegressionTester.log
> +if %errorlevel% equ 1 (echo Working directory not created >> "%LOG%"
> +       exit 1
> +)
> +echo Working directory created >> "%LOG%"
> +
> +"%HG%" init
> +"%HG%" pull "%repository%"
> +"%HG%" update  >> "%LOG%"
> +
> +"%HG%" summary >> "%LOG%"
> +
> +if %errorlevel% equ 1 (echo Pull unsuccessfull >> "%LOG%"
> +exit 1
> +)
> +echo Pull successfull >> "%LOG%"
> +
> +call "%workingdir%CreateRegressionPackage.bat"
> +call "%workingdir%PSNR_Performance.bat"
> +start python "%workingdir%performance_XL.py"
> +start python "%workingdir%Send_Mail.py"
> diff -r 0becdecde6ee -r e425601ecf4b source/encoder/PSNR_Performance.bat
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/source/encoder/PSNR_Performance.bat       Wed Jul 17 11:39:33 2013
> -0700
> @@ -0,0 +1,899 @@
> +:: Input for this script is number_of_frames1.
> +
> +
> +SET /a psnr_count=psnr_count+1
> +set workingdir=D:\
> +set Builddir=D:\RegressionTest\build\vc11-x86_64\
> +
> +::set /a frames1=30
> +::set video1="%workingdir%BasketballDrive_1920x1080_50.y4m"
> +::set video2="%workingdir%Kimono1_1920x1080_24.y4m"
> +::set video3="%workingdir%FourPeople_1280x720_60.y4m"
> +
> +
> +::--wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1
> --threads 4 --no-rdo
> +
> +if not exist %video1% GOTO OVER1
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo  --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdo   >
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdo  >
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +if not exist %video2% GOTO OVER2
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo  --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdo   >
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdo  >
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> +if not exist %video3% GOTO OVER3
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo  --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdo   >
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdo  >
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::--wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1
> --threads 4 --rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --rdo>>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --rdo  >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --rdo>>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --rdo  >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --rdo>>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --rdo  >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::--rect --max-merge 1 --hash 1 --wpp --no-rdo --no-rdoq
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --rect --max-merge 1
> --hash 1 --wpp --no-rdo --no-rdoq -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --rect --max-merge 1
> --hash 1 --wpp --no-rdo --no-rdoq -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo  --rect --max-merge 1 --hash 1 --wpp --no-rdo --no-rdoq   >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --rect --max-merge 1 --hash 1 --wpp --no-rdo --no-rdoq  >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --rect --max-merge 1
> --hash 1 --wpp --no-rdo --no-rdoq -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%  --rect --max-merge 1
> --hash 1 --wpp --no-rdo --no-rdoq -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo  --rect --max-merge 1 --hash 1 --wpp --no-rdo --no-rdoq   >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --rect --max-merge 1 --hash 1 --wpp --no-rdo --no-rdoq  >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --rect
> --max-merge 1 --hash 1 --wpp --no-rdo --no-rdoq -f %frames1% -o script.out
> -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --rect --max-merge 1
> --hash 1 --wpp --no-rdo --no-rdoq -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo  --rect --max-merge 1 --hash 1 --wpp --no-rdo --no-rdoq   >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --rect --max-merge 1 --hash 1 --wpp --no-rdo --no-rdoq  >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::--rect --max-merge 1 --hash 1 --wpp --rdo --no-rdoq
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --rect --max-merge 1
> --hash 1 --wpp --rdo --no-rdoq -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --rect --max-merge 1
> --hash 1 --wpp --rdo --no-rdoq -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo  --rect --max-merge 1 --hash 1 --wpp --rdo --no-rdoq   >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --rect --max-merge 1 --hash 1 --wpp --rdo --no-rdoq  >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --rect --max-merge 1
> --hash 1 --wpp --rdo --no-rdoq -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%  --rect --max-merge 1
> --hash 1 --wpp --rdo --no-rdoq -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo  --rect --max-merge 1 --hash 1 --wpp --rdo --no-rdoq   >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --rect --max-merge 1 --hash 1 --wpp --rdo --no-rdoq  >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --rect
> --max-merge 1 --hash 1 --wpp --rdo --no-rdoq -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --rect --max-merge 1
> --hash 1 --wpp --rdo --no-rdoq -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo  --rect --max-merge 1 --hash 1 --wpp --rdo --no-rdoq   >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --rect --max-merge 1 --hash 1 --wpp --rdo --no-rdoq  >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::--wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1
> --threads 4 --no-rdoq --no-rdo
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%   --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo  --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --no-rdo   >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo  --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --no-rdo  >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%   --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo  --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --no-rdo   >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo  --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --no-rdo  >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%   --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --no-rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo  --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --no-rdo   >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo  --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --no-rdo  >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::--wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1
> --threads 4 --no-rdoq --rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%   --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --rdo   >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --rdo  >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%   --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --rdo   >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --rdo  >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%   --wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq --rdo --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --rdo   >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 --no-rdoq --rdo  >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::no-rdo
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --no-rdo
> --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --no-rdo --hash 1 -f
> %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo --no-rdo   >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --no-rdo    >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --no-rdo
> --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%  --no-rdo --hash 1 -f
> %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo --no-rdo   >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --no-rdo    >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --no-rdo
> --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --no-rdo --hash 1 -f
> %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo --no-rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --no-rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::rdo
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --rdo --hash 1
> -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --rdo --hash 1 -f
> %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo  --rdo   >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo  --rdo   >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --rdo --hash 1
> -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --rdo --hash 1 -f
> %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo --rdo  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> +if not exist %video3% GOTO OVER2
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --rdo --hash 1
> -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --rdo --hash 1 -f
> %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo  --rdo  >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo  --rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::Rect_maxmerge1_no_rdo
> +
> +       @echo "%Builddir%"\8bi\Release\x265.exe  %video1%  --no-rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --no-rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo --no-rdo --rect --max-merge 1  >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --no-rdo --rect --max-merge 1   >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bi\Release\x265.exe  %video2%  --no-rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%  --no-rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo --no-rdo --rect --max-merge 1  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --no-rdo --rect --max-merge 1   >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bi\Release\x265.exe  %video3%  --no-rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --no-rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo --no-rdo --rect --max-merge 1  >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --no-rdo --rect --max-merge 1   >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::Rect_maxmerge1_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo --rdo --rect --max-merge 1   >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --rdo --rect --max-merge 1   >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%  --rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo --rdo --rect --max-merge 1   >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --rdo --rect --max-merge 1   >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --rdo --rect
> --max-merge 1 --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo --rdo --rect --max-merge 1   >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --rdo --rect --max-merge 1   >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::Rect_maxmerge1_wpp_no_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --no-rdo  --rect
> --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --no-rdo --rect
> --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo    --no-rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo  --no-rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --no-rdo
>  --rect --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%  --no-rdo --rect
> --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo    --no-rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo  --no-rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --no-rdo
>  --rect --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --no-rdo --rect
> --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo    --no-rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo  --no-rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::Rect_maxmerge1_wpp_rdo
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --rdo  --rect
> --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --rdo --rect
> --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo   --rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --rdo  --rect
> --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%  --rdo --rect
> --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo   --rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --rdo  --rect
> --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --rdo --rect
> --max-merge 1 --wpp --hash 1 -f %frames1% -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo   --rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --rdo  --rect --max-merge 1 --wpp >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::Rect_maxmerge1_cpuid1_no_rdo
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --no-rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --no-rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo --no-rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --no-rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --no-rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --no-rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo --no-rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --no-rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3% --no-rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3% --no-rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo --no-rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --no-rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::Rect_maxmerge1_cpuid1_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo --rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo --rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3% --rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3% --rdo --rect
> --max-merge 1 --cpuid 1 --hash 1 -f %frames1% -o script.out -r script.rec
> >> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo --rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --rdo --rect --max-merge 1 --cpuid 1 >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +::Rect_maxmerge1_cpuid1_wpp_no_rdo
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --no-rdo  --rect
> --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --no-rdo  --rect
> --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> 2>&1
> +       @echo --no-rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --no-rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --no-rdo
>  --rect --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out
> -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --no-rdo  --rect
> --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> 2>&1
> +       @echo --no-rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --no-rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3% --no-rdo
>  --rect --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out
> -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video3% --no-rdo  --rect
> --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo --no-rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --no-rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::Rect_maxmerge1_cpuid1_wpp_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --rdo  --rect
> --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --rdo  --rect
> --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo --rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video2% --rdo  --rect
> --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --rdo  --rect
> --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo --rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3% --rdo  --rect
> --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video3% --rdo  --rect
> --max-merge 1 --cpuid 1 --wpp --hash 1 -f %frames1% -o script.out -r
> script.rec >> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> 2>&1
> +       @echo --rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --rdo  --rect --max-merge 1 --cpuid 1 --wpp  >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::noRect_noAmp_no_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1  -f %frames1%
> --no-rect --no-amp --no-rdo -o script.out -r script.rec >>
>  "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1  -f
> %frames1% --no-rect --no-amp --no-rdo -o script.out -r script.rec >>
>  "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --no-rdo >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --no-rect --no-amp --no-rdo >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1  -f
> %frames1% --no-rect --no-amp --no-rdo -o script.out -r script.rec >>
>  "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1  -f
> %frames1% --no-rect --no-amp --no-rdo -o script.out -r script.rec >>
>  "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --no-rdo >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --no-rect --no-amp --no-rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3% --hash 1  -f
> %frames1% --no-rect --no-amp --no-rdo -o script.out -r script.rec >>
>  "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +       "%Builddir%"\8bit\Release\x265.exe  %video3% --hash 1  -f
> %frames1% --no-rect --no-amp --no-rdo -o script.out -r script.rec >>
>  "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --no-rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --no-rect --no-amp --no-rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::noRect_noAmp_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1%  --hash 1 -f %frames1%
> --no-rect --no-amp --rdo -o script.out -r script.rec  >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1%  --hash 1 -f
> %frames1% --no-rect --no-amp --rdo -o script.out -r script.rec  >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --rdo >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --no-rect --no-amp --rdo >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2%  --hash 1 -f
> %frames1% --no-rect --no-amp --rdo -o script.out -r script.rec  >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2%  --hash 1 -f
> %frames1% --no-rect --no-amp --rdo -o script.out -r script.rec  >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --rdo >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --no-rect --no-amp --rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --no-rect --no-amp --rdo -o script.out -r script.rec  >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --no-rect --no-amp --rdo -o script.out -r script.rec  >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --no-rect --no-amp --rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::noRect_noAmp_Max_Merge1_no_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --no-rdo >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --no-rdo >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --no-rect --no-amp --max-merge 1 --no-rdo -o script.out -r
> script.rec >> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --no-rdo >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --no-rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe %video3%  --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --no-rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1  --no-rdo>>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::noRect_noAmp_Max_Merge1_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --rdo >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --rdo >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --rdo >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe %video3%  --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::noRect_noAmp_Max_Merge1_wpp_no_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --no-rdo --wpp -o script.out -r script.rec
> >> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --no-rdo --wpp -o script.out -r script.rec
> >> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --wpp  --no-rdo>>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --wpp  --no-rdo>>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --no-rect --no-amp --max-merge 1 --no-rdo --wpp -o script.out -r
> script.rec >> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --no-rdo --wpp -o script.out -r script.rec
> >> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --wpp  --no-rdo>>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --wpp --no-rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --no-rdo --wpp -o script.out -r script.rec
> >> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --no-rect --no-amp --max-merge 1 --no-rdo --wpp -o script.out -r
> script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --wpp --no-rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --wpp --no-rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1%  >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::noRect_noAmp_Max_Merge1_wpp_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --rdo --wpp -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --rdo --wpp -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --wpp --rdo >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --wpp --rdo >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --no-rect --no-amp --max-merge 1 --rdo --wpp -o script.out -r
> script.rec >> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --rdo --wpp -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --wpp --rdo >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --wpp --rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --no-rect --no-amp --max-merge 1 --rdo --wpp -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --no-rect --no-amp --max-merge 1 --rdo --wpp -o script.out -r
> script.rec >> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> 2>&1
> +       @echo   --no-rect --no-amp --max-merge 1 --wpp --rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --no-rect --no-amp --max-merge 1 --wpp --rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1%  >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::max-merge1_wpp_nordoq_no_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --max-merge 1  --no-rdo --wpp --no-rdoq -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --max-merge 1 --no-rdo --wpp --no-rdoq -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo   --max-merge 1 --wpp --no-rdoq  --no-rdo>>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --max-merge 1 --wpp --no-rdoq  --no-rdo>>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --max-merge 1 --no-rdo --wpp --no-rdoq -o script.out -r
> script.rec >> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --max-merge 1 --no-rdo --wpp --no-rdoq -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo   --max-merge 1 --wpp --no-rdoq  --no-rdo>>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --max-merge 1 --wpp --no-rdoq  --no-rdo>>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --max-merge 1 --no-rdo --wpp --no-rdoq  -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --max-merge 1 --no-rdo --wpp --no-rdoq  -o script.out -r
> script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo   --max-merge 1 --wpp --no-rdoq  --no-rdo>>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --max-merge 1 --wpp --no-rdoq  --no-rdo>>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::max-merge1_wpp_nordoq_rdo
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --max-merge 1 --wpp --no-rdoq --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --max-merge 1 --wpp --no-rdoq --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo   --max-merge 1 --wpp --no-rdoq --rdo >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --max-merge 1 --wpp --no-rdoq --rdo >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --max-merge 1 --wpp --no-rdoq --rdo -o script.out -r script.rec
> >> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --max-merge 1 --wpp --no-rdoq --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo   --max-merge 1 --wpp --no-rdoq --rdo >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --max-merge 1 --wpp --no-rdoq --rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --max-merge 1 --wpp --no-rdoq --rdo  -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --max-merge 1 --wpp --no-rdoq --rdo  -o script.out -r script.rec
> >> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo   --max-merge 1 --wpp --no-rdoq --rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --max-merge 1 --wpp --no-rdoq --rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::rect_amp_no_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --rect --amp --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --rect --amp --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo   --rect --amp   --no-rdo>>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv  >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --rect --amp  --no-rdo>>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --rect --amp --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --rect --amp --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo   --rect --amp   --no-rdo>>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --rect --amp  --no-rdo>>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --rect --amp --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --rect --amp --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo   --rect --amp  --no-rdo>>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --rect --amp  --no-rdo>>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::rect_amp_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --rect --amp --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --rect --amp --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo   --rect --amp --rdo  >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv  >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --rect --amp --rdo >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --rect --amp --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --rect --amp --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo   --rect --amp --rdo  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --rect --amp --rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --rect --amp --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --rect --amp --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo   --rect --amp --rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --rect --amp --rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::sao_no_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --sao --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --sao --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo   --sao   --no-rdo>>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --sao   --no-rdo>>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --sao --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --sao --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo   --sao   --no-rdo>>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --sao   --no-rdo>>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --sao --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --sao --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo   --sao   --no-rdo>>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --sao  --no-rdo>>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::sao_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --sao --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --sao --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo   --sao --rdo  >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --sao --rdo  >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --sao --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --sao --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo   --sao --rdo  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --sao --rdo  >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --sao --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --sao --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo   --sao --rdo  >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --sao --rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::keyint1_no_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --keyint 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --keyint 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo   --keyint 1   --no-rdo>>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv  >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --keyint 1  --no-rdo>>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --keyint 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --keyint 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo   --keyint 1   --no-rdo>>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --keyint 1  --no-rdo>>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --keyint 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --keyint 1 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo   --keyint 1  --no-rdo>>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --keyint 1  --no-rdo>>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::keyint1_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --keyint 1  --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --keyint 1  --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo   --keyint 1  --rdo >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv  >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --keyint 1 --rdo >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --keyint 1 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --keyint 1 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo   --keyint 1 --rdo  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv  >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --keyint 1 --rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --keyint 1 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --keyint 1 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo   --keyint 1 --rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --keyint 1 --rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +
> +::keyint32_no_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --keyint 32 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --keyint 32 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_no_rdo.txt" 2>&1
> +       @echo   --keyint 32  --no-rdo>>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_no_rdo.txt"
> +       @echo --keyint 32  --no-rdo>>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_no_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --keyint 32 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --keyint 32 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_no_rdo.txt" 2>&1
> +       @echo   --keyint 32  --no-rdo>>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       @echo --keyint 32  --no-rdo>>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --keyint 32 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --keyint 32 --no-rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_no_rdo.txt" 2>&1
> +       @echo   --keyint 32  --no-rdo>>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_no_rdo.txt"
> +       @echo --keyint 32  --no-rdo>>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt"
> +
> +
> +::keyint32_rdo
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --keyint 32  --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video1% --hash 1 -f %frames1%
> --keyint 32 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_basketball_1920x1080_rdo.txt" 2>&1
> +       @echo   --keyint 32 --rdo >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_basketball_1920x1080_rdo.txt"
> +       @echo --keyint 32 --rdo >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%BasketballDrive_1920x1080_50.yuv" -c script.yuv -w 1920 -h
> 1080 -e %frames1% >>
> "%workingdir%dr_psnr_output_basketball_1920x1080_rdo.txt"
> +
> +
> +       @echo "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f
> %frames1% --keyint 32 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video2% --hash 1 -f %frames1%
> --keyint 32 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_Kimono1_1920x1080_24_rdo.txt" 2>&1
> +       @echo   --keyint 32 --rdo >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_Kimono1_1920x1080_24_rdo.txt"
> +       @echo --keyint 32 --rdo >>
> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%Kimono1_1920x1080_24.yuv" -c script.yuv -w 1920 -h 1080 -e
> %frames1% >> "%workingdir%dr_psnr_output_Kimono1_1920x1080_24_rdo.txt"
> +
> +
> + at echo "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f %frames1%
> --keyint 32 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%Builddir%"\8bit\Release\x265.exe  %video3%  --hash 1 -f
> %frames1% --keyint 32 --rdo -o script.out -r script.rec >>
> "%workingdir%encoder_output_FourPeople_1280x720_60_rdo.txt" 2>&1
> +       @echo   --keyint 32 --rdo >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%TAppDecoder.exe" -b script.out -o script.yuv >>
> "%workingdir%decoder_output_FourPeople_1280x720_60_rdo.txt"
> +       @echo --keyint 32 --rdo >>
> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +       "%workingdir%dr_psnr.exe" -r
> "%workingdir%FourPeople_1280x720_60.yuv" -c script.yuv -w 1280 -h 720 -e
> %frames1% >> "%workingdir%dr_psnr_output_FourPeople_1280x720_60_rdo.txt"
> +
> +:OVER1
> + at echo To run this script, BasketballDrive_1920x1080_50.y4m file should be
> available in %workingdir%.
> + at echo ...
> +
> +:OVER2
> + at echo To run this script, Kimono1_1920x1080_24.y4m file should be
> available in %workingdir%.
> + at echo ...
> +
> +:OVER3
> + at echo To run this script, FourPeople_1280x720_60.y4m file should be
> available in %workingdir%.
> + at echo ...
> +
> + at echo ...
> +GOTO DONE
> +:DONE
> + at echo Done...
> +
> +
> +::start python D:\\Testscript.py
> +
> diff -r 0becdecde6ee -r e425601ecf4b
> source/encoder/RunEncoderApplications.bat
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/source/encoder/RunEncoderApplications.bat Wed Jul 17 11:39:33 2013
> -0700
> @@ -0,0 +1,77 @@
> + at echo off
> +
> +   cd "%builddir%\16bit_PPA"
> +       if exist Debug\x265.exe (
> +               cd Debug
> +               x265.exe  %video1% -f %frames% --hash 1 -o str.out -r
> rec.yuv >> ExecLog.txt 2>&1
> +               ..\..\..\..\..\TAppDecoder.exe -b str.out -o str.yuv >>
> "%currentworkingdir%"\decoder_out_16bit_PPA.txt
> +               FC  rec.yuv str.yuv >> DiffBin.txt
> +       )
> +
> +   cd "%builddir%\16bit_PPA"
> +       if exist test\Debug\TestBench.exe (
> +               cd test\Debug
> +               echo %CD% >> TestLog.txt
> +               TestBench.exe >> TestLog.txt
> +       )
> +
> +   cd "%builddir%\8bit_PPA\Debug"
> +       if exist x265.exe (
> +
> +               x265.exe  %video1% -f %frames% --hash 1 -o str.out -r
> rec.yuv >> ExecLog.txt 2>&1
> +               ..\..\..\..\..\TAppDecoder.exe -b str.out -o str.yuv >>
> "%currentworkingdir%"\decoder_out_8bit_PPA.txt
> +               FC  rec.yuv str.yuv >> DiffBin.txt
> +       )
> +   cd "%builddir%\8bit_PPA"
> +       if exist test\Debug\TestBench.exe (
> +               cd test\Debug
> +               echo %CD% >> TestLog.txt
> +               TestBench.exe >> TestLog.txt
> +       )
> +
> +
> +
> +cd "%builddir%\16bit"
> +       if exist Release\x265.exe (
> +               cd Release
> +               x265.exe  %video1% -f %frames% --hash 1 -o str.out -r
> rec.yuv >> ExecLog.txt 2>&1
> +               x265.exe  %video2% -f %frames% --hash 1 -o str1.out -r
> rec1.yuv >> ExecLog.txt 2>&1
> +               x265.exe  %video3% -f %frames% --hash 1 -o str2.out -r
> rec2.yuv >> ExecLog.txt 2>&1
> +
> +               ..\..\..\..\..\TAppDecoder.exe -b str.out -o str.yuv >>
> "%currentworkingdir%"\decoder_out_16bit.txt
> +               ..\..\..\..\..\TAppDecoder.exe -b str1.out -o str1.yuv >>
> "%currentworkingdir%"\decoder_out_16bit.txt
> +               ..\..\..\..\..\TAppDecoder.exe -b str2.out -o str2.yuv >>
> "%currentworkingdir%"\decoder_out_16bit.txt
> +
> +               FC  rec.yuv str.yuv >> DiffBin.txt
> +               FC  rec1.yuv str1.yuv >> DiffBin.txt
> +               FC  rec2.yuv str2.yuv >> DiffBin.txt
> +       )
> +
> +   cd "%builddir%\16bit"
> +       if exist test\Release\TestBench.exe (
> +               cd test\Release
> +               echo %CD% >> TestLog.txt
> +               TestBench.exe >> TestLog.txt
> +       )
> +
> +   cd "%builddir%\8bit\Release"
> +       if exist x265.exe (
> +
> +               x265.exe  %video1% -f %frames% --hash 1 -o str.out -r
> rec.yuv >> ExecLog.txt 2>&1
> +               x265.exe  %video2% -f %frames% --hash 1 -o str1.out -r
> rec1.yuv >> ExecLog.txt 2>&1
> +               x265.exe  %video3% -f %frames% --hash 1 -o str2.out -r
> rec2.yuv >> ExecLog.txt 2>&1
> +
> +               ..\..\..\..\..\TAppDecoder.exe -b str.out -o str.yuv >>
> "%currentworkingdir%"\decoder_out_8bit.txt
> +               ..\..\..\..\..\TAppDecoder.exe -b str1.out -o str1.yuv >>
> "%currentworkingdir%"\decoder_out_8bit.txt
> +               ..\..\..\..\..\TAppDecoder.exe -b str2.out -o str2.yuv >>
> "%currentworkingdir%"\decoder_out_8bit.txt
> +
> +               FC  rec.yuv str.yuv >> DiffBin.txt
> +               FC  rec1.yuv str1.yuv >> DiffBin.txt
> +               FC  rec2.yuv str2.yuv >> DiffBin.txt
> +       )
> +   cd "%builddir%\8bit"
> +       if exist test\Release\TestBench.exe (
> +               cd test\Release
> +               echo %CD% >> TestLog.txt
> +               TestBench.exe >> TestLog.txt
> +       )
> diff -r 0becdecde6ee -r e425601ecf4b source/encoder/Send_Mail.py
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/source/encoder/Send_Mail.py       Wed Jul 17 11:39:33 2013 -0700
> @@ -0,0 +1,56 @@
> +#script to send performance result file to xhevc at muticorewareinc.com
> +
> +#!/usr/bin/python
> +import os, re
> +import sys
> +import smtplib
> +
> +from email.mime.image import MIMEImage
> +from email.mime.multipart import MIMEMultipart
> +from email.mime.text import MIMEText
> +
> +SMTP_SERVER = 'smtp.gmail.com'
> +SMTP_PORT = 587
> +
> +sender = 'testresults.hevc at gmail.com'
> +password = "hevc.pass"
> +recipient = 'xhevc at multicorewareinc.com'
> +subject = 'Performance Results..'
> +message = 'PFA'
> +
> +directory="D:/"
> +
> +def main():
> +    msg = MIMEMultipart()
> +    msg['Subject'] = 'Performance Results'
> +    msg['To'] = recipient
> +    msg['From'] = sender
> +
> +    files = os.listdir(directory)
> +    txtsearch = re.compile(".csv", re.IGNORECASE)
> +    files = filter(txtsearch.search, files)
> +    for filename in files:
> +        path = os.path.join(directory, filename)
> +        if not os.path.isfile(path):
> +            continue
> +
> +        text = MIMEImage(open(path, 'rb').read(), _subtype="csv")
> +        text.add_header('Content-Disposition', 'attachment',
> filename=filename)
> +        msg.attach(text)
> +
> +    part = MIMEText('text', "plain")
> +    part.set_payload(message)
> +    msg.attach(part)
> +
> +    session = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
> +
> +    session.ehlo()
> +    session.starttls()
> +    session.ehlo
> +    session.login(sender, password)
> +
> +    session.sendmail(sender, recipient, msg.as_string())
> +    session.quit()
> +
> +if __name__ == '__main__':
> +    main()
> diff -r 0becdecde6ee -r e425601ecf4b source/encoder/performance_XL.py
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/source/encoder/performance_XL.py  Wed Jul 17 11:39:33 2013 -0700
> @@ -0,0 +1,165 @@
> +#Script for Reading encoded and PSNR results from log files
> +
> +#!/usr/bin/python
> +import os
> +import re
> +searchquery1 = 'encoded'
> +searchquery2 = '    Global'
> +inputs_var=0
> +cmd_var=0
> +inc=0
> +os.remove("Performance_Results.csv")
> +
> +enc_nordo =
> ['encoder_output_basketball_1920x1080_no_rdo.txt','encoder_output_FourPeople_1280x720_60_no_rdo.txt','encoder_output_Kimono1_1920x1080_24_no_rdo.txt']
> +
> +psnr_nordo
> =['dr_psnr_output_basketball_1920x1080_no_rdo.txt','dr_psnr_output_FourPeople_1280x720_60_no_rdo.txt','dr_psnr_output_Kimono1_1920x1080_24_no_rdo.txt']
> +
> +enc_rdo =
> ['encoder_output_basketball_1920x1080_rdo.txt','encoder_output_FourPeople_1280x720_60_rdo.txt','encoder_output_Kimono1_1920x1080_24_rdo.txt']
> +
> +psnr_rdo =
> ['dr_psnr_output_basketball_1920x1080_rdo.txt','dr_psnr_output_FourPeople_1280x720_60_rdo.txt','dr_psnr_output_Kimono1_1920x1080_24_rdo.txt']
> +
> +
> +cmdlines = [' --wpp --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip
> --max-merge 1 --threads 4 ',' --rect --max-merge 1 --wpp  --no-rdoq','--wpp
> --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --max-merge 1 --threads 4
> --no-rdoq',' default ',' --rect --max-merge 1 ',' --rect --max-merge 1
> --wpp ',' --rect --max-merge 1 --cpuid 1 ', ' --rect --max-merge 1 --cpuid
> 1 --wpp ',' --no-rect --no-amp ','--no-rect --no-amp --max-merge 1 ','
> --no-rect --no-amp --max-merge 1 --wpp','--max-merge 1 --wpp --no-rdoq ','
> --rect --amp' ,' --sao ',' --keyint 1 ',' --keyint 32 ']
> +
> +
> +inputs = [' 1.BasketballDrive_1920x1080_50.y4m', '
> 2.FourPeople_1280x720_60.y4m', ' 3.Kimono1_1920x1080_24.y4m']
> +
> +log = open('Performance_Results.csv','w')
> +print (",,,,,,,,,, NO_RDO,,,,,,,,,, RDO  ", file = log)
> +
> +print ("    COMMAND LINE,,,,,,,     ,    TOTAL TIME(seconds),
>  SPEED(fps),    BITRATE(kb/s),    FRAMES,    PSNR(Y)_Global,    PSNR(U),
>  PSNR(V), avg,      ,    TOTAL TIME(seconds),    SPEED(fps),
>  BITRATE(kb/s),    FRAMES,    PSNR(Y)_Global,    PSNR(U),    PSNR(V), avg",
> file = log)
> +print (" ", file = log)
> +for enc in enc_nordo:
> +       print ("%s" %(inputs[inputs_var]), file = log)
> +       print (" ", file = log)
> +       psnr=psnr_nordo[inputs_var]
> +
> +       out1 = open('output1.txt', 'a')
> +       print ("encoder output for nordo...", file = out1)
> +       out1.close()
> +       out2 = open('output2.txt', 'a')
> +       print ("dr_psnr output for nordo...", file = out2)
> +       out3 = open('output3.txt', 'a')
> +       print ("encoder output for rdo...", file = out3)
> +       out3.close()
> +       out4 = open('output4.txt', 'a')
> +       print ("dr_psnr output for rdo...", file = out4)
> +       out4.close()
> +
> +       #encoder output for nordo
> +       f1 = open(enc, 'r')
> +       out1 = open('output1.txt', 'a')
> +       line1 = f1.readlines()
> +       for i, line in enumerate(line1):
> +         if line.startswith(searchquery1):
> +             for char in line:
> +              line = re.sub('[(]','',line)
> +              line = re.sub('[s]','',line)
> +             out1.write(line)
> +       f1.close ()
> +       out1.close()
> +
> +       #dr_psnr output for nordo
> +       f2 = open(psnr, 'r')
> +       out2 = open('output2.txt', 'a')
> +       line2 = f2.readlines()
> +       for i, line in enumerate(line2):
> +         if line.startswith(searchquery2):
> +             out2.write(line)
> +       f2.close ()
> +       out2.close()
> +
> +       #encoder output for rdo
> +       f3 = open(enc_rdo[inc], 'r')
> +       out3 = open('output3.txt', 'a')
> +       line3 = f3.readlines()
> +       for i, line in enumerate(line3):
> +         if line.startswith(searchquery1):
> +             for char in line:
> +              line = re.sub('[(]','',line)
> +              line = re.sub('[s]','',line)
> +             out3.write(line)
> +       f3.close ()
> +       out3.close()
> +
> +       #dr_psnr output for rdo
> +       f4 = open(psnr_rdo[inc], 'r')
> +       out4 = open('output4.txt', 'a')
> +       line4 = f4.readlines()
> +       for i, line in enumerate(line4):
> +         if line.startswith(searchquery2):
> +             out4.write(line)
> +       f4.close ()
> +       out4.close()
> +
> +       out1 = open('output1.txt')
> +       out2 = open('output2.txt')
> +       out3 = open('output3.txt')
> +       out4 = open('output4.txt')
> +
> +       log = open('Performance_Results.csv','a')
> +       eof1 = out1.readline()
> +       eof2 = out2.readline()
> +       eof3 = out3.readline()
> +       eof4 = out4.readline()
> +
> +       #for a in eof1:
> +       num_lines = sum(1 for line in open('output1.txt'))
> +
> +       for index in range(num_lines-1):
> +           #for b in eof2:
> +                  eof1 = out1.readline()
> +                  eof2 = out2.readline()
> +                  eof3 = out3.readline()
> +                  eof4 = out4.readline()
> +
> +                  col1 = eof1.split()
> +                  print (col1)
> +                  col2 = eof2.split()
> +                  print (col2)
> +                  col3 = eof3.split()
> +                  print (col3)
> +                  col4 = eof4.split()
> +                  print (col4)
> +
> +                  time = col1[4]
> +                  time1 = col3[4]
> +
> +                  speed = col1[5]
> +                  speed1 = col3[5]
> +
> +                  bitrate = float(col1[7])
> +                  bitrate1 = float(col3[7])
> +
> +                  frames = int(col1[1])
> +                  frames1 = int(col3[1])
> +
> +                  psnr_y  = float(col2[1])
> +                  psnr_u  = float(col2[2])
> +                  psnr_v  = float(col2[3])
> +                  avg_psnr = (float)((psnr_y+psnr_u+psnr_v)/3)
> +
> +                  psnr_y1  = float(col4[1])
> +                  psnr_u1  = float(col4[2])
> +                  psnr_v1  = float(col4[3])
> +                  avg_psnr1 = (float)((psnr_y1+psnr_u1+psnr_v1)/3)
> +
> +                  print
> ("%s,,,,,,,,%s,%s,%f,%d,%f,%f,%f,%f,,%s,%s,%f,%d,%f,%f,%f,%f"
> %(cmdlines[cmd_var],time,speed,bitrate,frames,psnr_y,psnr_u,psnr_v,avg_psnr,time1,speed1,bitrate1,frames1,psnr_y1,psnr_u1,psnr_v1,avg_psnr1),
> file = log)
> +                  cmd_var=cmd_var+1
> +
> +
> +       out1.close()
> +       out2.close()
> +       out3.close()
> +       out4.close()
> +       os.remove("output1.txt")
> +       os.remove("output2.txt")
> +       os.remove("output3.txt")
> +       os.remove("output4.txt")
> +       inputs_var=inputs_var+1
> +       cmd_var=0
> +       inc=inc+1
> +       print (" ", file = log)
> +log.close()
> +#os.system("Send_Mail_working.py")
> +
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> http://mailman.videolan.org/listinfo/x265-devel
>
>


-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130717/929f6c14/attachment-0001.html>


More information about the x265-devel mailing list