public class ChromaFormat extends Object
| Modifier and Type | Field and Description |
|---|---|
static ChromaFormat |
MONOCHROME |
static ChromaFormat |
YUV_420 |
static ChromaFormat |
YUV_422 |
static ChromaFormat |
YUV_444 |
| Constructor and Description |
|---|
ChromaFormat(int id,
int subWidth,
int subHeight) |
| Modifier and Type | Method and Description |
|---|---|
static ChromaFormat |
fromId(int id) |
int |
getId() |
int |
getSubHeight() |
int |
getSubWidth() |
String |
toString() |
public static ChromaFormat MONOCHROME
public static ChromaFormat YUV_420
public static ChromaFormat YUV_422
public static ChromaFormat YUV_444
public static ChromaFormat fromId(int id)
public int getId()
public int getSubWidth()
public int getSubHeight()
Copyright © 2019. All rights reserved.