Use async_depth option on vaapi for much better encoding performance

This commit is contained in:
dec05eba
2024-09-18 00:11:23 +02:00
parent 702c681a95
commit 41bd6cee63
5 changed files with 30 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
#ifndef GSR_DAMAGE_H
#define GSR_DAMAGE_H
#include "cursor.h"
#include "utils.h"
#include <stdbool.h>
#include <stdint.h>
@@ -31,7 +32,7 @@ typedef struct {
//vec2i window_pos;
vec2i window_size;
vec2i cursor_position; /* Relative to |window| */
gsr_cursor cursor; /* Relative to |window| */
gsr_monitor monitor;
char monitor_name[32];
} gsr_damage;