Skip to content

Conversation

@5000user5000
Copy link
Owner

主要目的是實現基本的 jpeg decoder
使用 c++ 來做計算, 並用 pybind11 使得 python 能夠呼叫此 library.
包含測試檔案以及 makefile

  - Add BitStream for bit-level reading with byte stuffing support
  - Add IDCT with ZigZag ordering for 8x8 block transformation
  - Add Huffman decoder for DC/AC coefficient decoding
  - Add main JPEG decoder supporting Baseline DCT format
@5000user5000
Copy link
Owner Author

更新 CI 腳本

  - 修正 0xFF 0x00 byte stuffing 未跳過 0x00 的嚴重 bug
  - 修正 RST marker (0xFF 0xD0-0xD7) 未正確跳過的問題
  - 重構 BitStream:引入 32-bit 緩衝區機制提升效能
  - 新增 precision 驗證和清理未使用變數
Copy link
Owner Author

@5000user5000 5000user5000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@5000user5000 5000user5000 merged commit 0d9a93b into main Nov 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants