mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-29 01:21:04 +00:00
[PR #1649] [MERGED] [FEAT] Add bitstream module in lib_ccxr
#2358
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1649
Author: @mrswastik-robot
Created: 12/25/2024
Status: ✅ Merged
Merged: 7/7/2025
Merged by: @prateekmedia
Base:
master← Head:migration-bitstream-module📝 Commits (10+)
83fb2d7feat: Add bitstream modulec3a91a6run code formattersc873193Run cargo clippy --fix37e126aRun cargo fmt --all666a1bfrefactor: remove rust pointer from C structd70fcd3feat: Add bitstream modulee9a9155run code formattersbdb0c5fRun cargo clippy --fixd869d7cRun cargo fmt --all04a0eedrefactor: remove rust pointer from C struct📊 Changes
9 files changed (+1386 additions, -6 deletions)
View changed files
📝
src/lib_ccx/cc_bitstream.c(+64 -1)📝
src/lib_ccx/cc_bitstream.h(+0 -1)📝
src/rust/build.rs(+1 -0)➕
src/rust/lib_ccxr/src/common/bitstream.rs(+460 -0)📝
src/rust/lib_ccxr/src/common/mod.rs(+2 -0)📝
src/rust/lib_ccxr/src/util/bits.rs(+4 -4)➕
src/rust/src/libccxr_exports/bitstream.rs(+852 -0)📝
src/rust/src/libccxr_exports/mod.rs(+2 -0)📝
src/rust/wrapper.h(+1 -0)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
This PR migrates the bitstream functionality from C to Rust while maintaining backward compatibility by creating a new Rust implementation in
lib_ccxr/src/common/bitstream.rsand connecting it to the existing C code through FFI bindings.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.