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