h264: fix picture size in macroblocks.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 16 Nov 2012 17:00:10 +0000 (18:00 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 16 Nov 2012 17:05:28 +0000 (18:05 +0100)
commitcb0da4ed7acbb51f2d5dba34c0b37b2c5ad8bff4
tree54961a36a85931a696a4cc91f3cd752b25b80dcc
parent9ab3ce293261ee6cfc6fbcf94adf60225ee83b89
h264: fix picture size in macroblocks.

The picture size signalled by sps->{width,height} is the actual size with
cropping applied, not the original size derived from pic_width_in_mbs_minus1
and pic_height_in_map_units_minus1. VA driver expects that original size,
uncropped.

There is another issue pending: frame cropping information needs to be
taken care of.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c