Searched refs:sps (Results 1 – 7 of 7) sorted by relevance
| /xiu/library/codec/h264/src/ |
| H A D | sps.rs | 61 pub sps: Sps, field 69 sps: Sps::default(), in new() 85 match self.sps.profile_idc { in parse() 88 if self.sps.chroma_format_idc == 3 { in parse() 105 self.sps in parse() 117 match self.sps.pic_order_cnt_type { in parse() 144 if self.sps.frame_mbs_only_flag == 0 { in parse() 150 if self.sps.frame_cropping_flag > 0 { in parse() 160 - self.sps.frame_crop_left_offset * 2 in parse() 161 - self.sps.frame_crop_right_offset * 2; in parse() [all …]
|
| H A D | lib.rs | 3 pub mod sps; module
|
| /xiu/protocol/rtsp/src/sdp/ |
| H A D | fmtp.rs | 12 pub sps: BytesMut, field 19 pub sps: BytesMut, field 100 let sps = general_purpose::STANDARD.decode(spspps[0]).unwrap(); in unmarshal() localVariable 101 h264_fmtp.sps.put(&sps[..]); in unmarshal() 121 let sps_str = general_purpose::STANDARD.encode(&self.sps); in marshal() 161 h265_fmtp.sps = kv[1].into(); in unmarshal() 179 let sps_str = String::from_utf8(self.sps.to_vec()).unwrap(); in marshal() 309 parser.sps, in test_parse_h265fmtpsdp()
|
| /xiu/protocol/rtmp/src/remuxer/ |
| H A D | rtsp2rtmp.rs | 3 use h264_decoder::sps::SpsParser; 291 let mut sps = None; in on_rtsp_video() localVariable 309 level = sps_parser.sps.level_idc; in on_rtsp_video() 310 profile = sps_parser.sps.profile_idc; in on_rtsp_video() 312 sps = Some(nalu.clone()); in on_rtsp_video() 322 if sps.is_some() && pps.is_some() { in on_rtsp_video() 327 self.gen_rtmp_video_seq_header(sps.unwrap(), pps.unwrap(), profile, level)?; in on_rtsp_video() 358 sps: BytesMut, in gen_rtmp_video_seq_header() 378 sps: vec![Sps { data: sps }], in gen_rtmp_video_seq_header()
|
| /xiu/library/container/flv/src/ |
| H A D | mpeg4_avc.rs | 10 use h264_decoder::sps::SpsParser; 69 pub sps: Vec<Sps>, field 110 sps: Vec::new(), in new() 136 self.mpeg4_avc.sps.clear(); in clear_sps_data() 196 self.mpeg4_avc.sps.push(sps_data); in decoder_configuration_record_load() 200 .write(&self.mpeg4_avc.sps[i].data[..])?; in decoder_configuration_record_load() 311 bytes_writer.write_u16::<BigEndian>(self.mpeg4_avc.sps[i].len() as u16)?; in decoder_configuration_record_save() 312 bytes_writer.write(&self.mpeg4_avc.sps[i].data[..])?; in decoder_configuration_record_save()
|
| /xiu/library/codec/h264/ |
| H A D | README.md | 4 - Add sps parser.
|
| /xiu/protocol/rtsp/src/session/ |
| H A D | mod.rs | 750 bytes_writer.write(&data.sps)?; in send_prior_data() 765 bytes_writer.write(&data.sps)?; in send_prior_data()
|