HomeSort by relevance Sort by last modified time
    Searched refs:ImageFormat (Results 1 - 25 of 109) sorted by null

1 2 3 4 5

  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
CameraTestUtils.java 19 import android.graphics.ImageFormat;
122 if ((format != ImageFormat.YUV_420_888) &&
123 (format != ImageFormat.NV21) &&
124 (format != ImageFormat.YV12) &&
125 (format != ImageFormat.Y8) &&
126 (format != ImageFormat.Y16)) {
170 if (format == ImageFormat.JPEG) {
179 data = new byte[width * height * ImageFormat.getBitsPerPixel(format) / 8];
200 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8;
232 case ImageFormat.YUV_420_888
    [all...]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
GLTextureSource.java 27 import android.filterfw.format.ImageFormat;
64 addOutputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
81 FrameFormat outputFormat = ImageFormat.create(mWidth, mHeight,
82 ImageFormat.COLORSPACE_RGBA,
GLTextureTarget.java 27 import android.filterfw.format.ImageFormat;
45 addMaskedInputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
53 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(),
55 ImageFormat.COLORSPACE_RGBA,
  /frameworks/base/graphics/java/android/graphics/
YuvImage.java 25 * 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.YUY
    [all...]
ImageFormat.java 19 public class ImageFormat {
223 * ImageFormat.
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
BitmapSource.java 31 import android.filterfw.format.ImageFormat;
62 FrameFormat outputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
72 FrameFormat outputFormat = ImageFormat.create(mBitmap.getWidth(),
74 ImageFormat.COLORSPACE_RGBA,
ImageEncoder.java 27 import android.filterfw.format.ImageFormat;
53 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
ToGrayFilter.java 31 import android.filterfw.format.ImageFormat;
66 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
BitmapOverlayFilter.java 29 import android.filterfw.format.ImageFormat;
68 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
133 FrameFormat format = ImageFormat.create(mBitmap.getWidth(),
135 ImageFormat.COLORSPACE_RGBA,
CropRectFilter.java 30 import android.filterfw.format.ImageFormat;
66 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
99 FrameFormat outputFormat = ImageFormat.create(mOutputWidth, mOutputHeight,
100 ImageFormat.COLORSPACE_RGBA,
ToPackedGrayFilter.java 28 import android.filterfw.format.ImageFormat;
67 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
107 return ImageFormat.create(ow, oh,
108 ImageFormat.COLORSPACE_GRAY,
ColorTemperatureFilter.java 29 import android.filterfw.format.ImageFormat;
69 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
CrossProcessFilter.java 29 import android.filterfw.format.ImageFormat;
82 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
DrawOverlayFilter.java 30 import android.filterfw.format.ImageFormat;
48 FrameFormat imageFormatMask = ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
NegativeFilter.java 29 import android.filterfw.format.ImageFormat;
55 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
PosterizeFilter.java 29 import android.filterfw.format.ImageFormat;
58 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
SepiaFilter.java 29 import android.filterfw.format.ImageFormat;
56 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
SimpleImageFilter.java 29 import android.filterfw.format.ImageFormat;
59 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
ToRGBAFilter.java 30 import android.filterfw.format.ImageFormat;
63 result.setMetaValue(ImageFormat.COLORSPACE_KEY, ImageFormat.COLORSPACE_RGBA);
ToRGBFilter.java 30 import android.filterfw.format.ImageFormat;
63 result.setMetaValue(ImageFormat.COLORSPACE_KEY, ImageFormat.COLORSPACE_RGB);
  /frameworks/base/media/mca/effect/java/android/media/effect/
FilterEffect.java 28 import android.filterfw.format.ImageFormat;
90 FrameFormat format = ImageFormat.create(width, height,
91 ImageFormat.COLORSPACE_RGBA,
  /frameworks/base/media/java/android/media/
ImageReader.java 19 import android.graphics.ImageFormat;
84 * must be one of the {@link android.graphics.ImageFormat} or
86 * not all formats is supported, like ImageFormat.NV21.
119 if (format == ImageFormat.NV21) {
158 * The {@link ImageFormat image format} of each Image.
166 * @see ImageFormat
454 * {@link android.graphics.ImageFormat ImageFormat} and
459 * decoder), formats from {@link android.graphics.ImageFormat ImageFormat}
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
CameraFormatsActivity.java 27 import android.graphics.ImageFormat;
134 // Must be kept in sync with android.graphics.ImageFormat manually
136 mPreviewFormatNames.append(ImageFormat.JPEG, "JPEG");
137 mPreviewFormatNames.append(ImageFormat.NV16, "NV16");
138 mPreviewFormatNames.append(ImageFormat.NV21, "NV21");
139 mPreviewFormatNames.append(ImageFormat.RGB_565, "RGB_565");
140 mPreviewFormatNames.append(ImageFormat.UNKNOWN, "UNKNOWN");
141 mPreviewFormatNames.append(ImageFormat.YUY2, "YUY2");
142 mPreviewFormatNames.append(ImageFormat.YV12, "YV12");
421 case ImageFormat.NV16
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCameraParameters.java 3 import android.graphics.ImageFormat;
22 private int previewFormat = ImageFormat.NV21;
71 formats.add(ImageFormat.NV21);
72 formats.add(ImageFormat.JPEG);
79 formats.add(ImageFormat.NV21);
80 formats.add(ImageFormat.JPEG);
  /cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java 29 import android.graphics.ImageFormat;
55 private int[] mFormats = { ImageFormat.NV21, ImageFormat.YUY2 };
112 if (mFormats[i] == ImageFormat.NV21) {
114 } else if (mFormats[i] == ImageFormat.YUY2) {
164 // <ImageFormat, Bitmap, HasPaddings, Rect>
193 YuvImage image = generateYuvImage(ImageFormat.YUY2, mTestBitmaps[0], 0);
205 byte[] yuv = convertArgbsToYuvs(argb, stride, height, ImageFormat.NV21);
209 YuvImage image = new YuvImage(yuv, ImageFormat.NV21, width, height, strides);
215 YuvImage image = generateYuvImage(ImageFormat.YUY2, mTestBitmaps[0], 0)
    [all...]

Completed in 691 milliseconds

1 2 3 4 5