avcodec_get_chroma_sub_sample

Utility function to access log2_chroma_w log2_chroma_h from the pixel format AVPixFmtDescriptor.

This function asserts that pix_fmt is valid. See av_pix_fmt_get_chroma_sub_sample for one that returns a failure code and continues in case of invalid pix_fmts.

@paramin pix_fmt the pixel format @paramout h_shift store log2_chroma_h @paramout v_shift store log2_chroma_w

@see av_pix_fmt_get_chroma_sub_sample

@nogc nothrow extern (C)
void
avcodec_get_chroma_sub_sample

Meta