diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-10 17:51:09 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-10 17:51:09 +0200 |
commit | adbd5d976615d6f4edb162899dc28c0cec9e292b (patch) | |
tree | c12c38b61e7cf1a2e31117cbb06ab13c633ded60 /include/capture | |
parent | 55266f2a689a17fc34e7f441a4b8f1f8f917a366 (diff) |
Take amd hevc video alignment padding into consideration to move video content to center of video with black bars on all sides instead of only right/bottom
Diffstat (limited to 'include/capture')
-rw-r--r-- | include/capture/capture.h | 1 | ||||
-rw-r--r-- | include/capture/kms.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/capture/capture.h b/include/capture/capture.h index 2eb8e42..c8b0cdf 100644 --- a/include/capture/capture.h +++ b/include/capture/capture.h @@ -42,6 +42,7 @@ struct gsr_capture_base { gsr_color_conversion color_conversion; AVCodecContext *video_codec_context; + vec2i video_alignment_padding; }; typedef struct { diff --git a/include/capture/kms.h b/include/capture/kms.h index 674813a..b6965fd 100644 --- a/include/capture/kms.h +++ b/include/capture/kms.h @@ -39,6 +39,7 @@ struct gsr_capture_kms { AVContentLightMetadata *light_metadata; gsr_monitor_rotation monitor_rotation; + vec2i video_alignment_padding; }; /* Returns 0 on success */ |