codecparsers: fix bitplanes decoding (DIFF6 or NORM6).
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 24 Jan 2013 17:14:28 +0000 (18:14 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 24 Jan 2013 17:21:24 +0000 (18:21 +0100)
commit2c8d161aa159f919e1c290be08586cd70464a89e
tree627dd4dbeeb79d587bf134ad7fd40f7e090d298e
parent904fbe689265e439b43fb83ff85641860ca8778d
codecparsers: fix bitplanes decoding (DIFF6 or NORM6).

Fix parsing of residual bytes. This is a two-step process. First,
remaining colums of full vertical resolution (<height>) need to be
processed. Next, remaining bytes in the first row can be processed,
while taking into account the fact that we may have filled in the
first columns already. So, this is not full horizontal resolution.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/codecparsers/gstvc1parser.c