KleidiCV
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations
ctypes.h File Reference

Helper type definitions. More...

Include dependency graph for ctypes.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  kleidicv_point_t
 Struct to represent a point. More...
 
struct  kleidicv_rectangle_t
 Struct to represent a rectangle. More...
 

Typedefs

typedef struct kleidicv_morphology_context_t_ kleidicv_morphology_context_t
 Internal structure where morphology operations store their state.
 
typedef struct kleidicv_filter_context_t_ kleidicv_filter_context_t
 Internal structure where filter operations store their state.
 

Enumerations

enum  kleidicv_error_t {
  KLEIDICV_OK = 0 , KLEIDICV_ERROR_NOT_IMPLEMENTED , KLEIDICV_ERROR_NULL_POINTER , KLEIDICV_ERROR_RANGE ,
  KLEIDICV_ERROR_ALLOCATION , KLEIDICV_ERROR_ALIGNMENT , KLEIDICV_ERROR_CONTEXT_MISMATCH
}
 Error values reported by KleidiCV. More...
 
enum  kleidicv_border_type_t {
  KLEIDICV_BORDER_TYPE_CONSTANT , KLEIDICV_BORDER_TYPE_REPLICATE , KLEIDICV_BORDER_TYPE_REFLECT , KLEIDICV_BORDER_TYPE_WRAP ,
  KLEIDICV_BORDER_TYPE_REVERSE , KLEIDICV_BORDER_TYPE_TRANSPARENT , KLEIDICV_BORDER_TYPE_NONE
}
 KleidiCV border types. More...
 
enum  kleidicv_interpolation_type_t { KLEIDICV_INTERPOLATION_NEAREST , KLEIDICV_INTERPOLATION_LINEAR }
 KleidiCV interpolation types. More...
 

Detailed Description

Helper type definitions.

Enumeration Type Documentation

◆ kleidicv_border_type_t

KleidiCV border types.

Enumerator
KLEIDICV_BORDER_TYPE_CONSTANT 

The border is a constant value.

KLEIDICV_BORDER_TYPE_REPLICATE 

The border is the value of the first/last element.

KLEIDICV_BORDER_TYPE_REFLECT 

The border is the mirrored value of the first/last elements.

KLEIDICV_BORDER_TYPE_WRAP 

The border simply acts as a "wrap around" to the beginning/end.

KLEIDICV_BORDER_TYPE_REVERSE 

Like KLEIDICV_BORDER_TYPE_REFLECT, but the first/last elements are ignored.

KLEIDICV_BORDER_TYPE_TRANSPARENT 

The border is the "continuation" of the input rows. It is the caller's responsibility to provide the input data (and an appropriate stride value) in a way that the rows can be under and over read. E.g. can be used when executing an operation on a region of a picture.

KLEIDICV_BORDER_TYPE_NONE 

The border is a hard border, there are no additional values to use.

◆ kleidicv_error_t

Error values reported by KleidiCV.

Enumerator
KLEIDICV_OK 

Success.

KLEIDICV_ERROR_NOT_IMPLEMENTED 

Requested operation is not implemented.

KLEIDICV_ERROR_NULL_POINTER 

Null pointer was passed as an argument.

KLEIDICV_ERROR_RANGE 

A value was encountered outside the representable or valid range.

KLEIDICV_ERROR_ALLOCATION 

Could not allocate memory.

KLEIDICV_ERROR_ALIGNMENT 

A value did not meet alignment requirements.

KLEIDICV_ERROR_CONTEXT_MISMATCH 

The provided context (like kleidicv_morphology_context_t) is not compatible with the operation.

◆ kleidicv_interpolation_type_t

KleidiCV interpolation types.

Enumerator
KLEIDICV_INTERPOLATION_NEAREST 

Nearest neighbour interpolation

KLEIDICV_INTERPOLATION_LINEAR 

Bilinear interpolation