Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (51)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (5970)

  • avcodec/aac_tablegen : speed up table initialization

    26 novembre 2015, par Ganesh Ajjanagadde
    avcodec/aac_tablegen : speed up table initialization
    

    This speeds up aac_tablegen to a ludicruous degree ( 97%), i.e to the point
    where it can be argued that runtime initialization can always be done instead of
    hard-coded tables. The only cost is essentially a trivial increase in
    the stack size.

    Even if one does not care about this, the patch also improves accuracy
    as detailed below.

    Performance :
    Benchmark obtained by looping 10^4 times over ff_aac_tableinit.

    Sample benchmark (x86-64, Haswell, GNU/Linux) :
    old :
    1295292 decicycles in ff_aac_tableinit, 512 runs, 0 skips
    1275981 decicycles in ff_aac_tableinit, 1024 runs, 0 skips
    1272932 decicycles in ff_aac_tableinit, 2048 runs, 0 skips
    1262164 decicycles in ff_aac_tableinit, 4096 runs, 0 skips
    1256720 decicycles in ff_aac_tableinit, 8192 runs, 0 skips

    new :
    21112 decicycles in ff_aac_tableinit, 511 runs, 1 skips
    21269 decicycles in ff_aac_tableinit, 1023 runs, 1 skips
    21352 decicycles in ff_aac_tableinit, 2043 runs, 5 skips
    21386 decicycles in ff_aac_tableinit, 4080 runs, 16 skips
    21299 decicycles in ff_aac_tableinit, 8173 runs, 19 skips

    Accuracy :
    The previous code was resulting in needless loss of
    accuracy due to the pow being called in succession. As an illustration
    of this :
    ff_aac_pow34sf_tab[3]
    old : 0.000000000007598092294225
    new : 0.000000000007598091426864
    real : 0.000000000007598091778545

    truncated to float
    old : 0.000000000007598092294225
    new : 0.000000000007598091426864
    real : 0.000000000007598091426864

    showing that the old value was not correctly rounded. This affects a
    large number of elements of the array.

    Patch tested with FATE.

    Reviewed-by : Rostislav Pehlivanov <atomnuker@gmail.com>
    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>

    • [DH] libavcodec/aac_tablegen.h
  • avcodec/cbrt_tablegen : speed up dynamic table creation

    25 novembre 2015, par Ganesh Ajjanagadde
    avcodec/cbrt_tablegen : speed up dynamic table creation
    

    On systems having cbrt, there is no reason to use the slow pow function.

    Sample benchmark (x86-64, Haswell, GNU/Linux) :
    new :
    5124920 decicycles in cbrt_tableinit, 1 runs, 0 skips

    old :
    12321680 decicycles in cbrt_tableinit, 1 runs, 0 skips

    Reviewed-by : Ronald S. Bultje <rsbultje@gmail.com>
    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>

    • [DH] libavcodec/cbrt_tablegen.h
    • [DH] libavcodec/cbrt_tablegen_template.c
  • avcodec/mpegaudio_tablegen : speed up dynamic table creation

    25 novembre 2015, par Ganesh Ajjanagadde
    avcodec/mpegaudio_tablegen : speed up dynamic table creation
    

    This does some miscellaneous stuff mainly avoiding the usage of pow to
    achieve significant speedups. This is not speed critical, but is
    unnecessary latency and cycles wasted for a user.

    All tables tested and are identical to the old ones
    (bit-exact even in floating point case).

    Sample benchmark (x86-64, Haswell, GNU/Linux) :
    old :
    102329530 decicycles in mpegaudio_tableinit, 1 runs, 0 skips

    new :
    34111900 decicycles in mpegaudio_tableinit, 1 runs, 0 skips

    Reviewed-by : Ronald S. Bultje <rsbultje@gmail.com>
    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>

    • [DH] libavcodec/mpegaudio_tablegen.c
    • [DH] libavcodec/mpegaudio_tablegen.h