[FFmpeg-devel] [FFmpeg-cvslog] avcodec/utvideodec: add SIMD support for median prediction for planar formats

Paul B Mahol onemda at gmail.com
Sat Dec 24 12:08:36 EET 2016


On 12/24/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Fri, Dec 23, 2016 at 05:44:22PM +0100, Paul B Mahol wrote:
>> ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Dec 23
>> 15:41:51 2016 +0100| [ea93052db3594f93f2d10be085a770184da0513d] |
>> committer: Paul B Mahol
>>
>> avcodec/utvideodec: add SIMD support for median prediction for planar
>> formats
>>
>> ~10% faster overall.
>>
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>>
>> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ea93052db3594f93f2d10be085a770184da0513d
>> ---
>>
>>  configure               |   2 +-
>>  libavcodec/utvideo.h    |   2 +
>>  libavcodec/utvideodec.c | 164
>> +++++++++++++++++++++++++++++++++++++++---------
>>  libavcodec/utvideoenc.c |   3 +
>>  4 files changed, 140 insertions(+), 31 deletions(-)
>
> This breaks
>> create a file with: (can be any ffmpeg version)
>> ./ffmpeg -i matrixbench_mpeg2.mpg -an -vcodec utvideo -t 1 -pix_fmt
>> yuv420p -pred median utv.avi
>>
>> if this is played with ffplay (with patch) it shows a brighter
>> artifact on the left side of te screen

Should be fixed.


More information about the ffmpeg-devel mailing list