move codec dependent codes to their own files
authorVictor Tseng <palatis@iworldcom.com>
Fri, 17 Dec 2010 21:45:25 +0000 (05:45 +0800)
committerVictor Tseng <palatis@iworldcom.com>
Fri, 17 Dec 2010 21:45:25 +0000 (05:45 +0800)
commitc480d13bfdbf5255b99ea0993363fdb38628057c
tree262b5421fc94b70b59b939320f77cdbb3ca52dc1
parent4b887a69d634746bd13f5dae04e4e213e432a7ee
move codec dependent codes to their own files

DtsSetInputFormat() or DtsSetInputParams() should be called before
DtsStartDecoder(), and is codec dependent. move these calls from
crystalhd_CreateContext() into each codec's seperate function.
src/crystalhd_drv_video.c
src/crystalhd_video_h264.c
src/crystalhd_video_h264.h