[FFmpeg-devel] DSP function ARM NEON patches for hevc

Michael Niedermayer michaelni at gmx.at
Thu Feb 5 17:59:06 CET 2015


On Thu, Feb 05, 2015 at 02:22:28PM +0100, Mickaël Raulet wrote:
> Michael,
> 
> Please find some commits that can be cherry picked from
> https://github.com/OpenHEVC/FFmpeg/commits/ffmpeg_patch
> 
> Optimized deblocking filter (8bits only)
> 1b9ee47d2f43b0a029a9468233626102eb1473b8
> 
> Optimzed transform functions (4x4, 8x8, transform add 8bits only)
> b153f55935969c794de4640f8d34e01c58e027ae
> 
> ARM NEON optimized qpel functions (8bits only)
> 965cd82e376f17125c0ad6465d14f4ab1749fda1
> 
> Comments welcome if there are any.

seems to break build wtih clang + gas-preprocessor unless i made some
mistake ...

gas-preprocessor/gas-preprocessor.pl -as-type clang -fix-unreq -- build/Release+Asserts/bin/clang -I. -Iffmpeg/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DZLIB_CONST -mfpu=neon -mfloat-abi=softfp -target armv7a-softfp-linux-gnueabi -arch armv7 -I/usr/arm-linux-gnueabi/include/ -mcpu=cortex-a8 -g -Qunused-arguments -MMD -MF libavcodec/arm/hevcdsp_qpel_neon.d -MT libavcodec/arm/hevcdsp_qpel_neon.o -c -o libavcodec/arm/hevcdsp_qpel_neon.o ffmpeg/libavcodec/arm/hevcdsp_qpel_neon.S

Too many arguments to macro put_qpel_uw_pixels at gas-preprocessor/gas-preprocessor.pl line 588, <INPUT> line 1256.
<stdin>:11116:17: error: invalid operand for instruction
        vld1.32 "{d0[0]}" , [r2], r3
                ^
<stdin>:11117:17: error: invalid operand for instruction
        vst1.32 "{d0[0]}" , [r0], r1
                ^
<stdin>:11138:17: error: invalid operand for instruction
        vld1.32 "{d0}" , [r2], r3
                ^
<stdin>:11139:17: error: invalid operand for instruction
        vst1.32 "{d0}" , [r0], r1
                ^
<stdin>:11161:17: error: invalid operand for instruction
        vld1.32 "{d0}" , [r2]!
                ^
<stdin>:11165:17: error: invalid operand for instruction
        vst1.32 "{d0}" , [r0]!
                ^
<stdin>:11188:17: error: invalid operand for instruction
        vld1.32 "{q0}" , [r2], r3
                ^
<stdin>:11189:17: error: invalid operand for instruction
        vst1.32 "{q0}" , [r0], r1
                ^
<stdin>:11210:17: error: invalid operand for instruction
        vld1.32 "{d0-d2}" , [r2], r3
                ^
<stdin>:11211:17: error: invalid operand for instruction
        vst1.32 "{d0-d2}" , [r0], r1


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150205/efa09933/attachment.asc>


More information about the ffmpeg-devel mailing list