Home
last modified time | relevance | path

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

/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp95 static int createFromStream(std::unique_ptr<SkStreamRewindable> stream, AImageDecoder** outDecoder)… in createFromStream() argument
114 *outDecoder = reinterpret_cast<AImageDecoder*>(new ImageDecoder(std::move(androidCodec))); in createFromStream()
118 int AImageDecoder_createFromAAsset(AAsset* asset, AImageDecoder** outDecoder) { in AImageDecoder_createFromAAsset() argument
119 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() argument
137 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 …]
/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)