aboutsummaryrefslogtreecommitdiff
path: root/include/utils.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-26 20:57:57 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-26 20:58:00 +0200
commit112640282d236587dff0fd09e5137bfbc4cfec06 (patch)
tree6eebc9f62bcfb0738d2967b76d2ccd1e42d5b6af /include/utils.h
parent5ffa725367244bf24121a50e60831a9ed0283288 (diff)
Add option to change output resolution (-s)
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
index 92eb851..9ccd26e 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -51,4 +51,6 @@ bool video_codec_context_is_vaapi(AVCodecContext *video_codec_context);
bool vaapi_copy_drm_planes_to_video_surface(AVCodecContext *video_codec_context, AVFrame *video_frame, vec2i source_pos, vec2i source_size, vec2i dest_pos, vec2i dest_size, uint32_t format, vec2i size, const int *fds, const uint32_t *offsets, const uint32_t *pitches, const uint64_t *modifiers, int num_planes);
bool vaapi_copy_egl_image_to_video_surface(gsr_egl *egl, EGLImage image, vec2i source_pos, vec2i source_size, vec2i dest_pos, vec2i dest_size, AVCodecContext *video_codec_context, AVFrame *video_frame);
+vec2i scale_keep_aspect_ratio(vec2i from, vec2i to);
+
#endif /* GSR_UTILS_H */