Home
last modified time | relevance | path

Searched refs:find_start_code (Results 1 – 2 of 2) sorted by relevance

/xiu/protocol/rtsp/src/rtp/
H A Dutils.rs76 pub fn find_start_code(nalus: &[u8]) -> Option<usize> { in find_start_code() function
90 if let Some(first_pos) = find_start_code(&nalus[..]) { in split_annexb_and_process()
92 if let Some(distance_to_first_pos) = find_start_code(&nalus[first_pos + 3..]) { in split_annexb_and_process()
125 fn find_start_code(nalus: &[u8]) -> Option<usize> { in find_start_code() function
143 if let Some(first_pos) = find_start_code(&nalus[..]) { in test_annexb_split()
145 if let Some(distance_to_first_pos) = find_start_code(&nalus[first_pos + 3..]) { in test_annexb_split()
/xiu/protocol/rtmp/src/remuxer/
H A Drtsp2rtmp.rs51 pub fn find_start_code(nalus: &[u8]) -> Option<usize> { in find_start_code() function
268 if let Some(first_pos) = find_start_code(&nalus[..]) { in on_rtsp_video()
270 if let Some(distance_to_first_pos) = find_start_code(&nalus[first_pos + 3..]) { in on_rtsp_video()