Home
last modified time | relevance | path

Searched refs:ImageFormat (Results 1 – 25 of 98) sorted by relevance

1234

/aosp14/frameworks/base/media/java/android/media/
H A DImageUtils.java19 import android.graphics.ImageFormat;
48 case ImageFormat.YV12: in getNumPlanesForFormat()
50 case ImageFormat.NV21: in getNumPlanesForFormat()
53 case ImageFormat.NV16: in getNumPlanesForFormat()
59 case ImageFormat.JPEG: in getNumPlanesForFormat()
60 case ImageFormat.YUY2: in getNumPlanesForFormat()
61 case ImageFormat.Y8: in getNumPlanesForFormat()
62 case ImageFormat.Y16: in getNumPlanesForFormat()
65 case ImageFormat.RAW10: in getNumPlanesForFormat()
72 case ImageFormat.HEIC: in getNumPlanesForFormat()
[all …]
H A DImageReader.java27 import android.graphics.ImageFormat;
28 import android.graphics.ImageFormat.Format;
328 if (imageFormat == ImageFormat.NV21) { in initializeImageReader()
1197 case ImageFormat.JPEG: in getWidth()
1200 case ImageFormat.DEPTH_JPEG: in getWidth()
1201 case ImageFormat.HEIC: in getWidth()
1202 case ImageFormat.JPEG_R: in getWidth()
1216 case ImageFormat.JPEG: in getHeight()
1219 case ImageFormat.DEPTH_JPEG: in getHeight()
1220 case ImageFormat.HEIC: in getHeight()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/
H A DMandatoryStreamCombination.java23 import android.graphics.ImageFormat;
24 import android.graphics.ImageFormat.Format;
279 return ImageFormat.YUV_420_888; in getFormat()
1754 format = ImageFormat.PRIVATE; in createUHSensorMandatoryStreamCombination()
1839 case ImageFormat.RAW_SENSOR : in createUHSensorMandatoryStreamCombination()
1842 case ImageFormat.JPEG : in createUHSensorMandatoryStreamCombination()
2091 ImageFormat.RAW_SENSOR, in enumerateAvailableSizes()
2092 ImageFormat.PRIVATE, in enumerateAvailableSizes()
2093 ImageFormat.YUV_420_888, in enumerateAvailableSizes()
2094 ImageFormat.JPEG, in enumerateAvailableSizes()
[all …]
H A DStreamConfigurationMap.java21 import android.graphics.ImageFormat;
1261 case ImageFormat.JPEG: in checkArgumentFormatInternal()
1262 case ImageFormat.HEIC: in checkArgumentFormatInternal()
1334 case ImageFormat.JPEG: in imageFormatToPublic()
1384 case ImageFormat.JPEG: in depthFormatToPublic()
1449 case ImageFormat.JPEG: in imageFormatToInternal()
1452 case ImageFormat.HEIC: in imageFormatToInternal()
1501 case ImageFormat.JPEG: in imageFormatToDataspace()
1510 case ImageFormat.HEIC: in imageFormatToDataspace()
1960 case ImageFormat.Y8: in formatToString()
[all …]
H A DColorSpaceProfiles.java22 import android.graphics.ImageFormat;
150 @ImageFormat.Format int imageFormat) { in getSupportedColorSpaces()
153 if (imageFormat == ImageFormat.UNKNOWN) { in getSupportedColorSpaces()
198 @ImageFormat.Format int imageFormat) { in getSupportedDynamicRangeProfiles()
205 if (imageFormat == ImageFormat.UNKNOWN) { in getSupportedDynamicRangeProfiles()
236 @ImageFormat.Format int imageFormat, in getSupportedColorSpacesForDynamicRange()
241 if (imageFormat == ImageFormat.UNKNOWN) { in getSupportedColorSpacesForDynamicRange()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java166 if (format != ImageFormat.NV21 && in YuvImage()
216 if (mFormat != ImageFormat.NV21 && mFormat != ImageFormat.YUY2) { in compressToJpeg()
280 if (mFormat != ImageFormat.YCBCR_P010 || sdr.getYuvFormat() != ImageFormat.YUV_420_888) { in compressToJpegR()
354 if (mFormat == ImageFormat.NV21) { in calculateOffsets()
361 if (mFormat == ImageFormat.YUY2) { in calculateOffsets()
372 case ImageFormat.NV21: in calculateStrides()
375 case ImageFormat.YCBCR_P010: in calculateStrides()
378 case ImageFormat.YUV_420_888: in calculateStrides()
381 case ImageFormat.YUY2: in calculateStrides()
393 if (mFormat == ImageFormat.NV21) { in adjustRectangle()
[all …]
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DGLTextureTarget.java26 import android.filterfw.format.ImageFormat;
42 addMaskedInputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
50 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(), in process()
52 ImageFormat.COLORSPACE_RGBA, in process()
H A DGLTextureSource.java26 import android.filterfw.format.ImageFormat;
61 addOutputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
78 FrameFormat outputFormat = ImageFormat.create(mWidth, mHeight, in process()
79 ImageFormat.COLORSPACE_RGBA, in process()
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DBitmapSource.java25 import android.filterfw.format.ImageFormat;
56 FrameFormat outputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
66 FrameFormat outputFormat = ImageFormat.create(mBitmap.getWidth(), in loadImage()
68 ImageFormat.COLORSPACE_RGBA, in loadImage()
H A DAutoFixFilter.java26 import android.filterfw.format.ImageFormat;
164 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
209 FrameFormat densityFormat = ImageFormat.create(densityDim, 1, in prepare()
210 ImageFormat.COLORSPACE_RGBA, in prepare()
297 FrameFormat shaderHistFormat = ImageFormat.create(histDims, 1, in createHistogramFrame()
298 ImageFormat.COLORSPACE_RGBA, in createHistogramFrame()
H A DCropRectFilter.java26 import android.filterfw.format.ImageFormat;
61 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
94 FrameFormat outputFormat = ImageFormat.create(mOutputWidth, mOutputHeight, in process()
95 ImageFormat.COLORSPACE_RGBA, in process()
H A DBitmapOverlayFilter.java26 import android.filterfw.format.ImageFormat;
62 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
127 FrameFormat format = ImageFormat.create(mBitmap.getWidth(), in createBitmapFrame()
129 ImageFormat.COLORSPACE_RGBA, in createBitmapFrame()
H A DRotateFilter.java27 import android.filterfw.format.ImageFormat;
57 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
105 FrameFormat outputFormat = ImageFormat.create(mOutputWidth, mOutputHeight, in process()
106 ImageFormat.COLORSPACE_RGBA, in process()
H A DToPackedGrayFilter.java28 import android.filterfw.format.ImageFormat;
65 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
105 return ImageFormat.create(ow, oh, in convertInputFormat()
106 ImageFormat.COLORSPACE_GRAY, in convertInputFormat()
H A DGrainFilter.java26 import android.filterfw.format.ImageFormat;
98 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
157 FrameFormat noiseFormat = ImageFormat.create(inputFormat.getWidth() / 2, in process()
159 ImageFormat.COLORSPACE_RGBA, in process()
H A DRedEyeFilter.java26 import android.filterfw.format.ImageFormat;
86 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
167 FrameFormat format = ImageFormat.create(bitmapWidth, bitmapHeight, in createRedEyeFrame()
168 ImageFormat.COLORSPACE_RGBA, in createRedEyeFrame()
H A DImageEncoder.java25 import android.filterfw.format.ImageFormat;
48 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
H A DToGrayFilter.java26 import android.filterfw.format.ImageFormat;
57 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
/aosp14/frameworks/base/core/java/android/hardware/camera2/
H A DCameraExtensionCharacteristics.java25 import android.graphics.ImageFormat;
219 ImageFormat.JPEG))); in generateJpegSupportedSizes()
706 case ImageFormat.YUV_420_888: in getPostviewSupportedSizes()
707 case ImageFormat.JPEG: in getPostviewSupportedSizes()
729 if (format == ImageFormat.YUV_420_888) { in getPostviewSupportedSizes()
733 } else if (format == ImageFormat.JPEG) { in getPostviewSupportedSizes()
859 case ImageFormat.YUV_420_888: in getExtensionSupportedSizes()
860 case ImageFormat.JPEG: in getExtensionSupportedSizes()
925 case ImageFormat.YUV_420_888: in getEstimatedCaptureLatencyRangeMillis()
926 case ImageFormat.JPEG: in getEstimatedCaptureLatencyRangeMillis()
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java25 import android.graphics.ImageFormat;
869 ImageFormat.YUV_420_888, 640, 480, /*input*/0, in testReadWriteStreamConfiguration()
870 ImageFormat.RGB_565, 320, 240, /*input*/1) in testReadWriteStreamConfiguration()
885 ImageFormat.RGB_565, 320, 240, /*duration*/345L), in testReadWriteStreamConfigurationDuration()
898 final int RAW16 = ImageFormat.RAW_SENSOR; in testReadWriteReprocessFormatsMap()
899 final int YUV_420_888 = ImageFormat.YUV_420_888; in testReadWriteReprocessFormatsMap()
904 YUV_420_888, 3, YUV_420_888, ImageFormat.NV21, BLOB, in testReadWriteReprocessFormatsMap()
927 YUV_420_888, ImageFormat.NV21, ImageFormat.JPEG, in testReadWriteReprocessFormatsMap()
932 YUV_420_888, ImageFormat.JPEG, in testReadWriteReprocessFormatsMap()
1207 streamConfigMap, ImageFormat.JPEG, 1920, 1080, /*output*/true); in testOverrideStreamConfigurationMap()
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java21 import android.graphics.ImageFormat;
822 if (format == ImageFormat.NV21 || format == ImageFormat.YV12) { in checkImage()
861 if (format == ImageFormat.JPEG || format == ImageFormat.DEPTH_POINT_CLOUD || in getDataFromImage()
862 format == ImageFormat.DEPTH_JPEG || format == ImageFormat.RAW_PRIVATE) { in getDataFromImage()
936 case ImageFormat.NV21: in checkAndroidImageFormat()
937 case ImageFormat.YV12: in checkAndroidImageFormat()
940 case ImageFormat.JPEG: in checkAndroidImageFormat()
943 case ImageFormat.DEPTH16: in checkAndroidImageFormat()
1350 case ImageFormat.JPEG: in validateImage()
1354 case ImageFormat.YV12: in validateImage()
[all …]
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureSource.java28 import android.filterfw.format.ImageFormat;
142 addOutputPort("video", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
147 mOutputFormat = ImageFormat.create(mWidth, mHeight, in createFormats()
148 ImageFormat.COLORSPACE_RGBA, in createFormats()
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceTargetFilter.java30 import android.filterfw.format.ImageFormat;
96 addMaskedInputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
125 MutableFrameFormat screenFormat = ImageFormat.create(mScreenWidth, in prepare()
127 ImageFormat.COLORSPACE_RGBA, in prepare()
H A DSurfaceRenderFilter.java31 import android.filterfw.format.ImageFormat;
90 addMaskedInputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
120 MutableFrameFormat screenFormat = ImageFormat.create(mSurfaceView.getWidth(), in prepare()
122 ImageFormat.COLORSPACE_RGBA, in prepare()
/aosp14/frameworks/base/media/mca/effect/java/android/media/effect/
H A DFilterEffect.java25 import android.filterfw.format.ImageFormat;
87 FrameFormat format = ImageFormat.create(width, height, in frameFromTexture()
88 ImageFormat.COLORSPACE_RGBA, in frameFromTexture()

1234