Lines Matching refs:ImageDecoder
35 sk_sp<SkColorSpace> ImageDecoder::getDefaultColorSpace() const { in getDefaultColorSpace()
48 ImageDecoder::ImageDecoder(std::unique_ptr<SkAndroidCodec> codec, sk_sp<SkPngChunkReader> peeker, in ImageDecoder() function in ImageDecoder
64 ImageDecoder::~ImageDecoder() = default;
66 SkAlphaType ImageDecoder::getOutAlphaType() const { in getOutAlphaType()
81 SkISize ImageDecoder::getSampledDimensions(int sampleSize) const { in getSampledDimensions()
86 bool ImageDecoder::setTargetSize(int width, int height) { in setTargetSize()
127 bool ImageDecoder::setCropRect(const SkIRect* crop) { in setCropRect()
147 bool ImageDecoder::setOutColorType(SkColorType colorType) { in setOutColorType()
171 bool ImageDecoder::setUnpremultipliedRequired(bool required) { in setUnpremultipliedRequired()
181 void ImageDecoder::setOutColorSpace(sk_sp<SkColorSpace> colorSpace) { in setOutColorSpace()
185 sk_sp<SkColorSpace> ImageDecoder::getOutputColorSpace() const { in getOutputColorSpace()
191 SkImageInfo ImageDecoder::getOutputInfo() const { in getOutputInfo()
196 bool ImageDecoder::swapWidthHeight() const { in swapWidthHeight()
200 int ImageDecoder::width() const { in width()
206 int ImageDecoder::height() const { in height()
212 bool ImageDecoder::opaque() const { in opaque()
216 bool ImageDecoder::gray() const { in gray()
220 bool ImageDecoder::isAnimated() { in isAnimated()
224 int ImageDecoder::currentFrame() const { in currentFrame()
228 bool ImageDecoder::rewind() { in rewind()
241 void ImageDecoder::setHandleRestorePrevious(bool handle) { in setHandleRestorePrevious()
248 bool ImageDecoder::advanceFrame() { in advanceFrame()
301 SkCodec::FrameInfo ImageDecoder::getCurrentFrameInfo() { in getCurrentFrameInfo()
330 bool ImageDecoder::finished() const { in finished()
334 bool ImageDecoder::handleRestorePrevious(const SkImageInfo& outputInfo, void* pixels, in handleRestorePrevious()
378 SkCodec::Result ImageDecoder::decode(void* pixels, size_t rowBytes) { in decode()