Lines Matching defs: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 * YCbCr format, used for video. Whether this format is supported by the
83 * YCrCb format used for images, which uses the NV21 encoding format. This
84 * is the default format for camera preview images, when not otherwise set
90 * YCbCr format used for images, which uses YUYV (YUY2) encoding format.
91 * This is an alternative format for camera preview images. Whether this
92 * format is supported by the camera hardware can be determined by
103 * Raw bayer format used for images, which is 10 bit precision samples
104 * stored in 16 bit words. The filter pattern is RGGB. Whether this format
116 * @param format
117 * @return the number of bits per pixel of the given format or -1 if the
118 * format doesn't exist or is not supported.
120 public static int getBitsPerPixel(int format) {
121 switch (format) {