diff options
author | Frank Barchard <fbarchard@google.com> | 2017-12-14 18:35:58 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2017-12-15 03:34:34 +0000 |
commit | 5336217f11e5efbf6c3861eeba711c2ac3bd434a (patch) | |
tree | e7752475b6d91c2e073f1fe3493f6945280eee66 /include/libyuv/planar_functions.h | |
parent | 3b81288ecef7ff63ca773040431cba728c9a3621 (diff) | |
download | libyuv-5336217f11e5efbf6c3861eeba711c2ac3bd434a.tar.gz |
H010Copy function to copy 16 bit planar formats
Bug: libyuv:751
Test: LibYUVConvertTest.H010ToH010_Opt
Change-Id: I996d309040a14193a97d05b62ac0b3e1ad1ee74b
Reviewed-on: https://chromium-review.googlesource.com/823445
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: Cheng Wang <wangcheng@google.com>
Reviewed-by: richard winterton <rrwinterton@gmail.com>
Diffstat (limited to 'include/libyuv/planar_functions.h')
-rw-r--r-- | include/libyuv/planar_functions.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libyuv/planar_functions.h b/include/libyuv/planar_functions.h index c91501a9..88b651dd 100644 --- a/include/libyuv/planar_functions.h +++ b/include/libyuv/planar_functions.h @@ -39,6 +39,15 @@ void CopyPlane_16(const uint16* src_y, int width, int height); +LIBYUV_API +void Convert16To8Plane(const uint16* src_y, + int src_stride_y, + uint8* dst_y, + int dst_stride_y, + int scale, // 16384 for 10 bits + int width, + int height); + // Set a plane of data to a 32 bit value. LIBYUV_API void SetPlane(uint8* dst_y, |