Orc and conversion from I420 to BGRA/RGBA

Peter Maersk-Moller pmaersk at gmail.com
Fri Jun 24 08:40:05 UTC 2016


Hi

On Fri, Jun 24, 2016 at 9:38 AM, Peter Maersk-Moller <pmaersk at gmail.com>
wrote:

> Ahh, the command is 'loadupdb' which load from the array[i>>1], where 'i'
> is the iteration number (assumed). Unfortunately, according to loadupdb is
> not supported by neon. Does that mean that orc/neon accelerated I420 to RGB
> conversion is NOT available on ARM (with Neon)?
>

If videoconvert module on NEON hardware (ARM) creates an array 'offset' the
size of a single line in number of pixels with preloaded values
0,0,1,1,2,2,3,3... and the opcodes 'loadupdb r, u' and 'loadupdb r, v' in
function video_orc_convert_I420_BGRA and similar functions are changed to
'loadoffb r u offset' and 'loadoffb r v offset' and offset is an argument
to the function(s), then NEON accelerated conversion from I420 to RGB would
be possible as a low hanging fruit. It would also work on x86 with only a
minor or no performance penalty in case you only want one solution and not
two.

Regards
Peter Maersk-Moller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160624/dcf4e673/attachment.html>


More information about the gstreamer-devel mailing list