Searched refs:ImageFormat (Results 51 - 75 of 90) sorted by relevance

1234

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DStraightenFilter.java27 import android.filterfw.format.ImageFormat;
59 addMaskedInputPort("image", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
H A DCameraPreviewActivity.java27 import android.graphics.ImageFormat;
284 p.setPreviewFormat(ImageFormat.NV21);
290 ImageFormat.getBitsPerPixel(ImageFormat.NV21) / 8;
352 ImageFormat.getBitsPerPixel(ImageFormat.NV21) / 8;
H A DRsYuv.java89 tb.setYuvFormat(android.graphics.ImageFormat.NV21);
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DViewfinderProcessor.java19 import android.graphics.ImageFormat;
47 yuvTypeBuilder.setYuvFormat(ImageFormat.YUV_420_888);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCamera2SurfaceViewTestCase.java30 import android.graphics.ImageFormat;
287 ImageFormat.JPEG, resultListener, MAX_READER_IMAGES, imageListener);
306 ImageFormat.JPEG, resultListener, maxNumImages, imageListener);
328 ImageFormat.RAW_SENSOR, resultListener, MAX_READER_IMAGES, imageListener);
612 mSupportRAW10 = configMap.isOutputSupportedFor(ImageFormat.RAW10);
621 cameraId, mCameraManager, ImageFormat.RAW10, null);
624 cameraId, mCameraManager, ImageFormat.YUV_420_888, null);
625 // Use ImageFormat.YUV_420_888 for now. TODO: need figure out what's format for preview
628 mStaticInfo.getAvailableMinFrameDurationsForFormatChecked(ImageFormat.YUV_420_888);
762 if (format != ImageFormat
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfiguration.java22 import android.graphics.ImageFormat;
55 * or if the format was not user-defined in ImageFormat/PixelFormat
73 * @see ImageFormat
H A DStreamConfigurationDuration.java22 import android.graphics.ImageFormat;
49 * or if the format was not user-defined in ImageFormat/PixelFormat
68 * @see ImageFormat
/frameworks/base/graphics/java/android/graphics/
H A DImageFormat.java19 public class ImageFormat { class
693 * ImageFormat.
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DImageFormat.java27 public class ImageFormat { class
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DCameraSource.java29 import android.filterfw.format.ImageFormat;
115 addOutputPort("video", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
120 mOutputFormat = ImageFormat.create(mWidth, mHeight,
121 ImageFormat.COLORSPACE_RGBA,
H A DMediaSource.java31 import android.filterfw.format.ImageFormat;
174 addOutputPort("video", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
179 mOutputFormat = ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
H A DSurfaceTextureTarget.java30 import android.filterfw.format.ImageFormat;
110 addMaskedInputPort("frame", ImageFormat.create(ImageFormat.COLORSPACE_RGBA));
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2ReprocessCaptureTest.java24 import android.graphics.ImageFormat;
117 testBasicReprocessing(id, ImageFormat.YUV_420_888, ImageFormat.JPEG);
138 testBasicReprocessing(id, ImageFormat.PRIVATE, ImageFormat.JPEG);
682 setupImageReaders(inputSize, inputFormat, reprocessOutputSize, ImageFormat.JPEG,
771 if (inputFormat == ImageFormat.YUV_420_888) {
800 if (inputFormat == ImageFormat.YUV_420_888) {
1115 return isReprocessSupported(cameraId, ImageFormat.YUV_420_888);
1119 return isReprocessSupported(cameraId, ImageFormat
[all...]
H A DCamera2StillCaptureTest.java26 import android.graphics.ImageFormat;
403 ImageFormat.RAW_SENSOR, MAX_READER_IMAGES, rawListener, mHandler);
405 ImageFormat.JPEG, MAX_READER_IMAGES, jpegListener, mHandler);
569 ImageFormat.RAW_SENSOR, /*filePath*/null);
584 ImageFormat.JPEG, /*filePath*/null);
/frameworks/base/core/java/android/hardware/
H A DCamera.java24 import android.graphics.ImageFormat;
695 * <p>If using the {@link android.graphics.ImageFormat#YV12} format,
701 * by {@link android.graphics.ImageFormat}, which can be queried
855 * computed from {@link android.graphics.ImageFormat#getBitsPerPixel(int)} /
859 * <p>If using the {@link android.graphics.ImageFormat#YV12} format, the
895 * {@link android.graphics.ImageFormat#getBitsPerPixel(int)} / 8,
973 yuvBuilder.setYuvFormat(ImageFormat.YV12);
2878 * {@link android.graphics.ImageFormat#NV21}, which
2885 * {@link android.graphics.ImageFormat#NV21} or
2886 * {@link android.graphics.ImageFormat#YV1
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java19 import android.graphics.ImageFormat;
269 * Check if a given surface uses {@link ImageFormat#YUV_420_888} or format that can be readily
273 * @return {@code true} if the surfaces uses {@link ImageFormat#YUV_420_888} or a compatible
278 return nativeType == ImageFormat.YUV_420_888 || nativeType == ImageFormat.YV12 ||
279 nativeType == ImageFormat.NV21;
358 sizes = streamConfigurations.getOutputSizes(ImageFormat.YUV_420_888);
360 sizes = streamConfigurations.getOutputSizes(ImageFormat.JPEG);
611 int surfaceFormat = ImageFormat.UNKNOWN;
629 int surfaceFormat = ImageFormat
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DImageReaderTest.java21 import android.graphics.ImageFormat;
35 private static final int DEFAULT_FORMAT = ImageFormat.YUV_420_888;
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java20 import android.graphics.ImageFormat;
248 Arrays.asList(info.getOutputSizes(ImageFormat.JPEG)),
254 largestSize.getHeight(), ImageFormat.JPEG, /*maxImages*/2);
416 (mCapture.getFormat() == ImageFormat.JPEG ? "" : "n't") + " a JPEG");
/frameworks/base/rs/java/android/renderscript/
H A DType.java36 * supported are {@link android.graphics.ImageFormat#YV12},
37 * {@link android.graphics.ImageFormat#NV21}, and
38 * {@link android.graphics.ImageFormat#YUV_420_888}</p>
417 * @param yuvFormat {@link android.graphics.ImageFormat#YV12}, {@link android.graphics.ImageFormat#NV21}, or
418 * {@link android.graphics.ImageFormat#YUV_420_888}.
422 case android.graphics.ImageFormat.NV21:
423 case android.graphics.ImageFormat.YV12:
424 case android.graphics.ImageFormat.YUV_420_888:
429 "Only ImageFormat
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DType.java22 import android.graphics.ImageFormat;
43 * supported are {@link android.graphics.ImageFormat#YV12} and {@link
44 * android.graphics.ImageFormat#NV21}.</p>
345 * @param yuvFormat {@link android.graphics.ImageFormat#YV12} or {@link android.graphics.ImageFormat#NV21}
349 case android.graphics.ImageFormat.NV21:
350 case android.graphics.ImageFormat.YV12:
/frameworks/base/media/java/android/media/
H A DImageWriter.java19 import android.graphics.ImageFormat;
62 * {@link ImageFormat#PRIVATE PRIVATE} format Images produced by
199 * {@link ImageFormat#PRIVATE PRIVATE} formats (
200 * {@link ImageWriter#getFormat()} != {@link ImageFormat#PRIVATE}), it is
205 * If the format of ImageWriter is {@link ImageFormat#PRIVATE PRIVATE} (
206 * {@link ImageWriter#getFormat()} == {@link ImageFormat#PRIVATE}), the
217 * {@link ImageFormat#PRIVATE PRIVATE}, or the input
224 if (mWriterFormat == ImageFormat.PRIVATE) {
314 if (image.getFormat() == ImageFormat.PRIVATE) {
358 * {@link ImageFormat#PRIVAT
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
H A DMediaEncoderFilter.java28 import android.filterfw.format.ImageFormat;
196 addMaskedInputPort("videoframe", ImageFormat.create(ImageFormat.COLORSPACE_RGBA,
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Capabilities.java21 import android.graphics.ImageFormat;
63 s.getOutputSizes(ImageFormat.JPEG))));
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java24 import android.graphics.ImageFormat;
45 * This class is designed to be used with the {@link android.graphics.ImageFormat#RAW_SENSOR}
188 * Pixel data is interpreted as a {@link android.graphics.ImageFormat#YUV_420_888} image.
194 * {@link android.graphics.ImageFormat#YUV_420_888}.
206 if (format != ImageFormat.YUV_420_888) {
284 * Write the {@link android.graphics.ImageFormat#RAW_SENSOR} pixel data to a DNG file with
334 * Write the {@link android.graphics.ImageFormat#RAW_SENSOR} pixel data to a DNG file with
391 * {@link android.graphics.ImageFormat#RAW_SENSOR} pixel data, otherwise an
412 if (format != ImageFormat.RAW_SENSOR) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCamera2Source.java21 import android.graphics.ImageFormat;
173 yuvBuilder.setYuvFormat(ImageFormat.YUV_420_888);

Completed in 820 milliseconds

1234