[FFmpeg-trac] #5568(swscale:open): POWER8 VSX vectorization libswscale/swscale.c

FFmpeg trac at avcodec.org
Fri Jun 22 06:17:04 EEST 2018


#5568: POWER8 VSX vectorization libswscale/swscale.c
-------------------------------------+-----------------------------------
             Reporter:  edelsohn     |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  swscale
              Version:  git-master   |               Resolution:
             Keywords:  bounty vsx   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by bookmoons):

 Is there some pattern for using the TIMER macros?

 I've tried wrapping them around the callsites. That seems to be how it's
 done everywhere else.

 {{{
 START_TIMER
 c->hyScale(c, (int16_t*)dst[dst_pos], dstW, (const uint8_t *)src[src_pos],
 instance->filter,
            instance->filter_pos, instance->filter_size);
 STOP_TIMER("hyScale")
 }}}

 Then building with --enable-linux-perf. It fails with:

 >error: implicit declaration of function 'syscall'

 syscall is used in the START_TIMER macro. The header for it is unistd.h,
 which is included by timer.h, so I'm not sure what's happening.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5568#comment:19>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list