Searched refs:pts (Results 1 – 5 of 5) sorted by relevance
| /xiu/library/container/mpegts/src/ |
| H A D | pes.rs | 20 pub pts: i64, field 46 pts: 0, in new() 108 if define::PTS_NO_VALUE != stream_data.pts { in write_pes_header() 113 if define::PTS_NO_VALUE != stream_data.dts && stream_data.dts != stream_data.pts { in write_pes_header() 127 …let b9 = ((flags >> 2) & 0x30)/* 0011/0010 */ | (((stream_data.pts >> 30) & 0x07) << 1) as u8 /* P… in write_pes_header() 130 let b10 = (stream_data.pts >> 22) as u8; /* PTS 22-29 */ in write_pes_header() 133 … let b11 = ((stream_data.pts >> 14) & 0xFE) as u8 /* PTS 15-21 */ | 0x01; /* marker_bit */ in write_pes_header() 136 let b12 = (stream_data.pts >> 7) as u8; /* PTS 7-14 */ in write_pes_header() 139 let b13 = ((stream_data.pts << 1) & 0xFE) as u8 /* PTS 0-6 */ | 0x01; /* marker_bit */ in write_pes_header()
|
| H A D | ts.rs | 68 pts: i64, in write() 97 cur_stream.pts = pts; in write() 244 && define::PTS_NO_VALUE != stream_data.pts) in write_ts_header_for_pes() 260 stream_data.pts in write_ts_header_for_pes() 272 && define::PTS_NO_VALUE != stream_data.pts in write_ts_header_for_pes()
|
| /xiu/protocol/hls/src/ |
| H A D | flv2hls.rs | 112 let pts: i64; in process_demux_data() localVariable 119 pts = data.pts; in process_demux_data() 136 pts = data.pts; in process_demux_data() 157 self.last_ts_pts = pts; in process_demux_data() 162 self.last_pts = pts; in process_demux_data() 165 .write(pid, pts * 90, dts * 90, flags, payload)?; in process_demux_data()
|
| /xiu/library/bytesio/src/ |
| H A D | bytes_writer.rs | 269 let pts: i64 = 1627702096; in test_bit_opertion() localVariable 271 let val = ((pts << 1) & 0xFE) as u8; in test_bit_opertion() 273 println!("======={}=======", pts << 1); in test_bit_opertion() 280 let pts: i64 = 1627702096; in test_bit_opertion2() localVariable 282 …let b9 = ((flags >> 2) & 0x30)/* 0011/0010 */ | (((pts >> 30) & 0x07) << 1) as u8 /* PTS 30-32 */ … in test_bit_opertion2() 285 let b10 = (pts >> 22) as u8; /* PTS 22-29 */ in test_bit_opertion2() 288 let b11 = ((pts >> 14) & 0xFE) as u8 /* PTS 15-21 */ | 0x01; /* marker_bit */ in test_bit_opertion2() 291 let b12 = (pts >> 7) as u8; /* PTS 7-14 */ in test_bit_opertion2() 294 let b13 = ((pts << 1) & 0xFE) as u8 /* PTS 0-6 */ | 0x01; /* marker_bit */ in test_bit_opertion2() 301 let pts: i64 = 1627702096; in test_bit_opertion3() localVariable [all …]
|
| /xiu/library/container/flv/src/ |
| H A D | demuxer.rs | 78 pub pts: i64, field 88 pts: 0, in new() 98 pub pts: i64, field 107 pts: 0, in new() 146 pts: timestamp as i64 + tag_header.composition_time as i64, in demux() 197 pts: timestamp as i64, in demux()
|