Search found 5 matches

by re-sublimity
Sun Jun 10, 2007 6:58 pm
Forum: PSP Development
Topic: What`s the fastest way to split RGBA buffer into 3(R,G,B) ?
Replies: 9
Views: 3616

However, I`ve found that there do exist GU_PSM_T16 & 32(but not mentioned in the usual SDK), and the key to use 32bit indexed buffer is the sceGuClutMode function, the second & the third parameter is said to be used for offset & mask, searched the previous discussion still I don`t have ...
by re-sublimity
Sun Jun 10, 2007 3:52 pm
Forum: PSP Development
Topic: What`s the fastest way to split RGBA buffer into 3(R,G,B) ?
Replies: 9
Views: 3616

its simple ...before you convert the RGB member variables in your COLOR structure just use those r.g.b channels and do as you please with them ...simplest form is just to use memcpy to a buffer that will hold the outcome The operation I need to do is the texture look-up, and this is done with The G...
by re-sublimity
Sun Jun 10, 2007 12:25 am
Forum: PSP Development
Topic: What`s the fastest way to split RGBA buffer into 3(R,G,B) ?
Replies: 9
Views: 3616

you can render the screen into another buffer setting masks for the color-channels, but this wouldn't make those buffers 8bit, but just split the screen into 32bit buffers with two channels ==0; that's a lot of copy-work, maybe you could do postprocessing using the GU and without splitting the colo...
by re-sublimity
Sat Jun 09, 2007 11:49 pm
Forum: PSP Development
Topic: What`s the fastest way to split RGBA buffer into 3(R,G,B) ?
Replies: 9
Views: 3616

you can render the screen into another buffer setting masks for the color-channels, but this wouldn't make those buffers 8bit, but just split the screen into 32bit buffers with two channels ==0; that's a lot of copy-work, maybe you could do postprocessing using the GU and without splitting the colo...
by re-sublimity
Sat Jun 09, 2007 10:27 pm
Forum: PSP Development
Topic: What`s the fastest way to split RGBA buffer into 3(R,G,B) ?
Replies: 9
Views: 3616

What`s the fastest way to split RGBA buffer into 3(R,G,B) ?

The original buffer RGBA(32bit) was located in the VRAM, and I want to do some post-process with the image ,so I need three R,G,B channel buffer(8bit) respectively, but to fill the buffer using cpu loop does not meet the need of real-time performance. It`s really inefficient. I was wondering if ther...