aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2023-06-06 15:05:32 -0700
committerlibyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-06-07 00:02:40 +0000
commitb08ccb6a83f5c76d5a9e181b0f65efd33ce8262d (patch)
tree955ccd5af95f4edc619ed1a79ed7e9ad5979a21d /include
parent1602e4c607f3268685eff6ed56b3a0d994f5b3fc (diff)
downloadlibyuv-b08ccb6a83f5c76d5a9e181b0f65efd33ce8262d.tar.gz
FP16 to FP32 float conversion row function
Bug: None Change-Id: I97aab6aafd41c3bf36bfbf33fdcc424e5b3fd6e3 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4590225 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by: Wan-Teh Chang <wtc@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/libyuv/row.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/libyuv/row.h b/include/libyuv/row.h
index 5b244d77..7b866d41 100644
--- a/include/libyuv/row.h
+++ b/include/libyuv/row.h
@@ -6180,7 +6180,14 @@ void ByteToFloatRow_Any_NEON(const uint8_t* src_ptr,
float* dst_ptr,
float param,
int width);
-
+// Convert FP16 Half Floats to FP32 Floats
+void ConvertFP16ToFP32Row_NEON(const uint16_t* src, // fp16
+ float* dst,
+ int width);
+// Convert FP32 Floats to FP16 Half Floats
+void ConvertFP32ToFP16Row_NEON(const float* src,
+ uint16_t* dst, // fp16
+ int width);
void ARGBLumaColorTableRow_C(const uint8_t* src_argb,
uint8_t* dst_argb,
int width,