Searched refs:outDecoder (Results 1 – 2 of 2) sorted by relevance
95 static int createFromStream(std::unique_ptr<SkStreamRewindable> stream, AImageDecoder** outDecoder)… in createFromStream() argument114 *outDecoder = reinterpret_cast<AImageDecoder*>(new ImageDecoder(std::move(androidCodec))); in createFromStream()118 int AImageDecoder_createFromAAsset(AAsset* asset, AImageDecoder** outDecoder) { in AImageDecoder_createFromAAsset() argument119 if (!asset || !outDecoder) { in AImageDecoder_createFromAAsset()122 *outDecoder = nullptr; in AImageDecoder_createFromAAsset()126 return createFromStream(std::move(stream), outDecoder); in AImageDecoder_createFromAAsset()136 int AImageDecoder_createFromFd(int fd, AImageDecoder** outDecoder) { in AImageDecoder_createFromFd() argument137 if (fd <= 0 || !outDecoder) { in AImageDecoder_createFromFd()160 return createFromStream(std::move(stream), outDecoder); in AImageDecoder_createFromFd()164 AImageDecoder** outDecoder) { in AImageDecoder_createFromBuffer() argument[all …]
197 AImageDecoder* _Nullable * _Nonnull outDecoder)228 int AImageDecoder_createFromFd(int fd, AImageDecoder* _Nullable * _Nonnull outDecoder)259 AImageDecoder* _Nullable * _Nonnull outDecoder)