[FFmpeg-devel] [PATCH 2/3] avcodec/mpeg4_unpack_bframes_bsf: Use avpriv_find_start_code

Michael Niedermayer michael at niedermayer.cc
Mon Feb 4 21:00:01 EET 2019


On Sat, Feb 02, 2019 at 08:34:11PM +0100, Andreas Rheinhardt wrote:
> instead of an ad-hoc function to search for start codes in order to
> remove code duplication and to improve performance.
> 
> Improved performance of finding startcodes from 52606 decicycles to
> 9543 decicycles based upon 262144 runs for a 1 Mb/s MPEG4 video.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at googlemail.com>
> ---
>  libavcodec/mpeg4_unpack_bframes_bsf.c | 34 ++++++++-------------------
>  1 file changed, 10 insertions(+), 24 deletions(-)

will apply

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190204/756ae6ab/attachment.sig>


More information about the ffmpeg-devel mailing list