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/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java162 int curByte = lz.getByte(0); in getNextSymbol() local
168 if (mainLen < MATCH_LEN_MIN && curByte != matchByte in getNextSymbol()
179 int literalPrice = literalEncoder.getPrice(curByte, matchByte, in getNextSymbol()
189 if (matchByte == curByte) { in getNextSymbol()
376 int curByte = lz.getByte(0);
381 + literalEncoder.getPrice(curByte, matchByte, lz.getByte(1),
389 if (matchByte == curByte && (opts[optCur + 1].optPrev == optCur
402 if (!nextIsByte && matchByte != curByte && avail > MATCH_LEN_MIN) {
465 int curByte = lz.getByte(len, 0);
468 price += literalEncoder.getPrice(curByte, matchByte, prevByte,
[all …]
DLZMAEncoder.java527 int getPrice(int curByte, int matchByte, in getPrice() argument
534 ? subencoders[i].getNormalPrice(curByte) in getPrice()
535 : subencoders[i].getMatchedPrice(curByte, matchByte); in getPrice()
/external/fonttools/Lib/fontTools/ttLib/tables/
DE_B_D_T_.py205 for curByte in data:
206 value = byteord(curByte)
221 curByte = 0
223 curByte = curByte << 1
225 curByte |= 1
226 byteList.append(bytechr(curByte))
527 curByte = _reverseBytes(self.imageData[firstByteLoc])
528 firstHalf = byteord(curByte) >> cutPoint
532 curByte = _reverseBytes(self.imageData[secondByteLoc])
533 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.c949 Byte curByte, matchByte; in GetOptimum() local
1011 curByte = *data; in GetOptimum()
1014 if (mainLen < 2 && curByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum()
1028 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1029 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
1037 if (matchByte == curByte) in GetOptimum()
1142 Byte curByte, matchByte; in GetOptimum() local
1231 curByte = *data; in GetOptimum()
1241 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1242 LitEnc_GetPrice(probs, curByte, 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()