com.googlecode.mp4parser.h264.model
Class ChromaFormat

java.lang.Object
  extended by com.googlecode.mp4parser.h264.model.ChromaFormat

public class ChromaFormat
extends Object

Chroma format enum

Author:
Stanislav Vitvitskiy

Field Summary
static ChromaFormat MONOCHROME
           
static ChromaFormat YUV_420
           
static ChromaFormat YUV_422
           
static ChromaFormat YUV_444
           
 
Constructor Summary
ChromaFormat(int id, int subWidth, int subHeight)
           
 
Method Summary
static ChromaFormat fromId(int id)
           
 int getId()
           
 int getSubHeight()
           
 int getSubWidth()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MONOCHROME

public static ChromaFormat MONOCHROME

YUV_420

public static ChromaFormat YUV_420

YUV_422

public static ChromaFormat YUV_422

YUV_444

public static ChromaFormat YUV_444
Constructor Detail

ChromaFormat

public ChromaFormat(int id,
                    int subWidth,
                    int subHeight)
Method Detail

fromId

public static ChromaFormat fromId(int id)

getId

public int getId()

getSubWidth

public int getSubWidth()

getSubHeight

public int getSubHeight()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.