History

ffv1enc_vulkan: restrict number of execution contexts to 1

This only leads to wasting memory in a single-threaded operation. Limit this to 1 for now and leave a comment.

Lynne committed 1 year ago

Commit 66093c51 parent b75dff01 file · +1 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/ffv1enc_vulkan.c+1−1
@@ -1433,7 +1433,7 @@ static av_cold int vulkan_encode_ffv1_init(AVCodecContext *avctx) · 1432 unmodified lines
1433 }1433 }
1434 1434
1435 err = ff_vk_exec_pool_init(&fv->s, &fv->qf, &fv->exec_pool,1435 err = ff_vk_exec_pool_init(&fv->s, &fv->qf, &fv->exec_pool,
1436 fv->qf.nb_queues*4,1436 1, /* Single-threaded for now */
1437 0, 0, 0, NULL);1437 0, 0, 0, NULL);
1438 if (err < 0)1438 if (err < 0)
1439 return err;1439 return err;

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