
Recherche avancée
Autres articles (111)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (8211)
-
ARM compiler shoot-out, round 2
In my recent test of ARM compilers, I had to leave out Texas Instrument’s compiler since it failed to build FFmpeg. Since then, the TI compiler team has been busy fixing bugs, and a snapshot I was given to test was able to build enough of a somewhat patched FFmpeg that I can now present round two in this shoot-out.
The contenders this time were the fastest GCC variant from round one, ARM RVCT, and newcomer TI TMS470. With the same rules as last time, the exact versions and optimisation options were like this :
- CodeSourcery GCC 2009q1 (based on 4.3.3), -mfpu=neon -mfloat-abi=softfp -mcpu=cortex-a8 -std=c99 -fomit-frame-pointer -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize
- ARM RVCT 4.0 Build 591, -mfpu=neon -mfloat-abi=softfp -mcpu=cortex-a8 -std=c99 -fomit-frame-pointer -O3 -fno-math-errno -fno-signed-zeros
- TI TMS470 4.7.0-a9229, --float_support=vfpv3 -mv=7a8 -O3 -mf=5
To keep things fair, I left the vectoriser off also with the TI compiler. The table below lists the decoding times for the sample files, this time normalised against the participating GCC compiler. Remember, smaller numbers are better. Also keep in mind that this test was done with a development snapshot of TMS470, not an approved release.Sample name Codec Code type GCC RVCT TI cathedral H.264 CABAC integer 1.00 0.95 1.02 NeroAVC H.264 CABAC integer 1.00 0.96 1.05 indiana_jones_4 H.264 CAVLC integer 1.00 0.92 1.02 NeroRecodeSample MPEG-4 ASP integer 1.00 1.01 1.08 Silent_Light MP3 64-bit integer 1.00 0.48 0.72 When_I_Grow_Up FLAC integer 1.00 0.87 0.93 Lumme-Badloop Vorbis float 1.00 0.94 1.05 Canyon AC-3 float 1.00 0.88 1.01 lotr DTS float 1.00 1.00 1.08 Overall, the TI TMS470 compiler comes off slightly worse than GCC. In two cases, however, it was significantly better than GCC, but not as good as RVCT. Incidentally, those were also the ones where RVCT scored the biggest win over GCC.
My conclusions from this test are twofold :
- ARM’s own compiler is very hard to beat. They do seem to know how their chips work.
- GCC is incredibly bad at 64-bit arithmetic on 32-bit machines.
The logical next step is to test these compilers with vectorisation enabled. FFmpeg should offer plenty of opportunities for this feature to shine. Unfortunately, that test will have to wait until the RVCT vectoriser is fixed. The current release does not compile FFmpeg with vectorisation enabled.
-
dnn_backend_native_layer_mathunary : add round support
10 août 2020, par Mingyu Yindnn_backend_native_layer_mathunary : add round support
Signed-off-by : Mingyu Yin <mingyu.yin@intel.com>
Reviewed-by : Guo, Yejun <yejun.guo@intel.com> -
avcodec/h264_slice : compute and export film grain seed
17 août 2021, par Niklas Haasavcodec/h264_slice : compute and export film grain seed
From SMPTE RDD 5-2006, the grain seed is to be computed from the
following definition of `pic_offset` :> When decoding H.264 | MPEG-4 AVC bitstreams, pic_offset is defined as
> follows :
> - pic_offset = PicOrderCnt(CurrPic) + (PicOrderCnt_offset << 5)
> where :
> - PicOrderCnt(CurrPic) is the picture order count of the current frame,
> which shall be derived from [the video stream].
>
> - PicOrderCnt_offset is set to idr_pic_id on IDR frames. idr_pic_id
> shall be read from the slice header of [the video stream]. On non-IDR I
> frames, PicOrderCnt_offset is set to 0. A frame shall be classified as I
> frame when all its slices are I slices, which may be optionally
> designated by setting primary_pic_type to 0 in the access delimiter NAL
> unit. Otherwise, PicOrderCnt_offset it not changed. PicOrderCnt_offset is
> updated in decoding order.Co-authored-by : James Almer <jamrial@gmail.com>
Signed-off-by : Niklas Haas <git@haasn.dev>
Signed-off-by : James Almer <jamrial@gmail.com>