4040#include " decompress_help.h"
4141#include " spdlogwrapper.h"
4242#include " RAWFormat.h"
43- #include " YUVFormat.h"
4443#include " PNMFormat.h"
4544#include " PGXFormat.h"
4645#include " BMPFormat.h"
@@ -488,15 +487,12 @@ GrkRC GrkDecompress::parseCommandLine(int argc, const char* argv[],
488487 case GRK_FMT_RAWL:
489488 inputFolder->out_format = " rawl" ;
490489 break ;
491- case GRK_FMT_YUV:
492- inputFolder->out_format = " yuv" ;
493- break ;
494490 case GRK_FMT_PNG:
495491 inputFolder->out_format = " png" ;
496492 break ;
497493 default :
498494 spdlog::error (" Unknown output format image {} [only *.png, *.pnm, *.pgm, "
499- " *.ppm, *.pgx, *.bmp, *.tif, *.jpg, *.jpeg, *.yuv, *. raw or *.rawl]" ,
495+ " *.ppm, *.pgx, *.bmp, *.tif, *.jpg, *.jpeg, *.raw or *.rawl]" ,
500496 outformat);
501497 return GrkRCParseArgsFailed;
502498 }
@@ -513,13 +509,12 @@ GrkRC GrkDecompress::parseCommandLine(int argc, const char* argv[],
513509 case GRK_FMT_TIF:
514510 case GRK_FMT_RAW:
515511 case GRK_FMT_RAWL:
516- case GRK_FMT_YUV:
517512 case GRK_FMT_PNG:
518513 case GRK_FMT_JPG:
519514 break ;
520515 default :
521516 spdlog::error (" Unknown output format image {} [only *.png, *.pnm, *.pgm, *.ppm, *.pgx, "
522- " *.bmp, *.tif, *.tiff, *jpg, *jpeg, *.yuv, *. raw or *rawl]" ,
517+ " *.bmp, *.tif, *.tiff, *jpg, *jpeg, *.raw or *rawl]" ,
523518 outfile);
524519 return GrkRCParseArgsFailed;
525520 }
@@ -1011,9 +1006,6 @@ int GrkDecompress::preProcess(grk_plugin_decompress_callback_info* info)
10111006 case GRK_FMT_RAWL:
10121007 imageFormat = new RAWFormat<int32_t >(false );
10131008 break ;
1014- case GRK_FMT_YUV:
1015- imageFormat = new YUVFormat ();
1016- break ;
10171009 case GRK_FMT_JPG:
10181010#ifdef GROK_HAVE_LIBJPEG
10191011 imageFormat = new JPEGFormat<int32_t >();
@@ -1460,9 +1452,6 @@ int GrkDecompress::main(int argc, const char* argv[])
14601452 case GRK_FMT_RAWL:
14611453 fmt = new RAWFormat<int32_t >(false );
14621454 break ;
1463- case GRK_FMT_YUV:
1464- fmt = new YUVFormat ();
1465- break ;
14661455#ifdef GROK_HAVE_LIBJPEG
14671456 case GRK_FMT_JPG:
14681457 fmt = new JPEGFormat<int32_t >();
0 commit comments