Searched refs:ImageFormat (Results 1 - 25 of 90) sorted by relevance

1234

/frameworks/base/media/java/android/media/
H A DImageUtils.java19 import android.graphics.ImageFormat;
35 * {@link android.graphics.ImageFormat ImageFormat} and
40 * decoder), formats from {@link android.graphics.ImageFormat ImageFormat}
45 case ImageFormat.YV12:
46 case ImageFormat.YUV_420_888:
47 case ImageFormat.NV21:
49 case ImageFormat.NV16:
55 case ImageFormat
[all...]
H A DImageReader.java19 import android.graphics.ImageFormat;
89 * If the {@code format} is {@link ImageFormat#PRIVATE PRIVATE}, the created
95 * getPlanes()} will return an empty array for {@link ImageFormat#PRIVATE
100 * {@link ImageFormat#PRIVATE PRIVATE} format {@link ImageReader
103 * as {@link ImageFormat#YUV_420_888 YUV_420_888}.
111 * must be one of the {@link android.graphics.ImageFormat} or
113 * all formats are supported, like ImageFormat.NV21.
145 if (format == ImageFormat.NV21) {
195 * The default {@link ImageFormat image format} of {@link Image Images}.
207 * @see ImageFormat
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DGLTextureSource.java26 import android.filterfw.format.ImageFormat;
61 addOutputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
78 FrameFormat outputFormat = ImageFormat.create(mWidth, mHeight,
79 ImageFormat.COLORSPACE_RGBA,
H A DGLTextureTarget.java26 import android.filterfw.format.ImageFormat;
42 addMaskedInputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
50 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(),
52 ImageFormat.COLORSPACE_RGBA,
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DImageEncoder.java25 import android.filterfw.format.ImageFormat;
48 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
H A DBitmapSource.java25 import android.filterfw.format.ImageFormat;
56 FrameFormat outputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
66 FrameFormat outputFormat = ImageFormat.create(mBitmap.getWidth(),
68 ImageFormat.COLORSPACE_RGBA,
H A DCrossProcessFilter.java26 import android.filterfw.format.ImageFormat;
77 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
H A DDrawOverlayFilter.java26 import android.filterfw.format.ImageFormat;
42 FrameFormat imageFormatMask = ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
H A DNegativeFilter.java26 import android.filterfw.format.ImageFormat;
52 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
H A DPosterizeFilter.java26 import android.filterfw.format.ImageFormat;
55 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
H A DToGrayFilter.java26 import android.filterfw.format.ImageFormat;
57 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
H A DBitmapOverlayFilter.java26 import android.filterfw.format.ImageFormat;
62 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
127 FrameFormat format = ImageFormat.create(mBitmap.getWidth(),
129 ImageFormat.COLORSPACE_RGBA,
H A DCropRectFilter.java26 import android.filterfw.format.ImageFormat;
61 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
94 FrameFormat outputFormat = ImageFormat.create(mOutputWidth, mOutputHeight,
95 ImageFormat.COLORSPACE_RGBA,
H A DToPackedGrayFilter.java28 import android.filterfw.format.ImageFormat;
65 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
105 return ImageFormat.create(ow, oh,
106 ImageFormat.COLORSPACE_GRAY,
H A DColorTemperatureFilter.java26 import android.filterfw.format.ImageFormat;
65 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
H A DFlipFilter.java26 import android.filterfw.format.ImageFormat;
51 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
H A DSepiaFilter.java26 import android.filterfw.format.ImageFormat;
53 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
H A DSimpleImageFilter.java25 import android.filterfw.format.ImageFormat;
53 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
H A DTintFilter.java26 import android.filterfw.format.ImageFormat;
59 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
H A DToRGBAFilter.java27 import android.filterfw.format.ImageFormat;
58 result.setMetaValue(ImageFormat.COLORSPACE_KEY, ImageFormat.COLORSPACE_RGBA);
H A DToRGBFilter.java27 import android.filterfw.format.ImageFormat;
58 result.setMetaValue(ImageFormat.COLORSPACE_KEY, ImageFormat.COLORSPACE_RGB);
H A DGrainFilter.java26 import android.filterfw.format.ImageFormat;
98 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
157 FrameFormat noiseFormat = ImageFormat.create(inputFormat.getWidth() / 2,
159 ImageFormat.COLORSPACE_RGBA,
H A DRedEyeFilter.java26 import android.filterfw.format.ImageFormat;
86 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
167 FrameFormat format = ImageFormat.create(bitmapWidth, bitmapHeight,
168 ImageFormat.COLORSPACE_RGBA,
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java25 * Currently only ImageFormat.NV21 and ImageFormat.YUY2 are supported.
39 * The YUV format as defined in {@link ImageFormat}.
70 * @param format The YUV data format as defined in {@link ImageFormat}.
80 if (format != ImageFormat.NV21 &&
81 format != ImageFormat.YUY2) {
83 "only support ImageFormat.NV21 " +
84 "and ImageFormat.YUY2 for now");
110 * Only ImageFormat.NV21 and ImageFormat
[all...]
/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,
88 ImageFormat.COLORSPACE_RGBA,

Completed in 168 milliseconds

1234