Lines Matching refs:format

28      * RGB format used for pictures encoded as RGB_565. See
34 * <p>Android YUV format.</p>
36 * <p>This format is exposed to software decoders and applications.</p>
38 * <p>YV12 is a 4:2:0 YCrCb planar format comprised of a WxH Y plane followed
41 * <p>This format assumes
57 * <p>For the {@link android.hardware.camera2} API, the {@link #YUV_420_888} format is
60 * <p>For the older camera API, this format is guaranteed to be supported for
79 * <p>Android Y8 format.</p>
81 * <p>Y8 is a YUV planar format comprised of a WxH Y plane only, with each pixel
83 * format.</p>
85 * <p>This format assumes
96 * in this format from a {@link android.hardware.camera2.CameraDevice}
97 * through a {@link android.media.ImageReader} object if this format is
109 * <p>Android Y16 format.</p>
111 * Y16 is a YUV planar format comprised of a WxH Y plane, with each pixel
115 * <p>This format assumes
126 * in this format from a {@link android.hardware.camera2.CameraDevice}
127 * through a {@link android.media.ImageReader} object if this format is
139 * YCbCr format, used for video.
141 * <p>For the {@link android.hardware.camera2} API, the {@link #YUV_420_888} format is
144 * <p>Whether this format is supported by the old camera API can be determined by
151 * YCrCb format used for images, which uses the NV21 encoding format.
153 * <p>This is the default format
157 * <p>For the {@link android.hardware.camera2} API, the {@link #YUV_420_888} format is
163 * YCbCr format used for images, which uses YUYV (YUY2) encoding format.
165 * <p>For the {@link android.hardware.camera2} API, the {@link #YUV_420_888} format is
168 * <p>This is an alternative format for {@link android.hardware.Camera} preview images. Whether
169 * this format is supported by the camera hardware can be determined by
175 * Compressed JPEG format.
177 * <p>This format is always supported as an output format for the
178 * {@link android.hardware.camera2} API, and as a picture format for the older
184 * <p>Multi-plane Android YUV 420 format</p>
186 * <p>This format is a generic YCbCr format, capable of describing any 4:2:0
190 * <p>Images in this format are always represented by three separate buffers
212 * in this format from a {@link android.hardware.camera2.CameraDevice}
222 * <p>Multi-plane Android YUV 422 format</p>
224 * <p>This format is a generic YCbCr format, capable of describing any 4:2:2
225 * chroma-subsampled (planar, semiplanar or interleaved) format,
228 * <p>Images in this format are always represented by three separate buffers
237 * <p>In contrast to the {@link #YUV_420_888} format, the Y-plane may have a pixel
250 * in this format from a {@link android.media.MediaCodec}
259 * <p>Multi-plane Android YUV 444 format</p>
261 * <p>This format is a generic YCbCr format, capable of describing any 4:4:4
262 * (planar, semiplanar or interleaved) format,
265 * <p>Images in this format are always represented by three separate buffers
274 * <p>In contrast to the {@link #YUV_420_888} format, the Y-plane may have a pixel
287 * in this format from a {@link android.media.MediaCodec}
296 * <p>Multi-plane Android RGB format</p>
298 * <p>This format is a generic RGB format, capable of describing most RGB formats,
301 * <p>Images in this format are always represented by three separate buffers
314 * in this format from a {@link android.media.MediaCodec}
323 * <p>Multi-plane Android RGBA format</p>
325 * <p>This format is a generic RGBA format, capable of describing most RGBA formats,
328 * <p>Images in this format are always represented by four separate buffers
336 * and plane #3 is always A (alpha). This format may represent pre-multiplied or
342 * in this format from a {@link android.media.MediaCodec}
351 * <p>General raw camera sensor image format, usually representing a
365 * Android 10-bit raw format
369 * unprocessed format, usually representing raw Bayer-pattern images coming
373 * In an image buffer with this format, starting from the first pixel of
452 * This format assumes
463 * Since this is a densely packed format, the pixel stride is always 0. The
472 * this format from a {@link android.hardware.camera2.CameraDevice} (if
489 * Android 12-bit raw format
493 * unprocessed format, usually representing raw Bayer-pattern images coming
497 * In an image buffer with this format, starting from the first pixel of each
554 * This format assumes
565 * Since this is a densely packed format, the pixel stride is always 0. The
574 * this format from a {@link android.hardware.camera2.CameraDevice} (if
590 * <p>Android dense depth image format.</p>
602 * of a DEPTH16-format {@link android.media.Image}, and converts the confidence to a
614 * <p>This format assumes
629 * Android sparse depth point cloud format.
641 * format {@link android.media.Image}:
654 * Android private opaque image format.
656 * The choices of the actual format and pixel data layout are entirely up to
659 * format can be produced by components like
666 * When an {@link android.media.Image Image} of this format is obtained from
673 * If a buffer of this format is to be used as an OpenGL ES texture, the
684 * @param format
685 * @return the number of bits per pixel of the given format or -1 if the
686 * format doesn't exist or is not supported.
688 public static int getBitsPerPixel(int format) {
689 switch (format) {
726 * Determine whether or not this is a public-visible {@code format}.
732 * @param format an integer format
737 public static boolean isPublicFormat(int format) {
738 switch (format) {