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>
Mon, 19 Nov 2012 08:29:50 +0000 (09:29 +0100)
commit262ad0419dd0d4d5d2fa63ca82161a3fe37e2000
tree051612112367407002a6b6d5cc0f58eafad0793a
parent6188ab4e4d7afc66a11f104e071926a240c34361
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