Thank Mark DS,
Your link is really good and I have find a lot of code/samples/new ideas in it
This confort me to the fact that the RGB colorspace isn’t the best for the compression/decompression of pictures/videos
This seem very nice but I don’t want to loose the 4:2:0 compression in the way
But I think that this is not too hard to add to the YCoCg sheme, because this seem exactely the same thing that what I make for to handle Y, Cb and Cr planes in my shader, cf. only some “scale/decal” with texcoords for to access the good plane.
And I see one YCoCg to RGB conversion formula in this linked page, so I don’t think that it’s really too hard to have a formula for a direct YCbCr to YCoCg conversion
(so, the 4:2:0 compression is not necessary loose …)
Note that I don’t like to work with only a diagonale in a 3D colorspace, I prefer the possiblilty to work with a “true but little/reduced” colorspace, not only a “gradient colorline”
With one “diagonale/interpolation” per component, this can form a sort of “curved triangle” if we think colors such as 3D vectors (cf. x,y,z r,g,b, y,u,v, y,cb,cr and y,co,cg are alls 3D vectors) that are not obligatory linears and/or perpendicals …
(the DXT compression scheme can only handle a line in the 3D RGB colorspace)
In alls cases, if the RGB colorspace don’t seem to be very used in the video domain, it’s certainly not for nothing
But this work always only for handle intra-pictures …
=> it’s now time to think about the inter-pictures algorithm for to really have a good compression ratio
(interlacement technics, subpictures/mosaics and others bi-directionals pictures can help a lot for this)
==> I have already something that begin to work and that use the standard PAL/SECAM interlacement/frame (cf. 50 Hz to 25 fps) scheme for to handle two successives YCbCr video pictures for the price of only one
(I have now my GOP, of only two pictures it’s true, but it’s already the beginning of the implementation of my “GOP dream/delirium” )
===> this make already a 4:1 compression without any visual artifacts (and with a temporal interpolation between this two frames if we want more/less fps) when we compare it to basics/simples RGB successives frames (and the DXT1 compression is only 8:1 with a lot of visuals artifacts and any inter-pictures features …)
@+
Yannoo