David Rosca
db45d16dfe
pipe: Add int return value to video end_frame
...
Make it possible to report errors to frontend.
Reviewed-By: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30780 >
2024-08-28 13:38:52 +00:00
Sil Vilerino
05fe740374
d3d12: Implement fence_get_win32_handle to get HANDLE from d3d12_fence
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26456 >
2023-12-06 03:58:53 +00:00
Sil Vilerino
5a8d8dad9a
d3d12: Video Process - Implement get_processor_fence and async queing
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23969 >
2023-07-03 18:28:38 +00:00
Yonggang Luo
05b840521a
treewide: Replace the usage of TRUE/FALSE with true/false
...
this is a separate patch as it's won't affect the code style
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23577 >
2023-06-27 18:18:28 +08:00
Sil Vilerino
26f767d524
d3d12: Video processor to only promote resources to permanent residency when there is work to be flushed
...
This fixes some cases where flush is called from the app without work being scheduled before, causing d3d12_promote_to_permanent_residency
to be called with garbage pointers/arguments.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22415 >
2023-04-11 20:09:19 +00:00
Sil Vilerino
997b91fead
d3d12: Video processing - Fix out of bounds array access
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21196 >
2023-02-08 18:00:41 +00:00
Sil Vilerino
020c0af732
d3d12: Video process - Remove unnecessary batches flush
...
Make resident and sync in flush() method instead of before to avoid extra batch flushes
Reviewed-by: Giancarlo Devich <gdevich@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18715 >
2022-09-21 23:31:15 +00:00
Sil Vilerino
2003d2d928
d3d12: Add VPBlit processor check for D3D12_FEATURE_VIDEO_PROCESS_MAX_INPUT_STREAMS
...
Reviewed-by: Giancarlo Devich <gdevich@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18328 >
2022-09-15 11:19:39 -04:00
Sil Vilerino
0325a2a1a3
d3d12: Allow video processing for formats other than NV12
...
Reviewed-by: Giancarlo Devich <gdevich@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18328 >
2022-09-15 11:19:39 -04:00
Sil Vilerino
cd03643309
d3d12: Fix leak in d3d12_video_proc when re-creating ID3D12VideoProcessor
...
Reviewed-by: Giancarlo Devich <gdevich@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18328 >
2022-09-15 11:19:39 -04:00
Sil Vilerino
323cf5a68d
d3d12: Add pipe_video_codec::process_frame implementation
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17557 >
2022-07-21 22:40:31 +00:00