/hardware/libhardware/modules/camera/3_0/ |
D | ExampleCamera.cpp | 48 Metadata m; in initStaticInfo() local 52 m.addInt32(ANDROID_CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES, in initStaticInfo() 57 m.addInt32(ANDROID_CONTROL_AE_COMPENSATION_RANGE, in initStaticInfo() 62 m.addRational(ANDROID_CONTROL_AE_COMPENSATION_STEP, in initStaticInfo() 67 m.addInt32(ANDROID_CONTROL_MAX_REGIONS, in initStaticInfo() 73 m.addInt32(ANDROID_JPEG_AVAILABLE_THUMBNAIL_SIZES, in initStaticInfo() 78 m.addInt32(ANDROID_JPEG_MAX_SIZE, in initStaticInfo() 84 m.addFloat(ANDROID_LENS_INFO_AVAILABLE_FOCAL_LENGTHS, in initStaticInfo() 90 m.addInt32(ANDROID_REQUEST_MAX_NUM_OUTPUT_STREAMS, in initStaticInfo() 104 m.addInt32(ANDROID_SCALER_AVAILABLE_FORMATS, in initStaticInfo() [all …]
|
D | ExampleCamera.h | 39 int setPreviewTemplate(Metadata m); 40 int setStillTemplate(Metadata m); 41 int setRecordTemplate(Metadata m); 42 int setSnapshotTemplate(Metadata m); 43 int setZslTemplate(Metadata m);
|
/hardware/libhardware/modules/usbcamera/ |
D | UsbCamera.cpp | 52 Metadata m; in initStaticInfo() local 56 m.addInt32(ANDROID_CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES, in initStaticInfo() 61 m.addInt32(ANDROID_CONTROL_AE_COMPENSATION_RANGE, in initStaticInfo() 66 m.addRational(ANDROID_CONTROL_AE_COMPENSATION_STEP, in initStaticInfo() 71 m.addInt32(ANDROID_CONTROL_MAX_REGIONS, in initStaticInfo() 77 m.addInt32(ANDROID_JPEG_AVAILABLE_THUMBNAIL_SIZES, in initStaticInfo() 82 m.addInt32(ANDROID_JPEG_MAX_SIZE, in initStaticInfo() 88 m.addFloat(ANDROID_LENS_INFO_AVAILABLE_FOCAL_LENGTHS, in initStaticInfo() 94 m.addInt32(ANDROID_REQUEST_MAX_NUM_OUTPUT_STREAMS, in initStaticInfo() 108 m.addInt32(ANDROID_SCALER_AVAILABLE_FORMATS, in initStaticInfo() [all …]
|
D | UsbCamera.h | 44 int initPreviewTemplate(Metadata m); 45 int initStillTemplate(Metadata m); 46 int initRecordTemplate(Metadata m); 47 int initSnapshotTemplate(Metadata m); 48 int initZslTemplate(Metadata m); 49 int initManualTemplate(Metadata m);
|
/hardware/libhardware/modules/gralloc/ |
D | framebuffer.cpp | 78 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_post() local 82 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 83 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 84 m->info.yoffset = offset / m->finfo.line_length; in fb_post() 85 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 87 m->base.unlock(&m->base, buffer); in fb_post() 90 m->currentBuffer = buffer; in fb_post() 99 m->base.lock(&m->base, m->framebuffer, in fb_post() 101 0, 0, m->info.xres, m->info.yres, in fb_post() 104 m->base.lock(&m->base, buffer, in fb_post() [all …]
|
D | gralloc.cpp | 106 private_module_t* m = reinterpret_cast<private_module_t*>( in gralloc_alloc_framebuffer_locked() local 110 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 113 int err = mapFrameBufferLocked(m, format); in gralloc_alloc_framebuffer_locked() 119 const uint32_t bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 120 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 121 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 136 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 137 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked() 143 m->bufferMask |= (1LU<<i); in gralloc_alloc_framebuffer_locked() 150 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | gpu.cpp | 192 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); in gralloc_alloc_framebuffer_locked() local 199 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 204 const size_t bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 205 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 206 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 217 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked() 226 uintptr_t vaddr = uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 231 BUFFER_TYPE_UI, m->fbFormat, m->info.xres, in gralloc_alloc_framebuffer_locked() 232 m->info.yres); in gralloc_alloc_framebuffer_locked() [all …]
|
D | framebuffer.cpp | 77 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setSwapInterval() local 82 m->swapInterval = interval; in fb_setSwapInterval() 88 private_module_t* m = in fb_post() local 92 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 93 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 94 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 407 private_module_t* m = (private_module_t*)module; in fb_device_open() local 408 status = mapFrameBuffer(m); in fb_device_open() 410 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open() [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | gpu.cpp | 178 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); in gralloc_alloc_framebuffer_locked() local 185 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 190 const uint32_t bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 191 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 192 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 203 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked() 212 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 214 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 217 BUFFER_TYPE_UI, m->fbFormat, m->info.xres, in gralloc_alloc_framebuffer_locked() 218 m->info.yres); in gralloc_alloc_framebuffer_locked() [all …]
|
D | framebuffer.cpp | 77 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setSwapInterval() local 82 m->swapInterval = interval; in fb_setSwapInterval() 88 private_module_t* m = in fb_post() local 92 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 93 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 94 m->info.yoffset = offset / m->finfo.line_length; in fb_post() 95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 380 private_module_t* m = (private_module_t*)module; in fb_device_open() local 381 status = mapFrameBuffer(m); in fb_device_open() 383 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | gpu.cpp | 195 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); in gralloc_alloc_framebuffer_locked() local 202 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 207 const unsigned int bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 208 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 209 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 220 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked() 229 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 231 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 234 BUFFER_TYPE_UI, m->fbFormat, m->info.xres, in gralloc_alloc_framebuffer_locked() 235 m->info.yres); in gralloc_alloc_framebuffer_locked() [all …]
|
D | framebuffer.cpp | 77 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setSwapInterval() local 82 m->swapInterval = interval; in fb_setSwapInterval() 88 private_module_t* m = in fb_post() local 93 m->framebuffer->base); in fb_post() 94 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 95 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 96 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 408 private_module_t* m = (private_module_t*)module; in fb_device_open() local 409 status = mapFrameBuffer(m); in fb_device_open() 411 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open() [all …]
|
/hardware/libhardware/tests/hwc/ |
D | util.c | 28 void matrix_init_ortho(GLfloat *m, float w, float h) { in matrix_init_ortho() argument 29 m[0] = 2.0 / w; in matrix_init_ortho() 30 m[1] = 0.0; in matrix_init_ortho() 31 m[2] = 0.0; in matrix_init_ortho() 32 m[3] = -1.0; in matrix_init_ortho() 33 m[4] = 0.0; in matrix_init_ortho() 34 m[5] = 2.0 / h; in matrix_init_ortho() 35 m[6] = 0.0; in matrix_init_ortho() 36 m[7] = -1.0; in matrix_init_ortho() 37 m[8] = 0.0; in matrix_init_ortho() [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | gpu.cpp | 193 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); in gralloc_alloc_framebuffer_locked() local 197 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 202 const unsigned int bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 203 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 204 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 215 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked() 224 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 231 BUFFER_TYPE_UI, m->fbFormat, m->info.xres, in gralloc_alloc_framebuffer_locked() 232 m->info.yres); in gralloc_alloc_framebuffer_locked() [all …]
|
D | framebuffer.cpp | 70 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setSwapInterval() local 75 m->swapInterval = interval; in fb_setSwapInterval() 81 private_module_t* m = in fb_post() local 87 m->framebuffer->base); in fb_post() 88 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 89 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 90 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 432 private_module_t* m = (private_module_t*)dev->device.common.module; in fb_device_open() local 434 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open() 436 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open() [all …]
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | gpu.cpp | 193 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); in gralloc_alloc_framebuffer_locked() local 197 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 202 const unsigned int bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 203 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 204 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 215 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked() 224 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 231 BUFFER_TYPE_UI, m->fbFormat, m->info.xres, in gralloc_alloc_framebuffer_locked() 232 m->info.yres); in gralloc_alloc_framebuffer_locked() [all …]
|
D | framebuffer.cpp | 70 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setSwapInterval() local 75 m->swapInterval = interval; in fb_setSwapInterval() 81 private_module_t* m = in fb_post() local 87 m->framebuffer->base); in fb_post() 88 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 89 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 90 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 432 private_module_t* m = (private_module_t*)dev->device.common.module; in fb_device_open() local 434 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open() 436 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | gpu.cpp | 195 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); in gralloc_alloc_framebuffer_locked() local 199 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 204 const unsigned int bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 205 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 206 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 217 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked() 226 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 230 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 233 BUFFER_TYPE_UI, m->fbFormat, m->info.xres, in gralloc_alloc_framebuffer_locked() 234 m->info.yres); in gralloc_alloc_framebuffer_locked() [all …]
|
D | framebuffer.cpp | 65 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setSwapInterval() local 70 m->swapInterval = interval; in fb_setSwapInterval() 76 private_module_t* m = in fb_post() local 82 m->framebuffer->base); in fb_post() 83 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 84 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 85 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 425 private_module_t* m = (private_module_t*)dev->device.common.module; in fb_device_open() local 427 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open() 429 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gpu.cpp | 211 private_module_t* m = reinterpret_cast<private_module_t*>(common.module); in gralloc_alloc_framebuffer_locked() local 218 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 223 const unsigned int bufferMask = m->bufferMask; in gralloc_alloc_framebuffer_locked() 224 const uint32_t numBuffers = m->numBuffers; in gralloc_alloc_framebuffer_locked() 225 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() 236 m->fbFormat, m->info.xres, m->info.yres); in gralloc_alloc_framebuffer_locked() 245 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 249 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 252 BUFFER_TYPE_UI, m->fbFormat, m->info.xres, in gralloc_alloc_framebuffer_locked() 253 m->info.yres); in gralloc_alloc_framebuffer_locked() [all …]
|
D | framebuffer.cpp | 78 private_module_t* m = reinterpret_cast<private_module_t*>( in fb_setSwapInterval() local 83 m->swapInterval = interval; in fb_setSwapInterval() 89 private_module_t* m = in fb_post() local 95 m->framebuffer->base); in fb_post() 96 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 97 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 98 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 438 private_module_t* m = (private_module_t*)dev->device.common.module; in fb_device_open() local 440 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open() 442 const_cast<uint32_t&>(dev->device.width) = m->info.xres; in fb_device_open() [all …]
|
/hardware/google/av/media/sfplugin/tests/ |
D | ReflectedParamUpdater_test.cpp | 219 char *flexStringData = &CastParam<C2FlexStringInfo>(params[1])->m.value[0]; in TEST_F() 224 EXPECT_STREQ("Some string", CastParam<C2FlexStringInfo>(params[1])->m.value); in TEST_F() 225 EXPECT_NE(flexStringData, &CastParam<C2FlexStringInfo>(params[1])->m.value[0]); in TEST_F() 226 flexStringData = &CastParam<C2FlexStringInfo>(params[1])->m.value[0]; in TEST_F() 234 EXPECT_STREQ("abc", CastParam<C2FlexStringInfo>(params[1])->m.value); in TEST_F() 235 EXPECT_EQ(flexStringData, &CastParam<C2FlexStringInfo>(params[1])->m.value[0]); in TEST_F() 273 EXPECT_EQ(0, CastParam<C2CompositeInfo>(params[0])->m.i32); in TEST_F() 274 EXPECT_EQ(0u, CastParam<C2CompositeInfo>(params[0])->m.u64); in TEST_F() 275 EXPECT_EQ(0, CastParam<C2CompositeInfo>(params[0])->m.str[0]); in TEST_F() 276 EXPECT_EQ(0, memcmp("\0\0\0\0\0\0\0\0", CastParam<C2CompositeInfo>(params[0])->m.blob, 8)); in TEST_F() [all …]
|
/hardware/google/apf/testdata/ |
D | large_ra_without_counters.output | 13 86 0 210: ldm r0, m[14] 15 ee 0 297: ldm r0, m[14] 17 ee 0 433: ldm r0, m[14] 19 ee 0 571: ldm r0, m[14] 21 ee 0 687: ldm r0, m[14] 23 ee 0 808: ldm r0, m[14]
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayRotator.h | 55 bool valid() { return m.valid(); } in valid() 56 bool close() { return m.close(); } in close() 57 uint32_t size() const { return m.bufSz(); } in size() 66 OvMem m; member 70 Mem& curr() { return m[_curr % MAX_ROT_MEM]; } in curr() 71 const Mem& curr() const { return m[_curr % MAX_ROT_MEM]; } in curr() 72 Mem& prev() { return m[(_curr+1) % MAX_ROT_MEM]; } in prev() 77 Mem m[MAX_ROT_MEM]; member
|
/hardware/interfaces/sensors/common/vts/utils/ |
D | SensorsTestSharedMemory.cpp | 183 auto m = new SensorsTestSharedMemory(type, size); in create() local 184 if (m->mSize != size || m->mBuffer == nullptr) { in create() 185 delete m; in create() 186 m = nullptr; in create() 188 return m; in create()
|