Lines Matching refs:pixels

725 	BaseReader(const void *data) : pixels((const pixel_t*)data) {}
727 inline void SetTo(const void *data) { pixels = (const pixel_t*)data; }
731 pixels = (const pixel_t*)((const char*)pixels + skip);
734 const pixel_t *pixels;
747 const pixel_t &pixel = *BaseReader<_PixelType>::pixels;
752 BaseReader<_PixelType>::pixels++;
775 const pixel_t &pixel = *BaseReader<_PixelType>::pixels;
783 BaseReader<_PixelType>::pixels++;
806 const pixel_t &pixel = *BaseReader<_PixelType>::pixels;
814 BaseReader<_PixelType>::pixels++;
834 converter.RGB24ColorForIndex(*BaseReader<uint8>::pixels, color.red, color.green,
836 BaseReader<uint8>::pixels++;
841 gray = converter.GrayColorForIndex(*BaseReader<uint8>::pixels);
842 BaseReader<uint8>::pixels++;
856 color.red = color.green = color.blue = *BaseReader<uint8>::pixels;
858 BaseReader<uint8>::pixels++;
863 gray = *BaseReader<uint8>::pixels;
864 BaseReader<uint8>::pixels++;
876 pixels = (const pixel_t*)data;
883 pixels = (const pixel_t*)((const char*)pixels + skip);
885 pixels = (const pixel_t*)((const char*)pixels + skip + 1);
892 if (*pixels & bit_mask(bit))
899 pixels++;
906 if (*pixels & bit_mask(bit))
912 pixels++;
929 BaseWriter(void *data) : pixels((pixel_t*)data) {}
931 inline void SetTo(void *data) { pixels = (pixel_t*)data; }
933 pixel_t *pixels;
947 pixel_t &pixel = *BaseWriter<_PixelType>::pixels;
952 BaseWriter<_PixelType>::pixels++;
957 pixel_t &pixel = *BaseWriter<_PixelType>::pixels;
962 BaseWriter<_PixelType>::pixels++;
976 pixel_t &pixel = *BaseWriter<_PixelType>::pixels;
980 BaseWriter<_PixelType>::pixels++;
985 pixel_t &pixel = *BaseWriter<_PixelType>::pixels;
989 BaseWriter<_PixelType>::pixels++;
1005 pixel_t &pixel = *BaseWriter<_PixelType>::pixels;
1008 BaseWriter<_PixelType>::pixels++;
1013 pixel_t &pixel = *BaseWriter<_PixelType>::pixels;
1016 BaseWriter<_PixelType>::pixels++;
1032 pixel_t &pixel = *BaseWriter<_PixelType>::pixels;
1035 BaseWriter<_PixelType>::pixels++;
1040 pixel_t &pixel = *BaseWriter<_PixelType>::pixels;
1043 BaseWriter<_PixelType>::pixels++;
1056 *pixels = converter.IndexForRGB24(color.red, color.green, color.blue);
1057 pixels++;
1062 *pixels = converter.IndexForGray(gray);
1063 pixels++;
1077 *pixels = brightness_for(color.red, color.green, color.blue);
1078 pixels++;
1083 *pixels = gray;
1084 pixels++;
1094 inline void SetTo(void *data) { pixels = (pixel_t*)data; bit = 7; }
1098 *pixels = (*pixels & inverse_bit_mask(bit))
1102 pixels++;
1162 while ((const char*)reader.pixels <= inEnd
1163 && (const char*)writer.pixels <= outEnd) {
1165 if ((const char*)reader.pixels <= inLastRow) {
1167 while ((const char*)writer.pixels <= outRowEnd) {
1175 while ((const char*)reader.pixels <= inEnd
1176 && (const char*)writer.pixels <= outRowEnd) {
1208 \param width The number of pixels per row in "in" and "out" data.
1236 while ((const char*)reader.pixels <= inEnd
1237 && (const char*)writer.pixels <= outEnd) {
1239 if ((const char*)reader.pixels <= inLastRow) {
1250 while ((const char*)reader.pixels <= inEnd && x >= 0) {
1283 \param width The number of pixels per row in "in" and "out" data.