Home
last modified time | relevance | path

Searched refs:ibuf (Results 1 – 2 of 2) sorted by relevance

/hardware/google/graphics/common/libhwjpeg/
Dhwjpeg-v4l2.cpp255 unsigned int ibuf = 0; in SetImageBuffer2() local
257 i < (m_v4l2Format.fmt.pix_mp.num_planes * 2); i++, ibuf++) { in SetImageBuffer2()
258 m_v4l2SrcPlanes[i].m.userptr = reinterpret_cast<unsigned long>(buffers[ibuf]); in SetImageBuffer2()
260 m_v4l2SrcPlanes[i].bytesused = len_buffers[ibuf]; in SetImageBuffer2()
261 m_v4l2SrcPlanes[i].length = len_buffers[ibuf]; in SetImageBuffer2()
284 unsigned int ibuf = 0; in SetImageBuffer2() local
286 i < (m_v4l2Format.fmt.pix_mp.num_planes * 2); i++, ibuf++) { in SetImageBuffer2()
287 m_v4l2SrcPlanes[i].m.fd = buffers[ibuf]; in SetImageBuffer2()
289 m_v4l2SrcPlanes[i].bytesused = len_buffers[ibuf]; in SetImageBuffer2()
290 m_v4l2SrcPlanes[i].length = len_buffers[ibuf]; in SetImageBuffer2()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c2986 char ibuf[DHD_IOCTL_SMLEN]; in dhd_iovar_getint() local
2989 dhd_iovar_mkbuf(name, NULL, 0, ibuf, sizeof(ibuf), &error); in dhd_iovar_getint()
2993 if ((error = dhd_get(dhd, DHD_GET_VAR, &ibuf, sizeof(ibuf))) < 0) in dhd_iovar_getint()
2996 memcpy(var, ibuf, sizeof(int)); in dhd_iovar_getint()
3005 char ibuf[DHD_IOCTL_SMLEN]; in dhd_iovar_setint() local
3008 len = dhd_iovar_mkbuf(name, (char *)&var, sizeof(var), ibuf, sizeof(ibuf), &error); in dhd_iovar_setint()
3012 if ((error = dhd_set(dhd, DHD_SET_VAR, &ibuf, len)) < 0) in dhd_iovar_setint()