Home
last modified time | relevance | path

Searched refs:maxImages (Results 1 – 10 of 10) 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()
200 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()
225 @IntRange(from = 1) int maxImages, in newInstance()
234 return new ImageReader(width, height, format, maxImages, usage); in newInstance()
240 protected ImageReader(int width, int height, int format, int maxImages, long usage) { in ImageReader() argument
244 mMaxImages = maxImages; in ImageReader()
262 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()
668 int32_t width, int32_t height, int32_t format, int32_t maxImages, in AImageReader_new() argument
672 width, height, format, AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN, maxImages, reader); in AImageReader_new()
691 int32_t maxImages, /*out*/ AImageReader** reader) { in AImageReader_newWithUsage() argument
700 if (maxImages < 1) { in AImageReader_newWithUsage()
702 __FUNCTION__, maxImages); in AImageReader_newWithUsage()
706 if (maxImages > BufferQueueDefs::NUM_BUFFER_SLOTS) { in AImageReader_newWithUsage()
708 __FUNCTION__, maxImages, BufferQueueDefs::NUM_BUFFER_SLOTS); in AImageReader_newWithUsage()
724 width, height, format, usage, maxImages); in AImageReader_newWithUsage()
[all …]
DNdkImageReaderPriv.h59 int32_t maxImages);
/frameworks/av/media/ndk/include/media/
DNdkImageReader.h93 int32_t width, int32_t height, int32_t format, int32_t maxImages,
178 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) __I…
370 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()
373 sp<JNIImageReaderContext> ctx(new JNIImageReaderContext(env, weakThiz, clazz, maxImages)); in ImageReader_init()
380 width, height, format, maxImages, getpid(), in ImageReader_init()
385 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()
Dandroid_media_ImageWriter.cpp340 jint maxImages, jint userFormat) { in ImageWriter_init() argument
343 ALOGV("%s: maxImages:%d", __FUNCTION__, maxImages); in ImageWriter_init()
431 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.cpp345 int32_t maxImages, in ImageReaderTestCase() argument
351 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()