Home
last modified time | relevance | path

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

/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp64 static int createFromStream(std::unique_ptr<SkStreamRewindable> stream, AImageDecoder** outDecoder)… in createFromStream() argument
82 *outDecoder = reinterpret_cast<AImageDecoder*>(new ImageDecoder(std::move(androidCodec))); in createFromStream()
86 int AImageDecoder_createFromAAsset(AAsset* asset, AImageDecoder** outDecoder) { in AImageDecoder_createFromAAsset() argument
87 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() argument
101 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 …]
/frameworks/native/include/android/
Dimagedecoder.h159 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);