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
Cette révision appartient à :
Aryan Salmanpour a créé et GitHub a révisé 2024-06-26 09:00:45 -04:00
1 Parent c660aeab43
révision 44f74c4958
4 fichiers modifiés
+33 -8

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -127,7 +127,7 @@ int main(int argc, char **argv) {
if (save_images) {
std::string image_save_path = output_file_path;
if (is_dir) {
rocjpeg_utils.GetOutputFileExt(decode_params.output_format, base_file_name, widths[0], heights[0], image_save_path);
rocjpeg_utils.GetOutputFileExt(decode_params.output_format, base_file_name, widths[0], heights[0], subsampling, image_save_path);
}
rocjpeg_utils.SaveImage(image_save_path, &output_image, widths[0], heights[0], subsampling, decode_params.output_format);
}