gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/vulkan
Marijn Suijten 006ac293bc vulkan: Replace open-coded precondition checks with g_return_val_if_fail
While analyzing gst_vulkan_get_or_create_image_view_with_info() it
seems obvious that this function returns NULL, and that this should be
covered in the return annotations.  However, closer inspection indicates
that this is only a precondition check when the incoming arguments are
incompatible with each other, and should not be considered as a function
that optionally returns a pointer.

Signify this by using precondition checks instead of an opencoded
if-return-NULL.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5736>
2024-08-12 19:23:08 +00:00
..
android vulkan: Add/fix various annotations 2022-10-18 13:51:17 +03:00
cocoa macos: Remove old NSApp workaround related code 2023-05-11 20:30:19 +02:00
ios gl/vulkan: Fix static linking on macOS 2022-10-24 00:48:08 +00:00
wayland gst-launch: accept option to set program name 2024-01-12 17:11:11 +00:00
win32 vulkan: gl: change symbols to static 2023-03-23 00:56:04 +00:00
xcb vkwindow_xcb: Make the visible private field a guint 2023-10-23 10:43:52 +05:30
gstvkapi.h
gstvkbarrier.h vulkan: add a timeline semaphore per image 2023-10-26 07:26:22 +00:00
gstvkbuffermemory.c vulkan: Mark some pointers to Vulkan info structures as const 2024-08-12 19:23:08 +00:00
gstvkbuffermemory.h vulkan: Mark some pointers to Vulkan info structures as const 2024-08-12 19:23:08 +00:00
gstvkbufferpool.c vkbufferpool: correct usage flags type 2024-04-03 09:36:44 +00:00
gstvkbufferpool.h vkbufferpool: correct usage flags type 2024-04-03 09:36:44 +00:00
gstvkcommandbuffer.c
gstvkcommandbuffer.h vulkan: add some missing GAutoPtr definitions 2022-06-14 03:34:05 +00:00
gstvkcommandpool-private.h
gstvkcommandpool.c vulkan: Remove unnecessary null checks 2022-11-01 15:19:51 +01:00
gstvkcommandpool.h
gstvkconfig.h.meson vulkan: remove GST_VULKAN_HAVE_VIDEO_ENCODERS 2024-06-05 17:50:27 +00:00
gstvkdebug-private.h
gstvkdebug.c vulkan: remove beta extensions guard for encode operations 2024-07-16 15:08:39 +00:00
gstvkdebug.h vulkan/swapper: add some debug logging for surface size and present modes 2021-10-21 11:32:04 +00:00
gstvkdecoder-private.c vulkan: Add missing out annotation to decoder_out_format() 2024-08-12 19:23:08 +00:00
gstvkdecoder-private.h vulkan: replace gst_vulkan_queue_create_decoder() with gst_vulkan_decoder_new_from_queue() 2024-04-26 16:24:22 +00:00
gstvkdescriptorcache.c vulkan: Add missing array length and (out) annotation to parameters 2022-11-01 15:19:51 +01:00
gstvkdescriptorcache.h
gstvkdescriptorpool.c vulkan: Remove unnecessary null checks 2022-11-01 15:19:51 +01:00
gstvkdescriptorpool.h vulkan: add some missing GAutoPtr definitions 2022-06-14 03:34:05 +00:00
gstvkdescriptorset.c vulkan: Add missing array length and (out) annotation to parameters 2022-11-01 15:19:51 +01:00
gstvkdescriptorset.h vulkan: add some missing GAutoPtr definitions 2022-06-14 03:34:05 +00:00
gstvkdevice.c vulkan: Annotate queue getter as nullable 2024-08-12 19:23:08 +00:00
gstvkdevice.h vkdevice: select queue with expected flags 2023-11-21 13:51:21 +00:00
gstvkdisplay.c vulkan: Fix context get/set annotations 2024-08-12 19:23:08 +00:00
gstvkdisplay.h
gstvkencoder-private.c vulkan: encoder and decoder runtime check for driver version 1.3.275 2024-07-29 17:10:14 +02:00
gstvkencoder-private.h vkencoder: add gstvkencoder helper object 2024-05-03 19:40:16 +00:00
gstvkerror.c vkerror: free the error string after usage 2024-05-31 14:44:09 +00:00
gstvkerror.h gstvulkan: Expose gst_vulkan_result_to_string 2022-02-05 16:33:04 +00:00
gstvkfence.c vulkan: silence gobject-instrospection warnings 2023-03-22 14:19:13 +00:00
gstvkfence.h vulkan: add some missing GAutoPtr definitions 2022-06-14 03:34:05 +00:00
gstvkformat.c vulkan: remove beta extensions guard for encode operations 2024-07-16 15:08:39 +00:00
gstvkformat.h vkformat: add gst_vulkan_format_get_map function 2024-07-11 20:28:04 +02:00
gstvkfullscreenquad.c vulkan/fullscreenquad: add check for unset video info 2024-06-07 01:44:32 +00:00
gstvkfullscreenquad.h vulkan/fullscreenquad: add get_queue() 2024-06-03 00:06:18 +10:00
gstvkhandle.c
gstvkhandle.h vkdecoder: add gstvkdecoder helper object 2023-11-20 13:32:20 +00:00
gstvkhandlepool.c
gstvkhandlepool.h
gstvkimagebufferpool.c vkimagebufferpool: fix documentation grammar 2024-08-01 10:09:34 +00:00
gstvkimagebufferpool.h vkimagebufferpool: expose config_get_allocation_params() 2024-07-31 12:15:43 +00:00
gstvkimagememory.c vkimagebufferpool: allow specifying initial image layout 2024-01-13 05:54:00 +00:00
gstvkimagememory.h vkimagebufferpool: allow specifying initial image layout 2024-01-13 05:54:00 +00:00
gstvkimageview.c vulkan: Mark gst_vulkan_image_view_new create_info as constant pointer 2022-11-01 15:19:51 +01:00
gstvkimageview.h vulkan: Mark gst_vulkan_image_view_new create_info as constant pointer 2022-11-01 15:19:51 +01:00
gstvkinstance.c vulkan: Fix context get/set annotations 2024-08-12 19:23:08 +00:00
gstvkinstance.h
gstvkmemory.c vulkan: Mark some pointers to Vulkan info structures as const 2024-08-12 19:23:08 +00:00
gstvkmemory.h vulkan: Mark some pointers to Vulkan info structures as const 2024-08-12 19:23:08 +00:00
gstvkoperation.c vkoperation: fix documentation 2024-07-22 10:49:33 +02:00
gstvkoperation.h vulkan: add source pipeline stage to _operation_add_frame_barrier() 2024-07-19 14:45:39 +02:00
gstvkphysicaldevice-private.h vkphysicaldevice: add gst_vulkan_physical_device_get_features() 2023-05-19 04:26:28 +00:00
gstvkphysicaldevice.c vkphysicaldevice: rename query to query_result_status 2024-06-18 12:13:41 +00:00
gstvkphysicaldevice.h vkphysicaldevice: rename query to query_result_status 2024-06-18 12:13:41 +00:00
gstvkqueue.c vulkan: Fix context get/set annotations 2024-08-12 19:23:08 +00:00
gstvkqueue.h vulkan: replace gst_vulkan_queue_create_decoder() with gst_vulkan_decoder_new_from_queue() 2024-04-26 16:24:22 +00:00
gstvkswapper.c vulkan/swapper: expose choose_queue() in docs 2024-06-12 23:37:58 +10:00
gstvkswapper.h
gstvktrash.c vulkan: sink references at instantiation 2024-04-03 08:48:25 +00:00
gstvktrash.h
gstvkutils.c vulkan: Replace open-coded precondition checks with g_return_val_if_fail 2024-08-12 19:23:08 +00:00
gstvkutils.h vulkan: Mark some pointers to Vulkan info structures as const 2024-08-12 19:23:08 +00:00
gstvkvideo-private.c vulkan: remove GST_VULKAN_HAVE_VIDEO_ENCODERS 2024-06-05 17:50:27 +00:00
gstvkvideo-private.h vulkan: remove GST_VULKAN_HAVE_VIDEO_ENCODERS 2024-06-05 17:50:27 +00:00
gstvkvideofilter.c vulkan/videofilter: add getters for queue/device/instance 2024-06-03 00:06:18 +10:00
gstvkvideofilter.h vulkan/videofilter: add getters for queue/device/instance 2024-06-03 00:06:18 +10:00
gstvkvideoutils.c vulkan: remove GST_VULKAN_HAVE_VIDEO_ENCODERS 2024-06-05 17:50:27 +00:00
gstvkvideoutils.h vulkan: Add missing since markers 2024-07-30 13:46:42 +00:00
gstvkwindow.c vulkan: Add missing array length and (out) annotation to parameters 2022-11-01 15:19:51 +01:00
gstvkwindow.h
meson.build meson: Find MoltenVK with the objc++ compiler everywhere 2024-07-07 13:20:12 +00:00
vulkan-prelude.h
vulkan.h vkoperation: synchronization helper object 2023-10-26 07:26:22 +00:00
vulkan_fwd.h vkencoder: add gstvkencoder helper object 2024-05-03 19:40:16 +00:00
vulkan_mkenum.py