Simplified MD5 string compare code and fixed potential incorrect conversion of MD5 string to integers. (#414)

* * rocDecode: Fixed potential incorrect conversion of MD5 string to integers.

* * rocDecode: Changed a string name.

* * rocDecode: Simplified the MD5 string compare code.

* * rocDecode: Added minor changed based on review comments.

* * rocDecode: Minor changes.

* * rocDecode/Sample script: Added units to Bit rate field in csv output.
Этот коммит содержится в:
jeffqjiangNew
2024-09-16 15:27:10 -04:00
коммит произвёл GitHub
родитель 336081bac3
Коммит 14f4c6973a
4 изменённых файлов: 43 добавлений и 49 удалений
+2 -2
Просмотреть файл
@@ -141,7 +141,7 @@ if sampleMode == 0:
orig_stdout = sys.stdout
sys.stdout = open(resultsPath+'/rocDecode_test_results.csv', 'a')
echo_1 = 'File Name, Codec, Video Size, Bit Depth, Bit rate, Total Frames, Average decoding time per frame (ms), Avg FPS'
echo_1 = 'File Name, Codec, Video Size, Bit Depth, Bit rate (Mb/s), Total Frames, Average decoding time per frame (ms), Avg FPS'
print(echo_1)
sys.stdout = orig_stdout
@@ -174,7 +174,7 @@ elif sampleMode == 1:
orig_stdout = sys.stdout
sys.stdout = open(resultsPath+'/rocDecode_test_results.csv', 'a')
echo_1 = 'File Name, Num Threads, Codec, Video Size, Bit Depth, Bit rate, Total Frames, Average decoding time per frame (ms), Avg FPS'
echo_1 = 'File Name, Num Threads, Codec, Video Size, Bit Depth, Bit rate (Mb/s), Total Frames, Average decoding time per frame (ms), Avg FPS'
print(echo_1)
sys.stdout = orig_stdout