Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpayload_splitter.cc365 size_t split_size_bytes = packet->payload_length; in SplitBySamples() local
372 while (split_size_bytes >= 2 * min_chunk_size) { in SplitBySamples()
373 split_size_bytes >>= 1; in SplitBySamples()
376 split_size_bytes * timestamps_per_ms / bytes_per_ms); in SplitBySamples()
381 while (len >= (2 * split_size_bytes)) { in SplitBySamples()
383 new_packet->payload_length = split_size_bytes; in SplitBySamples()
388 new_packet->payload = new uint8_t[split_size_bytes]; in SplitBySamples()
389 memcpy(new_packet->payload, payload_ptr, split_size_bytes); in SplitBySamples()
390 payload_ptr += split_size_bytes; in SplitBySamples()
392 len -= split_size_bytes; in SplitBySamples()