codecparsers: h264: fix calculation of the frame cropping rectangle.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 8 Jul 2013 16:44:24 +0000 (18:44 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 9 Dec 2013 10:33:52 +0000 (11:33 +0100)
commite0c3ad1780f6b2399499a9a5250fe387fe23923e
treed12ed8ea63523f4661865e749dd7b0ba295f691d
parentc3a10aa596cbad29170738892b28e7ea528c5542
codecparsers: h264: fix calculation of the frame cropping rectangle.

Fix calculation of the frame cropping rectangle, and more precisely
the actual cropped height. The frame_crop_top_offset subtraction
was not scaled up with SubHeightC.

Also clean-up variables to align more with (7-18) to (7-21).

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