Skip to content

Latest commit

 

History

History
104 lines (101 loc) · 6.17 KB

c-api-mapping-table.md

File metadata and controls

104 lines (101 loc) · 6.17 KB

Low level api mappings:

LibRaw functions mapping:

Mapped to class: LibRawNative:

C Function Name C# Function Name
libraw_strerror GetErrorMessage
libraw_strprogress GetProgressMessage
libraw_init Initialize
libraw_open_file OpenFile
libraw_open_wfile OpenFileW
libraw_open_buffer OpenBuffer
libraw_open_bayer OpenBayerData
libraw_unpack Unpack
libraw_unpack_thumb UnpackThumbnail
libraw_unpack_thumb_ex UnpackThumbnailExtended
libraw_recycle_datastream RecycleDataStream
libraw_recycle Recycle
libraw_close Close
libraw_subtract_black SubtractBlack
libraw_raw2image RawToImage
libraw_free_image FreeImage
libraw_version GetVersion
libraw_versionNumber GetVersionNumber
libraw_cameraList GetCameraList
libraw_cameraCount GetCameraCount
libraw_set_exifparser_handler SetExifParserHandler
libraw_set_dataerror_handler SetDataErrorHandler
libraw_set_progress_handler SetProgressHandler
libraw_unpack_function_name GetUnpackFunctionName
libraw_get_decoder_info GetDecoderInfo
libraw_COLOR GetColor
libraw_capabilities GetCapabilities
libraw_adjust_sizes_info_only AdjustSizesInfoOnly
libraw_dcraw_ppm_tiff_writer WriteDcrawPpmTiff
libraw_dcraw_thumb_writer WriteDcrawThumbnail
libraw_dcraw_process ProcessDcraw
libraw_dcraw_make_mem_image MakeDcrawMemoryImage
libraw_dcraw_make_mem_thumb MakeDcrawMemoryThumbnail
libraw_dcraw_clear_mem ClearDcrawMemory
libraw_set_demosaic SetDemosaicAlgorithm
libraw_set_output_color SetOutputColorSpace
libraw_set_adjust_maximum_thr SetAdjustMaximumThreshold
libraw_set_user_mul SetUserMultiplier
libraw_set_output_bps SetOutputBitsPerSample
libraw_set_gamma SetGamma
libraw_set_no_auto_bright SetAutoBrightnessCorrection
libraw_set_bright SetBrightness
libraw_set_highlight SetHighlightMode
libraw_set_fbdd_noiserd SetNoiseReductionMode
libraw_get_raw_height GetRawImageHeight
libraw_get_raw_width GetRawImageWidth
libraw_get_iheight GetProcessedImageHeight
libraw_get_iwidth GetProcessedImageWidth
libraw_get_cam_mul GetCameraMultiplier
libraw_get_pre_mul GetPreMultiplier
libraw_get_rgb_cam GetRgbCameraMatrix
libraw_get_color_maximum GetColorMaximum
libraw_set_output_tif SetOutputTiff
libraw_get_iparams GetImageParameters
libraw_get_lensinfo GetLensInformation
libraw_get_imgother GetImageOtherParameters

LibRaw enum mappings:

C API Enum C# Enum
LibRaw_openbayer_patterns OpenBayerPattern
LibRaw_dngfields_marks DngFieldMark
LibRaw_As_Shot_WB_Applied_codes AsShotWbAppliedCode
LibRaw_ExifTagTypes ExifTagType
LIBRAW_EXIFTOOLTAGTYPE_** ExifToolTagType
LibRaw_whitebalance_code WhiteBalanceCode
LibRaw_MultiExposure_related MultiExposureRelated
LibRaw_dng_processing DngProcessing
LibRaw_output_flags OutputFlag
LibRaw_runtime_capabilities LibRawCapability
LibRaw_colorspace ColorSpaceColorSpace
LibRaw_cameramaker_index CameraMakerIndex
LibRaw_camera_mounts CameraMount
LibRaw_camera_formats CameraFormat
LibRawImageAspects ImageAspect
LibRaw_lens_focal_types LensFocalType
LibRaw_Canon_RecordModes CanonRecordMode
LibRaw_minolta_storagemethods MinoltaStorageMethod
LibRaw_minolta_bayerpatterns MinoltaBayerPattern
LibRaw_sony_cameratypes SonyCameraType
LibRaw_Sony_0x2010_Type Sony0x2010Type
LibRaw_Sony_0x9050_Type Sony0x9050Type
LIBRAW_SONY_FOCUSMODEmodes SonyFocusMode
LibRaw_KodakSensors KodakSensor
LibRaw_HasselbladFormatCodes HasselbladFormatCode
LibRaw_rawspecial_t RawSpecialType
LibRaw_rawspeed_bits_t RawSpeedBits
LibRaw_processing_options ProcessingOption
LibRaw_decoder_flags DecoderFlag
LibRaw_constructor_flags LibRawInitFlags
LibRaw_warnings LibRawWarning
LibRaw_exceptions LibRawExceptions
LibRaw_progress LibRawProgress
LibRaw_errors LibRawError
LibRaw_internal_thumbnail_formats InternalThumbnailFormat
LibRaw_thumbnail_formats ThumbnailFormat
LibRaw_image_formats ProcessedImageType