Lines 1069-1080
Link Here
|
1069 |
/* Apply an inverse intercomponent transform if necessary. */ |
1069 |
/* Apply an inverse intercomponent transform if necessary. */ |
1070 |
switch (tile->cp->mctid) { |
1070 |
switch (tile->cp->mctid) { |
1071 |
case JPC_MCT_RCT: |
1071 |
case JPC_MCT_RCT: |
1072 |
assert(dec->numcomps == 3); |
1072 |
assert(dec->numcomps >= 3); |
1073 |
jpc_irct(tile->tcomps[0].data, tile->tcomps[1].data, |
1073 |
jpc_irct(tile->tcomps[0].data, tile->tcomps[1].data, |
1074 |
tile->tcomps[2].data); |
1074 |
tile->tcomps[2].data); |
1075 |
break; |
1075 |
break; |
1076 |
case JPC_MCT_ICT: |
1076 |
case JPC_MCT_ICT: |
1077 |
assert(dec->numcomps == 3); |
1077 |
assert(dec->numcomps >= 3); |
1078 |
jpc_iict(tile->tcomps[0].data, tile->tcomps[1].data, |
1078 |
jpc_iict(tile->tcomps[0].data, tile->tcomps[1].data, |
1079 |
tile->tcomps[2].data); |
1079 |
tile->tcomps[2].data); |
1080 |
break; |
1080 |
break; |