@@ -454,7 +454,7 @@ namespace ojph {
454
454
if (cd.get_log_block_dims ().w != 5 || cd.get_log_block_dims ().h != 5 )
455
455
OJPH_ERROR (0x000300C8 ,
456
456
" For IMF profile, codeblock dimensions are restricted."
457
- " Use -block_size {32,32} at the commandline" );
457
+ " Use \" -block_size {32,32}\" at the commandline" );
458
458
459
459
int num_decomps = cd.get_num_decompositions ();
460
460
bool test_pz = cd.get_log_precinct_size (0 ).w == 7
@@ -465,11 +465,12 @@ namespace ojph {
465
465
if (!test_pz)
466
466
OJPH_ERROR (0x000300C9 ,
467
467
" For IMF profile, precinct sizes are restricted."
468
- " Use -precincts {128,128},{256,256} at the commandline" );
468
+ " Use \" -precincts {128,128},{256,256}\" at the commandline" );
469
469
470
470
if (cd.get_progression_order () != OJPH_PO_CPRL)
471
471
OJPH_ERROR (0x000300CA ,
472
- " For IMF profile, the CPRL progression order must be used." );
472
+ " For IMF profile, the CPRL progression order must be used."
473
+ " Use \" -prog_order CPRL\" ." );
473
474
474
475
imf2k &= num_decomps <= 5 ;
475
476
imf2kls &= num_decomps <= 5 ;
@@ -592,11 +593,12 @@ namespace ojph {
592
593
if (!test_pz)
593
594
OJPH_ERROR (0x000300B9 ,
594
595
" For broadcast profile, precinct sizes are restricted."
595
- " Use -precincts {128,128},{256,256} at the commandline" );
596
+ " Use \" -precincts {128,128},{256,256}\" at the commandline" );
596
597
597
598
if (cd.get_progression_order () != OJPH_PO_CPRL)
598
599
OJPH_ERROR (0x000300BA ,
599
- " For broadcast profile, the CPRL progression order must be used." );
600
+ " For broadcast profile, the CPRL progression order must be used."
601
+ " Use \" -prog_order CPRL\" ." );
600
602
601
603
int tiles_w = sz.get_image_extent ().x ;
602
604
tiles_w = ojph_div_ceil (tiles_w, sz.get_tile_size ().w );
0 commit comments