mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 00:40:09 +00:00
Revert "(RPNG) Optimize png_reverse_filter_adam7_deinterlace_pass"
This reverts commit a283b7126189e0f001bbf56252a5103a3a955d3c.
This commit is contained in:
parent
003ff126ce
commit
282d34aeb1
@ -468,13 +468,10 @@ static void png_reverse_filter_adam7_deinterlace_pass(uint32_t *data,
|
|||||||
for (y = 0; y < pass_height;
|
for (y = 0; y < pass_height;
|
||||||
y++, data += ihdr->width * pass->stride_y, input += pass_width)
|
y++, data += ihdr->width * pass->stride_y, input += pass_width)
|
||||||
{
|
{
|
||||||
uint32_t *out = data;
|
uint32_t *out = data;
|
||||||
const uint32_t *input_ptr = NULL;
|
|
||||||
|
|
||||||
for ( input_ptr = &input[0]
|
for (x = 0; x < pass_width; x++, out += pass->stride_x)
|
||||||
; input_ptr < input + pass_width
|
*out = input[x];
|
||||||
; input_ptr++, out += pass->stride_x)
|
|
||||||
*out = *input_ptr;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user