# HG changeset patch # User reimar # Date 1282420236 0 # Node ID 31736ceab3aab361b0c7e4acb08897b9e774d07d # Parent 4bc3d73ae577fc4168be568891dcd15685c0e499 The 24-bit ydt also should not depend on endianness, since all of it ends up in a single 32-bit pixel. This seems likely to be wrong though, since it is different from the 15 and 16 bit modes and might explain the half-width issue for 24 bit truemotion. diff -r 4bc3d73ae577 -r 31736ceab3aa truemotion1.c --- a/truemotion1.c Sat Aug 21 19:40:38 2010 +0000 +++ b/truemotion1.c Sat Aug 21 19:50:36 2010 +0000 @@ -213,11 +213,7 @@ return (lo + (lo << 16)) << 1; } -#if HAVE_BIGENDIAN -static int make_ydt24_entry(int p2, int p1, int16_t *ydt) -#else static int make_ydt24_entry(int p1, int p2, int16_t *ydt) -#endif { int lo, hi;