1 #ifndef _KIPR_CAMERA_IMAGE_HPP_
2 #define _KIPR_CAMERA_IMAGE_HPP_
25 const unsigned height,
26 const unsigned stride,
27 unsigned char *
const data,
28 const bool owned =
true
41 const unsigned char *
const getData()
const;
51 swap(first.type_, second.type_);
52 swap(first.data_, second.data_);
53 swap(first.owned_, second.owned_);
54 swap(first.width_, second.width_);
55 swap(first.height_, second.height_);
56 swap(first.stride_, second.stride_);
unsigned getHeight() const
friend void swap(Image &first, Image &second)
Definition: image.hpp:48
const unsigned char *const getData() const
unsigned getWidth() const
unsigned getStride() const
Image(const Type type, const unsigned width, const unsigned height, const unsigned stride, unsigned char *const data, const bool owned=true)
Type
Definition: image.hpp:14