AVPixFmtDescriptor.log2_chroma_h

Amount to shift the luma height right to find the chroma height. For YV12 this is 1 for example. chroma_height= AV_CEIL_RSHIFT(luma_height, log2_chroma_h) The note above is needed to ensure rounding up. This value only refers to the chroma components.

struct AVPixFmtDescriptor
ubyte log2_chroma_h;

Meta