📄 quantize.h
字号:
#ifndef QUANTIZE_H
#define QUANTIZE_H
#include "wave.h"
/****
*NOTE* : the LL section is quantized with Q = 1 !!
the intent here is just to stuff the floats to ints, and
get as much extra stuff out of it as possible
we also get rid of signs here : the ints output by quantize
are all positive, with the sign bit in the last bit of the int
*****/
void doquantize(void * plane,int width,int height,int stride,float Q);
void dequantize(void * plane,int width,int height,int stride,float Q);
void dequantizerow(uint *fm,float *to,int width,float Q);
void doquantizenopack(void * plane,int width,int height,int stride,float Q);
void dequantizenopack(void * plane,int width,int height,int stride,float Q);
#endif // QUANTIZE_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -