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>This format is guaranteed to be supported for camera preview images since
76 * <p>Android Y8 format.</p>
78 * <p>Y8 is a YUV planar format comprised of a WxH Y plane only, with each pixel
80 * format.</p>
82 * <p>This format assumes
93 * in this format from a {@link android.hardware.camera2.CameraDevice}
94 * through a {@link android.media.ImageReader} object if this format is
106 * <p>Android Y16 format.</p>
108 * Y16 is a YUV planar format comprised of a WxH Y plane, with each pixel
112 * <p>This format assumes
123 * in this format from a {@link android.hardware.camera2.CameraDevice}
124 * through a {@link android.media.ImageReader} object if this format is
136 * YCbCr format, used for video. Whether this format is supported by the
143 * YCrCb format used for images, which uses the NV21 encoding format. This
144 * is the default format for camera preview images, when not otherwise set
150 * YCbCr format used for images, which uses YUYV (YUY2) encoding format.
151 * This is an alternative format for camera preview images. Whether this
152 * format is supported by the camera hardware can be determined by
163 * <p>Multi-plane Android YUV format</p>
165 * <p>This format is a generic YCbCr format, capable of describing any 4:2:0
169 * <p>Images in this format are always represented by three separate buffers
197 * <p>General raw camera sensor image format, usually representing a
212 * Raw bayer format used for images, which is 10 bit precision samples
213 * stored in 16 bit words. The filter pattern is RGGB. Whether this format
225 * @param format
226 * @return the number of bits per pixel of the given format or -1 if the
227 * format doesn't exist or is not supported.
229 public static int getBitsPerPixel(int format) {
230 switch (format) {