Pardon? RPi’s outdated VideoCore IV does h.264 decoding HW accelerated but not h.265. While more recent Allwinner SoCs can do that at least with 8 bit (no 10 bit support): http://linux-sunxi.org/Cedrus#Supported_codec_matrix (you can add H5 here too — progress with this SoC is mostly missing in linux-sunxi wiki yet)
Instead of recommending those boring and outdated Raspberries it would help if people would start contributing support for better platforms.
https://forum.armbian.com/topic/3472-hw-h265-and-h264-codec-on-h3/