From 6e3887c7b91256c9d2b9742fbbd5727ca344bb7f Mon Sep 17 00:00:00 2001 From: powturbo Date: Thu, 11 Jun 2015 20:44:40 +0200 Subject: [PATCH] TurboPFor decode --- vp4dd.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vp4dd.h b/vp4dd.h index 93b10a7..e2b08d0 100644 --- a/vp4dd.h +++ b/vp4dd.h @@ -26,14 +26,17 @@ #ifdef __cplusplus extern "C" { #endif - +#include #define P4DSIZE 128 //64 // #define P4DN (P4DSIZE/64) //---------------- Bulk decompress of TurboPFor compressed integer array ------------------------------------------------------- // decompress a previously (with p4denc32) 32 bits packed array. Return value = end of packed buffer in unsigned char *p4ddec32( unsigned char *__restrict in, unsigned n, unsigned *__restrict out); +unsigned char *p4ddec64( unsigned char *__restrict in, unsigned n, uint64_t *__restrict out); + unsigned char *p4dd32( unsigned char *__restrict in, unsigned n, unsigned *__restrict out, unsigned b, unsigned bx); +unsigned char *p4dd64( unsigned char *__restrict in, unsigned n, uint64_t *__restrict out, unsigned b, unsigned bx); // decompress a previously (with p4denc32) 32 bits packed array. Return value = end of packed buffer in unsigned char *p4ddecv32( unsigned char *__restrict in, unsigned n, unsigned *__restrict out);