Skip to content

Commit

Permalink
Fix rust comment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrot committed Jan 1, 2025
1 parent 6f406ed commit 4a25a04
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/rust/src/decoder/encoding.rs
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 4a25a04

Please sign in to comment.