neon: Fix unsigned only implementation of loadoffb, loadoffw and loadoffl
authorKnobe, Daniel <daniel-knobe@web.de>
Tue, 7 Dec 2021 09:22:15 +0000 (10:22 +0100)
committerKnobe, Daniel <daniel-knobe@web.de>
Tue, 7 Dec 2021 09:22:15 +0000 (10:22 +0100)
commitc228582223978019eb0ac8f3143e8e9e45b999aa
tree2a68d13a190aee919f846425a14da5995844506d
parentb8a83aaf62d908b5750627173f37f8a40ec65d00
neon: Fix unsigned only implementation of loadoffb, loadoffw and loadoffl

This has direct impact on bayer2rgb performance. Tested on i.MX8mm aarch64 -> Speedboost of ~17%.
Reason:
The line loadoffw t, s, -1 results in orc silent compile error
Pipeline:
gst-launch-1.0 -v videotestsrc ! video/x-bayer,width=1920,height=1080 ! bayer2rgb ! fpsdisplaysink video-sink=fakesink sync=0
Average performance with fix: 25.21fps
Average performance without fix: 21.60fps

Part-of: <https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/62>
orc/orcrules-neon.c