diff options
author | Frank Barchard <fbarchard@google.com> | 2022-06-09 00:14:11 -0700 |
---|---|---|
committer | Frank Barchard <fbarchard@chromium.org> | 2022-06-09 08:07:50 +0000 |
commit | 30f9b280487be412da346aecce7834275020976e (patch) | |
tree | c2a25c57cc14465127cdae5b41f07fff517c3d7d /include/libyuv/planar_functions.h | |
parent | baef41447887e1a17897a4cb6ccc854ef3a9d652 (diff) | |
download | libyuv-30f9b280487be412da346aecce7834275020976e.tar.gz |
Add I210ToI420
Bug: libyuv:931, b/228605787, b/233233302, b/233634772, b/234558395, b/234340482
Change-Id: Ib135d0b4ff17665f6a4ab60edb782a7b314219a4
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3696042
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Diffstat (limited to 'include/libyuv/planar_functions.h')
-rw-r--r-- | include/libyuv/planar_functions.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/libyuv/planar_functions.h b/include/libyuv/planar_functions.h index 15c7d457..1ef2256b 100644 --- a/include/libyuv/planar_functions.h +++ b/include/libyuv/planar_functions.h @@ -991,6 +991,21 @@ int InterpolatePlane(const uint8_t* src0, int height, int interpolation); +// Interpolate between two images using specified amount of interpolation +// (0 to 255) and store to destination. +// 'interpolation' is specified as 8 bit fraction where 0 means 100% src0 +// and 255 means 1% src0 and 99% src1. +LIBYUV_API +int InterpolatePlane_16(const uint16_t* src0, + int src_stride0, // measured in 16 bit pixels + const uint16_t* src1, + int src_stride1, + uint16_t* dst, + int dst_stride, + int width, + int height, + int interpolation); + // Interpolate between two ARGB images using specified amount of interpolation // Internally calls InterpolatePlane with width * 4 (bpp). LIBYUV_API |