Home
last modified time | relevance | path

Searched refs:maxImages (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/java/android/media/
DImageWriter.java131 @IntRange(from = 1) int maxImages) { in newInstance()
132 return new ImageWriter(surface, maxImages, ImageFormat.UNKNOWN); in newInstance()
177 @IntRange(from = 1) int maxImages, @Format int format) { in newInstance()
181 return new ImageWriter(surface, maxImages, format); in newInstance()
187 protected ImageWriter(Surface surface, int maxImages, int format) { in ImageWriter() argument
188 if (surface == null || maxImages < 1) { in ImageWriter()
190 + ", maxImages: " + maxImages); in ImageWriter()
193 mMaxImages = maxImages; in ImageWriter()
197 mNativeContext = nativeInit(new WeakReference<>(this), surface, maxImages, format); in ImageWriter()
DImageReader.java131 @IntRange(from = 1) int maxImages) { in newInstance()
134 return new ImageReader(width, height, format, maxImages, in newInstance()
239 @IntRange(from = 1) int maxImages, in newInstance()
248 return new ImageReader(width, height, format, maxImages, usage); in newInstance()
254 protected ImageReader(int width, int height, int format, int maxImages, long usage) { in ImageReader() argument
258 mMaxImages = maxImages; in ImageReader()
276 nativeInit(new WeakReference<>(this), width, height, format, maxImages, usage); in ImageReader()
/frameworks/av/media/ndk/
DNdkImageReader.cpp265 int32_t maxImages) in AImageReader() argument
270 mMaxImages(maxImages), in AImageReader()
677 int32_t width, int32_t height, int32_t format, int32_t maxImages, in AImageReader_new() argument
681 width, height, format, AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN, maxImages, reader); in AImageReader_new()
700 int32_t maxImages, /*out*/ AImageReader** reader) { in AImageReader_newWithUsage() argument
709 if (maxImages < 1) { in AImageReader_newWithUsage()
711 __FUNCTION__, maxImages); in AImageReader_newWithUsage()
715 if (maxImages > BufferQueueDefs::NUM_BUFFER_SLOTS) { in AImageReader_newWithUsage()
717 __FUNCTION__, maxImages, BufferQueueDefs::NUM_BUFFER_SLOTS); in AImageReader_newWithUsage()
733 width, height, format, usage, maxImages); in AImageReader_newWithUsage()
[all …]
DNdkImageReaderPriv.h59 int32_t maxImages);
/frameworks/av/media/ndk/include/media/
DNdkImageReader.h95 int32_t width, int32_t height, int32_t format, int32_t maxImages,
192 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) __I…
392 int32_t width, int32_t height, int32_t format, uint64_t usage, int32_t maxImages,
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp92 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages);
136 jobject weakThiz, jclass clazz, int maxImages) : in JNIImageReaderContext() argument
143 for (int i = 0; i < maxImages; i++) { in JNIImageReaderContext()
353 jint format, jint maxImages, jlong ndkUsage) in ImageReader_init() argument
360 __FUNCTION__, width, height, format, maxImages); in ImageReader_init()
371 sp<JNIImageReaderContext> ctx(new JNIImageReaderContext(env, weakThiz, clazz, maxImages)); in ImageReader_init()
378 width, height, format, maxImages, getpid(), in ImageReader_init()
383 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()
Dandroid_media_ImageWriter.cpp366 jint maxImages, jint userFormat) { in ImageWriter_init() argument
369 ALOGV("%s: maxImages:%d", __FUNCTION__, maxImages); in ImageWriter_init()
477 size_t totalBufferCount = maxImages + minUndequeuedBufferCount; in ImageWriter_init()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2ReprocessCaptureTest.java820 int reprocessOutputFormat, int maxImages) { in setupImageReaders() argument
827 maxImages *= 2; in setupImageReaders()
832 mFirstImageReader = makeImageReader(inputSize, inputFormat, maxImages, in setupImageReaders()
839 maxImages, mSecondImageReaderListener, mHandler); in setupImageReaders()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp347 int32_t maxImages, in ImageReaderTestCase() argument
353 mMaxImages(maxImages), in ImageReaderTestCase()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java200 Surface inputSurface, int maxImages, in makeImageWriter() argument
202 ImageWriter writer = ImageWriter.newInstance(inputSurface, maxImages); in makeImageWriter()
311 public SimpleImageReaderListener(boolean asyncMode, int maxImages) { in SimpleImageReaderListener() argument
313 mMaxImages = maxImages; in SimpleImageReaderListener()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...