/aosp14/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 19 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 D | ImageReader.java | 27 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 D | MandatoryStreamCombination.java | 23 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 D | StreamConfigurationMap.java | 21 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 D | ColorSpaceProfiles.java | 22 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 D | YuvImage.java | 166 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 D | GLTextureTarget.java | 26 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 D | GLTextureSource.java | 26 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 D | BitmapSource.java | 25 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 D | AutoFixFilter.java | 26 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 D | CropRectFilter.java | 26 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 D | BitmapOverlayFilter.java | 26 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 D | RotateFilter.java | 27 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 D | ToPackedGrayFilter.java | 28 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 D | GrainFilter.java | 26 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 D | RedEyeFilter.java | 26 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 D | ImageEncoder.java | 25 import android.filterfw.format.ImageFormat; 48 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
|
H A D | ToGrayFilter.java | 26 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 D | CameraExtensionCharacteristics.java | 25 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 D | CameraMetadataTest.java | 25 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 D | CameraTestUtils.java | 21 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 D | SurfaceTextureSource.java | 28 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 D | SurfaceTargetFilter.java | 30 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 D | SurfaceRenderFilter.java | 31 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 D | FilterEffect.java | 25 import android.filterfw.format.ImageFormat; 87 FrameFormat format = ImageFormat.create(width, height, in frameFromTexture() 88 ImageFormat.COLORSPACE_RGBA, in frameFromTexture()
|