2019-03-21 5:10 GMT+01:00, Jing Sun <jing.a....@intel.com>:

> +    if (avctx->pix_fmt == AV_PIX_FMT_YUV420P10LE) {
> +        av_log(avctx, AV_LOG_DEBUG , "Encoder 10 bits depth input\n");
> +
> +        // Encoding the source frames of the compressed 10-bit format
> +        // supported by SVT-HEVC requires an extra conversion operation
> +        // from yuv420p10le to that format. Disable it for now in ffmpeg.

Sorry for the misunderstanding:
What happens now (with this patch) if the user provides
AV_PIX_FMT_YUV420P10LE to this FFmpeg encoder?
And what should ideally happen?

> +
> +        param->compressedTenBitFormat = 0;
> +        ten_bits = 1;
> +    }

Why doesn't this block set param->encoderBitDepth?

Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to