
@bin\H264AVCEncoderLibTestStatic -pf cfg\CITY_snr_qcif.cfg -numl 1 -mfile 0 2 mot\CITY_snr_qcif_layer0.mot -anafgs 0 3     tmp\CITY_snr_qcif_FGS0.dat

@bin\H264AVCEncoderLibTestStatic -pf cfg\CITY_snr_cif.cfg -numl 1 -mfile 0 2 mot\CITY_snr_cif_layer0.mot -anafgs 0 3     tmp\CITY_snr_cif_FGS0.dat
@bin\H264AVCEncoderLibTestStatic -pf cfg\CITY_snr_cif.cfg -numl 1 -encfgs 0 512.0 tmp\CITY_snr_cif_FGS0.dat -bf str\City_CIF30-512_trunc.264

@bin\H264AVCEncoderLibTestStatic -pf cfg\CITY_snr_4cif.cfg -numl 1 -mfile 0 2 mot\CITY_snr_4cif_layer0.mot -anafgs 0 3     tmp\CITY_snr_4cif_FGS0.dat
@bin\H264AVCEncoderLibTestStatic -pf cfg\CITY_snr_4cif.cfg -numl 1 -encfgs 0 2048.0 tmp\CITY_snr_4cif_FGS0.dat -bf str\City_4CIF60-2048_trunc.264

QualityLayersPrecomputation.pl cfg\QL_CityQCIF.cfg
QualityLayersPrecomputation.pl cfg\QL_CityCIF.cfg
QualityLayersPrecomputation.pl cfg\QL_City4CIF.cfg

.\bin\EncoderBitstreamMerger.exe -numl 1 -ql tmp\CityQCIF -infile 0 str\City_QCIF15-128.264 -outfile str\City_QCIF15.264

.\bin\EncoderBitstreamMerger.exe -numl 1 -ql tmp\CityCIF -infile 0 str\City_CIF30-512.264 -outfile str\City_CIF30.264 -writePID tmp\CityPID
.\bin\EncoderBitstreamMerger.exe -numl 1 -ql tmp\CityCIF -infile 0 str\City_CIF30-512_trunc.264 -outfile str\City_CIF30.264 -readPID tmp\CityPID

.\bin\EncoderBitstreamMerger.exe -numl 1 -ql tmp\City4CIF -infile 0 str\City_4CIF60-2048.264 -outfile str\City_4CIF60.264 -writePID tmp\CityPID
.\bin\EncoderBitstreamMerger.exe -numl 1 -ql tmp\City4CIF -infile 0 str\City_4CIF60-2048_trunc.264 -outfile str\City_4CIF60.264 -readPID tmp\CityPID

@CALL extractCity_snr_QL.bat
@CALL decodeCity_snr.bat
