Use the standard .yuv and .rgb file extensions when saving the decoded jpeg outputs (#34)

* Use the standard .yuv and .rgb file extensions when saving the decoded jpeg outputs

* modify the file description for saving

[ROCm/rocjpeg commit: 44f74c4958]
Этот коммит содержится в:
Aryan Salmanpour authored and GitHub committed 2024-06-26 09:00:45 -04:00
1 родитель 08f7236c94
Коммит c2411920c0
4 files changed
+33 -8

No files matched your search

+1 -1
Просмотреть файл
@@ -148,7 +148,7 @@ int main(int argc, char **argv) {
for (int b = 0; b < current_batch_size; b++) {
std::string image_save_path = output_file_path;
if (is_dir) {
rocjpeg_utils.GetOutputFileExt(decode_params.output_format, base_file_names[b], widths[b][0], heights[b][0], image_save_path);
rocjpeg_utils.GetOutputFileExt(decode_params.output_format, base_file_names[b], widths[b][0], heights[b][0], subsamplings[b], image_save_path);
}
rocjpeg_utils.SaveImage(image_save_path, &output_images[b], widths[b][0], heights[b][0], subsamplings[b], decode_params.output_format);
}