d3d12: Avoid extra allocation, copies when generating DXVA_Slice_Hxxx_Short arrays
authorSil Vilerino <sivileri@microsoft.com>
Fri, 2 Sep 2022 14:20:56 +0000 (10:20 -0400)
committerSil Vilerino <sivileri@microsoft.com>
Thu, 15 Sep 2022 15:19:39 +0000 (11:19 -0400)
commit5c2ec8efc813dedb1c150254d8645cb765986697
tree87ad0ee3c5e0e55c3c98fee8de984b70f107e6ed
parentda11684e9db9eaba6477155dde4a210f6564b6b6
d3d12: Avoid extra allocation, copies when generating DXVA_Slice_Hxxx_Short arrays

Reviewed-by: Giancarlo Devich <gdevich@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18328>
src/gallium/drivers/d3d12/d3d12_video_dec.cpp
src/gallium/drivers/d3d12/d3d12_video_dec.h
src/gallium/drivers/d3d12/d3d12_video_dec_h264.cpp
src/gallium/drivers/d3d12/d3d12_video_dec_h264.h
src/gallium/drivers/d3d12/d3d12_video_dec_hevc.cpp
src/gallium/drivers/d3d12/d3d12_video_dec_hevc.h