Searched refs:intBytes (Results 1 – 3 of 3) sorted by relevance
74 aviOutput.write(intBytes(swapInt(useLength))); in addImage()91 raf.write(intBytes(swapInt((int) size - 8))); in finishAVI()93 raf.write(intBytes(swapInt((int) (size - 8 - aviMovieOffset - indexlistBytes.length)))); in finishAVI()116 public static byte[] intBytes(int i) { in intBytes() method in MjpegFileWriter149 baos.write(intBytes(swapInt(fileSize))); in toBytes()152 baos.write(intBytes(swapInt(listSize))); in toBytes()209 baos.write(intBytes(swapInt(cb))); in toBytes()210 baos.write(intBytes(swapInt(dwMicroSecPerFrame))); in toBytes()211 baos.write(intBytes(swapInt(dwMaxBytesPerSec))); in toBytes()212 baos.write(intBytes(swapInt(dwPaddingGranularity))); in toBytes()[all …]
212 private final byte[] intBytes=new byte[5]; field in BytesTrieBuilder227 intBytes[0]=(byte)BytesTrie.kFiveByteValueLead; in writeValueAndFinal()228 intBytes[1]=(byte)(i>>24); in writeValueAndFinal()229 intBytes[2]=(byte)(i>>16); in writeValueAndFinal()230 intBytes[3]=(byte)(i>>8); in writeValueAndFinal()231 intBytes[4]=(byte)i; in writeValueAndFinal()237 intBytes[0]=(byte)(BytesTrie.kMinTwoByteValueLead+(i>>8)); in writeValueAndFinal()240 intBytes[0]=(byte)(BytesTrie.kMinThreeByteValueLead+(i>>16)); in writeValueAndFinal()242 intBytes[0]=(byte)BytesTrie.kFourByteValueLead; in writeValueAndFinal()243 intBytes[1]=(byte)(i>>16); in writeValueAndFinal()[all …]
429 char intBytes[5]; in writeValueAndFinal() local432 intBytes[0]=(char)BytesTrie::kFiveByteValueLead; in writeValueAndFinal()433 intBytes[1]=(char)((uint32_t)i>>24); in writeValueAndFinal()434 intBytes[2]=(char)((uint32_t)i>>16); in writeValueAndFinal()435 intBytes[3]=(char)((uint32_t)i>>8); in writeValueAndFinal()436 intBytes[4]=(char)i; in writeValueAndFinal()442 intBytes[0]=(char)(BytesTrie::kMinTwoByteValueLead+(i>>8)); in writeValueAndFinal()445 intBytes[0]=(char)(BytesTrie::kMinThreeByteValueLead+(i>>16)); in writeValueAndFinal()447 intBytes[0]=(char)BytesTrie::kFourByteValueLead; in writeValueAndFinal()448 intBytes[1]=(char)(i>>16); in writeValueAndFinal()[all …]