📄 mchannel.h
字号:
#ifdef __cplusplus // C++
extern "C" {
#endif
#ifndef _MCHANNEL_H_INCLUDED
#define _MCHANNEL_H_INCLUDED
#include "bit.h"
#include "wavelet.h"
#pragma pack(push, 1)
typedef struct {
t_wv_cchannel* cc; // in
float max_mse; // in, interpreted as relative MSE when MaxBits is != 0
// internal
int bits_alloced, bits_unused, old_bits;
} t_wv_mchannel_params;
#pragma pack(pop)
WAVELET_DLL_API int WAVELET_DLL_CC wv_rgb_to_ycbcr(const int Num, wv_pel* R, wv_pel* G, wv_pel* B);
WAVELET_DLL_API int WAVELET_DLL_CC wv_ycbcr_to_rgb(const int Num, wv_pel* Y, wv_pel* Cb, wv_pel* Cr);
WAVELET_DLL_API int WAVELET_DLL_CC wv_init_multi_channels(const int MaxBits, const float Threshold, const int NumChannels, t_wv_mchannel_params* Channels, t_wv_csettings** sets);
#endif // _MCHANNEL_H_INCLUDED
#ifdef __cplusplus // C++
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -