From b8a521a785e1c40ef247e6536f284afd9e39922a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 Mar 2025 15:38:05 +0100 Subject: Reapply "WIP: use compute shader instead of graphics shader for better performance (especially on amd)" This reverts commit f85a7ab2055ddc8e2231a380f0c46e29e42c2072. --- include/utils.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/utils.h') diff --git a/include/utils.h b/include/utils.h index fd340e8..873e6e4 100644 --- a/include/utils.h +++ b/include/utils.h @@ -64,8 +64,6 @@ int create_directory_recursive(char *path); /* |img_attr| needs to be at least 44 in size */ void setup_dma_buf_attrs(intptr_t *img_attr, uint32_t format, uint32_t width, uint32_t height, const int *fds, const uint32_t *offsets, const uint32_t *pitches, const uint64_t *modifiers, int num_planes, bool use_modifier); 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); -- cgit v1.2.3-70-g09d2