History

ffv1enc_vulkan: clip micro_version to 3 for level 4

This unbreaks level 4 encoding.

Lynne committed 1 year ago

Commit dd7cc551 parent b2ebe981 file · +4 −0Browse files

Unified · Split

libavcodec/ffv1enc_vulkan.c+4−0
@@ -1398,6 +1398,10 @@ static av_cold int vulkan_encode_ffv1_init(AVCodecContext *avctx) · 1397 unmodified lines
1398 return AVERROR_INVALIDDATA;1398 return AVERROR_INVALIDDATA;
1399 }1399 }
1400 1400
1401 /* We target version 4.3 */
1402 if (f->version == 4 && f->micro_version > 4)
1403 f->micro_version = 3;
1404
1401 //if (fv->ctx.ac == AC_GOLOMB_RICE) {1405 //if (fv->ctx.ac == AC_GOLOMB_RICE) {
1402 if (0) {1406 if (0) {
1403 int w_a = FFALIGN(avctx->width, LG_ALIGN_W);1407 int w_a = FFALIGN(avctx->width, LG_ALIGN_W);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t