HomeSort by relevance Sort by last modified time
    Searched defs:AImageReader (Results 1 - 3 of 3) sorted by null

  /frameworks/av/include/ndk/
NdkImageReader.h 51 typedef struct AImageReader AImageReader;
58 * acquired from the {@link AImageReader} simultaneously. Requesting more buffers will use up
87 /*out*/AImageReader** reader);
90 * Delete an {@link AImageReader} and return all images generated by this reader to system.
99 void AImageReader_delete(AImageReader* reader);
113 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window);
129 media_status_t AImageReader_getWidth(const AImageReader* reader, /*out*/int32_t* width);
145 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height);
158 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format)
    [all...]
  /frameworks/av/media/ndk/
NdkImageReader.cpp 38 const char* AImageReader::kCallbackFpKey = "Callback";
39 const char* AImageReader::kContextKey = "Context";
42 AImageReader::isSupportedFormat(int32_t format) {
59 AImageReader::getNumPlanesForFormat(int32_t format) {
77 AImageReader::FrameListener::onFrameAvailable(const BufferItem& /*item*/) {
79 sp<AImageReader> reader = mReader.promote();
81 ALOGW("A frame is available after AImageReader closed!");
88 sp<AMessage> msg = new AMessage(AImageReader::kWhatImageAvailable, reader->mHandler);
89 msg->setPointer(AImageReader::kCallbackFpKey, (void *) mListener.onImageAvailable);
90 msg->setPointer(AImageReader::kContextKey, mListener.context)
    [all...]
NdkImageReaderPriv.h 49 struct AImageReader : public RefBase {
55 AImageReader(int32_t width, int32_t height, int32_t format, int32_t maxImages);
56 ~AImageReader();
58 // Inintialize AImageReader, uninitialized or failed to initialize AImageReader
98 CallbackHandler(AImageReader* reader) : mReader(reader) {}
101 AImageReader* mReader;
115 FrameListener(AImageReader* parent) : mReader(parent) {}
123 wp<AImageReader> mReader;

Completed in 1099 milliseconds