[FFmpeg-devel] [PATCH 2/2] swscale: add unscaled conversion from yuv420p to p010
    Carl Eugen Hoyos 
    ceffmpeg at gmail.com
       
    Sat Sep  3 14:47:21 EEST 2016
    
    
  
2016-09-03 0:06 GMT+02:00 Timo Rothenpieler <timo at rothenpieler.org>:
> On 9/2/2016 7:16 PM, Carl Eugen Hoyos wrote:
>> 2016-09-02 16:36 GMT+02:00 Timo Rothenpieler <timo at rothenpieler.org>:
>>
>>> +#if AV_HAVE_BIGENDIAN
>>> +static int planar8ToP010leWrapper(SwsContext *c, const uint8_t *src[],
>>
>> Why does this function not work on both big and little endian hardware?
>
> It does, but it's significantly slower.
> In my tests, it takes double the time than the pure native one.
Do you know why exactly it is slower?
If performance matters, this likely can be SIMD-optimized, no reason to
duplicate the function.
Carl Eugen
    
    
More information about the ffmpeg-devel
mailing list