Home | History | Annotate | Download | only in graphics

Lines Matching refs:yuv

22  * YuvImage contains YUV data and provides a method that compresses a region of
23 * the YUV data to a Jpeg. The YUV data should be provided as a single byte
27 * To compress a rectangle region in the YUV data, users have to specify the
39 * The YUV format as defined in {@link PixelFormat}.
44 * The raw YUV data.
68 * @param yuv The YUV data. In the case of more than one image plane, all the planes must be
70 * @param format The YUV data format as defined in {@link PixelFormat}.
73 * @param strides (Optional) Row bytes of each image plane. If yuv contains padding, the stride
76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) {
92 if (yuv == null) {
93 throw new IllegalArgumentException("yuv cannot be null");
102 mData = yuv;
148 * @return the YUV data.
155 * @return the YUV format as defined in {@link PixelFormat}.