/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/sys/system/IO/compression/ |
H A D | OutputBuffer.cs | 8 private uint bitBuf; // store uncomplete bits field in System.IO.Compression.OutputBuffer 38 bitBuf |= bits << bitCount; in WriteBits() 42 byteBuffer[pos++] = unchecked((byte)bitBuf); in WriteBits() 43 byteBuffer[pos++] = unchecked((byte)(bitBuf >> 8)); in WriteBits() 45 bitBuf >>= 16; in WriteBits() 53 byteBuffer[pos++] = unchecked((byte)bitBuf); in FlushBits() 55 bitBuf >>= 8; in FlushBits() 59 byteBuffer[pos++] = unchecked((byte)bitBuf); in FlushBits() 60 bitBuf = 0; in FlushBits() 97 savedState.bitBuf = bitBuf; in DumpState() [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/JO/ |
H A D | jo_jpeg.cpp | 43 bitBuf |= bs[0] << (24 - bitCnt); in jo_writeBits() 45 unsigned char c = (bitBuf >> 16) & 255; in jo_writeBits() 50 bitBuf <<= 8; in jo_writeBits() 130 jo_writeBits(fp, bitBuf, bitCnt, HTDC[0]); in jo_processDU() 135 jo_writeBits(fp, bitBuf, bitCnt, bits); in jo_processDU() 143 jo_writeBits(fp, bitBuf, bitCnt, EOB); in jo_processDU() 154 jo_writeBits(fp, bitBuf, bitCnt, M16zeroes); in jo_processDU() 160 jo_writeBits(fp, bitBuf, bitCnt, bits); in jo_processDU() 163 jo_writeBits(fp, bitBuf, bitCnt, EOB); in jo_processDU() 301 int bitBuf=0, bitCnt=0; in jo_write_jpg() local [all …]
|
/dports/misc/fq/fq-0.0.2/pkg/decode/ |
H A D | decode.go | 135 bitBuf *bitio.Buffer member 166 bitBuf: bb, 179 RootBitBuf: bitBuf, 183 bitBuf: bitBuf, 254 RootBitBuf: d.bitBuf, 438 bPos, err := d.bitBuf.Pos() 446 return d.bitBuf.Len() 450 bEnd, err := d.bitBuf.End() 500 pos, err := d.bitBuf.SeekAbs(pos) 585 v.RootBitBuf = d.bitBuf [all …]
|
H A D | read.go | 26 return d.bitBuf.BitBufLen(nBits) 86 bs, err := d.bitBuf.BytesLen(nBytes) 113 bs, err := d.bitBuf.BytesLen(n) 128 bs, err := d.bitBuf.BytesLen(n) 138 bs, err := d.bitBuf.BytesLen(fixedBytes)
|
/dports/games/vkquake/vkQuake-1.12.2/Quake/ |
H A D | stb_image_write.h | 260 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 262 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 264 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 269 bitBuf <<= 8; in stbiw__jpg_writeBits() 272 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 364 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 369 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 377 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 396 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 399 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/soundlib/ |
H A D | BitReader.h | 29 uint32 bitBuf = 0; // Current bit buffer variable 70 bitBuf |= (static_cast<uint32>(buffer[m_bufPos++]) << m_bitNum); in ReadBits() 74 uint32 v = bitBuf & ((1 << numBits) - 1); in ReadBits() 75 bitBuf >>= numBits; in ReadBits()
|
/dports/multimedia/v4l_compat/v4l-utils-4l-utils-1.20.0/lib/libv4lconvert/ |
H A D | sn9c2028-decomp.c | 46 bitBuf = (bitBuf << 8) | (*(src++)); \ 50 to = bitBuf >> (bitBufCount - num); \ 132 unsigned long bitBuf = 0; in v4lconvert_decode_sn9c2028() local
|
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/lib/libv4lconvert/ |
H A D | sn9c2028-decomp.c | 46 bitBuf = (bitBuf << 8) | (*(src++)); \ 50 to = bitBuf >> (bitBufCount - num); \ 132 unsigned long bitBuf = 0; in v4lconvert_decode_sn9c2028() local
|
/dports/multimedia/v4l-utils/v4l-utils-4l-utils-1.20.0/lib/libv4lconvert/ |
H A D | sn9c2028-decomp.c | 46 bitBuf = (bitBuf << 8) | (*(src++)); \ 50 to = bitBuf >> (bitBufCount - num); \ 132 unsigned long bitBuf = 0; in v4lconvert_decode_sn9c2028() local
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/made/ |
H A D | graphics.cpp | 89 byte bitBuf[40]; in decompressImage() local 102 memcpy(bitBuf, cmdBuffer, lineSize); in decompressImage() 107 uint16 bits = READ_LE_UINT16(&bitBuf[bitBufOfs]); in decompressImage() 201 byte bitBuf[40]; in decompressMovieImage() local 212 memcpy(bitBuf, cmdBuffer, lineSize); in decompressMovieImage() 217 uint16 bits = READ_LE_UINT16(&bitBuf[bitBufOfs]); in decompressMovieImage()
|
/dports/games/scummvm/scummvm-2.5.1/engines/made/ |
H A D | graphics.cpp | 89 byte bitBuf[40]; in decompressImage() local 102 memcpy(bitBuf, cmdBuffer, lineSize); in decompressImage() 107 uint16 bits = READ_LE_UINT16(&bitBuf[bitBufOfs]); in decompressImage() 203 byte bitBuf[40]; in decompressMovieImage() local 214 memcpy(bitBuf, cmdBuffer, lineSize); in decompressMovieImage() 219 uint16 bits = READ_LE_UINT16(&bitBuf[bitBufOfs]); in decompressMovieImage()
|
/dports/devel/stb/stb-f54acd4/ |
H A D | stb_image_write.h | 1200 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1202 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1204 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1209 bitBuf <<= 8; in stbiw__jpg_writeBits() 1212 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1304 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1309 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1317 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1336 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1339 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/src/ |
H A D | stb_image_write.h | 1224 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1226 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1228 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1233 bitBuf <<= 8; in stbiw__jpg_writeBits() 1236 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1328 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1333 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1341 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1360 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1363 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ |
H A D | stb_image_write.h | 1224 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1226 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1228 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1233 bitBuf <<= 8; in stbiw__jpg_writeBits() 1236 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1328 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1333 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1341 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1360 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1363 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/src/ |
H A D | stb_image_write.h | 1224 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1226 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1228 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1233 bitBuf <<= 8; in stbiw__jpg_writeBits() 1236 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1328 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1333 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1341 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1360 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1363 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/textproc/zxing-cpp/zxing-cpp-1.2.0/thirdparty/stb/ |
H A D | stb_image_write.h | 1200 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1202 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1204 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1209 bitBuf <<= 8; in stbiw__jpg_writeBits() 1212 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1304 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1309 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1317 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1336 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1339 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/devel/raylib/raylib-3.7.0/src/external/ |
H A D | stb_image_write.h | 1224 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1226 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1228 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1233 bitBuf <<= 8; in stbiw__jpg_writeBits() 1236 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1328 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1333 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1341 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1360 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1363 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/graphics/ospray/ospray-2.8.0/apps/common/external/stb_image/ |
H A D | stb_image_write.h | 1224 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1226 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1228 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1233 bitBuf <<= 8; in stbiw__jpg_writeBits() 1236 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1328 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1333 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1341 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1360 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1363 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/science/chrono/chrono-7.0.1/src/chrono_thirdparty/stb/ |
H A D | stb_image_write.h | 1200 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1202 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1204 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1209 bitBuf <<= 8; in stbiw__jpg_writeBits() 1212 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1304 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1309 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1317 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1336 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1339 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/misc/ncnn/ncnn-20211208/src/ |
H A D | stb_image_write.h | 1224 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1226 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1228 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1233 bitBuf <<= 8; in stbiw__jpg_writeBits() 1236 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1328 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1333 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1341 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1360 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1363 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/sysutils/fluxengine/fluxengine-61ff48c/dep/stb/ |
H A D | stb_image_write.h | 1224 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1226 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1228 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1233 bitBuf <<= 8; in stbiw__jpg_writeBits() 1236 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1328 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1333 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1341 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1360 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1363 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ |
H A D | stb_image_write.h | 1224 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1226 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1228 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1233 bitBuf <<= 8; in stbiw__jpg_writeBits() 1236 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1328 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1333 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1341 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1360 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1363 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/archivers/ppmd-7z/p7zip_9.04/CPP/7zip/Compress/ |
H A D | ArjDecoder1.cpp | 110 UInt32 bitBuf = m_InBitStream.GetValue(16); in read_pt_len() local 111 int c = bitBuf >> 13; in read_pt_len() 115 while (mask & bitBuf) in read_pt_len() 155 UInt32 bitBuf = m_InBitStream.GetValue(16); in read_c_len() local 156 c = pt_table[bitBuf >> (8)]; in read_c_len() 162 if (bitBuf & mask) in read_c_len()
|
/dports/graphics/aloadimage/arcan-0.6.1/src/engine/external/ |
H A D | stb_image_write.h | 1254 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1256 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1258 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1263 bitBuf <<= 8; in stbiw__jpg_writeBits() 1266 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1358 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1363 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1371 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1390 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1393 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|
/dports/misc/usd/USD-21.11/pxr/imaging/hio/stb/ |
H A D | stb_image_write.h | 1254 int bitBuf = *bitBufP, bitCnt = *bitCntP; in stbiw__jpg_writeBits() local 1256 bitBuf |= bs[0] << (24 - bitCnt); in stbiw__jpg_writeBits() 1258 unsigned char c = (bitBuf >> 16) & 255; in stbiw__jpg_writeBits() 1263 bitBuf <<= 8; in stbiw__jpg_writeBits() 1266 *bitBufP = bitBuf; in stbiw__jpg_writeBits() 1358 stbiw__jpg_writeBits(s, bitBuf, bitCnt, HTDC[0]); in stbiw__jpg_processDU() 1363 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1371 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() 1390 stbiw__jpg_writeBits(s, bitBuf, bitCnt, bits); in stbiw__jpg_processDU() 1393 stbiw__jpg_writeBits(s, bitBuf, bitCnt, EOB); in stbiw__jpg_processDU() [all …]
|