It does, but it's overkill for this type of case. The usual thing to do (as per e.g. NES) is to have PALETTE_INIT actually calculate the palette from the YUV values so it's documented where they come from.