File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
- /// 256 BYTES IS ENOUGH FOR ALL THE SUPPORTED CHARACTERS IN
2
- /// EIA-708, SO INTERNALLY WE USE THIS TABLE (FOR CONVENIENCE)
3
- ///
4
- /// 00-1F -> Characters that are in the G2 group in 20-3F,
5
- /// except for 06, which is used for the closed captions
6
- /// sign "CC" which is defined in group G3 as 00. (this
7
- /// is by the article 33).
8
- /// 20-7F -> Group G0 as is - corresponds to the ASCII code
9
- /// 80-9F -> Characters that are in the G2 group in 60-7F
10
- /// (there are several blank characters here, that's OK)
11
- /// A0-FF -> Group G1 as is - non-English characters and symbols
1
+ //! 256 BYTES IS ENOUGH FOR ALL THE SUPPORTED CHARACTERS IN
2
+ //! EIA-708, SO INTERNALLY WE USE THIS TABLE (FOR CONVENIENCE)
3
+ //!
4
+ //! 00-1F -> Characters that are in the G2 group in 20-3F,
5
+ //! except for 06, which is used for the closed captions
6
+ //! sign "CC" which is defined in group G3 as 00. (this
7
+ //! is by the article 33).
8
+ //! 20-7F -> Group G0 as is - corresponds to the ASCII code
9
+ //! 80-9F -> Characters that are in the G2 group in 60-7F
10
+ //! (there are several blank characters here, that's OK)
11
+ //! A0-FF -> Group G1 as is - non-English characters and symbols
12
12
13
13
// NOTE: Same as `lib_ccx/ccx_decoder_708_encoding.c` file
14
14
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ impl dtvcc_symbol {
213
213
}
214
214
/// Create a new 16 bit symbol
215
215
pub fn new_16 ( data1 : u8 , data2 : u8 ) -> Self {
216
- let sym = ( data1 as u16 ) << 8 | data2 as u16 ;
216
+ let sym = ( ( data1 as u16 ) << 8 ) | data2 as u16 ;
217
217
Self { init : 1 , sym }
218
218
}
219
219
/// Check if symbol is initialized
You can’t perform that action at this time.
0 commit comments