summaryrefslogtreecommitdiffstats
path: root/libhb/nlmeans.h
diff options
context:
space:
mode:
authorbradleys <[email protected]>2015-02-11 20:58:05 +0000
committerbradleys <[email protected]>2015-02-11 20:58:05 +0000
commitb02dbbdba62bffe7e3224da17c5f2b0585dd24d1 (patch)
tree3341ae7be03e76913920bee4b557b060c025f4ba /libhb/nlmeans.h
parent90bb32c1fc211087736ca52e267c19bf0239bdfe (diff)
libhb: Additional minor optimizations to nlmeans.
Assume buffered planes are equal size in nlmeans. Make nlmeans scalar counters read like accelerated counters (more readable and saves ~2 cycles). Yet more const correctness. Clarify some variable names for readability. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6896 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/nlmeans.h')
-rw-r--r--libhb/nlmeans.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/nlmeans.h b/libhb/nlmeans.h
index 2af72059f..9f6e90845 100644
--- a/libhb/nlmeans.h
+++ b/libhb/nlmeans.h
@@ -14,12 +14,12 @@ typedef struct
int integral_stride,
const uint8_t *src,
const uint8_t *src_pre,
- int src_w,
const uint8_t *compare,
const uint8_t *compare_pre,
- int compare_w,
int w,
- int h,
+ int border,
+ int dst_w,
+ int dst_h,
int dx,
int dy);
} NLMeansFunctions;