Searched refs:copy_to_end (Results 1 – 1 of 1) sorted by relevance
1224 int copy_to_end = space_in_buff > buffer->length ? buffer->length : space_in_buff; in encoder_buffer_callback() local1225 int copy_to_start = buffer->length - copy_to_end; in encoder_buffer_callback()1281 memcpy(pData->cb_buff + pData->cb_wptr, buffer->data, copy_to_end); in encoder_buffer_callback()1282 memcpy(pData->cb_buff, buffer->data + copy_to_end, copy_to_start); in encoder_buffer_callback()