Lines Matching refs:cpu_addr
649 void *cpu_addr = NULL; in gralloc_lock() local
663 cpu_addr = (void *)(cb->ashmemBase + sizeof(intptr_t)); in gralloc_lock()
666 cpu_addr = (void *)(cb->ashmemBase); in gralloc_lock()
691 0, 0, cb->width, cb->height, GL_RGBA, GL_UNSIGNED_BYTE, cpu_addr); in gralloc_lock()
699 *vaddr = cpu_addr; in gralloc_lock()
713 vaddr, vaddr ? *vaddr : 0, usage, cpu_addr); in gralloc_lock()
740 void *cpu_addr; in gralloc_unlock() local
742 cpu_addr = (void *)(cb->ashmemBase + sizeof(int)); in gralloc_unlock()
745 cpu_addr = (void *)(cb->ashmemBase); in gralloc_unlock()
754 char *src = (char *)cpu_addr + cb->lockedTop*src_line_len + cb->lockedLeft*bpp; in gralloc_unlock()
774 cpu_addr); in gralloc_unlock()
829 uint8_t *cpu_addr = NULL; in gralloc_lock_ycbcr() local
832 cpu_addr = (uint8_t *)(cb->ashmemBase + sizeof(int)); in gralloc_lock_ycbcr()
835 cpu_addr = (uint8_t *)(cb->ashmemBase); in gralloc_lock_ycbcr()
860 ycbcr->y = cpu_addr + yOffset; in gralloc_lock_ycbcr()
861 ycbcr->cb = cpu_addr + uOffset; in gralloc_lock_ycbcr()
862 ycbcr->cr = cpu_addr + vOffset; in gralloc_lock_ycbcr()