Re: [PATCH 1/4] media: hantro: Read be32 words starting at every fourth byte

2020-01-27 Thread Ezequiel Garcia
On Mon, 2020-01-27 at 15:30 +0100, Andrzej Pietrasiewicz wrote: > Since (luma/chroma)_qtable is an array of unsigned char, indexing it > returns consecutive byte locations, but we are supposed to read the arrays > in four-byte words. Consequently, we should be pointing > get_unaligned_be32() at con

[PATCH 1/4] media: hantro: Read be32 words starting at every fourth byte

2020-01-27 Thread Andrzej Pietrasiewicz
Since (luma/chroma)_qtable is an array of unsigned char, indexing it returns consecutive byte locations, but we are supposed to read the arrays in four-byte words. Consequently, we should be pointing get_unaligned_be32() at consecutive word locations instead. Signed-off-by: Andrzej Pietrasiewicz