Lines Matching full:channels
50 // 6. Fast pixel access which can take advantage of number of channels
59 // actually has two versions, one when the number of channels is known at
61 // channels specified can provide some compile time optimizations by using the
62 // fact that the number of channels is a constant.
86 // void MySetRand(WImage_b* im) { // Works with any number of channels
90 // for (int ch = 0; ch < im->Channels(); ++ch, ++row) {
198 int Channels() const {return image_->nChannels; }
202 int PixelSize() const {return Channels() * ChannelSize(); }
220 c*Channels();
225 c*Channels();
256 // Image class when both the pixel type and number of channels
267 assert(!img || img->nChannels == Channels());
282 int Channels() const {return C; }
355 // Like a WImageBuffer class but when the number of channels is known
430 WImageView(T* data, int width, int height, int channels, int width_step = -1);
534 WImage<T>::Height() != height || WImage<T>::Channels() != nchannels) {