Lines Matching refs:cpu_addr
1070 void *cpu_addr = NULL; in gralloc_lock() local
1082 cpu_addr = (void *)(cb->ashmemBase + getAshmemColorOffset(cb)); in gralloc_lock()
1104 void* rgb_addr = cpu_addr; in gralloc_lock()
1118 … rgb888_to_yv12((char*)cpu_addr, tmpBuf, cb->width, cb->height, l, t, l+w-1, t+h-1); in gralloc_lock()
1120 … rgb888_to_yuv420p((char*)cpu_addr, tmpBuf, cb->width, cb->height, l, t, l+w-1, t+h-1); in gralloc_lock()
1131 *vaddr = cpu_addr; in gralloc_lock()
1145 vaddr, vaddr ? *vaddr : 0, usage, cpu_addr); in gralloc_lock()
1174 void *cpu_addr = (void *)(cb->ashmemBase + getAshmemColorOffset(cb)); in gralloc_unlock() local
1176 char* rgb_addr = (char *)cpu_addr; in gralloc_unlock()
1184 DD("gralloc_unlock success. cpu_addr: %p", cpu_addr); in gralloc_unlock()
1230 uint8_t *cpu_addr = NULL; in gralloc_lock_ycbcr() local
1231 cpu_addr = (uint8_t *)(cb->ashmemBase) + getAshmemColorOffset(cb); in gralloc_lock_ycbcr()
1278 ycbcr->y = cpu_addr + yOffset; in gralloc_lock_ycbcr()
1279 ycbcr->cb = cpu_addr + uOffset; in gralloc_lock_ycbcr()
1280 ycbcr->cr = cpu_addr + vOffset; in gralloc_lock_ycbcr()