mirror of
https://github.com/libretro/FFmpeg.git
synced 2026-11-13 04:34:56 -10:00
pngdec: Fix masks for interlaced decoding
Signed-off-by: Michael Niedermayer <[email protected]>
This commit is contained in:
1 parent
602e97dfaa
commit
fd8a8373aa
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -41,7 +41,7 @@ static const uint8_t ff_png_pass_xshift[NB_PASSES] = {
|
||||
|
||||
/* Mask to determine which pixels are valid in a pass */
|
||||
const uint8_t ff_png_pass_mask[NB_PASSES] = {
|
||||
0x80, 0x08, 0x88, 0x22, 0xaa, 0x55, 0xff
|
||||
0x01, 0x01, 0x11, 0x11, 0x55, 0x55, 0xff,
|
||||
};
|
||||
|
||||
void *ff_png_zalloc(void *opaque, unsigned int items, unsigned int size)
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
|
||||
/* Mask to determine which y pixels can be written in a pass */
|
||||
static const uint8_t png_pass_dsp_ymask[NB_PASSES] = {
|
||||
0xff, 0xff, 0x0f, 0xcc, 0x33, 0xff, 0x55,
|
||||
0xff, 0xff, 0x0f, 0xff, 0x33, 0xff, 0x55,
|
||||
};
|
||||
|
||||
/* Mask to determine which pixels to overwrite while displaying */
|
||||
|
||||
Reference in new issue
Block a user