Home
last modified time | relevance | path

Searched refs:imageFormat (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/media/java/android/media/
DPublicFormatUtils.java24 public static int getHalFormat(int imageFormat) { in getHalFormat() argument
25 return nativeGetHalFormat(imageFormat); in getHalFormat()
27 public static int getHalDataspace(int imageFormat) { in getHalDataspace() argument
28 return nativeGetHalDataspace(imageFormat); in getHalDataspace()
30 public static int getPublicFormat(int imageFormat, @DataSpace.NamedDataSpace int dataspace) { in getPublicFormat() argument
31 return nativeGetPublicFormat(imageFormat, dataspace); in getPublicFormat()
33 private static native int nativeGetHalFormat(int imageFormat); in nativeGetHalFormat() argument
34 private static native int nativeGetHalDataspace(int imageFormat); in nativeGetHalDataspace() argument
35 private static native int nativeGetPublicFormat(int imageFormat, int dataspace); in nativeGetPublicFormat() argument
DImageWriter.java253 boolean useSurfaceImageFormatInfo, int imageFormat, in initializeImageWriter() argument
271 imageFormat = PublicFormatUtils.getPublicFormat(hardwareBufferFormat, dataSpace); in initializeImageWriter()
285 imageFormat, /*buffer count*/ 1); in initializeImageWriter()
292 int imageFormat, int width, int height) { in ImageWriter() argument
295 mHardwareBufferFormat = PublicFormatUtils.getHalFormat(imageFormat); in ImageWriter()
296 mDataSpace = PublicFormatUtils.getHalDataspace(imageFormat); in ImageWriter()
300 imageFormat, mHardwareBufferFormat, mDataSpace, width, height, mUsage); in ImageWriter()
304 int imageFormat, int width, int height, long usage) { in ImageWriter() argument
308 mHardwareBufferFormat = PublicFormatUtils.getHalFormat(imageFormat); in ImageWriter()
309 mDataSpace = PublicFormatUtils.getHalDataspace(imageFormat); in ImageWriter()
[all …]
DImageReader.java317 private void initializeImageReader(int width, int height, int imageFormat, int maxImages, in initializeImageReader() argument
329 if (imageFormat == ImageFormat.NV21) { in initializeImageReader()
347 width, height, imageFormat, /*buffer count*/ 1); in initializeImageReader()
351 private ImageReader(int width, int height, int imageFormat, int maxImages, long usage, in ImageReader() argument
355 mFormat = imageFormat; in ImageReader()
364 initializeImageReader(width, height, imageFormat, maxImages, usage, mHardwareBufferFormat, in ImageReader()
1029 public @NonNull Builder setImageFormat(@Format int imageFormat) { in setImageFormat() argument
1030 mImageFormat = imageFormat; in setImageFormat()
/frameworks/base/core/java/android/hardware/camera2/params/
DColorSpaceProfiles.java87 int imageFormat = (int) elements[i + 1]; in ColorSpaceProfiles() local
95 if (!mProfileMap.get(namedColorSpace).containsKey(imageFormat)) { in ColorSpaceProfiles()
97 mProfileMap.get(namedColorSpace).put(imageFormat, dynamicRangeProfiles); in ColorSpaceProfiles()
105 mProfileMap.get(namedColorSpace).get(imageFormat).add(dynamicRangeProfile); in ColorSpaceProfiles()
150 @ImageFormat.Format int imageFormat) { in getSupportedColorSpaces()
153 if (imageFormat == ImageFormat.UNKNOWN) { in getSupportedColorSpaces()
157 if (imageFormatMap.containsKey(imageFormat)) { in getSupportedColorSpaces()
198 @ImageFormat.Format int imageFormat) { in getSupportedDynamicRangeProfiles() argument
205 if (imageFormat == ImageFormat.UNKNOWN) { in getSupportedDynamicRangeProfiles()
215 dynamicRangeProfiles = imageFormatMap.get(imageFormat); in getSupportedDynamicRangeProfiles()
[all …]
/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
203 mImageFormat = imageFormat; in ImageReaderOutputConfigImplImpl()
228 MultiResolutionImageReaderOutputConfigImplImpl(int imageFormat, int maxImages) { in MultiResolutionImageReaderOutputConfigImplImpl() argument
229 mImageFormat = imageFormat; 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
211 mImageFormat = imageFormat; in ImageReaderOutputConfigImplImpl()
242 MultiResolutionImageReaderOutputConfigImplImpl(int imageFormat, int maxImages) { in MultiResolutionImageReaderOutputConfigImplImpl() argument
243 mImageFormat = imageFormat; 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
211 mImageFormat = imageFormat; in ImageReaderOutputConfigImplImpl()
242 MultiResolutionImageReaderOutputConfigImplImpl(int imageFormat, int maxImages) { in MultiResolutionImageReaderOutputConfigImplImpl() argument
243 mImageFormat = imageFormat; in MultiResolutionImageReaderOutputConfigImplImpl()
/frameworks/base/media/jni/
Dandroid_media_PublicFormatUtils.cpp27 jint imageFormat) { in android_media_PublicFormatUtils_getHalFormat() argument
28 PublicFormat publicFormat = static_cast<PublicFormat>(imageFormat); in android_media_PublicFormatUtils_getHalFormat()
34 jint imageFormat) { in android_media_PublicFormatUtils_getHalDataspace() argument
35 PublicFormat publicFormat = static_cast<PublicFormat>(imageFormat); in android_media_PublicFormatUtils_getHalDataspace()
Dandroid_media_Utils.h28 bool usingRGBAToJpegOverride(int32_t imageFormat, int32_t containerFormat);
30 int32_t applyFormatOverrides(int32_t imageFormat, int32_t containerFormat);
/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
53 config.imageFormat = imageFormat; in createImageReaderOutput()
84 result.imageFormat = mConfig.imageFormat; in build()
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/
DProcessorImpl.java35 void onOutputSurface(Surface surface, int imageFormat); in onOutputSurface() argument
55 void onImageFormatUpdate(int imageFormat); in onImageFormatUpdate() argument
DRequestUpdateProcessorImpls.java32 public void onOutputSurface(Surface surface, int imageFormat) {}
38 public void onImageFormatUpdate(int imageFormat) {}
DBokehPreviewExtenderImpl.java125 public void onOutputSurface(Surface surface, int imageFormat) {}
131 public void onImageFormatUpdate(int imageFormat) {}
DHdrPreviewExtenderImpl.java143 public void onOutputSurface(Surface surface, int imageFormat) { in onOutputSurface() argument
145 mFormat = imageFormat; in onOutputSurface()
223 public void onImageFormatUpdate(int imageFormat) { in onImageFormatUpdate() argument
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/
DProcessorImpl.java34 void onOutputSurface(Surface surface, int imageFormat); in onOutputSurface() argument
54 void onImageFormatUpdate(int imageFormat); in onImageFormatUpdate() argument
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/
DProcessorImpl.java34 void onOutputSurface(Surface surface, int imageFormat); in onOutputSurface() argument
54 void onImageFormatUpdate(int imageFormat); in onImageFormatUpdate() argument
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/
DProcessorImpl.java36 void onOutputSurface(@NonNull Surface surface, int imageFormat); in onOutputSurface() argument
56 void onImageFormatUpdate(int imageFormat); in onImageFormatUpdate() argument
/frameworks/base/core/java/android/hardware/camera2/extension/
DIRequestUpdateProcessorImpl.aidl26 void onOutputSurface(in Surface surface, int imageFormat); in onOutputSurface() argument
28 void onImageFormatUpdate(int imageFormat); in onImageFormatUpdate() argument
DICaptureProcessorImpl.aidl26 void onOutputSurface(in Surface surface, int imageFormat); in onOutputSurface() argument
29 void onImageFormatUpdate(int imageFormat); in onImageFormatUpdate() argument
DIPreviewImageProcessorImpl.aidl27 void onOutputSurface(in Surface surface, int imageFormat); in onOutputSurface() argument
29 void onImageFormatUpdate(int imageFormat); in onImageFormatUpdate() argument
DCameraOutputSurface.java67 mOutputSurface.imageFormat = SurfaceUtils.getSurfaceFormat(surface); in CameraOutputSurface()
101 return mOutputSurface.imageFormat; in getImageFormat()
/frameworks/av/media/ndk/fuzzer/
Dndk_image_reader_fuzzer.cpp45 int32_t imageFormat = mFdp.ConsumeIntegralInRange<int32_t>(kMinSize, kMaxSize); in process() local
53 AImageReader_new(imageWidth, imageHeight, imageFormat, imageMaxCount, &reader); in process()
55 AImageReader_newWithUsage(imageWidth, imageHeight, imageFormat, imageUsage, imageMaxCount, in process()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DICaptureProcessorImpl.aidl26 void onOutputSurface(in Surface surface, int imageFormat); in onOutputSurface() argument
28 void onImageFormatUpdate(int imageFormat); in onImageFormatUpdate() argument
DIPreviewImageProcessorImpl.aidl27 void onOutputSurface(in Surface surface, int imageFormat); in onOutputSurface() argument
29 void onImageFormatUpdate(int imageFormat); in onImageFormatUpdate() argument
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/
DForwardPreviewExtender.java293 public void onOutputSurface(Surface surface, int imageFormat) { in onOutputSurface() argument
295 mIPreviewImageProcessor.onOutputSurface(surface, imageFormat); in onOutputSurface()
319 public void onImageFormatUpdate(int imageFormat) { in onImageFormatUpdate() argument
321 mIPreviewImageProcessor.onImageFormatUpdate(imageFormat); in onImageFormatUpdate()
339 public void onOutputSurface(Surface surface, int imageFormat) { in onOutputSurface() argument
347 public void onImageFormatUpdate(int imageFormat) { in onImageFormatUpdate() argument

123