mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[PR #1618] [CLOSED] [FIX] Initialize data structures for the rust CEA-708 decoder and correct Dtvcc #2332
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/1618
Author: @IshanGrover2004
Created: 6/20/2024
Status: ❌ Closed
Base:
master← Head:1499-initialize-dtvcc-ds📝 Commits (10+)
2a1fce5feat: ChangeDtvcc::new()to create Dtvcc usingccx_decoder_dtvcc_settings05c6a2ffeat: Createccxr_dtvcc_init&ccxr_dtvcc_freeaf23301feat: Createccxr_dtvcc_set_encoderto set encoder value92cc3c5feat: Adddtvcc_rustmember inlib_cc_decoderstruct for storing dtvccb9215f5feat: Initialize externdtvcc init & freefunctions in C headerfce9fcffeat: Create function to set dtvcc encoder todtvcc_rustin Ce8a2660feat: Use of dtvcc init & free in C1ce5ad4fix: rust buildcf2a335fix: Value ofdtvcc_rust.is_activeas per C6cb6f6erefactor: Changedccxr_flush_decoderto flush decoder ofdtvcc_rust📊 Changes
10 files changed (+264 additions, -52 deletions)
View changed files
📝
src/lib_ccx/ccx_decoders_common.c(+12 -5)📝
src/lib_ccx/ccx_decoders_common.h(+4 -0)📝
src/lib_ccx/ccx_decoders_structs.h(+3 -0)📝
src/lib_ccx/ccx_dtvcc.h(+7 -1)📝
src/lib_ccx/general_loop.c(+17 -1)📝
src/lib_ccx/lib_ccx.h(+4 -0)📝
src/lib_ccx/mp4.c(+8 -0)📝
src/rust/src/decoder/mod.rs(+110 -31)📝
src/rust/src/decoder/service_decoder.rs(+7 -6)📝
src/rust/src/lib.rs(+92 -8)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Closes #1499
Work to be done in this PR:
ccxr_dtvcc_init()in lib.rs and use this at all places wheredtvcc_init()is being called. (Probably add a new struct field to lib_cc_decode likedtvcc_rustand store Dtvcc there instead of using the dtvcc field)dtvcc_free()dec_ctxinstead of creating a new oneAdditionally to fix mp4 code flow:-
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.