#include "src/core/SkMasks.h"
#include "include/private/base/SkDebug.h"
static constexpr uint8_t n_bit_to_8_bit_lookup_table[] = …;
static uint8_t convert_to_8(uint8_t component, uint32_t n) { … }
static uint8_t get_comp(uint32_t pixel, uint32_t mask, uint32_t shift,
uint32_t size) { … }
uint8_t SkMasks::getRed(uint32_t pixel) const { … }
uint8_t SkMasks::getGreen(uint32_t pixel) const { … }
uint8_t SkMasks::getBlue(uint32_t pixel) const { … }
uint8_t SkMasks::getAlpha(uint32_t pixel) const { … }
static SkMasks::MaskInfo process_mask(uint32_t mask) { … }
SkMasks* SkMasks::CreateMasks(InputMasks masks, int bytesPerPixel) { … }