Lines Matching refs:buffer
36 function parseUintNLE(buffer, position, bytes) { argument
40 num += buffer[position + i];
45 function parseUint32LE(buffer, position) { argument
46 return parseUintNLE(buffer, position, 4)
49 function parseUint64LE(buffer, position) { argument
50 return parseUintNLE(buffer, position, 8)
53 function mp4Decoder(buffer) { argument
54 var dataStart = findFirstInArray(buffer, WINSCOPE_META_MAGIC_STRING);
59 var frameNum = parseUint32LE(buffer, dataStart);
63 timeline.push(parseUint64LE(buffer, dataStart) * 1000);
66 return [buffer, timeline]