Home
last modified time | relevance | path

Searched refs:cr (Results 1 – 25 of 64) sorted by relevance

123

/hardware/interfaces/boot/1.2/default/
DBootControl.cpp46 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.1/default/
DBootControl.cpp46 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/
DVtsHalBootV1_0TargetTest.cpp55 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/interfaces/boot/1.0/default/
DBootControl.cpp48 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/google/pixel/bootctrl/
DLegacyBootControl.cpp49 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.2/vts/functional/
DVtsHalBootV1_2TargetTest.cpp48 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/interfaces/radio/aidl/compat/libradiocompat/sim/
Dstructs.cpp73 aidl::CarrierRestrictions toAidl(const V1_0::CarrierRestrictions& cr) { in toAidl() argument
75 .allowedCarriers = toAidl(cr.allowedCarriers), in toAidl()
76 .excludedCarriers = toAidl(cr.excludedCarriers), in toAidl()
81 aidl::CarrierRestrictions toAidl(const V1_4::CarrierRestrictionsWithPriority& cr) { in toAidl() argument
83 .allowedCarriers = toAidl(cr.allowedCarriers), in toAidl()
84 .excludedCarriers = toAidl(cr.excludedCarriers), in toAidl()
85 .allowedCarriersPrioritized = cr.allowedCarriersPrioritized, in toAidl()
89 V1_4::CarrierRestrictionsWithPriority toHidl(const aidl::CarrierRestrictions& cr) { in toHidl() argument
91 .allowedCarriers = toHidl(cr.allowedCarriers), in toHidl()
92 .excludedCarriers = toHidl(cr.excludedCarriers), in toHidl()
[all …]
Dstructs.h42 toAidl(const V1_0::CarrierRestrictions& cr);
44 toAidl(const V1_4::CarrierRestrictionsWithPriority& cr);
46 toHidl(const ::aidl::android::hardware::radio::sim::CarrierRestrictions& cr);
/hardware/qcom/sm7250/gps/utils/
Dloc_misc_utils.cpp263 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/sm8150/gps/utils/
Dloc_misc_utils.cpp263 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/
Djpeg_compressor.cpp147 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/default/
DExternalCameraUtils.cpp355 out->cr = crStart; in allocate()
387 out->cr = crStart + mWidth * rect.top / 4 + rect.left / 2; in getCroppedLayout()
435 intptr_t cr = reinterpret_cast<intptr_t>(layout.cr); in getFourCcFromLayout() local
436 if (std::abs(cb - cr) == 1 && layout.chromaStep == 2) { in getFourCcFromLayout()
438 if (layout.cb > layout.cr) { in getFourCcFromLayout()
445 if (layout.cb > layout.cr) { in getFourCcFromLayout()
520 static_cast<uint8_t*>(in.cr), static_cast<int32_t>(in.cStride), in formatConvert()
522 static_cast<uint8_t*>(out.cr), static_cast<int32_t>(out.cStride), in formatConvert()
533 static_cast<uint8_t*>(in.cr), static_cast<int32_t>(in.cStride), in formatConvert()
547 static_cast<uint8_t*>(in.cr), static_cast<int32_t>(in.cStride), in formatConvert()
[all …]
DExternalCameraOfflineSession.cpp421 mYu12FrameLayout.cStride, static_cast<uint8_t*>(mYu12FrameLayout.cr), in threadLoop()
497 result.y, result.cb, result.cr, result.ystride, result.cstride, in threadLoop()
505 .cr = result.cr, in threadLoop()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp151 out->cr = crStart; in allocate()
196 out->cr = crStart + mWidth * rect.top / 4 + rect.left / 2; in getCroppedLayout()
253 intptr_t cr = reinterpret_cast<intptr_t>(layout.cr); in getFourCcFromLayout() local
254 if (std::abs(cb - cr) == 1 && layout.chromaStep == 2) { in getFourCcFromLayout()
256 if (layout.cb > layout.cr) { in getFourCcFromLayout()
263 if (layout.cb > layout.cr) { in getFourCcFromLayout()
342 static_cast<uint8_t*>(in.cr), in formatConvert()
346 static_cast<uint8_t*>(out.cr), in formatConvert()
362 static_cast<uint8_t*>(in.cr), in formatConvert()
384 static_cast<uint8_t*>(in.cr), in formatConvert()
[all …]
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc1Hal.h296 const auto& cr = (flex.planes[2].component == FLEX_COMPONENT_Cr)? in toYCbCrLayout() local
299 if (cb.h_increment != cr.h_increment || cb.v_increment != cr.v_increment) { in toYCbCrLayout()
305 outLayout->cr = cr.top_left; in toYCbCrLayout()
DGralloc0Hal.h156 outLayout->cr = ycbcr.cr; in lockYCbCr()
/hardware/google/gfxstream/guest/mesa/src/util/u_gralloc/
Du_gralloc_fallback.c194 chroma_order = ((size_t)ycbcr.cr < (size_t)ycbcr.cb) ? YCrCb : YCbCr; in fallback_gralloc_get_yuv_info()
218 out->offsets[1] = (size_t)ycbcr.cr; in fallback_gralloc_get_yuv_info()
222 out->offsets[2] = (size_t)ycbcr.cr; in fallback_gralloc_get_yuv_info()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_utils.cpp309 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/
Dgr_utils.cpp309 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/3.0/
Dtypes.hal65 * y, cb, and cr point to the first byte of their respective planes.
80 pointer cr;
/hardware/interfaces/graphics/mapper/2.0/
Dtypes.hal46 * y, cb, and cr point to the first byte of their respective planes.
61 pointer cr;
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp736 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/
Dalloc_controller.cpp736 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/google/gfxstream/guest/mesa/include/android_stub/system/
Dgraphics.h85 void *cr; member
/hardware/qcom/display/msm8960/libgralloc/
Dmapper.cpp261 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()

123