mm-video-v4l2: vdec: add input frame bits info as extradata

Provides information regarding number of bits in the frame (i.e. frame
size expressed in bits) and also the number of bits in frame header
(i.e. frame header size expressed in bits). Number of bits in header is
reported as:
For H264, sum of all slice headers bits for all the slices in the frame.
For all other codecs is the number of bits in the frame header.
To get the extra data use the standard OpenMAX IL for custom indexes:
Request the index value using:
"OMX.QCOM.index.param.video.InputBitsInfoExtradata"
Or directly using the index:
OMX_QcomIndexParamVideoInputBitsInfoExtraData

Change-Id: I69808a221b1c0de7012fddaa14c4b92bf92992af
3 files changed