[FFmpeg-devel] [PATCH 2/2] dstdec: use appropriate alignment
Peter Ross
pross at xvid.org
Fri Dec 21 04:34:19 EET 2018
this was a typo in my original patch. there is no requirement for 64-byte
alignment here, and it does not affect decoder performance.
---
libavcodec/dstdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dstdec.c b/libavcodec/dstdec.c
index 368cb64931..511861f4d2 100644
--- a/libavcodec/dstdec.c
+++ b/libavcodec/dstdec.c
@@ -70,7 +70,7 @@ typedef struct DSTContext {
GetBitContext gb;
ArithCoder ac;
Table fsets, probs;
- DECLARE_ALIGNED(64, uint8_t, status)[DST_MAX_CHANNELS][16];
+ DECLARE_ALIGNED(16, uint8_t, status)[DST_MAX_CHANNELS][16];
DECLARE_ALIGNED(16, int16_t, filter)[DST_MAX_ELEMENTS][16][256];
DSDContext dsdctx[DST_MAX_CHANNELS];
} DSTContext;
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181221/0abd238f/attachment.sig>
More information about the ffmpeg-devel
mailing list