2016-09-03 0:06 GMT+02:00 Timo Rothenpieler <t...@rothenpieler.org>: > On 9/2/2016 7:16 PM, Carl Eugen Hoyos wrote: >> 2016-09-02 16:36 GMT+02:00 Timo Rothenpieler <t...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel