[PR #1736] [MERGED] [Rust]Ported ES Module to Rust #2458

Closed
opened 2026-01-29 17:22:15 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1736
Author: @steel-bucket
Created: 8/23/2025
Status: Merged
Merged: 9/6/2025
Merged by: @prateekmedia

Base: masterHead: migration-es-module


📝 Commits (10+)

  • 0dc08fe Ported ES Module to Rust
  • 0a9c071 Windows Failing CI
  • 030339a ES module: Clippy changes
  • 6dab399 ES module: Cmake failing CI
  • b7f2c69 ES module: Cmake failing CI
  • 30682d8 Merge branch 'CCExtractor:master' into migration-es-module
  • 36330d1 ES Module: Fixed mistake in read_gop_info
  • ac63939 ES Module: Minor mistakes in pic.rs and seq.rs
  • 8ab77d8 Merge branch 'CCExtractor:master' into migration-es-module
  • 937127a ES Module: Goptime regression failing

📊 Changes

21 files changed (+1985 additions, -41 deletions)

View changed files

📝 src/lib_ccx/ccx_decoders_608.c (+1 -1)
📝 src/lib_ccx/ccx_decoders_vbi.h (+0 -1)
📝 src/lib_ccx/es_functions.c (+6 -0)
📝 src/lib_ccx/lib_ccx.h (+2 -0)
📝 src/rust/build.rs (+4 -2)
📝 src/rust/lib_ccxr/src/activity.rs (+25 -0)
📝 src/rust/lib_ccxr/src/common/bitstream.rs (+130 -1)
📝 src/rust/lib_ccxr/src/common/constants.rs (+1 -1)
📝 src/rust/lib_ccxr/src/time/units.rs (+6 -6)
src/rust/src/es/core.rs (+226 -0)
src/rust/src/es/eau.rs (+143 -0)
src/rust/src/es/gop.rs (+222 -0)
src/rust/src/es/mod.rs (+62 -0)
src/rust/src/es/pic.rs (+340 -0)
src/rust/src/es/seq.rs (+214 -0)
src/rust/src/es/userdata.rs (+560 -0)
📝 src/rust/src/lib.rs (+24 -5)
📝 src/rust/src/libccxr_exports/bitstream.rs (+2 -2)
📝 src/rust/src/libccxr_exports/time.rs (+6 -2)
📝 windows/ccextractor.vcxproj (+5 -11)

...and 1 more files

📄 Description

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.
  • I have mentioned this change in the changelog.

My familiarity with the project is as follows (check one):

  • I have never used CCExtractor.
  • I have used CCExtractor just a couple of times.
  • I absolutely love CCExtractor, but have not contributed previously.
  • I am an active contributor to CCExtractor.

This PR ports the entire es_functions.c and es_userdata.c files to Rust.
Tested on This sample


🔄 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/CCExtractor/ccextractor/pull/1736 **Author:** [@steel-bucket](https://github.com/steel-bucket) **Created:** 8/23/2025 **Status:** ✅ Merged **Merged:** 9/6/2025 **Merged by:** [@prateekmedia](https://github.com/prateekmedia) **Base:** `master` ← **Head:** `migration-es-module` --- ### 📝 Commits (10+) - [`0dc08fe`](https://github.com/CCExtractor/ccextractor/commit/0dc08fe42e3a3b1a4e1ec85eeb3a0089b513d15e) Ported ES Module to Rust - [`0a9c071`](https://github.com/CCExtractor/ccextractor/commit/0a9c07100de911949cdec5219a321eff7318de88) Windows Failing CI - [`030339a`](https://github.com/CCExtractor/ccextractor/commit/030339adc7e0544c175b9374ab8ba0f1cef909ce) ES module: Clippy changes - [`6dab399`](https://github.com/CCExtractor/ccextractor/commit/6dab3996084f231c43ea92df0d726fad8c6f5faa) ES module: Cmake failing CI - [`b7f2c69`](https://github.com/CCExtractor/ccextractor/commit/b7f2c6944da7ea3ee9f9a16dbd2d26bd49434f30) ES module: Cmake failing CI - [`30682d8`](https://github.com/CCExtractor/ccextractor/commit/30682d8f0fa8432735afdee5c1bf02ab7b66ba5b) Merge branch 'CCExtractor:master' into migration-es-module - [`36330d1`](https://github.com/CCExtractor/ccextractor/commit/36330d12065af7fdc5b6b4131fa095d011034571) ES Module: Fixed mistake in read_gop_info - [`ac63939`](https://github.com/CCExtractor/ccextractor/commit/ac63939e6bd57f88cb711945f9a8d22f0b86d9fb) ES Module: Minor mistakes in pic.rs and seq.rs - [`8ab77d8`](https://github.com/CCExtractor/ccextractor/commit/8ab77d8d987023604eae053a1d838cb5875d46cd) Merge branch 'CCExtractor:master' into migration-es-module - [`937127a`](https://github.com/CCExtractor/ccextractor/commit/937127a899f590fbf11604738224a9103b2e4d1b) ES Module: Goptime regression failing ### 📊 Changes **21 files changed** (+1985 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `src/lib_ccx/ccx_decoders_608.c` (+1 -1) 📝 `src/lib_ccx/ccx_decoders_vbi.h` (+0 -1) 📝 `src/lib_ccx/es_functions.c` (+6 -0) 📝 `src/lib_ccx/lib_ccx.h` (+2 -0) 📝 `src/rust/build.rs` (+4 -2) 📝 `src/rust/lib_ccxr/src/activity.rs` (+25 -0) 📝 `src/rust/lib_ccxr/src/common/bitstream.rs` (+130 -1) 📝 `src/rust/lib_ccxr/src/common/constants.rs` (+1 -1) 📝 `src/rust/lib_ccxr/src/time/units.rs` (+6 -6) ➕ `src/rust/src/es/core.rs` (+226 -0) ➕ `src/rust/src/es/eau.rs` (+143 -0) ➕ `src/rust/src/es/gop.rs` (+222 -0) ➕ `src/rust/src/es/mod.rs` (+62 -0) ➕ `src/rust/src/es/pic.rs` (+340 -0) ➕ `src/rust/src/es/seq.rs` (+214 -0) ➕ `src/rust/src/es/userdata.rs` (+560 -0) 📝 `src/rust/src/lib.rs` (+24 -5) 📝 `src/rust/src/libccxr_exports/bitstream.rs` (+2 -2) 📝 `src/rust/src/libccxr_exports/time.rs` (+6 -2) 📝 `windows/ccextractor.vcxproj` (+5 -11) _...and 1 more files_ </details> ### 📄 Description <!-- Please prefix your pull request with one of the following: **[FEATURE]** **[FIX]** **[IMPROVEMENT]**. --> **In raising this pull request, I confirm the following (please check boxes):** - [x] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [x] I have checked that another pull request for this purpose does not exist. - [x] I have considered, and confirmed that this submission will be valuable to others. - [x] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. - [x] I give this submission freely, and claim no ownership to its content. - [x] **I have mentioned this change in the [changelog](https://github.com/CCExtractor/ccextractor/blob/master/docs/CHANGES.TXT).** **My familiarity with the project is as follows (check one):** - [ ] I have never used CCExtractor. - [ ] I have used CCExtractor just a couple of times. - [ ] I absolutely love CCExtractor, but have not contributed previously. - [x] I am an active contributor to CCExtractor. --- This PR ports the entire `es_functions.c` and `es_userdata.c` files to Rust. Tested on [This sample](https://sampleplatform.ccextractor.org/sample/b22260d065ab537899baaf34e78a5184671f4bcb2df0414d05e6345adfd7812f) --- <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 17:22:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2458