Lines Matching refs:pixel
187 // Returns the pixel data for the current X coordinate in a uint32_t.
191 // the pixel data will actually be set.
203 uint32_t pixel;
204 memcpy(&pixel, &m_data->data()[m_decodedOffset + offset], 3);
206 pixel = ((pixel & 0xff00) << 8) | ((pixel & 0xff0000) >> 8) | ((pixel & 0xff000000) >> 24);
208 return pixel;
221 // in the given pixel data.
222 inline unsigned getComponent(uint32_t pixel, int component) const
224 uint8_t value = (pixel & m_bitMasks[component]) >> m_bitShiftsRight[component];
228 inline unsigned getAlpha(uint32_t pixel) const
231 return m_bitMasks[3] ? getComponent(pixel, 3) : 0xff;
234 // Sets the current pixel to the color given by |colorIndex|. This also
235 // increments the relevant local variables to move the current pixel
255 // pixel right to |endCoord|.
274 // The destination for the pixel data.
320 // the bitfield values down from their offsets into the 32 bits of pixel