git.videolan.org Git - ffmpeg.git/rss log

FFmpeg git repo

http://git.videolan.org/?p=ffmpeg.git;a=summary

Les articles publiés sur le site

  • avcodec/x86/hevcdsp : Move to x86/hevc

    3 avril, par Andreas Rheinhardt
    avcodec/x86/hevcdsp: Move to x86/hevc
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/x86/hevc/dsp.h
    • [DH] libavcodec/x86/hevc/dsp_init.c
    • [DH] libavcodec/x86/hevcdsp.h
  • avcodec/x86/hevcdsp : Move macro to dsp_init.c

    3 avril, par Andreas Rheinhardt
    avcodec/x86/hevcdsp: Move macro to dsp_init.c
    
    It belongs to the [EQ]PEL_LINKS macros.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/x86/hevc/dsp_init.c
    • [DH] libavcodec/x86/hevcdsp.h
  • avcodec/x86/hevc/dsp_init : Reindent after the previous commits

    3 avril, par Andreas Rheinhardt
    avcodec/x86/hevc/dsp_init: Reindent after the previous commits
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/x86/hevc/dsp_init.c
  • avcodec/x86/hevc/mc : Remove unused functions

    3 avril, par Andreas Rheinhardt
    avcodec/x86/hevc/mc: Remove unused functions
    
    Saved 11536B here.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/x86/hevc/mc.asm
    • [DH] libavcodec/x86/hevcdsp.h
  • avcodec/x86/hevc/dsp_init : Make ff_hevc_put_bi_[eq] ?pel* funcs static

    3 avril, par Andreas Rheinhardt
    avcodec/x86/hevc/dsp_init: Make ff_hevc_put_bi_[eq]?pel* funcs static
    
    Given that there are actually ASM functions of this type,
    one can't simply remove the ff_ prefix from the definitions
    and declare them as static. Yet one can do nearly that
    if one keeps the ff_ prefix and removes the declarations
    for the (now static) functions defined in dsp_init.c
    from hevcdsp.h and if one defines the functions in the correct
    order (smaller width first) so that no forward declarations
    are necessary (which was already true).
    
    The new declarations avoid nested macros to simplify things.
    It nevertheless turned out to be beneficial line-wise.
    
    (It would be possible to avoid most of these declarations:
    It is legal to repeat a function declaration without static
    if the first declaration declared a function as static.
    So if the macros simply declared all the functions that
    they call, one could avoid declarations for the functions
    that are called. While this is legal C, it unfortuntaly
    clashes with GCC's -Wredundant-decls (which configure enables)
    and it is also ugly, as these macro definitions would
    provide declarations used in ff_hevc_dsp_init_x86().)
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/x86/hevc/dsp_init.c
    • [DH] libavcodec/x86/hevcdsp.h