Home | History | Annotate | Download | only in cts

Lines Matching refs:imageFormat

26 import android.graphics.ImageFormat;
237 int imageFormat = ImageFormat.YUV_420_888;
239 videoDecode(asset, imageFormat, colorFormat, mode, checkSwirl);
246 MediaAsset asset, int imageFormat, int colorFormat, int mode, boolean checkSwirl) {
294 width, height, imageFormat, mode, checkSwirl);
466 int width, int height, int imageFormat, int mode, boolean checkSwirl)
474 createImageReader(width, height, imageFormat, MAX_NUM_IMAGES, mImageListener);
570 validateImage(image, width, height, imageFormat, fileName);
702 format == ImageFormat.YUV_420_888 ||
703 format == ImageFormat.NV21 ||
704 format == ImageFormat.YV12);
707 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8;
712 if ((format != ImageFormat.YUV_420_888) &&
713 (format != ImageFormat.NV21) &&
714 (format != ImageFormat.YV12)) {
727 case ImageFormat.YUV_420_888:
728 case ImageFormat.NV21:
729 case ImageFormat.YV12:
770 data = new byte[width * height * ImageFormat.getBitsPerPixel(format) / 8];
792 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8;