diff --git a/src/rust/src/decoder/encoding.rs b/src/rust/src/decoder/encoding.rs index 8fabd585a..72a669572 100644 --- a/src/rust/src/decoder/encoding.rs +++ b/src/rust/src/decoder/encoding.rs @@ -1,16 +1,16 @@ -/// 256 BYTES IS ENOUGH FOR ALL THE SUPPORTED CHARACTERS IN -/// EIA-708, SO INTERNALLY WE USE THIS TABLE (FOR CONVENIENCE) -/// -/// 00-1F -> Characters that are in the G2 group in 20-3F, -/// except for 06, which is used for the closed captions -/// sign "CC" which is defined in group G3 as 00. (this -/// is by the article 33). -/// 20-7F -> Group G0 as is - corresponds to the ASCII code -/// 80-9F -> Characters that are in the G2 group in 60-7F -/// (there are several blank characters here, that's OK) -/// A0-FF -> Group G1 as is - non-English characters and symbols -/// -/// NOTE: Same as `lib_ccx/ccx_decoder_708_encoding.c` file +//! 256 BYTES IS ENOUGH FOR ALL THE SUPPORTED CHARACTERS IN +//! EIA-708, SO INTERNALLY WE USE THIS TABLE (FOR CONVENIENCE) +//! +//! 00-1F -> Characters that are in the G2 group in 20-3F, +//! except for 06, which is used for the closed captions +//! sign "CC" which is defined in group G3 as 00. (this +//! is by the article 33). +//! 20-7F -> Group G0 as is - corresponds to the ASCII code +//! 80-9F -> Characters that are in the G2 group in 60-7F +//! (there are several blank characters here, that's OK) +//! A0-FF -> Group G1 as is - non-English characters and symbols +//! +//! NOTE: Same as `lib_ccx/ccx_decoder_708_encoding.c` file #[no_mangle] pub extern "C" fn dtvcc_get_internal_from_G0(g0_char: u8) -> u8 {