mpegtspacketizer: Speedup packet parsing
authorEdward Hervey <edward@collabora.com>
Sun, 23 Jun 2013 13:26:14 +0000 (15:26 +0200)
committerEdward Hervey <edward@collabora.com>
Mon, 24 Jun 2013 05:49:34 +0000 (07:49 +0200)
commit9fd7f1c082065f72496763783bf2d0cf184da57d
tree06698db06310b1f1202f7ad074024ca9649b5ace
parentb00192d7c0c92cbfdbaf11c812dc0c00a19e4cdc
mpegtspacketizer: Speedup packet parsing

Avoid using bitshifting where not needed.

Speeds up packet parsing by 3% (this is *the* hotspot of mpeg-ts elements).
gst/mpegtsdemux/mpegtspacketizer.c
gst/mpegtsdemux/mpegtspacketizer.h
gst/mpegtsdemux/tsdemux.c