Home
last modified time | relevance | path

Searched refs:curByte (Results 1 – 7 of 7) 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/C/
DLzmaEnc.c936 Byte curByte, matchByte; in GetOptimum() local
998 curByte = *data; in GetOptimum()
1001 if (mainLen < 2 && curByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum()
1015 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1016 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
1024 if (matchByte == curByte) in GetOptimum()
1129 Byte curByte, matchByte; in GetOptimum() local
1218 curByte = *data; in GetOptimum()
1228 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1229 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
[all …]
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
DLzmaEnc.c937 Byte curByte, matchByte; in GetOptimum() local
999 curByte = *data; in GetOptimum()
1002 if (mainLen < 2 && curByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum()
1016 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1017 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
1025 if (matchByte == curByte) in GetOptimum()
1130 Byte curByte, matchByte; in GetOptimum() local
1219 curByte = *data; in GetOptimum()
1229 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1230 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
[all …]
/external/chromium_org/third_party/lzma_sdk/
DLzmaEnc.c936 Byte curByte, matchByte; in GetOptimum() local
998 curByte = *data; in GetOptimum()
1001 if (mainLen < 2 && curByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum()
1015 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1016 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
1024 if (matchByte == curByte) in GetOptimum()
1129 Byte curByte, matchByte; in GetOptimum() local
1218 curByte = *data; in GetOptimum()
1228 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1229 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()