Jonathan Harris
7587e1224a
libavcodec/dxv.c: handle widths not a multiple of 16
...
The Resolume DXV codec is based on 4x4 pixel DXT1/DXT5/BC4/BC5 blocks, so
it's natural to assume that files would be padded to multiples of 4 in width
and height. But in practice .mov files produced by the Resolume software are
always padded to multiples of 16 in width and height, so FFmpeg currently
decodes them incorrectly.
When encoding FFmpeg already pads both width and height to 16 so no change
is required - see libavcodec/dxvenc.c:37-40 (commit
d4556c98f0 ):
/*
* Resolume will refuse to display frames that are not padded to 16x16 pixels.
*/
#define DXV_ALIGN(x) FFALIGN(x, 16)
Signed-off-by: Jonathan Harris <ffmpeg@marginal.org.uk >
2026-06-24 13:49:42 -07:00
..
2026-06-17 17:34:24 +09:00
2026-06-13 21:32:07 -03:00
2026-06-23 19:15:57 +02:00
2026-06-13 12:08:10 +02:00
2026-06-14 03:10:29 +00:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-15 11:19:58 -03:00
2026-06-23 19:15:57 +02:00
2026-06-19 09:48:56 +00:00
2026-06-19 08:44:30 +00:00
2026-06-19 08:44:30 +00:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-14 22:04:42 +02:00
2026-06-15 17:10:52 +00:00
2026-06-20 21:19:56 -03:00
2026-06-13 15:57:19 +00:00
2026-06-23 19:13:06 +02:00
2026-06-23 19:13:06 +02:00
2026-06-23 19:15:57 +02:00
2026-06-16 10:11:32 -03:00
2026-06-23 19:15:57 +02:00
2026-06-23 23:58:45 +00:00
2026-06-13 11:21:14 +00:00
2026-06-13 11:21:14 +00:00
2026-06-16 15:59:52 +00:00
2026-06-24 13:49:42 -07:00
2026-06-18 21:17:23 +00:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-13 21:40:40 +00:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-19 15:18:54 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 17:15:02 +02:00
2026-06-13 15:55:40 +00:00
2026-06-23 19:15:57 +02:00
2026-06-13 21:40:40 +00:00
2026-06-16 09:18:23 -03:00
2026-06-16 09:18:23 -03:00
2026-06-23 19:15:57 +02:00
2026-06-23 17:15:02 +02:00
2026-06-24 18:51:12 +00:00
2026-06-24 18:51:12 +00:00
2026-06-24 18:51:12 +00:00
2026-06-24 18:51:12 +00:00
2026-06-24 18:51:12 +00:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 17:15:02 +02:00
2026-06-23 17:15:02 +02:00
2026-06-23 17:15:02 +02:00
2026-06-23 19:15:57 +02:00
2026-06-13 15:54:44 +00:00
2026-06-13 15:54:44 +00:00
2026-06-13 22:03:59 +00:00
2026-06-18 16:05:30 +02:00
2026-06-17 02:27:33 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:13:06 +02:00
2026-06-23 19:15:57 +02:00
2026-06-14 22:04:42 +02:00
2026-06-23 19:15:57 +02:00
2026-06-23 19:15:57 +02:00
2026-06-19 04:33:18 +00:00