/hardware/interfaces/boot/1.2/default/ |
D | BootControl.cpp | 46 struct CommandResult cr; in markBootSuccessful() local 48 cr.success = true; in markBootSuccessful() 49 cr.errMsg = "Success"; in markBootSuccessful() 51 cr.success = false; in markBootSuccessful() 52 cr.errMsg = "Operation failed"; in markBootSuccessful() 54 _hidl_cb(cr); in markBootSuccessful() 59 struct CommandResult cr; in setActiveBootSlot() local 61 cr.success = true; in setActiveBootSlot() 62 cr.errMsg = "Success"; in setActiveBootSlot() 64 cr.success = false; in setActiveBootSlot() [all …]
|
/hardware/interfaces/boot/1.0/vts/functional/ |
D | VtsHalBootV1_0TargetTest.cpp | 55 return [=](CommandResult cr) { *dest = cr; }; in generate_callback() argument 73 CommandResult cr; in TEST_P() local 74 Return<void> result = boot->markBootSuccessful(generate_callback(&cr)); in TEST_P() 76 if (cr.success) { in TEST_P() 89 CommandResult cr; in TEST_P() local 90 Return<void> result = boot->setActiveBootSlot(s, generate_callback(&cr)); in TEST_P() 95 CommandResult cr; in TEST_P() local 96 auto result = boot->setActiveBootSlot(curSlot, generate_callback(&cr)); in TEST_P() 98 EXPECT_TRUE(cr.success); in TEST_P() 101 result = boot->setSlotAsUnbootable(otherSlot, generate_callback(&cr)); in TEST_P() [all …]
|
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/ |
D | vendor_graphicbuffer_mapper.cpp | 60 ycbcr->cr = (void *)(hnd->attr_base); in lockYCbCr64() 63 ycbcr->cr = (void *)(hnd->attr_base); in lockYCbCr64() 66 ycbcr->cr = (void *)(hnd->attr_base); in lockYCbCr64() 69 ycbcr->cr = (void *)(hnd->attr_base); in lockYCbCr64() 73 ycbcr->cr = (void *)(hnd->attr_base); in lockYCbCr64() 78 ycbcr->cr = (void *)(hnd->attr_base); in lockYCbCr64() 86 ycbcr->cr = (void *)(hnd->attr_base); in lockYCbCr64() 89 ycbcr->cr = (void *)(hnd->attr_base); in lockYCbCr64() 92 ycbcr->cr = (void *)(hnd->attr_base); in lockYCbCr64() 95 ycbcr->cr = (void *)(hnd->attr_base); in lockYCbCr64()
|
/hardware/google/pixel/bootctrl/ |
D | LegacyBootControl.cpp | 49 struct CommandResult cr; in markBootSuccessful() local 50 cr.success = (ret == 0); in markBootSuccessful() 51 cr.errMsg = strerror(-ret); in markBootSuccessful() 52 _hidl_cb(cr); in markBootSuccessful() 58 struct CommandResult cr; in setActiveBootSlot() local 59 cr.success = (ret == 0); in setActiveBootSlot() 60 cr.errMsg = strerror(-ret); in setActiveBootSlot() 61 _hidl_cb(cr); in setActiveBootSlot() 67 struct CommandResult cr; in setSlotAsUnbootable() local 68 cr.success = (ret == 0); in setSlotAsUnbootable() [all …]
|
/hardware/interfaces/boot/1.0/default/ |
D | BootControl.cpp | 48 struct CommandResult cr; in markBootSuccessful() local 49 cr.success = (ret == 0); in markBootSuccessful() 50 cr.errMsg = strerror(-ret); in markBootSuccessful() 51 _hidl_cb(cr); in markBootSuccessful() 57 struct CommandResult cr; in setActiveBootSlot() local 58 cr.success = (ret == 0); in setActiveBootSlot() 59 cr.errMsg = strerror(-ret); in setActiveBootSlot() 60 _hidl_cb(cr); in setActiveBootSlot() 66 struct CommandResult cr; in setSlotAsUnbootable() local 67 cr.success = (ret == 0); in setSlotAsUnbootable() [all …]
|
/hardware/interfaces/boot/1.2/vts/functional/ |
D | VtsHalBootV1_2TargetTest.cpp | 48 return [=](CommandResult cr) { *dest = cr; }; in generate_callback() argument 56 CommandResult cr; in TEST_P() local 57 Return<void> result = boot->setActiveBootSlot(otherSlot, generate_callback(&cr)); in TEST_P() 62 result = boot->setActiveBootSlot(curSlot, generate_callback(&cr)); in TEST_P()
|
/hardware/google/gchips/gralloc3/src/ |
D | mali_gralloc_bufferaccess.cpp | 445 ycbcr->cr = NULL; in mali_gralloc_lock_ycbcr() 453 ycbcr->cr = (char *)ycbcr->cb + 1; in mali_gralloc_lock_ycbcr() 460 ycbcr->cr = (char *)hnd->base + hnd->plane_info[1].offset; in mali_gralloc_lock_ycbcr() 461 ycbcr->cb = (char *)ycbcr->cr + 1; in mali_gralloc_lock_ycbcr() 468 ycbcr->cr = (char *)hnd->base + hnd->plane_info[1].offset; in mali_gralloc_lock_ycbcr() 485 ycbcr->cr = NULL; in mali_gralloc_lock_ycbcr() 696 ycbcr.cr = (void *)((unsigned long)hnd->bases[1]); in get_flexlayout_exynos_formats_only() 718 ycbcr.cr = (void *)(((unsigned long)hnd->bases[1]) + vOffset); in get_flexlayout_exynos_formats_only() 723 ycbcr.cr = (void *)((unsigned long)hnd->bases[2]); in get_flexlayout_exynos_formats_only() 734 ycbcr.cr = (void *)(((unsigned long)hnd->base) + vOffset); in get_flexlayout_exynos_formats_only() [all …]
|
/hardware/qcom/sm8150/gps/utils/ |
D | loc_misc_utils.cpp | 263 float cr = 0.0, sr = 0.0, cp = 0.0, sp = 0.0, ch = 0.0, sh = 0.0; in Euler2Dcm() local 265 cr = cosf(euler[0]); in Euler2Dcm() 273 dcm[0][1] = (sp*sr*ch) - (cr*sh); in Euler2Dcm() 274 dcm[0][2] = (cr*sp*ch) + (sh*sr); in Euler2Dcm() 277 dcm[1][1] = (sr*sp*sh) + (cr*ch); in Euler2Dcm() 278 dcm[1][2] = (cr*sp*sh) - (sr*ch); in Euler2Dcm() 282 dcm[2][2] = cr * cp; in Euler2Dcm()
|
/hardware/qcom/sm7250/gps/utils/ |
D | loc_misc_utils.cpp | 263 float cr = 0.0, sr = 0.0, cp = 0.0, sp = 0.0, ch = 0.0, sh = 0.0; in Euler2Dcm() local 265 cr = cosf(euler[0]); in Euler2Dcm() 273 dcm[0][1] = (sp*sr*ch) - (cr*sh); in Euler2Dcm() 274 dcm[0][2] = (cr*sp*ch) + (sh*sr); in Euler2Dcm() 277 dcm[1][1] = (sr*sp*sh) + (cr*ch); in Euler2Dcm() 278 dcm[1][2] = (cr*sp*sh) - (sr*ch); in Euler2Dcm() 282 dcm[2][2] = cr * cp; in Euler2Dcm()
|
/hardware/libhardware/modules/camera/3_4/arc/ |
D | jpeg_compressor.cpp | 147 JSAMPROW cr[kCompressBatchSize / 2]; in Compress() local 148 JSAMPARRAY planes[3]{y, cb, cr}; in Compress() 173 cr[i] = v_plane + offset; in Compress() 175 cb[i] = cr[i] = empty.get(); in Compress()
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraUtils.cpp | 122 out->cr = crStart; in allocate() 167 out->cr = crStart + mWidth * rect.top / 4 + rect.left / 2; in getCroppedLayout() 224 intptr_t cr = reinterpret_cast<intptr_t>(layout.cr); in getFourCcFromLayout() local 225 if (std::abs(cb - cr) == 1 && layout.chromaStep == 2) { in getFourCcFromLayout() 227 if (layout.cb > layout.cr) { in getFourCcFromLayout() 234 if (layout.cb > layout.cr) { in getFourCcFromLayout() 313 static_cast<uint8_t*>(in.cr), in formatConvert() 317 static_cast<uint8_t*>(out.cr), in formatConvert() 333 static_cast<uint8_t*>(in.cr), in formatConvert() 355 static_cast<uint8_t*>(in.cr), in formatConvert() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/ |
D | Gralloc1Hal.h | 293 const auto& cr = (flex.planes[2].component == FLEX_COMPONENT_Cr)? in toYCbCrLayout() local 296 if (cb.h_increment != cr.h_increment || cb.v_increment != cr.v_increment) { in toYCbCrLayout() 302 outLayout->cr = cr.top_left; in toYCbCrLayout()
|
D | Gralloc0Hal.h | 156 outLayout->cr = ycbcr.cr; in lockYCbCr()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_utils.cpp | 309 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo() 343 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1); in GetYuvSPPlaneInfo() 435 std::swap(ycbcr->cb, ycbcr->cr); in GetYUVPlaneInfo() 443 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height); in GetYUVPlaneInfo() 453 ycbcr->cr = NULL; in GetYUVPlaneInfo() 834 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 837 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout()
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_utils.cpp | 309 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo() 343 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1); in GetYuvSPPlaneInfo() 435 std::swap(ycbcr->cb, ycbcr->cr); in GetYUVPlaneInfo() 443 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height); in GetYUVPlaneInfo() 453 ycbcr->cr = NULL; in GetYUVPlaneInfo() 834 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 837 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout()
|
/hardware/interfaces/graphics/mapper/2.0/ |
D | types.hal | 46 * y, cb, and cr point to the first byte of their respective planes. 61 pointer cr;
|
/hardware/interfaces/graphics/mapper/3.0/ |
D | types.hal | 65 * y, cb, and cr point to the first byte of their respective planes. 80 pointer cr;
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_utils.cpp | 381 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo() 416 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1); in GetYuvSPPlaneInfo() 494 ycbcr->cr = reinterpret_cast<void *>(hnd->base + in GetYUVPlaneInfo() 512 std::swap(ycbcr->cb, ycbcr->cr); in GetYUVPlaneInfo() 520 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height); in GetYUVPlaneInfo() 530 ycbcr->cr = NULL; in GetYUVPlaneInfo() 973 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 976 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout()
|
D | QtiMapper.cpp | 206 layout.cr = yuv_plane_info[0].cr; in lockYCbCr() 362 layout[i].cr = yuv_plane_info[i].cr; in getYuvPlaneInfo()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | alloc_controller.cpp | 736 ycbcr->cr = (void*)(base + y_meta_size + y_size + in getYuvUbwcSPPlaneInfo() 750 ycbcr->cr = (void*)(base + ystride * height + 1); in getYuvSPPlaneInfo() 828 std::swap(ycbcr->cb, ycbcr->cr); in getYUVPlaneInfo() 836 ycbcr->cr = (void*)(hnd->base + ystride * height); in getYUVPlaneInfo() 847 ycbcr->cr = NULL; in getYUVPlaneInfo() 1202 reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in getBufferLayout() 1206 reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in getBufferLayout()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | alloc_controller.cpp | 736 ycbcr->cr = (void*)(base + y_meta_size + y_size + in getYuvUbwcSPPlaneInfo() 750 ycbcr->cr = (void*)(base + ystride * height + 1); in getYuvSPPlaneInfo() 828 std::swap(ycbcr->cb, ycbcr->cr); in getYUVPlaneInfo() 836 ycbcr->cr = (void*)(hnd->base + ystride * height); in getYUVPlaneInfo() 847 ycbcr->cr = NULL; in getYUVPlaneInfo() 1202 reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in getBufferLayout() 1206 reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in getBufferLayout()
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | mapper.cpp | 261 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr() 273 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); in gralloc_lock_ycbcr() 284 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
|
/hardware/interfaces/camera/common/1.0/default/ |
D | HandleImporter.cpp | 115 layout.cr = tmpLayout.cr; in lockYCbCrInternal() 192 layout.cr = data; in lockYCbCrInternal()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | alloc_controller.cpp | 570 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); in getYUVPlaneInfo() 583 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo() 595 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | alloc_controller.cpp | 575 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); in getYUVPlaneInfo() 589 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo() 601 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo()
|