mpegvideoparse: Only map input buffer once
authorEdward Hervey <edward@collabora.com>
Mon, 22 Jul 2013 08:46:23 +0000 (10:46 +0200)
committerEdward Hervey <edward@collabora.com>
Mon, 22 Jul 2013 08:46:23 +0000 (10:46 +0200)
commit1db3d40a4bdaa3f77005ef99f7edda215919ef5e
treef3c002d0594f16853439ba0e7617ebd76a451bac
parentdfb101e0edf16733997dd33e4fb43071dc26d7b8
mpegvideoparse: Only map input buffer once

Instead of constantly map/unmapping it a bit everywhere, we pass along
to all functions the GstMapInfo.

Makes mpeg video frame parsing 6% faster

https://bugzilla.gnome.org/show_bug.cgi?id=702330
gst/videoparsers/gstmpegvideoparse.c