descampsa / yuv2rgb

C99 library for fast image conversion between yuv420p and rgb24
BSD 3-Clause "New" or "Revised" License
170 stars 62 forks source link

Wrong factor used in rgb24_yuv420_std #15

Closed mratsim closed 2 years ago

mratsim commented 4 years ago

The v_ptr update should use cr_factor here:

https://github.com/descampsa/yuv2rgb/blob/c51a543cab4322598047bcd86f5d5fd680e9e6f2/yuv_rgb.c#L180-L181

descampsa commented 2 years ago

Fixed in 434fed1bcea70a1eb1ab8ded3f5a7303e04d4721

Thanks !