av_pix_fmt_get_chroma_sub_sample

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

@paramin pix_fmt the pixel format @paramout h_shift store log2_chroma_w (horizontal/width shift) @paramout v_shift store log2_chroma_h (vertical/height shift)

@return 0 on success, AVERROR(ENOSYS) on invalid or unknown pixel format

extern (C) @nogc nothrow
int
av_pix_fmt_get_chroma_sub_sample

Meta