summaryrefslogtreecommitdiff
path: root/codec
diff options
context:
space:
mode:
authorGiuseppe Baruffa <gbaruffa@users.noreply.github.com>2006-12-05 18:20:04 +0000
committerGiuseppe Baruffa <gbaruffa@users.noreply.github.com>2006-12-05 18:20:04 +0000
commit3adfd1860295da3ef57871d6eb3615d1596f9ed1 (patch)
treea4dee65dbae7b5fe742b6c400f1e4cc19b3ee919 /codec
parent9e42842bb5c3f36a05cc9d2b2589726af634ad0c (diff)
* Better fix of the TPH EPBs bug in JPWL module
* Fixed the UEP bug in JPWL module + Added some lines in the help of JPWL_image_to_j2k
Diffstat (limited to 'codec')
-rw-r--r--codec/image_to_j2k.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/codec/image_to_j2k.c b/codec/image_to_j2k.c
index 5a663a63..1709c379 100644
--- a/codec/image_to_j2k.c
+++ b/codec/image_to_j2k.c
@@ -201,10 +201,10 @@ void encode_help_display() {
fprintf(stdout," 1/2 bytes, for the transformed pseudo-floating point value\n");
fprintf(stdout,"\n");
fprintf(stdout," ex.:\n");
- fprintf(stdout," h,h0=64,h3=16,h5=0,p0=78,p0:24=56,p1,p3:0=0,p3:20=32,s=0,s0=6,s3=-1,a=0,g=1,z=1\n");
+ fprintf(stdout," h,h0=64,h3=16,h5=32,p0=78,p0:24=56,p1,p3:0=0,p3:20=32,s=0,s0=6,s3=-1,a=0,g=1,z=1\n");
fprintf(stdout," means\n");
fprintf(stdout," predefined EPB in MH, rs(64,32) from TPH 0 to TPH 2,\n");
- fprintf(stdout," CRC-16 in TPH 3 and TPH 4, no EPBs in remaining TPHs,\n");
+ fprintf(stdout," CRC-16 in TPH 3 and TPH 4, CRC-32 in remaining TPHs,\n");
fprintf(stdout," UEP rs(78,32) for packets 0 to 23 of tile 0,\n");
fprintf(stdout," UEP rs(56,32) for packets 24 to the last of tile 0,\n");
fprintf(stdout," UEP rs default for packets of tile 1,\n");
@@ -219,6 +219,11 @@ void encode_help_display() {
fprintf(stdout," means\n");
fprintf(stdout," default protection to headers (MH and TPHs) as well as\n");
fprintf(stdout," data packets, one ESD in MH\n");
+ fprintf(stdout,"\n");
+ fprintf(stdout," N.B.: use the following recommendations when specifying\n");
+ fprintf(stdout," the JPWL parameters list\n");
+ fprintf(stdout," - when you use UEP, always pair the 'p' option with 'h'\n");
+ fprintf(stdout," \n");
#endif /* USE_JPWL */
/* <<UniPG */
fprintf(stdout,"IMPORTANT:\n");