lensfun: Structures and functions for cameras

lensfun 0.3.95.0

Classes | Functions
Structures and functions for cameras

These structures and functions allow to define and examine the properties of a camera model. More...

## Classes
struct | lfCamera
| Camera data. Unknown fields are set to NULL. More...

## Functions
DEPRECATED lfCamera * | lf_camera_new ()
| Create a new camera object. More...
lfCamera * | lf_camera_create ()
| Create a new camera object. More...
void | lf_camera_destroy (lfCamera *camera)
| Destroy a lfCamera object. More...
void | lf_camera_copy (lfCamera *dest, const lfCamera *source)
| Copy the data from one lfCamera structure into another. More...
cbool | lf_camera_check (lfCamera *camera)

## Detailed Description

These structures and functions allow to define and examine the properties of a camera model.

## Function Documentation

## ◆ lf_camera_check()

cbool lf_camera_check | ( | lfCamera * | camera | ) |

See also
  lfCamera::Check

## ◆ lf_camera_copy()

void lf_camera_copy | ( | lfCamera * | dest,
|  | const lfCamera * | source
| ) |  |

Copy the data from one lfCamera structure into another.

Parameters

  dest | The destination object
  source | The source object

See also
  lfCamera::operator = (const lfCamera &)

## ◆ lf_camera_create()

lfCamera * lf_camera_create | ( |  | ) |

Create a new camera object.

Returns
  A new empty camera object.

See also
  lfCamera::lfCamera

## ◆ lf_camera_destroy()

void lf_camera_destroy | ( | lfCamera * | camera | ) |

Destroy a lfCamera object.

This is equivalent to C++ "delete camera".

Parameters

  camera | The camera object to destroy.

See also
  lfCamera::~lfCamera

## ◆ lf_camera_new()

DEPRECATED lfCamera * lf_camera_new | ( |  | ) |

Create a new camera object.

This function is deprecated, use lf_camera_create () instead.

Returns
  A new empty camera object.

See also
  lfCamera::lfCamera