com.twilight.h264.decoder
Class AVPixFmtDescriptor
java.lang.Object
com.twilight.h264.decoder.AVPixFmtDescriptor
- Direct Known Subclasses:
- PixFmtYUV420P
public class AVPixFmtDescriptor
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public String name
nb_components
public int nb_components
log2_chroma_w
public int log2_chroma_w
- Amount to shift the luma width right to find the chroma width.
For YV12 this is 1 for example.
chroma_width = -((-luma_width) >> log2_chroma_w)
The note above is needed to ensure rounding up.
This value only refers to the chroma components.
log2_chroma_h
public int log2_chroma_h
- Amount to shift the luma height right to find the chroma height.
For YV12 this is 1 for example.
chroma_height= -((-luma_height) >> log2_chroma_h)
The note above is needed to ensure rounding up.
This value only refers to the chroma components.
flags
public int flags
comp
public AVComponentDescriptor[] comp
- Parameters that describe how pixels are packed. If the format
has chroma components, they must be stored in comp[1] and
comp[2].
AVPixFmtDescriptor
public AVPixFmtDescriptor()
Copyright © 2013. All Rights Reserved.