(Roi roi, int hdr2Offset)
| 459 | } |
| 460 | |
| 461 | void putProps(Roi roi, int hdr2Offset) { |
| 462 | int offset = hdr2Offset+HEADER2_SIZE+roiNameSize; |
| 463 | int roiPropsLength = roiPropsSize/2; |
| 464 | putInt(hdr2Offset+RoiDecoder.ROI_PROPS_OFFSET, offset); |
| 465 | putInt(hdr2Offset+RoiDecoder.ROI_PROPS_LENGTH, roiPropsLength); |
| 466 | for (int i=0; i<roiPropsLength; i++) |
| 467 | putShort(offset+i*2, roiProps.charAt(i)); |
| 468 | } |
| 469 | |
| 470 | void putPointCounters(Roi roi, int hdr2Offset) { |
| 471 | int offset = hdr2Offset+HEADER2_SIZE+roiNameSize+roiPropsSize; |
no test coverage detected