Lines Matching refs:interleaved_ptr
36 struct interleaved_ptr : boost::iterator_facade struct
38 interleaved_ptr<ChannelPtr, Layout>,
47 interleaved_ptr<ChannelPtr, Layout>,
63 interleaved_ptr() {} in interleaved_ptr() argument
64 interleaved_ptr(const interleaved_ptr& ptr) : _channels(ptr._channels) {} in interleaved_ptr() argument
65 …template <typename CP> interleaved_ptr(const interleaved_ptr<CP,Layout>& ptr) : _channels(ptr._cha… in interleaved_ptr() function
67 interleaved_ptr(const ChannelPtr& channels) : _channels(channels) {} in interleaved_ptr() argument
70 interleaved_ptr(reference* pix) : _channels(&((*pix)[0])) {} in interleaved_ptr() function
71 interleaved_ptr& operator=(reference* pix) { _channels=&((*pix)[0]); return *this; } in operator =() argument
89 template <typename CP, typename L> friend struct interleaved_ptr;
95 …std::ptrdiff_t distance_to(const interleaved_ptr& it) const { return (it._channels-_channels)/num_… in distance_to() argument
96 bool equal(const interleaved_ptr& it) const { return _channels==it._channels; } in equal() argument
111 struct const_iterator_type<interleaved_ptr<ChannelPtr,Layout>> {
116 using type = interleaved_ptr<channel_const_ptr_t, Layout>;
120 struct iterator_is_mutable<interleaved_ptr<ChannelPtr,Layout>> : std::true_type {};
122 struct iterator_is_mutable<interleaved_ptr<const Channel*,Layout>> : std::false_type {};
125 struct is_iterator_adaptor<interleaved_ptr<ChannelPtr,Layout>> : std::false_type {};
132 struct color_space_type<interleaved_ptr<ChannelPtr,Layout>>
138 struct channel_mapping_type<interleaved_ptr<ChannelPtr,Layout>>
144 struct is_planar<interleaved_ptr<ChannelPtr,Layout>> : std::false_type {};
151 struct channel_type<interleaved_ptr<ChannelPtr, Layout>>
161 inline std::ptrdiff_t memunit_step(const interleaved_ptr<ChannelPtr,Layout>&) { in memunit_step()
163 … interleaved_ptr<ChannelPtr,Layout>::num_channels; // times the number of channels in memunit_step()
167 inline std::ptrdiff_t memunit_distance(const interleaved_ptr<ChannelPtr,Layout>& p1, const interlea… in memunit_distance()
172 inline void memunit_advance(interleaved_ptr<ChannelPtr,Layout>& p, std::ptrdiff_t diff) { in memunit_advance()
177 inline interleaved_ptr<ChannelPtr,Layout> memunit_advanced(const interleaved_ptr<ChannelPtr,Layout>… in memunit_advanced()
178 interleaved_ptr<ChannelPtr,Layout> ret=p; in memunit_advanced()
184 inline typename interleaved_ptr<ChannelPtr,Layout>::reference memunit_advanced_ref(const interleave… in memunit_advanced_ref()
185 interleaved_ptr<ChannelPtr,Layout> ret=p; in memunit_advanced_ref()
195 struct dynamic_x_step_type<interleaved_ptr<ChannelPtr, Layout>>
197 using type = memory_based_step_iterator<interleaved_ptr<ChannelPtr, Layout>>;