codecparsers: mpeg2: add slice header parsing API.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Wed, 30 Jan 2013 14:56:15 +0000 (16:56 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 5 Jul 2013 15:42:58 +0000 (17:42 +0200)
commitdddd182c22a44fcdd2aad7d1458604da781f7281
tree7cf1d02596ea2d5e8e61853056e22a55b50326ea
parent94e6228b909bf31a6539c48aef557345c1bc9dc0
codecparsers: mpeg2: add slice header parsing API.

Add API to parse the Slice header. This also calculates the macroblock
position as specified in 6.3.16.

https://bugzilla.gnome.org/show_bug.cgi?id=664274

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/codecparsers/gstmpegvideoparser.c
gst-libs/gst/codecparsers/gstmpegvideoparser.h