Home
last modified time | relevance | path

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

123

/frameworks/base/graphics/java/android/graphics/
DYuvImage.java80 if (format != ImageFormat.NV21 && in YuvImage()
81 format != ImageFormat.YUY2) { in YuvImage()
184 if (mFormat == ImageFormat.NV21) { in calculateOffsets()
191 if (mFormat == ImageFormat.YUY2) { in calculateOffsets()
201 if (format == ImageFormat.NV21) { in calculateStrides()
206 if (format == ImageFormat.YUY2) { in calculateStrides()
217 if (mFormat == ImageFormat.NV21) { in adjustRectangle()
227 if (mFormat == ImageFormat.YUY2) { in adjustRectangle()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DGLTextureTarget.java27 import android.filterfw.format.ImageFormat;
45 addMaskedInputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
53 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(), in process()
55 ImageFormat.COLORSPACE_RGBA, in process()
DGLTextureSource.java27 import android.filterfw.format.ImageFormat;
64 addOutputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
81 FrameFormat outputFormat = ImageFormat.create(mWidth, mHeight, in process()
82 ImageFormat.COLORSPACE_RGBA, in process()
/frameworks/base/media/java/android/media/
DImageReader.java19 import android.graphics.ImageFormat;
119 if (format == ImageFormat.NV21) { in ImageReader()
464 case ImageFormat.YV12: in getNumPlanesFromFormat()
465 case ImageFormat.YUV_420_888: in getNumPlanesFromFormat()
466 case ImageFormat.NV21: in getNumPlanesFromFormat()
468 case ImageFormat.NV16: in getNumPlanesFromFormat()
474 case ImageFormat.JPEG: in getNumPlanesFromFormat()
475 case ImageFormat.YUY2: in getNumPlanesFromFormat()
476 case ImageFormat.Y8: in getNumPlanesFromFormat()
477 case ImageFormat.Y16: in getNumPlanesFromFormat()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DBitmapSource.java31 import android.filterfw.format.ImageFormat;
62 FrameFormat outputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
72 FrameFormat outputFormat = ImageFormat.create(mBitmap.getWidth(), in loadImage()
74 ImageFormat.COLORSPACE_RGBA, in loadImage()
DAutoFixFilter.java27 import android.filterfw.format.ImageFormat;
167 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
212 FrameFormat densityFormat = ImageFormat.create(densityDim, 1, in prepare()
213 ImageFormat.COLORSPACE_RGBA, in prepare()
300 FrameFormat shaderHistFormat = ImageFormat.create(histDims, 1, in createHistogramFrame()
301 ImageFormat.COLORSPACE_RGBA, in createHistogramFrame()
DCropRectFilter.java30 import android.filterfw.format.ImageFormat;
66 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
99 FrameFormat outputFormat = ImageFormat.create(mOutputWidth, mOutputHeight, in process()
100 ImageFormat.COLORSPACE_RGBA, in process()
DBitmapOverlayFilter.java29 import android.filterfw.format.ImageFormat;
68 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
133 FrameFormat format = ImageFormat.create(mBitmap.getWidth(), in createBitmapFrame()
135 ImageFormat.COLORSPACE_RGBA, in createBitmapFrame()
DToPackedGrayFilter.java28 import android.filterfw.format.ImageFormat;
67 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
107 return ImageFormat.create(ow, oh, in convertInputFormat()
108 ImageFormat.COLORSPACE_GRAY, in convertInputFormat()
DRotateFilter.java31 import android.filterfw.format.ImageFormat;
62 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
110 FrameFormat outputFormat = ImageFormat.create(mOutputWidth, mOutputHeight, in process()
111 ImageFormat.COLORSPACE_RGBA, in process()
DGrainFilter.java29 import android.filterfw.format.ImageFormat;
103 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
162 FrameFormat noiseFormat = ImageFormat.create(inputFormat.getWidth() / 2, in process()
164 ImageFormat.COLORSPACE_RGBA, in process()
DImageEncoder.java27 import android.filterfw.format.ImageFormat;
53 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
DRedEyeFilter.java29 import android.filterfw.format.ImageFormat;
91 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
172 FrameFormat format = ImageFormat.create(bitmapWidth, bitmapHeight, in createRedEyeFrame()
173 ImageFormat.COLORSPACE_RGBA, in createRedEyeFrame()
DToGrayFilter.java31 import android.filterfw.format.ImageFormat;
66 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
DPosterizeFilter.java29 import android.filterfw.format.ImageFormat;
58 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
DNegativeFilter.java29 import android.filterfw.format.ImageFormat;
55 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
DDrawOverlayFilter.java30 import android.filterfw.format.ImageFormat;
48 FrameFormat imageFormatMask = ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
DCrossProcessFilter.java29 import android.filterfw.format.ImageFormat;
82 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
DSepiaFilter.java29 import android.filterfw.format.ImageFormat;
56 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
DToRGBFilter.java30 import android.filterfw.format.ImageFormat;
63 result.setMetaValue(ImageFormat.COLORSPACE_KEY, ImageFormat.COLORSPACE_RGB); in getConvertedFormat()
DToRGBAFilter.java30 import android.filterfw.format.ImageFormat;
63 result.setMetaValue(ImageFormat.COLORSPACE_KEY, ImageFormat.COLORSPACE_RGBA); in getConvertedFormat()
/frameworks/base/media/mca/effect/java/android/media/effect/
DFilterEffect.java28 import android.filterfw.format.ImageFormat;
90 FrameFormat format = ImageFormat.create(width, height, in frameFromTexture()
91 ImageFormat.COLORSPACE_RGBA, in frameFromTexture()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
DSurfaceTargetFilter.java34 import android.filterfw.format.ImageFormat;
104 addMaskedInputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
133 MutableFrameFormat screenFormat = ImageFormat.create(mScreenWidth, in prepare()
135 ImageFormat.COLORSPACE_RGBA, in prepare()
DSurfaceRenderFilter.java35 import android.filterfw.format.ImageFormat;
98 addMaskedInputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA)); in setupPorts()
128 MutableFrameFormat screenFormat = ImageFormat.create(mSurfaceView.getWidth(), in prepare()
130 ImageFormat.COLORSPACE_RGBA, in prepare()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureSource.java32 import android.filterfw.format.ImageFormat;
154 addOutputPort("video", ImageFormat.create(ImageFormat.COLORSPACE_RGBA, in setupPorts()
159 mOutputFormat = ImageFormat.create(mWidth, mHeight, in createFormats()
160 ImageFormat.COLORSPACE_RGBA, in createFormats()

123