mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Input node improvements
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#ifndef DCT_H
|
||||
#define DCT_H
|
||||
|
||||
#include "DCTCommon.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace dct {
|
||||
|
||||
class DCTInternal;
|
||||
|
||||
class DCT {
|
||||
public:
|
||||
DCT(int quality);
|
||||
~DCT();
|
||||
|
||||
void forward(uint8_t const *pixels, int16_t *coefficients, int width, int height, int bytesPerRow);
|
||||
void inverse(int16_t const *coefficients, uint8_t *pixels, int width, int height, int coefficientsPerRow, int bytesPerRow);
|
||||
|
||||
private:
|
||||
DCTInternal *_internal;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user