Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add convert_uchar_sat and test case | Homer Hsing | 2013-04-10 | 1 | -0/+44 |
'convert_uchar_sat' converts float to uchar saturately. 'convert_uchar_sat' simply calls add_sat. by 'convert_uchar_sat' function we don't need to clamp(value, 0, 255). we also add a test case. Signed-off-by: Homer Hsing <homer.xing@intel.com> Reviewed-by: Lu Guanqun <guanqun.lu@intel.com> |