Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/librfxcodec.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/rfxencode.h')
-rw-r--r--src/rfxencode.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/src/rfxencode.h b/src/rfxencode.h
index 8e185dc..28b1479 100644
--- a/src/rfxencode.h
+++ b/src/rfxencode.h
@@ -33,6 +33,17 @@ typedef int (*rfx_encode_proc)(struct rfxencode *enc, const char *qtable,
const uint8 *data,
uint8 *buffer, int buffer_size, int *size);
+struct rfx_rb
+{
+ sint16 y[4096];
+ sint16 u[4096];
+ sint16 v[4096];
+};
+
+
+#define RFX_MAX_RB_X 64
+#define RFX_MAX_RB_Y 64
+
struct rfxencode
{
int width;
@@ -44,7 +55,8 @@ struct rfxencode
int flags;
int bits_per_pixel;
int format;
- int pad0[7];
+ int pro_ver;
+ int pad0[6];
uint8 a_buffer[4096];
uint8 y_r_buffer[4096];
@@ -54,13 +66,24 @@ struct rfxencode
sint16 dwt_buffer_a[4096];
sint16 dwt_buffer1_a[4096];
sint16 dwt_buffer2_a[4096];
+ sint16 dwt_buffer3_a[4096];
+ sint16 dwt_buffer4_a[4096];
+ sint16 dwt_buffer5_a[4096];
+ sint16 dwt_buffer6_a[4096];
uint8 pad2[16];
sint16 *dwt_buffer;
sint16 *dwt_buffer1;
sint16 *dwt_buffer2;
+ sint16 *dwt_buffer3;
+ sint16 *dwt_buffer4;
+ sint16 *dwt_buffer5;
+ sint16 *dwt_buffer6;
rfx_encode_proc rfx_encode;
rfx_encode_rgb_to_yuv_proc rfx_encode_rgb_to_yuv;
rfx_encode_argb_to_yuva_proc rfx_encode_argb_to_yuva;
+ rfx_encode_proc rfx_rem_encode;
+
+ struct rfx_rb * rbs[RFX_MAX_RB_X][RFX_MAX_RB_Y];
int got_sse2;
int got_sse3;
@@ -72,4 +95,7 @@ struct rfxencode
int got_neon;
};
+void
+rfxcodec_hexdump(const void *p, int len);
+
#endif