- Edited
There is a claim that colour space conversions "kills a phone". That's the clickbait. It is at the youtuber to support their claims, in a concise and reproducible way. It is not at us to prove them wrong, which is basically impossible because lack of reproducibility (buzzwords). You know, there is the concept of "not even wrong" that disables concise answers because there are none to the claims.
I could join the guesswork with speculating how an overflow, an underflow, an nan or an inf or div by 0 could crash a program, but to what avail ? All the information necessary is missing in the example. I think that (if that's an uint8_t where the final value ends in) it simply wraps around to 0 because that is how these work. Mind you, that is not an error ! An error would be to use the 0 unchecked for division.
ThinKing_2005 Also, maybe GLES2 and GLES3 have something to do with this.
Well, if there is a concrete issue, let's get behind it and solve it. What do those apis have to do with what ? What error did actually happened, and is it reproducible ? Because it not, there won't possibly be a satisfying answer.