Home
last modified time | relevance | path

Searched refs:AImageDecoder (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/include/android/
Dimagedecoder.h146 struct AImageDecoder;
166 typedef struct AImageDecoder AImageDecoder; typedef
197 AImageDecoder* _Nullable * _Nonnull outDecoder)
228 int AImageDecoder_createFromFd(int fd, AImageDecoder* _Nullable * _Nonnull outDecoder)
259 AImageDecoder* _Nullable * _Nonnull outDecoder)
268 void AImageDecoder_delete(AImageDecoder* _Nullable decoder) __INTRODUCED_IN(30);
296 int AImageDecoder_setAndroidBitmapFormat(AImageDecoder* _Nonnull decoder,
326 int AImageDecoder_setUnpremultipliedRequired(AImageDecoder* _Nonnull decoder,
358 int AImageDecoder_setDataSpace(AImageDecoder* _Nonnull decoder, int32_t dataspace)
399 int AImageDecoder_setTargetSize(AImageDecoder* _Nonnull decoder, int32_t width,
[all …]
/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp105 static int createFromStream(std::unique_ptr<SkStreamRewindable> stream, AImageDecoder** outDecoder)… in createFromStream()
124 *outDecoder = reinterpret_cast<AImageDecoder*>(new ImageDecoder(std::move(androidCodec))); in createFromStream()
128 int AImageDecoder_createFromAAsset(AAsset* asset, AImageDecoder** outDecoder) { in AImageDecoder_createFromAAsset()
146 int AImageDecoder_createFromFd(int fd, AImageDecoder** outDecoder) { in AImageDecoder_createFromFd()
174 AImageDecoder** outDecoder) { in AImageDecoder_createFromBuffer()
187 static ImageDecoder* toDecoder(AImageDecoder* d) { in toDecoder()
191 static const ImageDecoder* toDecoder(const AImageDecoder* d) { in toDecoder()
218 int AImageDecoder_setAndroidBitmapFormat(AImageDecoder* decoder, int32_t format) { in AImageDecoder_setAndroidBitmapFormat()
233 int AImageDecoder_setDataSpace(AImageDecoder* decoder, int32_t dataspace) { in AImageDecoder_setDataSpace()
249 const AImageDecoderHeaderInfo* AImageDecoder_getHeaderInfo(const AImageDecoder* decoder) { in AImageDecoder_getHeaderInfo()
[all …]
/frameworks/native/libs/renderengine/benchmark/
DCodec.cpp31 void operator()(AImageDecoder* decoder) { AImageDecoder_delete(decoder); } in operator ()()
34 using AutoDecoderDeleter = std::unique_ptr<AImageDecoder, DecoderDeleter>;
56 AImageDecoder* decoder{nullptr}; in decode()
/frameworks/libs/native_bridge_support/android_api/libjnigraphics/proxy/
Dlibjnigraphics_trampolines.cc35 GuestParamsValues<int(AImageDecoder*, int32_t, int32_t, int32_t, int32_t)>(state); in DoCustomTrampoline_AImageDecoder_setCrop()
39 GuestParamsValues<int(AImageDecoder*, int64_t, int64_t)>(state); in DoCustomTrampoline_AImageDecoder_setCrop()
/frameworks/base/native/graphics/jni/fuzz/
Dfuzz_imagedecoder.cpp34 AImageDecoder* init(const uint8_t* data, size_t size, bool useFileDescriptor) { in init()
35 AImageDecoder* decoder = nullptr; in init()
56 AImageDecoder* decoder = in LLVMFuzzerTestOneInput()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp262 AImageDecoder* decoder = nullptr; in decodeImage()