Home
last modified time | relevance | path

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

/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/advanced/
DCamera2OutputConfigImplBuilder.java52 Size size, int imageFormat, int maxImages) { in newImageReaderConfig() argument
54 new ImageReaderOutputConfigImplImpl(size, imageFormat, maxImages)); in newImageReaderConfig()
62 int imageFormat, int maxImages) { in newMultiResolutionImageReaderConfig() argument
64 new MultiResolutionImageReaderOutputConfigImplImpl(imageFormat, maxImages)); in newMultiResolutionImageReaderConfig()
185 ImageReaderOutputConfigImplImpl(Size size, int imageFormat, int maxImages) { in ImageReaderOutputConfigImplImpl() argument
188 mMaxImages = maxImages; in ImageReaderOutputConfigImplImpl()
212 MultiResolutionImageReaderOutputConfigImplImpl(int imageFormat, int maxImages) { in MultiResolutionImageReaderOutputConfigImplImpl() argument
214 mMaxImages = maxImages; in MultiResolutionImageReaderOutputConfigImplImpl()
/frameworks/base/media/java/android/media/
DImageWriter.java148 @IntRange(from = 1) int maxImages) { in newInstance()
149 return new ImageWriter(surface, maxImages, true, ImageFormat.UNKNOWN, -1 /*width*/, in newInstance()
197 @IntRange(from = 1) int maxImages, @Format int format, int width, int height) { in newInstance()
201 return new ImageWriter(surface, maxImages, false, format, width, height); in newInstance()
246 @IntRange(from = 1) int maxImages, @Format int format) { in newInstance()
250 return new ImageWriter(surface, maxImages, false, format, -1 /*width*/, -1 /*height*/); in newInstance()
253 private void initializeImageWriter(Surface surface, int maxImages, in initializeImageWriter() argument
256 if (surface == null || maxImages < 1) { in initializeImageWriter()
258 + ", maxImages: " + maxImages); in initializeImageWriter()
263 mNativeContext = nativeInit(new WeakReference<>(this), surface, maxImages, width, height, in initializeImageWriter()
[all …]
DImageReader.java141 @IntRange(from = 1) int maxImages) { in newInstance()
144 return new ImageReader(width, height, format, maxImages, in newInstance()
252 @IntRange(from = 1) int maxImages, in newInstance()
261 return new ImageReader(width, height, format, maxImages, usage, /*parent*/ null); in newInstance()
271 @IntRange(from = 1) int maxImages, in newInstance()
275 return new ImageReader(width, height, format, maxImages, in newInstance()
279 private void initializeImageReader(int width, int height, int imageFormat, int maxImages, in initializeImageReader() argument
286 if (maxImages < 1) { in initializeImageReader()
296 nativeInit(new WeakReference<>(this), width, height, maxImages, usage, in initializeImageReader()
314 private ImageReader(int width, int height, int imageFormat, int maxImages, long usage, in ImageReader() argument
[all …]
/frameworks/av/media/ndk/include/media/
DNdkImageReader.h93 int32_t width, int32_t height, int32_t format, int32_t maxImages,
190 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) __I…
386 int32_t width, int32_t height, int32_t format, uint64_t usage, int32_t maxImages,
/frameworks/av/media/ndk/
DNdkImageReader.cpp268 int32_t maxImages) in AImageReader() argument
273 mMaxImages(maxImages), in AImageReader()
680 int32_t width, int32_t height, int32_t format, int32_t maxImages, in AImageReader_new() argument
684 width, height, format, AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN, maxImages, reader); in AImageReader_new()
703 int32_t maxImages, /*out*/ AImageReader** reader) { in AImageReader_newWithUsage() argument
712 if (maxImages < 1) { in AImageReader_newWithUsage()
714 __FUNCTION__, maxImages); in AImageReader_newWithUsage()
718 if (maxImages > BufferQueueDefs::NUM_BUFFER_SLOTS) { in AImageReader_newWithUsage()
720 __FUNCTION__, maxImages, BufferQueueDefs::NUM_BUFFER_SLOTS); in AImageReader_newWithUsage()
736 width, height, format, usage, maxImages); in AImageReader_newWithUsage()
[all …]
DNdkImageReaderPriv.h59 int32_t maxImages);
/frameworks/base/core/java/android/hardware/camera2/
DMultiResolutionImageReader.java137 @IntRange(from = 1) int maxImages) { in MultiResolutionImageReader()
139 mMaxImages = maxImages; in MultiResolutionImageReader()
161 streamInfo.getHeight(), format, maxImages); in MultiResolutionImageReader()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp102 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages);
146 jobject weakThiz, jclass clazz, int maxImages) : in JNIImageReaderContext() argument
153 for (int i = 0; i < maxImages; i++) { in JNIImageReaderContext()
378 jint maxImages, jlong ndkUsage, jint nativeFormat, jint dataSpace) { in ImageReader_init() argument
382 __FUNCTION__, width, height, nativeFormat, maxImages); in ImageReader_init()
391 sp<JNIImageReaderContext> ctx(new JNIImageReaderContext(env, weakThiz, clazz, maxImages)); in ImageReader_init()
398 width, height, nativeFormat, maxImages, getpid(), in ImageReader_init()
403 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()
Dandroid_media_ImageWriter.cpp377 jint maxImages, jint userWidth, jint userHeight, jboolean useSurfaceImageFormatInfo, in ImageWriter_init() argument
381 ALOGV("%s: maxImages:%d", __FUNCTION__, maxImages); in ImageWriter_init()
513 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.cpp403 int32_t maxImages, in ImageReaderTestCase() argument
409 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()