MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / readAVIX

Method readAVIX

ij/src/main/java/ij/plugin/AVI_Reader.java:671–680  ·  view source on GitHub ↗

Read AVIX chunks following the first RIFF AVI for large files (sequential reading frame-by-frame beyond the first chunk)

(long endPosition)

Source from the content-addressed store, hash-verified

669
670 /** Read AVIX chunks following the first RIFF AVI for large files (sequential reading frame-by-frame beyond the first chunk) **/
671 private void readAVIX(long endPosition) throws Exception, IOException {
672 if (verbose)
673 IJ.log("Trying to read AVIX"+timeString());
674 int riffType = readInt();
675 if (verbose)
676 IJ.log("File header: RIFF type='"+fourccString(riffType)+"' (should be 'AVIX')");
677 if (riffType != FOURCC_AVIX)
678 throw new Exception("Not an AVI file.");
679 findFourccAndRead(FOURCC_movi, true, fileSize, true); //read movie data
680 }
681
682 /** Find the next position of fourcc or LIST fourcc and read contents.
683 * Returns next position

Callers 1

readContentsMethod · 0.95

Calls 5

logMethod · 0.95
timeStringMethod · 0.95
readIntMethod · 0.95
fourccStringMethod · 0.95
findFourccAndReadMethod · 0.95

Tested by

no test coverage detected