[FFmpeg-devel] [PATCH] avcodec/libx265: allow 12bit input formats, update warnings

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu Jul 9 17:58:19 CEST 2015


Apologies if this comes through as HTML. I am internet-less and
using the Gmail web interface.

On Wed, Jul 8, 2015 at 11:54 PM, Steve Borho <steve at borho.org> wrote:
> The range extension profiles have been fully ratified so there
> is no reason to require -strict experimental for them. However
> Main12 support in x265 is experimental so I check for that
> instead.


> -    if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL &&
> -        !av_pix_fmt_desc_get(avctx->pix_fmt)->log2_chroma_w) {
> +    if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL && ctx->api->bit_depth == 12) {

Style nit: Add a break like it previously had.

Also, do you need an API bump in configure for this?

Rest LGTM.

- Derek

More information about the ffmpeg-devel mailing list