Lines Matching refs:Bytes

8             Bytes::from_static(&[]),  in test_vp9_packet_unmarshal()
10 Bytes::new(), in test_vp9_packet_unmarshal()
15 Bytes::from_static(&[0x00, 0xAA]), in test_vp9_packet_unmarshal()
17 Bytes::from_static(&[0xAA]), in test_vp9_packet_unmarshal()
22 Bytes::from_static(&[0x80, 0x02, 0xAA]), in test_vp9_packet_unmarshal()
28 Bytes::from_static(&[0xAA]), in test_vp9_packet_unmarshal()
33 Bytes::from_static(&[0x80, 0x81, 0xFF, 0xAA]), in test_vp9_packet_unmarshal()
39 Bytes::from_static(&[0xAA]), in test_vp9_packet_unmarshal()
44 Bytes::from_static(&[0x80, 0x81]), in test_vp9_packet_unmarshal()
46 Bytes::new(), in test_vp9_packet_unmarshal()
51 Bytes::from_static(&[0x80]), in test_vp9_packet_unmarshal()
53 Bytes::new(), in test_vp9_packet_unmarshal()
58 Bytes::from_static(&[0xA0, 0x02, 0x23, 0x01, 0xAA]), in test_vp9_packet_unmarshal()
69 Bytes::from_static(&[0xAA]), in test_vp9_packet_unmarshal()
74 Bytes::from_static(&[0xB0, 0x02, 0x23, 0x01, 0xAA]), in test_vp9_packet_unmarshal()
85 Bytes::from_static(&[0x01, 0xAA]), in test_vp9_packet_unmarshal()
90 Bytes::from_static(&[0xA0, 0x02, 0x23]), in test_vp9_packet_unmarshal()
92 Bytes::new(), in test_vp9_packet_unmarshal()
97 Bytes::from_static(&[0xA0, 0x02]), in test_vp9_packet_unmarshal()
99 Bytes::new(), in test_vp9_packet_unmarshal()
104 Bytes::from_static(&[0xD0, 0x02, 0x03, 0x04, 0xAA]), in test_vp9_packet_unmarshal()
113 Bytes::from_static(&[0xAA]), in test_vp9_packet_unmarshal()
118 Bytes::from_static(&[0xD0, 0x02, 0x03, 0x05, 0x07, 0x09, 0x10, 0xAA]), in test_vp9_packet_unmarshal()
120 Bytes::new(), in test_vp9_packet_unmarshal()
125 Bytes::from_static(&[0xD0, 0x02, 0x03, 0x04]), in test_vp9_packet_unmarshal()
134 Bytes::from_static(&[]), in test_vp9_packet_unmarshal()
139 Bytes::from_static(&[0xD0, 0x02, 0x03]), in test_vp9_packet_unmarshal()
141 Bytes::new(), in test_vp9_packet_unmarshal()
146 Bytes::from_static(&[0xD0, 0x02]), in test_vp9_packet_unmarshal()
148 Bytes::new(), in test_vp9_packet_unmarshal()
153 Bytes::from_static(&[0xD0]), in test_vp9_packet_unmarshal()
155 Bytes::new(), in test_vp9_packet_unmarshal()
160 Bytes::from_static(&[ in test_vp9_packet_unmarshal()
183 Bytes::new(), in test_vp9_packet_unmarshal()
188 Bytes::from_static(&[ in test_vp9_packet_unmarshal()
208 Bytes::new(), in test_vp9_packet_unmarshal()
245 ("NilPayload", vec![Bytes::new()], 100, vec![]), in test_vp9_payloader_payload()
246 ("SmallMTU", vec![Bytes::from(vec![0x00, 0x00])], 1, vec![]), in test_vp9_payloader_payload()
249 vec![Bytes::from(vec![0x00, 0x00])], in test_vp9_payloader_payload()
255 vec![Bytes::from(vec![0x01, 0x02])], in test_vp9_payloader_payload()
257 vec![Bytes::from(vec![ in test_vp9_payloader_payload()
267 vec![Bytes::from(vec![0x01, 0x02])], in test_vp9_payloader_payload()
270 Bytes::from(vec![0x98, rands[0][0], rands[0][1], 0x01]), in test_vp9_payloader_payload()
271 Bytes::from(vec![0x94, rands[0][0], rands[0][1], 0x02]), in test_vp9_payloader_payload()
276 vec![Bytes::from(vec![0x01, 0x02, 0x03])], in test_vp9_payloader_payload()
279 Bytes::from(vec![0x98, rands[0][0], rands[0][1], 0x01]), in test_vp9_payloader_payload()
280 Bytes::from(vec![0x90, rands[0][0], rands[0][1], 0x02]), in test_vp9_payloader_payload()
281 Bytes::from(vec![0x94, rands[0][0], rands[0][1], 0x03]), in test_vp9_payloader_payload()
286 vec![Bytes::from(vec![0x01, 0x02, 0x03]), Bytes::from(vec![0x04])], in test_vp9_payloader_payload()
289 Bytes::from(vec![0x98, rands[0][0], rands[0][1], 0x01, 0x02]), in test_vp9_payloader_payload()
290 Bytes::from(vec![0x94, rands[0][0], rands[0][1], 0x03]), in test_vp9_payloader_payload()
291 Bytes::from(vec![0x9C, rands[1][0], rands[1][1], 0x04]), in test_vp9_payloader_payload()
317 let res = pck.payload(4, &Bytes::from_static(&[0x01]))?; in test_vp9_payloader_payload()
349 !vp9.is_partition_head(&Bytes::new()), in test_vp9_partition_head_checker_is_partition_head()
355 vp9.is_partition_head(&Bytes::from_static(&[0x18, 0x00, 0x00])), in test_vp9_partition_head_checker_is_partition_head()
359 !vp9.is_partition_head(&Bytes::from_static(&[0x10, 0x00, 0x00])), in test_vp9_partition_head_checker_is_partition_head()