/hardware/msm7k/libgralloc-qsd8k/ |
D | framebuffer.cpp | 84 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setUpdateRect() local 86 m->info.reserved[0] = 0x54445055; // "UPDT"; in fb_setUpdateRect() 87 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); in fb_setUpdateRect() 88 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect() 100 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_post() local 103 if (m->currentBuffer) { in fb_post() 104 m->base.unlock(&m->base, m->currentBuffer); in fb_post() 105 m->currentBuffer = 0; in fb_post() 110 m->base.lock(&m->base, buffer, in fb_post() 112 0, 0, m->info.xres, m->info.yres, NULL); in fb_post() [all …]
|
D | gpu.cpp | 47 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); in gralloc_alloc_framebuffer_locked() local 55 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 58 int err = deps.mapFrameBufferLocked(m); in gralloc_alloc_framebuffer_locked() 64 const uint32_t bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 65 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 66 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 81 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 82 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked() 89 m->bufferMask |= (1LU<<i); in gralloc_alloc_framebuffer_locked() 96 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() [all …]
|
D | gralloc.cpp | 185 const private_module_t* m = reinterpret_cast<const private_module_t*>( in gralloc_device_open() local 189 pmemAdspAllocator, m); in gralloc_device_open()
|
/hardware/libhardware/modules/gralloc/ |
D | framebuffer.cpp | 77 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setUpdateRect() local 79 m->info.reserved[0] = 0x54445055; // "UPDT"; in fb_setUpdateRect() 80 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); in fb_setUpdateRect() 81 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect() 93 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_post() local 97 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 98 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 99 m->info.yoffset = offset / m->finfo.line_length; in fb_post() 100 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 102 m->base.unlock(&m->base, buffer); in fb_post() [all …]
|
D | gralloc.cpp | 107 private_module_t* m = reinterpret_cast<private_module_t*>( in gralloc_alloc_framebuffer_locked() local 111 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 114 int err = mapFrameBufferLocked(m); in gralloc_alloc_framebuffer_locked() 120 const uint32_t bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 121 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 122 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 137 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 138 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked() 144 m->bufferMask |= (1LU<<i); in gralloc_alloc_framebuffer_locked() 151 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() [all …]
|
/hardware/msm7k/libgralloc/ |
D | framebuffer.cpp | 80 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setUpdateRect() local 82 m->info.reserved[0] = 0x54445055; // "UPDT"; in fb_setUpdateRect() 83 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); in fb_setUpdateRect() 84 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect() 96 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_post() local 100 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 101 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 102 m->info.yoffset = offset / m->finfo.line_length; in fb_post() 103 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 105 m->base.unlock(&m->base, buffer); in fb_post() [all …]
|
D | gralloc.cpp | 131 private_module_t* m = reinterpret_cast<private_module_t*>( in gralloc_alloc_framebuffer_locked() local 135 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 138 int err = mapFrameBufferLocked(m); in gralloc_alloc_framebuffer_locked() 144 const uint32_t bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 145 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 146 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 161 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 162 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked() 169 m->bufferMask |= (1LU<<i); in gralloc_alloc_framebuffer_locked() 176 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() [all …]
|
/hardware/invensense/mlsdk/mllite/ |
D | mlsupervisor.c | 109 static float m[10][10] = { {0} }; in MLUpdateCompassCalibration3DOF() local 124 m[0][0] += (-2 * inpData[0]) * (-2 * inpData[0]); in MLUpdateCompassCalibration3DOF() 125 m[0][1] += (-2 * inpData[0]) * (-2 * inpData[1]); in MLUpdateCompassCalibration3DOF() 126 m[0][2] += (-2 * inpData[0]) * (-2 * inpData[2]); in MLUpdateCompassCalibration3DOF() 127 m[0][3] += (-2 * inpData[0]); in MLUpdateCompassCalibration3DOF() 128 m[1][0] += (-2 * inpData[1]) * (-2 * inpData[0]); in MLUpdateCompassCalibration3DOF() 129 m[1][1] += (-2 * inpData[1]) * (-2 * inpData[1]); in MLUpdateCompassCalibration3DOF() 130 m[1][2] += (-2 * inpData[1]) * (-2 * inpData[2]); in MLUpdateCompassCalibration3DOF() 131 m[1][3] += (-2 * inpData[1]); in MLUpdateCompassCalibration3DOF() 132 m[2][0] += (-2 * inpData[2]) * (-2 * inpData[0]); in MLUpdateCompassCalibration3DOF() [all …]
|
D | mlMathFunc.c | 313 int i, j, m; in inv_matrix_det() local 314 m = *n; in inv_matrix_det() 317 for (i = 0, j = 0; j < m; j++) { in inv_matrix_det() 318 *n = m; in inv_matrix_det() 331 int i, j, m; in inv_matrix_detd() local 332 m = *n; in inv_matrix_detd() 335 for (i = 0, j = 0; j < m; j++) { in inv_matrix_detd() 336 *n = m; in inv_matrix_detd()
|
/hardware/ti/omap4xxx/hwc/ |
D | hwc.c | 92 float m[2][3]; /* external transformation matrix */ member 371 static inline void m_translate(float m[2][3], int dx, int dy) in m_translate() 373 m[0][2] += dx; in m_translate() 374 m[1][2] += dy; in m_translate() 377 static inline void m_scale1(float m[3], int from, int to) in m_scale1() 379 m[0] = m[0] * to / from; in m_scale1() 380 m[1] = m[1] * to / from; in m_scale1() 381 m[2] = m[2] * to / from; in m_scale1() 384 static inline void m_scale(float m[2][3], int x_from, int x_to, int y_from, int y_to) in m_scale() 386 m_scale1(m[0], x_from, x_to); in m_scale() [all …]
|
/hardware/libhardware/include/hardware/ |
D | audio_effect.h | 220 #define EFFECT_MAKE_API_VERSION(M, m) (((M)<<16) | ((m) & 0xFFFF)) argument 222 #define EFFECT_API_VERSION_MINOR(v) ((m) & 0xFFFF)
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/ |
D | G729DecTest.c | 1390 OMX_S16 j = 0, n = 0, k = 0, m = 0; in fill_data_fromFile() local 1452 for(m=7;m>=0;m--){ in fill_data_fromFile() 1454 packet[k] = packet[k] + (serial[n]<<m); in fill_data_fromFile() 1465 for(m=7;m>=0;m--){ in fill_data_fromFile() 1467 packet[k] = packet[k] + (serial[n]<<m); in fill_data_fromFile()
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
D | armtime | 106 else if ($i ~ /m/)
|
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/ |
D | V4LCameraAdapter.cpp | 265 mVideoInfo->buf.m.offset); in UseBuffersPreview()
|