Just to clarify in case it matters. A program that I use a lot for post processing is called Rawtherapee. As open source software it does NOT favor any particular camera maker. I believe it supports just about, if NOT, all camera makes that produce so-called raw files (whatever those are). This is true even though these files are created in a proprietary format particular to the make of camera. I believe Adobe, which as far as I know does NOT make cameras, has defined a format of their own which might then be considered a standard. Last I checked they provide software that converts the proprietary files, for lots of camera makers, to use their (?standard) format should that be desired as might be expected for users of Photoshop using cameras from different makers. My thinking would be that this imposes some limits on the extent to which camera makers can very and still be supported by this software.
As best I can tell “demosaic” is not a word in the English language. Likewise, there is no mention of it in the documentation provided with software supplied by Canon for developing their raw files. Apparently, it doesn’t matter to Canon. My use of the term is entirely based on the documentation that Rawtherapee provides at
this link.
My opinion is that what I’ve said herein when referring to demosaicing and raw files is quite consistent with Rawtherapee’s usage of the terminology. My apologies if that differs from how others might use the same terms. It might be worth pointing out that Rawtherapee is open source software designed & developed by a very large community of people many of whom do not speak English as their native language. I think it is fair to say they agree with this definition. However, I’d have to admit that such a term may have NO official meaning and could mean something else to others.
Of course it would be fair to say that pre-processing (whatever that might mean) of some kind by the camera is involved in producing so-called raw files.