mpegvideoparse: accelerate search for start code
authorThijs Vermeir <thijsvermeir@gmail.com>
Thu, 14 Oct 2010 09:45:55 +0000 (11:45 +0200)
committerThijs Vermeir <thijsvermeir@gmail.com>
Thu, 14 Oct 2010 16:52:27 +0000 (18:52 +0200)
commit96a7f9c8b1195129f0c2157cbbcbaa6cab45056e
tree31f36e81c54553cccb2a5c9d8120080222a60446
parent9f4339c0599cdc849ae5fe724f0fcc769c712a29
mpegvideoparse: accelerate search for start code

As the startcode always starts with 0x000001 some iterations
can be skipped if values > 1 are detected.

~ 70% faster on HD video stream.

https://bugzilla.gnome.org/show_bug.cgi?id=632130
gst/mpegvideoparse/mpegpacketiser.c