Home
last modified time | relevance | path

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

12

/hardware/interfaces/boot/1.0/vts/functional/
DVtsHalBootV1_0TargetTest.cpp67 return [=](CommandResult cr) { *dest = cr; }; in generate_callback() argument
85 CommandResult cr; in TEST_F() local
86 Return<void> result = boot->markBootSuccessful(generate_callback(&cr)); in TEST_F()
88 if (cr.success) { in TEST_F()
98 CommandResult cr; in TEST_F() local
99 Return<void> result = boot->setActiveBootSlot(s, generate_callback(&cr)); in TEST_F()
104 CommandResult cr; in TEST_F() local
105 Return<void> result = boot->markBootSuccessful(generate_callback(&cr)); in TEST_F()
107 EXPECT_TRUE(cr.success); in TEST_F()
110 CommandResult cr; in TEST_F() local
[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/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/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc1Hal.h292 const auto& cr = flex.planes[2]; in toYCbCrLayout() local
294 if (cb.h_increment != cr.h_increment || cb.v_increment != cr.v_increment) { in toYCbCrLayout()
300 outLayout->cr = cr.top_left; in toYCbCrLayout()
DGralloc0Hal.h156 outLayout->cr = ycbcr.cr; in lockYCbCr()
/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/2.0/
Dtypes.hal46 * y, cb, and cr point to the first byte of their respective planes.
61 pointer cr;
/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/qcom/sdm845/display/gralloc/
Dgr_utils.cpp381 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()
DQtiMapper.cpp206 layout.cr = yuv_plane_info[0].cr; in lockYCbCr()
360 layout[i].cr = yuv_plane_info[i].cr; in getYuvPlaneInfo()
/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/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()
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp101 layout.cr = tmpLayout.cr; in lockYCbCrInternal()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp961 intptr_t cr = reinterpret_cast<intptr_t>(layout.cr); in getFourCcFromLayout() local
962 if (std::abs(cb - cr) == 1 && layout.chromaStep == 2) { in getFourCcFromLayout()
964 if (layout.cb > layout.cr) { in getFourCcFromLayout()
971 if (layout.cb > layout.cr) { in getFourCcFromLayout()
1104 static_cast<uint8_t*>(croppedLayout.cr), in cropAndScaleLocked()
1112 static_cast<uint8_t*>(outLayout.cr), in cropAndScaleLocked()
1252 static_cast<uint8_t*>(inputLayout.cr), in cropAndScaleThumbLocked()
1260 static_cast<uint8_t*>(outFullLayout.cr), in cropAndScaleThumbLocked()
1287 static_cast<uint8_t*>(in.cr), in formatConvertLocked()
1291 static_cast<uint8_t*>(out.cr), in formatConvertLocked()
[all …]
DExternalCameraUtils.cpp102 out->cr = crStart; in allocate()
136 out->cr = crStart + mWidth * rect.top / 4 + rect.left / 2; in getCroppedLayout()
/hardware/qcom/display/msm8226/libgralloc/
Dalloc_controller.cpp570 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/
Dalloc_controller.cpp575 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()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp351 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo()
363 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1); in GetYuvSPPlaneInfo()
436 std::swap(ycbcr->cb, ycbcr->cr); in GetYUVPlaneInfo()
444 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height); in GetYUVPlaneInfo()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp352 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); in GetYuvUbwcSPPlaneInfo()
364 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1); in GetYuvSPPlaneInfo()
437 std::swap(ycbcr->cb, ycbcr->cr); in GetYUVPlaneInfo()
445 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height); in GetYUVPlaneInfo()
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp757 ycbcr->cr = (void*)(base + y_meta_size + y_size + in getYuvUbwcSPPlaneInfo()
771 ycbcr->cr = (void*)(base + ystride * height + 1); in getYuvSPPlaneInfo()
841 std::swap(ycbcr->cb, ycbcr->cr); in getYUVPlaneInfo()
849 ycbcr->cr = (void*)(hnd->base + ystride * height); in getYUVPlaneInfo()
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp671 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); in getYUVPlaneInfo()
685 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo()
697 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp352 auto crData = static_cast<uint8_t*>(layout.cr); in TEST_F()
372 crData = static_cast<uint8_t*>(layout.cr); in TEST_F()
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp366 auto crData = static_cast<uint8_t*>(layout.cr); in TEST_F()
386 crData = static_cast<uint8_t*>(layout.cr); in TEST_F()

12