TurboPFor: TurboPFor decode

This commit is contained in:
x
2017-10-14 16:24:39 +02:00
parent 5239cafa51
commit b16279a908

2
vp4d.c
View File

@ -276,7 +276,7 @@ ALWAYS_INLINE unsigned char *TEMPLATE2(_P4DEC, USIZE)(unsigned char *__restrict
return TEMPLATE2(BITUNPACKD, USIZE)(in, n, out P4DELTA(start), b); return TEMPLATE2(BITUNPACKD, USIZE)(in, n, out P4DELTA(start), b);
} }
b &= 0x7f; b &= 0x7f;
#if defined(VSIZE) && USIZE < 64 #if VSIZE >= 128 && USIZE < 64
{ unsigned char *pb = in; { unsigned char *pb = in;
#if VSIZE == 128 #if VSIZE == 128
in = TEMPLATE2(bitunpack, USIZE)(in+16, popcnt64(ctou64(in)) + popcnt64(ctou64(in+8)), ex, bx); in = TEMPLATE2(bitunpack, USIZE)(in+16, popcnt64(ctou64(in)) + popcnt64(ctou64(in+8)), ex, bx);