[FFmpeg-trac] #8022(avutil:closed): Enhance performance of FFMAX macro

FFmpeg trac at avcodec.org
Wed Jul 17 01:27:35 EEST 2019


#8022: Enhance performance of FFMAX macro
------------------------------------+-----------------------------------
             Reporter:  UlfZibis    |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avutil
              Version:  git-master  |               Resolution:  invalid
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by UlfZibis):

 Replying to [comment:2 heleppkes]:
 > If you want to claim this is faster, then show generated assembly and
 performance numbers. Because I'm doubtful its going to change anything
 whatsoever.
 I've checked that out. You are right at least with my compiler. It
 optimizes equivalent for both variants, don't know if this is true for any
 compiler.

 Anyway I think my proposal would show more consistence between FFMAX and
 FFMIN.

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


More information about the FFmpeg-trac mailing list