com.twilight.h264.decoder
Class AVPixFmtDescriptor

java.lang.Object
  extended by com.twilight.h264.decoder.AVPixFmtDescriptor
Direct Known Subclasses:
PixFmtYUV420P

public class AVPixFmtDescriptor
extends Object


Field Summary
 AVComponentDescriptor[] comp
          Parameters that describe how pixels are packed.
 int flags
           
 int log2_chroma_h
          Amount to shift the luma height right to find the chroma height.
 int log2_chroma_w
          Amount to shift the luma width right to find the chroma width.
 String name
           
 int nb_components
           
 
Constructor Summary
AVPixFmtDescriptor()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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].

Constructor Detail

AVPixFmtDescriptor

public AVPixFmtDescriptor()


Copyright © 2013. All Rights Reserved.