Lines Matching refs:outDecoder
64 static int createFromStream(std::unique_ptr<SkStreamRewindable> stream, AImageDecoder** outDecoder)… in createFromStream() argument
82 *outDecoder = reinterpret_cast<AImageDecoder*>(new ImageDecoder(std::move(androidCodec))); in createFromStream()
86 int AImageDecoder_createFromAAsset(AAsset* asset, AImageDecoder** outDecoder) { in AImageDecoder_createFromAAsset() argument
87 if (!asset || !outDecoder) { in AImageDecoder_createFromAAsset()
90 *outDecoder = nullptr; in AImageDecoder_createFromAAsset()
93 return createFromStream(std::move(stream), outDecoder); in AImageDecoder_createFromAAsset()
100 int AImageDecoder_createFromFd(int fd, AImageDecoder** outDecoder) { in AImageDecoder_createFromFd() argument
101 if (fd <= 0 || !outDecoder) { in AImageDecoder_createFromFd()
124 return createFromStream(std::move(stream), outDecoder); in AImageDecoder_createFromFd()
128 AImageDecoder** outDecoder) { in AImageDecoder_createFromBuffer() argument
129 if (!buffer || !length || !outDecoder) { in AImageDecoder_createFromBuffer()
132 *outDecoder = nullptr; in AImageDecoder_createFromBuffer()
138 return createFromStream(std::move(stream), outDecoder); in AImageDecoder_createFromBuffer()