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

Method fourccString

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

returns a string of a four-cc code corresponding to an int (Intel byte order)

(int fourcc)

Source from the content-addressed store, hash-verified

1472
1473 /** returns a string of a four-cc code corresponding to an int (Intel byte order) */
1474 private String fourccString(int fourcc) {
1475 String s = "";
1476 for (int i=0; i<4; i++) {
1477 int c = fourcc&0xff;
1478 s += Character.toString((char)c);
1479 fourcc >>= 8;
1480 }
1481 return s;
1482 }
1483
1484 /** tries to close the given file (if not null) */
1485 private void closeFile(RandomAccessFile rFile) {

Callers 10

openAndReadHeaderMethod · 0.95
readAVIXMethod · 0.95
findFourccAndReadMethod · 0.95
findFourccAndSkipMethod · 0.95
readContentsMethod · 0.95
readStreamHeaderMethod · 0.95
readAvi2IndexMethod · 0.95
readOldFrameIndexMethod · 0.95
readBitMapInfoMethod · 0.95
readMovieDataMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected