Home
last modified time | relevance | path

Searched refs:curByte (Results 1 – 10 of 10) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/write/
DBitstreamWriter.java36 private int[] curByte = new int[8]; field in BitstreamWriter
50 curByte[i] = 0; in flush()
57 int toWrite = (curByte[0] << 7) | (curByte[1] << 6) | (curByte[2] << 5) in writeCurByte()
58 | (curByte[3] << 4) | (curByte[4] << 3) | (curByte[5] << 2) in writeCurByte()
59 | (curByte[6] << 1) | curByte[7]; in writeCurByte()
74 curByte[curBit++] = value; in write1Bit()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/read/
DBitstreamReader.java35 private int curByte; field in BitstreamReader
44 curByte = is.read(); in BitstreamReader()
56 if (curByte == -1) { in read1Bit()
60 int res = (curByte >> (7 - nBit)) & 1; in read1Bit()
89 curByte = nextByte; in advance()
104 int res = curByte; in readByte()
122 boolean hasTail = (curByte & mask) == tail; in moreRBSPData()
124 return !(curByte == -1 || (nextByte == -1 && hasTail)); in moreRBSPData()
150 if (curByte == -1) { in peakNextBits()
158 bits[cnt++] = (curByte >> (7 - i)) & 0x1; in peakNextBits()
/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java164 int curByte = lz.getByte(0); in getNextSymbol() local
170 if (mainLen < MATCH_LEN_MIN && curByte != matchByte in getNextSymbol()
181 int literalPrice = literalEncoder.getPrice(curByte, matchByte, in getNextSymbol()
191 if (matchByte == curByte) { in getNextSymbol()
378 int curByte = lz.getByte(0);
383 + literalEncoder.getPrice(curByte, matchByte, lz.getByte(1),
391 if (matchByte == curByte && (opts[optCur + 1].optPrev == optCur
404 if (!nextIsByte && matchByte != curByte && avail > MATCH_LEN_MIN) {
467 int curByte = lz.getByte(len, 0);
470 price += literalEncoder.getPrice(curByte, matchByte, prevByte,
[all …]
DLZMAEncoder.java566 int getPrice(int curByte, int matchByte, in getPrice() argument
573 ? subencoders[i].getNormalPrice(curByte) in getPrice()
574 : subencoders[i].getMatchedPrice(curByte, matchByte); in getPrice()
/external/fonttools/Lib/fontTools/ttLib/tables/
DE_B_D_T_.py207 for curByte in data:
208 value = byteord(curByte)
223 curByte = 0
225 curByte = curByte << 1
227 curByte |= 1
228 byteList.append(bytechr(curByte))
539 curByte = _reverseBytes(self.imageData[firstByteLoc])
540 firstHalf = byteord(curByte) >> cutPoint
544 curByte = _reverseBytes(self.imageData[secondByteLoc])
545 secondHalf = byteord(curByte) << numBitsCut
[all …]
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifHeaderParser.java354 int curByte = 0; in read() local
356 curByte = rawData.get() & 0xFF; in read()
360 return curByte; in read()
DGifDecoder.java653 int curByte = 0; in read() local
655 curByte = rawData.get() & 0xFF; in read()
659 return curByte; in read()
/external/lzma/C/
DLzmaEnc.c1130 Byte curByte, matchByte; in GetOptimum() local
1190 curByte = *data; in GetOptimum()
1197 if (last < 2 && curByte != matchByte) in GetOptimum()
1211 LitEnc_Matched_GetPrice(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1212 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
1221 if (matchByte == curByte && repLens[0] == 0) in GetOptimum()
1344 Byte curByte, matchByte; in GetOptimum() local
1474 curByte = *data; in GetOptimum()
1502 && matchByte == curByte) in GetOptimum()
1510 LitEnc_Matched_GetPrice(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
[all …]
/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java1095 byte curByte = _matchFinder.GetIndexByte(0 - _additionalOffset); in CodeOneBlock()
1096 _literalEncoder.GetSubCoder((int)(nowPos64), _previousByte).Encode(_rangeEncoder, curByte); in CodeOneBlock()
1097 _previousByte = curByte; in CodeOneBlock()
1116 byte curByte = _matchFinder.GetIndexByte((int)(0 - _additionalOffset)); in CodeOneBlock()
1121 subCoder.EncodeMatched(_rangeEncoder, matchByte, curByte); in CodeOneBlock()
1124 subCoder.Encode(_rangeEncoder, curByte); in CodeOneBlock()
1125 _previousByte = curByte; in CodeOneBlock()
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs1097 Byte curByte = _matchFinder.GetIndexByte((Int32)(0 - _additionalOffset)); in CodeOneBlock()
1098 _literalEncoder.GetSubCoder((UInt32)(nowPos64), _previousByte).Encode(_rangeEncoder, curByte); in CodeOneBlock()
1099 _previousByte = curByte; in CodeOneBlock()
1118 Byte curByte = _matchFinder.GetIndexByte((Int32)(0 - _additionalOffset)); in CodeOneBlock()
1123 subCoder.EncodeMatched(_rangeEncoder, matchByte, curByte); in CodeOneBlock()
1126 subCoder.Encode(_rangeEncoder, curByte); in CodeOneBlock()
1127 _previousByte = curByte; in CodeOneBlock()