Lines Matching defs:pixel
41 * Returns the alpha value encoded in the 0xAARRGBB encoded pixel.
49 * pixel color at (0,0) of the image. One or the other is fine,
110 // note: encode the x offset without the final 1 pixel border.
118 // note: encode the x offset without the final 1 pixel border.
303 // Sample the first pixel to compare against.
416 // If the length is odd, we want both sides to process the center pixel,
456 uint32_t NinePatch::PackRGBA(const uint8_t* pixel) {
457 return (pixel[3] << 24) | (pixel[0] << 16) | (pixel[1] << 8) | pixel[2];
465 *out_err = "image must be at least 3x3 (1x1 image with 1 pixel border)";
482 "top-left corner pixel must be either opaque white or transparent";
499 err_stream << "found unexpected optical bounds (red pixel) on top border "
515 err_stream << "found unexpected optical bounds (red pixel) on left border "