[FFmpeg-devel] [PATCH] lavc/libvpxenc: add -row-mt option
James Zern
jzern at google.com
Fri Mar 3 09:18:37 EET 2017
On Thu, Mar 2, 2017 at 11:00 AM, Kagami Hiiragi <kagami at genshiken.org> wrote:
> From ae3856c302284d60761c3ad122ff49b7b9b68114 Mon Sep 17 00:00:00 2001
> From: Kagami Hiiragi <kagami at genshiken.org>
> Date: Thu, 2 Mar 2017 21:19:09 +0300
> Subject: [PATCH] lavc/libvpxenc: add -row-mt option
>
> ---
> libavcodec/libvpxenc.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> [...]
> [VP9E_SET_TARGET_LEVEL] = "VP9E_SET_TARGET_LEVEL",
> [VP9E_GET_LEVEL] = "VP9E_GET_LEVEL",
> #endif
> +#if VPX_ENCODER_ABI_VERSION >= 13
Better to use #ifdef VPX_CTRL_VP9E_SET_ROW_MT.
> [...]
> +#if VPX_ENCODER_ABI_VERSION >= 13
> + {"row-mt", "Row based multi-threading", OFFSET(row_mt), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 1, VE},
> +#endif
We could use -thread_type/-slices here, though this is in line with
vpxenc. I'll leave this open to comment.
More information about the ffmpeg-devel
mailing list