1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-24 02:09:03 +03:00
Files
Lynne 669f5ab083 vulkan: de-phase queue rotation and pin video pools to a single queue
All pools rotated through a family's queues in lockstep from index 0,
colliding on the same queue at the same time. Give each pool a phase
from a per-family, per-library counter: video pools are pinned to the
queue it selects, as sessions order their execution anyway, while all
other pools rotate starting from it. On e.g. Intel, a transcode now
runs decode and encode on separate engines of the shared video family.

The counters are seeded once with a random value, so that separate
processes, and separate copies of this code within one process,
de-phase statistically on drivers with a fixed queue-to-engine mapping.

Also assigns ffv1enc's per-context index once, at init.

(cherry picked from commit d0d7d81317)
[lusoris: include thread.h for ff_thread_once(); master gets it through vulkan.h]
Signed-off-by: lusoris <lusoris@proton.me>
2026-10-14 03:56:01 +02:00
..
2025-08-03 13:48:47 +02:00
2021-04-27 10:43:13 -03:00
2026-04-28 12:29:37 +00:00
2026-04-28 12:29:37 +00:00
2026-06-23 19:15:57 +02:00
…
2024-03-04 17:45:00 +01:00
…
2026-06-23 19:15:57 +02:00
2025-08-03 13:48:47 +02:00
2023-11-18 19:55:42 +01:00
…
2024-03-15 12:51:15 +01:00
2025-09-02 17:05:50 +02:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2026-01-18 03:33:04 +00:00
2025-08-03 13:48:47 +02:00
2025-12-23 03:39:16 +00:00
…
…
2025-08-03 13:48:47 +02:00
2024-06-01 18:05:58 +03:00
2025-08-03 13:48:47 +02:00
…
2021-07-21 16:35:27 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2026-06-23 19:15:57 +02:00
2024-03-31 00:08:43 +01:00
…
2025-09-02 17:05:50 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
…
…
2021-07-22 14:34:31 +02:00
2024-01-16 01:34:57 +01:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2025-08-03 13:48:47 +02:00
…
…
…
2021-07-22 14:34:31 +02:00
2022-10-17 09:51:47 +02:00
2023-09-07 00:42:10 +02:00
2025-08-03 13:48:47 +02:00
2026-06-23 19:15:57 +02:00
2026-09-18 01:19:50 +02:00
2023-08-08 09:46:11 +02:00
2025-08-03 13:48:47 +02:00
…