libvmaf
Loading...
Searching...
No Matches
ansnr_tools.h
Go to the documentation of this file.
1
18
19#pragma once
20
21#ifndef ANSNR_TOOLS_H_
22#define ANSNR_TOOLS_H_
23
24extern const float ansnr_filter1d_ref_s[3];
25
26extern const float ansnr_filter1d_dis_s[5];
27
28extern const int ansnr_filter1d_ref_width;
29extern const int ansnr_filter1d_dis_width;
30
31extern const float ansnr_filter2d_ref_s[3*3];
32
33extern const float ansnr_filter2d_dis_s[5*5];
34
35extern const int ansnr_filter2d_ref_width;
36extern const int ansnr_filter2d_dis_width;
37
38void ansnr_mse_s(const float *ref, const float *dis, float *sig, float *noise, int w, int h, int ref_stride, int dis_stride);
39
40void ansnr_filter1d_s(const float *f, const float *src, float *dst, int w, int h, int src_stride, int dst_stride, int fwidth);
41
42void ansnr_filter2d_s(const float *f, const float *src, float *dst, int w, int h, int src_stride, int dst_stride, int fwidth);
43
44#endif /* ANSNR_TOOLS_H_ */
void ansnr_filter2d_s(const float *f, const float *src, float *dst, int w, int h, int src_stride, int dst_stride, int fwidth)
const int ansnr_filter2d_ref_width
void ansnr_mse_s(const float *ref, const float *dis, float *sig, float *noise, int w, int h, int ref_stride, int dis_stride)
const float ansnr_filter2d_dis_s[5 *5]
const int ansnr_filter1d_dis_width
const float ansnr_filter2d_ref_s[3 *3]
void ansnr_filter1d_s(const float *f, const float *src, float *dst, int w, int h, int src_stride, int dst_stride, int fwidth)
const int ansnr_filter2d_dis_width
const int ansnr_filter1d_ref_width
const float ansnr_filter1d_dis_s[5]
const float ansnr_filter1d_ref_s[3]