Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.10.90 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    Porting Guide from SDK 5.4 to SDK 5.6

    This document will help you port your applications from DriveWorks SDK 5.4 to DriveWorks SDK 5.6.


    Pyramid

    Following APIs have been modified:

    • dwPyramid_createFromProperties() changes the input parameter from dwPyramidImageProperties to dwPyramidImageProperties const*.

    FeatureDetector

    This release moved the following headers:

    • dw/imageprocesssing/features/FeatureDetector.h to dw/imageprocesssing/featuredetector/FeatureDetector.h

    Calibration Engine

    Following APIs have been added:

    • dwCalibrationEngine_addVehicleIONonSafetyState
    • dwCalibrationEngine_addVehicleIOActuationFeedback

    Following API has been deprecated:

    • dwCalibrationEngine_addVehicleIOState: Use the newly added dwCalibrationEngine_addVehicleIONonSafetyState and dwCalibrationEngine_addVehicleIOActuationFeedback instead.

    Egomotion

    The behavior of the follow APIs have changed:

    • dwEgomotion_initParamsFromRig, dwEgomotion_initParamsFromRigByIndex: use DW_EGOMOTION_REAR_WHEEL_SPEED by default, was previously DW_EGOMOTION_FRONT_SPEED.

    Feature List

    • Updated dwFeatureArray_reset and dwFeatureHistoryArray_reset APIs to take an extra input argument stream to specify the CUDA stream used to reset the array.

    Template Tracker

    • Updated dwTemplateArray_reset API to take an extra input argument stream to specify the CUDA stream used to reset the array.

    Image

    All images created have NvSci backing store on drive platform unless pointed out by a warning "Allocation of NvSci Backing Store failed; skipping setup". See dwImageFormat for info on which format is not NvSci backed. If an image is NvSci backed, they can be streamed to other types free of processing or copy.

    Following APIs have been modified:

    • dwImage_copyConvert() changes the functionality on drive platform with DW_IMAGE_NVMEDIA input. Since NvMediaImage has been deprecated, NvMedia2D functionality for conversion on VIC unit has been moved under dwImageTransformation. Inputting DW_IMAGE_NVMEDIA to dwImage_copyConvert() will switch to CUDA conversion silently. If VIC is intended to be used, see dwImageTransformation changes in image processing.

    Following API has been deprecated:

    • dwImageMetaData: Following attributes have been moved: msbPosition moved to rawProperties in dwImageMetaData, exposureTime/analogGain/conversionGain/digitalGain/wbGain moved to sensorStatistics in dwImageMetaData
    • dwImageNvMedia: Field "img" has been replaced with imgBuf. The typs is now NvSciBufObj abased on NvSci library as NvMediaImage has been completely deprecated in PDK 6.0.4.0
    • dwImage_createAndBindNvMedia: Removed as NvMediaImage has been completely deprecated in PDK 6.0.4.0

    Image

    Following APIs have been introduced:

    • dwImageTransformation_appendAllocationAttributes() appends allocation attributes needed by NvMedia2D to use the input/output image with VIC engine. The dwImageProperties updated with this can be used to create the images that would work with dwImageTransformation with NvMedia2D. Note this would happen only if the input/output images are DW_IMAGE_NVMEDIA type.
    • dwRectifier_appendAllocationAttributes() appends allocation attributes needed by NvMediaLDC to use the input/output image with VIC engine. The dwImageProperties updated with this can be used to create the images that would work with dwRectifier with NvMediaLDC. Note this would happen only if the input/output images are DW_IMAGE_NVMEDIA type.

    Following APIs have been modified:

    • dwImageTransformation_copy() Inputting DW_IMAGE_NVMEDIA leads to using NvSci based NvMedia2D, which requires the image to have been created with attributes from dwImageTransformation_appendAllocationAttributes
    • dwRectifier_warp() Inputting DW_IMAGE_NVMEDIA leads to using NvSci based NvMediaLDC, which requires the image to have been created with attributes from dwRectifier_appendAllocationAttributes

    Image

    Following APIs have been introduced:


    人人超碰97caoporen国产