Searched refs:outDecoder (Results 1 – 2 of 2) sorted by relevance
105 static int createFromStream(std::unique_ptr<SkStreamRewindable> stream, AImageDecoder** outDecoder)… in createFromStream() argument124 *outDecoder = reinterpret_cast<AImageDecoder*>(new ImageDecoder(std::move(androidCodec))); in createFromStream()128 int AImageDecoder_createFromAAsset(AAsset* asset, AImageDecoder** outDecoder) { in AImageDecoder_createFromAAsset() argument129 if (!asset || !outDecoder) { in AImageDecoder_createFromAAsset()132 *outDecoder = nullptr; in AImageDecoder_createFromAAsset()136 return createFromStream(std::move(stream), outDecoder); in AImageDecoder_createFromAAsset()146 int AImageDecoder_createFromFd(int fd, AImageDecoder** outDecoder) { in AImageDecoder_createFromFd() argument147 if (fd <= 0 || !outDecoder) { in AImageDecoder_createFromFd()170 return createFromStream(std::move(stream), outDecoder); in AImageDecoder_createFromFd()174 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)