utils: add helpers for H.264 levels.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 6 Dec 2013 18:05:52 +0000 (19:05 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 6 Dec 2013 18:26:15 +0000 (19:26 +0100)
commite2f137f149f506e3e36381911901d5682cfa8969
treea1aa98068605ef9819685140ba8b9fbc00e6d393
parent7f1f879e28a9776ddc001508c08d719c95a833f1
utils: add helpers for H.264 levels.

- gst_vaapi_utils_h264_get_level():
  Returns GstVaapiLevelH264 from H.264 level_idc value
- gst_vaapi_utils_h264_get_level_idc():
  Returns H.264 level_idc value from GstVaapiLevelH264
- gst_vaapi_utils_h264_get_level_limits():
  Returns level limits as specified in Table A-1 of the H.264 standard
- gst_vaapi_utils_h264_get_level_limits_table():
  Returns the Table A-1 specification
gst-libs/gst/vaapi/gstvaapidecoder_h264.c
gst-libs/gst/vaapi/gstvaapiutils_h264.c
gst-libs/gst/vaapi/gstvaapiutils_h264.h