It's not really a part of decoding, just happens to be hooked in there as it's the earliest time we have the decoded packet, so I think we can give it a more generic name and put it in a util-cuda.c style file.