Home
last modified time | relevance | path

Searched refs:outDecoder (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp105 static int createFromStream(std::unique_ptr<SkStreamRewindable> stream, AImageDecoder** outDecoder)… in createFromStream() argument
124 *outDecoder = reinterpret_cast<AImageDecoder*>(new ImageDecoder(std::move(androidCodec))); in createFromStream()
128 int AImageDecoder_createFromAAsset(AAsset* asset, AImageDecoder** outDecoder) { in AImageDecoder_createFromAAsset() argument
129 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() argument
147 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 …]
/frameworks/native/include/android/
Dimagedecoder.h197 AImageDecoder* _Nullable * _Nonnull outDecoder)
228 int AImageDecoder_createFromFd(int fd, AImageDecoder* _Nullable * _Nonnull outDecoder)
259 AImageDecoder* _Nullable * _Nonnull outDecoder)