Home
last modified time | relevance | path

Searched refs:depacketize (Results 1 – 17 of 17) sorted by relevance

/webrtc/rtp/src/codecs/vp8/
H A Dvp8_test.rs9 let result = pck.depacketize(&empty_bytes); in test_vp8_unmarshal()
14 let result = pck.depacketize(&small_bytes); in test_vp8_unmarshal()
19 let result = pck.depacketize(&small_bytes); in test_vp8_unmarshal()
24 let payload = pck.depacketize(&raw_bytes).expect("Normal packet"); in test_vp8_unmarshal()
29 let payload = pck.depacketize(&raw_bytes).expect("Only X"); in test_vp8_unmarshal()
39 let payload = pck.depacketize(&raw_bytes).expect("X and I, PID 16bits"); in test_vp8_unmarshal()
49 let payload = pck.depacketize(&raw_bytes).expect("X and L"); in test_vp8_unmarshal()
59 let payload = pck.depacketize(&raw_bytes).expect("X and T"); in test_vp8_unmarshal()
69 let payload = pck.depacketize(&raw_bytes).expect("X and K"); in test_vp8_unmarshal()
80 .depacketize(&raw_bytes) in test_vp8_unmarshal()
[all …]
H A Dmod.rs151 fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes> { in depacketize() method
/webrtc/rtp/src/codecs/h264/
H A Dh264_test.rs122 let result = pkt.depacketize(&data); in test_h264_packet_unmarshal()
126 let result = pkt.depacketize(&data); in test_h264_packet_unmarshal()
133 let result = pkt.depacketize(&data); in test_h264_packet_unmarshal()
139 let result = pkt.depacketize(&incomplete_single_payload_multi_nalu); in test_h264_packet_unmarshal()
145 let payload = pkt.depacketize(&single_payload)?; in test_h264_packet_unmarshal()
151 let payload = avc_pkt.depacketize(&single_payload)?; in test_h264_packet_unmarshal()
159 let payload = pkt.depacketize(p)?; in test_h264_packet_unmarshal()
170 let payload = avc_pkt.depacketize(p)?; in test_h264_packet_unmarshal()
179 let payload = pkt.depacketize(&single_payload_multi_nalu)?; in test_h264_packet_unmarshal()
185 let payload = avc_pkt.depacketize(&single_payload_multi_nalu)?; in test_h264_packet_unmarshal()
H A Dmod.rs210 fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes> { in depacketize() method
/webrtc/rtp/src/codecs/opus/
H A Dopus_test.rs9 let result = pck.depacketize(&empty_bytes); in test_opus_unmarshal()
14 let payload = pck.depacketize(&raw_bytes)?; in test_opus_unmarshal()
H A Dmod.rs33 fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes> { in depacketize() method
/webrtc/rtp/src/codecs/h265/
H A Dmod.rs120 fn depacketize(&mut self, payload: &Bytes) -> Result<()> { in depacketize() method
285 fn depacketize(&mut self, payload: &Bytes) -> Result<()> { in depacketize() method
452 fn depacketize(&mut self, payload: &Bytes) -> Result<()> { in depacketize() method
614 fn depacketize(&mut self, payload: &Bytes) -> Result<()> { in depacketize() method
746 fn depacketize(&mut self, payload: &Bytes) -> Result<Bytes> { in depacketize() method
758 decoded.depacketize(payload)?; in depacketize()
765 decoded.depacketize(payload)?; in depacketize()
772 decoded.depacketize(payload)?; in depacketize()
779 decoded.depacketize(payload)?; in depacketize()
H A Dh265_test.rs246 let result = parsed.depacketize(&cur.raw); in test_h265_single_nalunit_packet()
397 let result = parsed.depacketize(&cur.raw); in test_h265_aggregation_packet()
541 let result = parsed.depacketize(&cur.raw); in test_h265_fragmentation_unit_packet()
707 let result = parsed.depacketize(&cur.raw); in test_h265_paci_packet()
832 let result = pck.depacketize(&cur.raw); in test_h265_packet()
885 let _ = pck.depacketize(&Bytes::from(cur))?; in test_h265_packet_real()
/webrtc/media/src/io/ivf_writer/
H A Divf_writer_test.rs90 let payload = vp8packet.depacketize(&valid_packet.payload)?; in test_ivf_writer_add_packet_and_close()
100 let payload = vp8packet.depacketize(&mid_part_packet.payload)?; in test_ivf_writer_add_packet_and_close()
110 let payload = vp8packet.depacketize(&keyframe_packet.payload)?; in test_ivf_writer_add_packet_and_close()
H A Dmod.rs65 let payload = depacketizer.depacketize(&packet.payload)?; in write_rtp()
/webrtc/rtp/src/codecs/vp9/
H A Dvp9_test.rs217 if let Err(actual) = p.depacketize(&b) { in test_vp9_packet_unmarshal()
226 let payload = p.depacketize(&b)?; in test_vp9_packet_unmarshal()
319 p.depacketize(&res[0])?; in test_vp9_payloader_payload()
H A Dmod.rs205 fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes> { in depacketize() method
/webrtc/media/src/io/h264_writer/
H A Dmod.rs68 let payload = cached_packet.depacketize(&packet.payload)?; in write_rtp()
/webrtc/media/src/io/ogg_writer/
H A Dmod.rs162 let payload = opus_packet.depacketize(&packet.payload)?; in write_rtp()
/webrtc/rtp/src/packetizer/
H A Dmod.rs41 fn depacketize(&mut self, b: &Bytes) -> Result<Bytes>; in depacketize() method
/webrtc/media/src/io/sample_builder/
H A Dmod.rs338 .depacketize(payload) in build_sample()
H A Dsample_builder_test.rs39 fn depacketize(&mut self, b: &Bytes) -> std::result::Result<bytes::Bytes, rtp::Error> { in depacketize() method