Searched refs:NV21 (Results 1 - 18 of 18) sorted by path

/frameworks/base/core/java/android/hardware/
H A DCamera.java734 * (NV21) format.
2942 * {@link android.graphics.ImageFormat#NV21}, which
2943 * uses the NV21 encoding format.</p>
2949 * {@link android.graphics.ImageFormat#NV21} or
2978 * <var>ImageFormat.NV21</var> (default), or
3007 * Gets the supported preview formats. {@link android.graphics.ImageFormat#NV21}
3069 * (<var>ImageFormat.NV21</var>,
3115 case ImageFormat.NV21: return PIXEL_FORMAT_YUV420SP;
3132 return ImageFormat.NV21;
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java291 * converted to this; YV12 and NV21 are the two currently supported formats.
300 nativeType == ImageFormat.NV21;
H A DLegacyMetadataMapper.java332 if (ImageFormat.isPublicFormat(format) && format != ImageFormat.NV21) {
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java438 * <p>If a well-defined format such as {@code NV21} is required, use
1587 case ImageFormat.NV21:
1588 return "NV21";
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp161 case PublicFormat::NV21:
201 return PublicFormat::NV21;
/frameworks/base/core/jni/include/android_runtime/
H A Dandroid_view_Surface.h44 NV21 = 0x11, member in class:android::PublicFormat
/frameworks/base/graphics/java/android/graphics/
H A DImageFormat.java151 * YCrCb format used for images, which uses the NV21 encoding format.
160 public static final int NV21 = 0x11; field in class:ImageFormat
731 case NV21:
773 case NV21:
H A DYuvImage.java25 * Currently only ImageFormat.NV21 and ImageFormat.YUY2 are supported.
80 if (format != ImageFormat.NV21 &&
83 "only support ImageFormat.NV21 " +
110 * Only ImageFormat.NV21 and ImageFormat.YUY2
184 if (mFormat == ImageFormat.NV21) {
201 if (format == ImageFormat.NV21) {
217 if (mFormat == ImageFormat.NV21) {
/frameworks/base/media/java/android/media/
H A DImageReader.java121 * all formats are supported, like ImageFormat.NV21.
204 * constants. Note that not all formats are supported, like ImageFormat.NV21.
244 if (format == ImageFormat.NV21) {
246 "NV21 format is not supported");
H A DImageUtils.java47 case ImageFormat.NV21:
157 // Special case for NV21 backed YUV420_888: need handle the last row
205 case ImageFormat.NV21:
239 case ImageFormat.NV21:
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java774 (format != ImageFormat.NV21) &&
784 // Image reader will wrap YV12/NV21 image by YUV_420_888
785 if (format == ImageFormat.NV21 || format == ImageFormat.YV12) {
797 * software conveniently. It supports YUV_420_888/NV21/YV12 and JPEG input
800 * <p>For YUV_420_888/NV21/YV12/Y8/Y16, it returns a byte array that contains
892 * <p>YUV_420_888/NV21/YV12, can add more for future</p>
899 case ImageFormat.NV21:
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2ReprocessCaptureTest.java1129 case ImageFormat.NV21:
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java898 YUV_420_888, 3, YUV_420_888, ImageFormat.NV21, BLOB,
921 YUV_420_888, ImageFormat.NV21, ImageFormat.JPEG,
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java2856 if (mType.getYuv() == android.graphics.ImageFormat.NV21 ||
H A DType.java37 * {@link android.graphics.ImageFormat#NV21}, and
416 * @param yuvFormat {@link android.graphics.ImageFormat#YV12}, {@link android.graphics.ImageFormat#NV21}, or
421 case android.graphics.ImageFormat.NV21:
428 "Only ImageFormat.NV21, .YV12, and .YUV_420_888 are supported..");
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DType.java44 * 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:
354 throw new RSIllegalArgumentException("Only NV21 and YV12 are supported..");
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
H A DCameraPreviewActivity.java285 p.setPreviewFormat(ImageFormat.NV21);
291 ImageFormat.getBitsPerPixel(ImageFormat.NV21) / 8;
353 ImageFormat.getBitsPerPixel(ImageFormat.NV21) / 8;
H A DRsYuv.java89 tb.setYuvFormat(android.graphics.ImageFormat.NV21);

Completed in 313 milliseconds