Home
last modified time | relevance | path

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

/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/advanced/
DCamera2OutputConfigImplBuilder.java53 Size size, int imageFormat, int maxImages) { in newImageReaderConfig() argument
55 new ImageReaderOutputConfigImplImpl(size, imageFormat, maxImages)); in newImageReaderConfig()
63 int imageFormat, int maxImages) { in newMultiResolutionImageReaderConfig() argument
65 new MultiResolutionImageReaderOutputConfigImplImpl(imageFormat, maxImages)); in newMultiResolutionImageReaderConfig()
201 ImageReaderOutputConfigImplImpl(Size size, int imageFormat, int maxImages) { in ImageReaderOutputConfigImplImpl() argument
204 mMaxImages = maxImages; in ImageReaderOutputConfigImplImpl()
228 MultiResolutionImageReaderOutputConfigImplImpl(int imageFormat, int maxImages) { in MultiResolutionImageReaderOutputConfigImplImpl() argument
230 mMaxImages = maxImages; in MultiResolutionImageReaderOutputConfigImplImpl()
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/advanced/
DCamera2OutputConfigImplBuilder.java54 Size size, int imageFormat, int maxImages, long usage) { in newImageReaderConfig() argument
56 new ImageReaderOutputConfigImplImpl(size, imageFormat, maxImages, usage)); in newImageReaderConfig()
64 int imageFormat, int maxImages) { in newMultiResolutionImageReaderConfig() argument
66 new MultiResolutionImageReaderOutputConfigImplImpl(imageFormat, maxImages)); in newMultiResolutionImageReaderConfig()
208 ImageReaderOutputConfigImplImpl(Size size, int imageFormat, int maxImages, in ImageReaderOutputConfigImplImpl() argument
212 mMaxImages = maxImages; in ImageReaderOutputConfigImplImpl()
242 MultiResolutionImageReaderOutputConfigImplImpl(int imageFormat, int maxImages) { in MultiResolutionImageReaderOutputConfigImplImpl() argument
244 mMaxImages = maxImages; in MultiResolutionImageReaderOutputConfigImplImpl()
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/
DCamera2OutputConfigImplBuilder.java54 Size size, int imageFormat, int maxImages, long usage) { in newImageReaderConfig() argument
56 new ImageReaderOutputConfigImplImpl(size, imageFormat, maxImages, usage)); in newImageReaderConfig()
64 int imageFormat, int maxImages) { in newMultiResolutionImageReaderConfig() argument
66 new MultiResolutionImageReaderOutputConfigImplImpl(imageFormat, maxImages)); in newMultiResolutionImageReaderConfig()
208 ImageReaderOutputConfigImplImpl(Size size, int imageFormat, int maxImages, in ImageReaderOutputConfigImplImpl() argument
212 mMaxImages = maxImages; in ImageReaderOutputConfigImplImpl()
242 MultiResolutionImageReaderOutputConfigImplImpl(int imageFormat, int maxImages) { in MultiResolutionImageReaderOutputConfigImplImpl() argument
244 mMaxImages = maxImages; in MultiResolutionImageReaderOutputConfigImplImpl()
/frameworks/base/media/java/android/media/
DImageWriter.java147 @IntRange(from = 1) int maxImages) { in newInstance()
148 return new ImageWriter(surface, maxImages, true, ImageFormat.UNKNOWN, -1 /*width*/, in newInstance()
196 @IntRange(from = 1) int maxImages, @Format int format, int width, int height) { in newInstance()
200 return new ImageWriter(surface, maxImages, false, format, width, height); in newInstance()
245 @IntRange(from = 1) int maxImages, @Format int format) { in newInstance()
249 return new ImageWriter(surface, maxImages, false, format, -1 /*width*/, -1 /*height*/); in newInstance()
252 private void initializeImageWriter(Surface surface, int maxImages, in initializeImageWriter() argument
255 if (surface == null || maxImages < 1) { in initializeImageWriter()
257 + ", maxImages: " + maxImages); in initializeImageWriter()
262 mNativeContext = nativeInit(new WeakReference<>(this), surface, maxImages, width, height, in initializeImageWriter()
[all …]
DImageReader.java179 @IntRange(from = 1) int maxImages) { in newInstance()
182 return new ImageReader(width, height, format, maxImages, in newInstance()
290 @IntRange(from = 1) int maxImages, in newInstance()
299 return new ImageReader(width, height, format, maxImages, usage, /*parent*/ null); in newInstance()
309 @IntRange(from = 1) int maxImages, in newInstance()
313 return new ImageReader(width, height, format, maxImages, in newInstance()
317 private void initializeImageReader(int width, int height, int imageFormat, int maxImages, in initializeImageReader() argument
324 if (maxImages < 1) { in initializeImageReader()
334 nativeInit(new WeakReference<>(this), width, height, maxImages, usage, in initializeImageReader()
351 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,
424 int32_t maxImages, uint32_t hardwareBufferFormat, int32_t dataSpace,
/frameworks/av/media/ndk/
DNdkImageReader.cpp50 uint64_t usage, int32_t maxImages,
271 int32_t maxImages, in AImageReader() argument
278 mMaxImages(maxImages), in AImageReader()
660 uint64_t usage, int32_t maxImages, in validateParameters() argument
673 if (maxImages < 1) { in validateParameters()
675 __FUNCTION__, maxImages); in validateParameters()
679 if (maxImages > BufferQueueDefs::NUM_BUFFER_SLOTS) { in validateParameters()
681 __FUNCTION__, maxImages, BufferQueueDefs::NUM_BUFFER_SLOTS); in validateParameters()
722 int32_t width, int32_t height, int32_t format, int32_t maxImages, in AImageReader_new() argument
726 width, height, format, AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN, maxImages, reader); in AImageReader_new()
[all …]
DNdkImageReaderPriv.h59 int32_t maxImages,
/frameworks/base/core/java/android/hardware/camera2/
DMultiResolutionImageReader.java136 @IntRange(from = 1) int maxImages) { in MultiResolutionImageReader()
138 mMaxImages = maxImages; in MultiResolutionImageReader()
160 streamInfo.getHeight(), format, maxImages); in MultiResolutionImageReader()
233 @IntRange(from = 1) int maxImages, in MultiResolutionImageReader()
236 mMaxImages = maxImages; in MultiResolutionImageReader()
258 streamInfo.getHeight(), format, maxImages, usage); in MultiResolutionImageReader()
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/
DCameraOutputConfigBuilder.java46 int outputId, int width, int height, int imageFormat, int maxImages) { in createImageReaderOutput() argument
54 config.capacity = maxImages; in createImageReaderOutput()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp104 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages);
148 jobject weakThiz, jclass clazz, int maxImages) : in JNIImageReaderContext() argument
155 for (int i = 0; i < maxImages; i++) { in JNIImageReaderContext()
381 jint maxImages, jlong ndkUsage, jint nativeHalFormat, jint dataSpace) { in ImageReader_init() argument
385 __FUNCTION__, width, height, nativeHalFormat, maxImages); in ImageReader_init()
394 sp<JNIImageReaderContext> ctx(new JNIImageReaderContext(env, weakThiz, clazz, maxImages)); in ImageReader_init()
401 width, height, nativeHalFormat, maxImages, getpid(), in ImageReader_init()
406 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()
527 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/media/ndk/fuzzer/
DREADME.md48 | `maxImages`| `1 to android::BufferQueue::MAX_MAX_ACQUIRED_BUFFERS`| Value obtained from FuzzedDat…
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp470 int32_t maxImages, in ImageReaderTestCase() argument
476 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-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...