Re: [FFmpeg-devel] [PATCH] cbs_h2645: Improve performance of writing slices

2018-11-11 Thread Mark Thompson
On 11/11/18 22:43, Andreas Rheinhardt wrote: > Instead of using a combination of bitreader and -writer for copying data, > one can byte-align the (obsolete and removed) bitreader to improve > performance. > With the right alignment one can even use memcpy. The right alignment > normally exists for

[FFmpeg-devel] [PATCH] cbs_h2645: Improve performance of writing slices

2018-11-11 Thread Andreas Rheinhardt
Instead of using a combination of bitreader and -writer for copying data, one can byte-align the (obsolete and removed) bitreader to improve performance. With the right alignment one can even use memcpy. The right alignment normally exists for CABAC and hence for H.265 in general. For aligned data