Lines Matching full:virt
242 void *virt; in vpu_helper_copy_from_stream_buffer() local
253 virt = stream_buffer->virt; in vpu_helper_copy_from_stream_buffer()
259 memcpy(dst, virt + (offset - start), size); in vpu_helper_copy_from_stream_buffer()
261 memcpy(dst, virt + (offset - start), end - offset); in vpu_helper_copy_from_stream_buffer()
262 memcpy(dst + end - offset, virt, size + offset - end); in vpu_helper_copy_from_stream_buffer()
276 void *virt; in vpu_helper_copy_to_stream_buffer() local
287 virt = stream_buffer->virt; in vpu_helper_copy_to_stream_buffer()
292 memcpy(virt + (offset - start), src, size); in vpu_helper_copy_to_stream_buffer()
294 memcpy(virt + (offset - start), src, end - offset); in vpu_helper_copy_to_stream_buffer()
295 memcpy(virt, src + end - offset, size + offset - end); in vpu_helper_copy_to_stream_buffer()
309 void *virt; in vpu_helper_memset_stream_buffer() local
320 virt = stream_buffer->virt; in vpu_helper_memset_stream_buffer()
325 memset(virt + (offset - start), val, size); in vpu_helper_memset_stream_buffer()
327 memset(virt + (offset - start), val, end - offset); in vpu_helper_memset_stream_buffer()
328 memset(virt, val, size + offset - end); in vpu_helper_memset_stream_buffer()
397 if (!stream_buffer || !stream_buffer->virt) in vpu_helper_find_startcode()