Lines Matching refs:cpu_addr
1220 void *cpu_addr = NULL; in gralloc_lock() local
1232 cpu_addr = (void *)((char*)cb->getBufferPtr() + getAshmemColorOffset(cb)); in gralloc_lock()
1258 void* rgb_addr = cpu_addr; in gralloc_lock()
1282 … rgb888_to_yv12((char*)cpu_addr, tmpBuf, cb->width, cb->height, l, t, l+w-1, t+h-1); in gralloc_lock()
1285 … rgb888_to_yuv420p((char*)cpu_addr, tmpBuf, cb->width, cb->height, l, t, l+w-1, t+h-1); in gralloc_lock()
1305 *vaddr = cpu_addr; in gralloc_lock()
1319 vaddr, vaddr ? *vaddr : 0, usage, cpu_addr, cb->ashmemBase); in gralloc_lock()
1352 char *cpu_addr = (char*)cb->getBufferPtr() + getAshmemColorOffset(cb); in gralloc_unlock() local
1355 updateHostColorBuffer(cb, true, cpu_addr); in gralloc_unlock()
1358 updateHostColorBuffer(cb, false, cpu_addr); in gralloc_unlock()
1362 DD("gralloc_unlock success. cpu_addr: %p", cpu_addr); in gralloc_unlock()
1414 uint8_t* cpu_addr = static_cast<uint8_t*>(vaddr); in gralloc_lock_ycbcr() local
1459 ycbcr->y = cpu_addr + yOffset; in gralloc_lock_ycbcr()
1460 ycbcr->cb = cpu_addr + uOffset; in gralloc_lock_ycbcr()
1461 ycbcr->cr = cpu_addr + vOffset; in gralloc_lock_ycbcr()