Searched refs:outDecoder (Results 1 – 2 of 2) sorted by relevance
64 static int createFromStream(std::unique_ptr<SkStreamRewindable> stream, AImageDecoder** outDecoder)… in createFromStream() argument82 *outDecoder = reinterpret_cast<AImageDecoder*>(new ImageDecoder(std::move(androidCodec))); in createFromStream()86 int AImageDecoder_createFromAAsset(AAsset* asset, AImageDecoder** outDecoder) { in AImageDecoder_createFromAAsset() argument87 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() argument101 if (fd <= 0 || !outDecoder) { in AImageDecoder_createFromFd()124 return createFromStream(std::move(stream), outDecoder); in AImageDecoder_createFromFd()128 AImageDecoder** outDecoder) { in AImageDecoder_createFromBuffer() argument[all …]
159 int AImageDecoder_createFromAAsset(struct AAsset* asset, AImageDecoder** outDecoder)188 int AImageDecoder_createFromFd(int fd, AImageDecoder** outDecoder) __INTRODUCED_IN(30);216 AImageDecoder** outDecoder) __INTRODUCED_IN(30);