[FFmpeg-devel] [PATCH 01/14] arm: vp9itxfm: Template the quarter/half idct32 function

Michael Niedermayer michael at niedermayer.cc
Sun Mar 19 01:25:40 EET 2017


On Fri, Mar 17, 2017 at 12:10:06AM +0200, Martin Storsjö wrote:
> This reduces the number of lines and reduces the duplication.
> 
> Also simplify the eob check for the half case.
> 
> If we are in the half case, we know we at least will need to do the
> first three slices, we only need to check eob for the fourth one,
> so we can hardcode the value to check against instead of loading
> from the min_eob array.
> 
> Since at most one slice can be skipped in the first pass, we can
> unroll the loop for filling zeros completely, as it was done for
> the quarter case before.
> 
> This allows skipping loading the min_eob pointer when using the
> quarter/half cases.
> 
> This is cherrypicked from libav commit
> 98ee855ae0cc118bd1d20921d6bdb14731832462.
> ---
>  libavcodec/arm/vp9itxfm_neon.S | 57 +++++++++++++++---------------------------
>  1 file changed, 20 insertions(+), 37 deletions(-)

patchset seems to pass fate under qemu arm

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170319/c1eac560/attachment.sig>


More information about the ffmpeg-devel mailing list