/dports/astro/opencpn/OpenCPN-5.2.4/plugins/grib_pi/libs/jasper/src/jpc/ |
H A D | jpc_bs.c | 122 return bitstream; in jpc_bitstream_sopen() 163 return bitstream; in jpc_bitstream_alloc() 256 bitstream->buf_ = (bitstream->buf_ << 8) & 0xffff; in jpc_bitstream_fillbuf() 261 bitstream->cnt_ = (bitstream->buf_ == 0xff00) ? 6 : 7; in jpc_bitstream_fillbuf() 262 bitstream->buf_ |= c & ((1 << (bitstream->cnt_ + 1)) - 1); in jpc_bitstream_fillbuf() 263 return (bitstream->buf_ >> bitstream->cnt_) & 1; in jpc_bitstream_fillbuf() 280 if ((bitstream->cnt_ < 8 && bitstream->cnt_ > 0) || in jpc_bitstream_needalign() 289 if ((bitstream->cnt_ < 8 && bitstream->cnt_ >= 0) || in jpc_bitstream_needalign() 412 } else if (bitstream->cnt_ > 0 && bitstream->cnt_ < 8) { in jpc_bitstream_outalign() 428 assert(bitstream->cnt_ >= 0 && bitstream->cnt_ < 8); in jpc_bitstream_outalign() [all …]
|
/dports/graphics/jasper/jasper-version-2.0.33/src/libjasper/jpc/ |
H A D | jpc_bs.c | 120 return bitstream; in jpc_bitstream_sopen() 161 return bitstream; in jpc_bitstream_alloc() 260 bitstream->buf_ = (bitstream->buf_ << 8) & 0xffff; in jpc_bitstream_fillbuf() 265 bitstream->cnt_ = (bitstream->buf_ == 0xff00) ? 6 : 7; in jpc_bitstream_fillbuf() 266 bitstream->buf_ |= c & ((1 << (bitstream->cnt_ + 1)) - 1); in jpc_bitstream_fillbuf() 267 return (bitstream->buf_ >> bitstream->cnt_) & 1; in jpc_bitstream_fillbuf() 284 if ((bitstream->cnt_ < 8 && bitstream->cnt_ > 0) || in jpc_bitstream_needalign() 293 if ((bitstream->cnt_ < 8 && bitstream->cnt_ >= 0) || in jpc_bitstream_needalign() 417 } else if (bitstream->cnt_ > 0 && bitstream->cnt_ < 8) { in jpc_bitstream_outalign() 433 assert(bitstream->cnt_ >= 0 && bitstream->cnt_ < 8); in jpc_bitstream_outalign() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/libjasper/ |
H A D | jpc_bs.c | 122 return bitstream; in jpc_bitstream_sopen() 163 return bitstream; in jpc_bitstream_alloc() 256 bitstream->buf_ = (bitstream->buf_ << 8) & 0xffff; in jpc_bitstream_fillbuf() 261 bitstream->cnt_ = (bitstream->buf_ == 0xff00) ? 6 : 7; in jpc_bitstream_fillbuf() 262 bitstream->buf_ |= c & ((1 << (bitstream->cnt_ + 1)) - 1); in jpc_bitstream_fillbuf() 263 return (bitstream->buf_ >> bitstream->cnt_) & 1; in jpc_bitstream_fillbuf() 280 if ((bitstream->cnt_ < 8 && bitstream->cnt_ > 0) || in jpc_bitstream_needalign() 289 if ((bitstream->cnt_ < 8 && bitstream->cnt_ >= 0) || in jpc_bitstream_needalign() 412 } else if (bitstream->cnt_ > 0 && bitstream->cnt_ < 8) { in jpc_bitstream_outalign() 428 assert(bitstream->cnt_ >= 0 && bitstream->cnt_ < 8); in jpc_bitstream_outalign() [all …]
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/jpeg2000/libjasper/jpc/ |
H A D | jpc_bs.c | 152 return bitstream; in jpc_bitstream_alloc() 176 return bitstream; in jpc_bitstream_sopen() 292 bitstream->buf_ = (bitstream->buf_ << 8) & 0xffff; in jpc_bitstream_fillbuf() 297 bitstream->cnt_ = (bitstream->buf_ == 0xff00) ? 6 : 7; in jpc_bitstream_fillbuf() 298 bitstream->buf_ |= c & ((1 << (bitstream->cnt_ + 1)) - 1); in jpc_bitstream_fillbuf() 299 return (bitstream->buf_ >> bitstream->cnt_) & 1; in jpc_bitstream_fillbuf() 316 if ((bitstream->cnt_ < 8 && bitstream->cnt_ > 0) || in jpc_bitstream_needalign() 325 if ((bitstream->cnt_ < 8 && bitstream->cnt_ >= 0) || in jpc_bitstream_needalign() 446 } else if (bitstream->cnt_ > 0 && bitstream->cnt_ < 8) { in jpc_bitstream_outalign() 462 assert(bitstream->cnt_ >= 0 && bitstream->cnt_ < 8); in jpc_bitstream_outalign() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxcrt/ |
H A D | cfx_bitstream_unittest.cpp | 24 CFX_BitStream bitstream(kData); in TEST() local 70 bitstream.SkipBits(14); in TEST() 73 bitstream.SkipBits(2); in TEST() 79 bitstream.Rewind(); in TEST() 85 bitstream.SkipBits(5); in TEST() 94 bitstream.ByteAlign(); in TEST() 103 bitstream.Rewind(); in TEST() 108 bitstream.Rewind(); in TEST() 109 bitstream.SkipBits(31); in TEST() 115 bitstream.SkipBits(1000); in TEST() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxcrt/ |
H A D | cfx_bitstream_unittest.cpp | 24 CFX_BitStream bitstream(kData); in TEST() local 70 bitstream.SkipBits(14); in TEST() 73 bitstream.SkipBits(2); in TEST() 79 bitstream.Rewind(); in TEST() 85 bitstream.SkipBits(5); in TEST() 94 bitstream.ByteAlign(); in TEST() 103 bitstream.Rewind(); in TEST() 108 bitstream.Rewind(); in TEST() 109 bitstream.SkipBits(31); in TEST() 115 bitstream.SkipBits(1000); in TEST() [all …]
|
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/libchdr/src/ |
H A D | bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 44 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 54 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 55 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 72 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 84 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 97 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/libretro/libretro-common/formats/libchdr/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 43 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 53 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 54 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 70 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 81 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 93 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 110 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-pcsx_rearmed/pcsx_rearmed-c2d67cd/deps/libchdr/ |
H A D | bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 44 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 54 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 55 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 72 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 84 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 97 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-beetle_psx/beetle-psx-libretro-3ec155d/deps/libchdr/src/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 44 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 54 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 55 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 72 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 84 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 97 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-beetle_pce_fast/beetle-pce-fast-libretro-67426f4/deps/libchdr/src/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 44 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 54 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 55 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 72 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 84 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 97 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burner/libretro/libretro-common/formats/libchdr/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 43 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 53 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 54 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 70 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 81 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 93 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 110 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-genesis_plus_gx/Genesis-Plus-GX-7f83bc5/core/cd_hw/libchdr/src/ |
H A D | bitstream.c | 20 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 29 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 35 return bitstream; in create_bitstream() 45 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 55 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 56 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 73 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 85 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 98 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-opera/opera-libretro-5781f68/deps/libchdr/src/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 44 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 54 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 55 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 72 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 84 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 97 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/retroarch/RetroArch-1.9.7/libretro-common/formats/libchdr/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 43 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 53 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 54 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 70 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 81 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 93 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 110 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/kodi-addon-game.libretro.beetle-psx/game.libretro.beetle-psx-0.9.44.22-Matrix/depends/common/beetle-psx/deps/libchdr/src/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 44 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 54 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 55 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 72 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 84 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 97 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/kodi-addon-game.libretro.pcsx-rearmed/game.libretro.pcsx-rearmed-22.0.0.19-Matrix/depends/common/pcsx-rearmed/deps/libchdr/ |
H A D | bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 44 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 54 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 55 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 72 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 84 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 97 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/libretro-common/formats/libchdr/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 43 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 53 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 54 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 70 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 81 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 93 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 110 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/mrboom/MrBoom-src-5.2/libretro-common/formats/libchdr/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 43 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 53 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 54 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 70 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 81 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 93 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 110 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/kodi-addon-game.libretro.genplus/game.libretro.genplus-1.7.4.15-Matrix/depends/common/genplus/core/cd_hw/libchdr/src/ |
H A D | bitstream.c | 20 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 29 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 35 return bitstream; in create_bitstream() 45 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 55 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 56 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 73 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 85 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 98 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-beetle_pce/beetle-pce-libretro-945b7a7/deps/libchdr/src/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 44 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 54 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 55 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 72 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 84 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 97 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-beetle_pcfx/beetle-pcfx-libretro-7bba669/deps/libchdr/ |
H A D | bitstream.c | 18 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 26 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 32 return bitstream; in create_bitstream() 41 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 51 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 52 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 68 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 79 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 91 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 108 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-beetle_saturn/beetle-saturn-libretro-ee5b214/deps/libchdr/src/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 44 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 54 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 55 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 72 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 84 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 97 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-beetle_supergrafx/beetle-supergrafx-libretro-c4dd156/deps/libchdr/src/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 44 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 54 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 55 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 72 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 84 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 97 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 115 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|
/dports/games/libretro-cap32/libretro-cap32-ad7397f/libretro-common/formats/libchdr/ |
H A D | libchdr_bitstream.c | 19 int bitstream_overflow(struct bitstream* bitstream) { return ((bitstream->doffset - bitstream->bits… in bitstream_overflow() argument 28 struct bitstream* bitstream = (struct bitstream*)malloc(sizeof(struct bitstream)); in create_bitstream() local 34 return bitstream; in create_bitstream() 43 uint32_t bitstream_peek(struct bitstream* bitstream, int numbits) in bitstream_peek() argument 53 if (bitstream->doffset < bitstream->dlength) in bitstream_peek() 54 bitstream->buffer |= bitstream->read[bitstream->doffset] << (24 - bitstream->bits); in bitstream_peek() 70 void bitstream_remove(struct bitstream* bitstream, int numbits) in bitstream_remove() argument 81 uint32_t bitstream_read(struct bitstream* bitstream, int numbits) in bitstream_read() argument 93 uint32_t bitstream_read_offset(struct bitstream* bitstream) in bitstream_read_offset() argument 110 uint32_t bitstream_flush(struct bitstream* bitstream) in bitstream_flush() argument [all …]
|