Go to the source code of this file.
|
typedef uint8_t | pagespeed::image_compression::PixelRgbaChannels [RGBA_NUM_CHANNELS] |
|
typedef uint32 | pagespeed::image_compression::size_px |
|
|
enum | QuirksMode { QUIRKS_NONE = 0,
QUIRKS_CHROME,
QUIRKS_FIREFOX
} |
|
enum | ImageFormat {
IMAGE_UNKNOWN,
IMAGE_JPEG,
IMAGE_PNG,
IMAGE_GIF,
IMAGE_WEBP
} |
|
enum | PixelFormat { pagespeed::image_compression::UNSUPPORTED,
pagespeed::image_compression::RGB_888,
pagespeed::image_compression::RGBA_8888,
pagespeed::image_compression::GRAY_8
} |
|
enum | RgbaChannels {
RGBA_RED = 0,
RGBA_GREEN,
RGBA_BLUE,
RGBA_ALPHA,
RGBA_NUM_CHANNELS
} |
|
enum | PreferredLibwebpLevel { WEBP_NONE = 0,
WEBP_LOSSY,
WEBP_LOSSLESS,
WEBP_ANIMATED
} |
|
|
uint32_t | pagespeed::image_compression::PackHiToLo (uint8_t i3, uint8_t i2, uint8_t i1, uint8_t i0) |
|
uint32_t | pagespeed::image_compression::PackAsArgb (uint8_t alpha, uint8_t red, uint8_t green, uint8_t blue) |
| Packs the given A, R, G, B values into a single ARGB uint32.
|
|
uint32_t | pagespeed::image_compression::RgbaToPackedArgb (const PixelRgbaChannels rgba) |
|
uint32_t | pagespeed::image_compression::RgbToPackedArgb (const PixelRgbaChannels rgba) |
|
uint32_t | pagespeed::image_compression::GrayscaleToPackedArgb (const uint8_t luminance) |
|
const char * | pagespeed::image_compression::ImageFormatToMimeTypeString (ImageFormat image_type) |
| Returns the MIME-type string corresponding to the given ImageFormat.
|
|
const char * | pagespeed::image_compression::ImageFormatToString (ImageFormat image_type) |
| Returns a string representation of the given ImageFormat.
|
|
const char * | pagespeed::image_compression::GetPixelFormatString (PixelFormat pixel_format) |
| Returns a string representation of the given PixelFormat.
|
|
size_t | pagespeed::image_compression::GetBytesPerPixel (PixelFormat pixel_format) |
|
net_instaweb::ImageType | pagespeed::image_compression::ComputeImageType (const StringPiece &buf) |
|
|
const uint8_t | pagespeed::image_compression::kAlphaOpaque = 255 |
|
const uint8_t | pagespeed::image_compression::kAlphaTransparent = 0 |
|