/hardware/interfaces/boot/1.0/vts/functional/ |
D | VtsHalBootV1_0TargetTest.cpp | 67 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/ |
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/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/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/ |
D | Gralloc1Hal.h | 292 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()
|
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() 360 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 | 101 layout.cr = tmpLayout.cr; in lockYCbCrInternal()
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraDeviceSession.cpp | 961 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 …]
|
D | ExternalCameraUtils.cpp | 102 out->cr = crStart; in allocate() 136 out->cr = crStart + mWidth * rect.top / 4 + rect.left / 2; in getCroppedLayout()
|
/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()
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_allocator.cpp | 351 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/ |
D | gr_allocator.cpp | 352 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/ |
D | alloc_controller.cpp | 757 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/ |
D | alloc_controller.cpp | 671 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/ |
D | VtsHalGraphicsMapperV2_0TargetTest.cpp | 352 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/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 366 auto crData = static_cast<uint8_t*>(layout.cr); in TEST_F() 386 crData = static_cast<uint8_t*>(layout.cr); in TEST_F()
|