Add one callback function for hw_codec_info to initialize hw_codec_info
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 8 Oct 2014 00:23:26 +0000 (08:23 +0800)
committerZhao, Yakui <yakui.zhao@intel.com>
Wed, 8 Oct 2014 00:23:26 +0000 (08:23 +0800)
commit80cc8a908a3cbef57e3fb25528a1474bd14a2817
tree5d5ea6fcf71b3b88db7862fb69b392d15b59049f
parentfe3712b134068c1c25dc42e7dc908f2fa6d8aa0e
Add one callback function for hw_codec_info to initialize hw_codec_info

V1->V2: Refine the call back function name from hw_codec_hook to preinit_hw_codec
And it is called after VADriverContext is fully initialized. This is based on the comment
from Gwenole Beauchesne.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
src/i965_drv_video.c
src/i965_drv_video.h