Commit b49a1a4bb0 for ffmpeg
commit b49a1a4bb0e1f10b2654068bbecc17e517ffe53f
Author: Lynne <dev@lynne.ee>
Date: Sun Sep 27 12:26:58 2026 +0900
ffv1enc_vulkan: make context model 2 the default
Its faster and compresses better than context=0 and context=1 for
high resolution data.
diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c
index c7b090c5b2..6895c24769 100644
--- a/libavcodec/ffv1enc_vulkan.c
+++ b/libavcodec/ffv1enc_vulkan.c
@@ -1471,7 +1471,7 @@ static const AVOption vulkan_encode_ffv1_options[] = {
{ "slicecrc", "Protect slices with CRCs", OFFSET(ctx.ec), AV_OPT_TYPE_INT,
{ .i64 = -1 }, -1, 2, VE },
{ "context", "Context model", OFFSET(ctx.context_model), AV_OPT_TYPE_INT,
- { .i64 = 0 }, 0, 2, VE },
+ { .i64 = 2 }, 0, 2, VE },
{ "coder", "Coder type", OFFSET(ctx.ac), AV_OPT_TYPE_INT,
{ .i64 = AC_RANGE_CUSTOM_TAB }, -2, 2, VE, .unit = "coder" },
{ "rice", "Golomb rice", 0, AV_OPT_TYPE_CONST,