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]
Este cometimento está contido em:
Aryan Salmanpour criou e GitHub cometeu 2024-06-26 09:00:45 -04:00
1 ascendente 08f7236c94
cometimento c2411920c0
4 ficheiros modificados
+33 -8

Não existem ficheiros que correspondam à sua pesquisa

@@ -99,7 +99,7 @@ void ThreadFunction(std::vector<std::string>& jpegFiles, RocJpegHandle rocjpeg_h
if (save_images) {
std::string image_save_path = output_file_path;
rocjpeg_util.GetOutputFileExt(decode_params.output_format, base_file_name, widths[0], heights[0], image_save_path);
rocjpeg_util.GetOutputFileExt(decode_params.output_format, base_file_name, widths[0], heights[0], subsampling, image_save_path);
rocjpeg_util.SaveImage(image_save_path, output_image, widths[0], heights[0], subsampling, decode_params.output_format);
}