[PR #431] [MERGED] Update decoder #1041

Open
opened 2026-01-29 20:52:15 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/431
Author: @eustas
Created: 9/21/2016
Status: Merged
Merged: 9/21/2016
Merged by: @eustas

Base: masterHead: master


📝 Commits (6)

📊 Changes

11 files changed (+227 additions, -256 deletions)

View changed files

📝 common/constants.h (+3 -1)
📝 common/port.h (+16 -0)
📝 dec/bit_reader.h (+1 -24)
📝 dec/decode.c (+93 -136)
📝 dec/huffman.c (+23 -22)
📝 dec/port.h (+12 -3)
📝 dec/state.c (+3 -0)
📝 dec/state.h (+3 -2)
📝 include/brotli/decode.h (+3 -38)
📝 python/brotlimodule.cc (+8 -10)
📝 tools/bro.c (+62 -20)

📄 Description

  • use BROTLI_MAX_DISTANCE_BITS instead of magic constant
  • introduce BROTLI_DEPRECATED
  • move BROTLI_RESTRICT to common/port.h
  • promote reg_t to dec/port.h
  • remove deprecated decoder API
  • more optimistic ring-buffer allocation
  • fix MSVC warnings
  • fix (not tested) for ARM 64-bit RBIT

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/431 **Author:** [@eustas](https://github.com/eustas) **Created:** 9/21/2016 **Status:** ✅ Merged **Merged:** 9/21/2016 **Merged by:** [@eustas](https://github.com/eustas) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (6) - [`f20b3ee`](https://github.com/google/brotli/commit/f20b3eeb2f401fc4b87488ca22ca32729a6dec20) Update decoder: - [`9223fd4`](https://github.com/google/brotli/commit/9223fd4d8d85faf1f3c29a5a63903146d01894d0) Update bro tool: - [`b754f60`](https://github.com/google/brotli/commit/b754f607aa345e7ad406e07616d462ac56f41b89) Update python module - [`de1007f`](https://github.com/google/brotli/commit/de1007f05a8d2efd5e33e80cb4ef4793e7c63c4e) Fix uid/gid types - [`7cbdb4a`](https://github.com/google/brotli/commit/7cbdb4aa0c321b27d360acb462854ef023c7ba20) Update brotlimodule.cc - [`86fdb68`](https://github.com/google/brotli/commit/86fdb6837341e67e9545032dfd310b51b83529ea) Update brotlimodule.cc ### 📊 Changes **11 files changed** (+227 additions, -256 deletions) <details> <summary>View changed files</summary> 📝 `common/constants.h` (+3 -1) 📝 `common/port.h` (+16 -0) 📝 `dec/bit_reader.h` (+1 -24) 📝 `dec/decode.c` (+93 -136) 📝 `dec/huffman.c` (+23 -22) 📝 `dec/port.h` (+12 -3) 📝 `dec/state.c` (+3 -0) 📝 `dec/state.h` (+3 -2) 📝 `include/brotli/decode.h` (+3 -38) 📝 `python/brotlimodule.cc` (+8 -10) 📝 `tools/bro.c` (+62 -20) </details> ### 📄 Description - use `BROTLI_MAX_DISTANCE_BITS` instead of magic constant - introduce `BROTLI_DEPRECATED` - move `BROTLI_RESTRICT` to `common/port.h` - promote `reg_t` to `dec/port.h` - remove deprecated decoder API - more optimistic ring-buffer allocation - fix MSVC warnings - fix (not tested) for ARM 64-bit RBIT --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:52:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1041