public void parse(ByteBuffer input) { super.parse(input); NIOUtils.skip(input, 4); flags = input.getInt(); timescale = input.getInt(); frameDuration = input.getInt(); numFrames = input.get(); NIOUtils.skip(input, 1); }
public void parse(ByteBuffer input) { super.parse(input); NIOUtils.skip(input, 4); flags = input.getInt(); timescale = input.getInt(); frameDuration = input.getInt(); numFrames = input.get(); NIOUtils.skip(input, 1); }
public void parse(ByteBuffer input) { super.parse(input); NIOUtils.skip(input, 4); flags = input.getInt(); timescale = input.getInt(); frameDuration = input.getInt(); numFrames = input.get(); NIOUtils.skip(input, 1); }
public void parse(ByteBuffer input) { super.parse(input); version = input.getShort(); revision = input.getShort(); vendor = NIOUtils.readString(input, 4); temporalQual = input.getInt(); spacialQual = input.getInt(); width = input.getShort(); height = input.getShort(); hRes = (float) input.getInt() / 65536f; vRes = (float) input.getInt() / 65536f; input.getInt(); // Reserved frameCount = input.getShort(); compressorName = NIOUtils.readPascalString(input, 31); depth = input.getShort(); clrTbl = input.getShort(); parseExtensions(input); }
public void parse(ByteBuffer input) { super.parse(input); version = input.getShort(); revision = input.getShort(); vendor = NIOUtils.readString(input, 4); temporalQual = input.getInt(); spacialQual = input.getInt(); width = input.getShort(); height = input.getShort(); hRes = (float) input.getInt() / 65536f; vRes = (float) input.getInt() / 65536f; input.getInt(); // Reserved frameCount = input.getShort(); compressorName = NIOUtils.readPascalString(input, 31); depth = input.getShort(); clrTbl = input.getShort(); parseExtensions(input); }
public void parse(ByteBuffer input) { super.parse(input); version = input.getShort(); revision = input.getShort(); vendor = NIOUtils.readString(input, 4); temporalQual = input.getInt(); spacialQual = input.getInt(); width = input.getShort(); height = input.getShort(); hRes = (float) input.getInt() / 65536f; vRes = (float) input.getInt() / 65536f; input.getInt(); // Reserved frameCount = input.getShort(); compressorName = NIOUtils.readPascalStringL(input, 31); depth = input.getShort(); clrTbl = input.getShort(); parseExtensions(input); }
public void parse(ByteBuffer input) { super.parse(input); version = input.getShort(); revision = input.getShort(); vendor = input.getInt(); channelCount = input.getShort(); sampleSize = input.getShort(); compressionId = input.getShort(); pktSize = input.getShort(); long sr = input.getInt() & 0xffffffffL; sampleRate = (float) sr / 65536f; if (version == 1) { samplesPerPkt = input.getInt(); bytesPerPkt = input.getInt(); bytesPerFrame = input.getInt(); bytesPerSample = input.getInt(); } else if (version == 2) { input.getInt(); /* sizeof struct only */ sampleRate = (float) Double.longBitsToDouble(input.getLong()); channelCount = (short) input.getInt(); input.getInt(); /* always 0x7F000000 */ sampleSize = (short) input.getInt(); lpcmFlags = (int) input.getInt(); bytesPerFrame = (int) input.getInt(); samplesPerPkt = (int) input.getInt(); } parseExtensions(input); }
public void parse(ByteBuffer input) { super.parse(input); version = input.getShort(); revision = input.getShort(); vendor = input.getInt(); channelCount = input.getShort(); sampleSize = input.getShort(); compressionId = input.getShort(); pktSize = input.getShort(); long sr = input.getInt() & 0xffffffffL; sampleRate = (float) sr / 65536f; if (version == 1) { samplesPerPkt = input.getInt(); bytesPerPkt = input.getInt(); bytesPerFrame = input.getInt(); bytesPerSample = input.getInt(); } else if (version == 2) { input.getInt(); /* sizeof struct only */ sampleRate = (float) Double.longBitsToDouble(input.getLong()); channelCount = (short) input.getInt(); input.getInt(); /* always 0x7F000000 */ sampleSize = (short) input.getInt(); lpcmFlags = (int) input.getInt(); bytesPerFrame = (int) input.getInt(); samplesPerPkt = (int) input.getInt(); } parseExtensions(input); }
public void parse(ByteBuffer input) { super.parse(input); version = input.getShort(); revision = input.getShort(); vendor = input.getInt(); channelCount = input.getShort(); sampleSize = input.getShort(); compressionId = input.getShort(); pktSize = input.getShort(); long sr = input.getInt() & 0xffffffffL; sampleRate = (float) sr / 65536f; if (version == 1) { samplesPerPkt = input.getInt(); bytesPerPkt = input.getInt(); bytesPerFrame = input.getInt(); bytesPerSample = input.getInt(); } else if (version == 2) { input.getInt(); /* sizeof struct only */ sampleRate = (float) Double.longBitsToDouble(input.getLong()); channelCount = (short) input.getInt(); input.getInt(); /* always 0x7F000000 */ sampleSize = (short) input.getInt(); lpcmFlags = (int) input.getInt(); bytesPerFrame = (int) input.getInt(); samplesPerPkt = (int) input.getInt(); } parseExtensions(input); }