tag:blogger.com,1999:blog-3439806867078713766.post3654768426993951643..comments2023-09-11T06:53:04.318-07:00Comments on Exploring the Galaxy: MPEG acceleration with GLSLsloukenhttp://www.blogger.com/profile/10886323786300442726noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-3439806867078713766.post-5555793488054991842011-10-10T02:55:50.183-07:002011-10-10T02:55:50.183-07:00Hi Fresian,
I tried your shader script, but get c...Hi Fresian,<br /><br />I tried your shader script, but get chaos colors. I think maybe I choosed a wrong tcoord value.<br /><br />I can render the RGB565 imgage with Texture, and I used the same texCoords with that one.<br /><br />Can you provide some OpenGL ES 2 sample code to use your shader?<br /><br />Thanks in advance.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3439806867078713766.post-60194563170563835612011-07-11T01:57:14.722-07:002011-07-11T01:57:14.722-07:00Nice post! I was thinking about doing something s...Nice post! I was thinking about doing something similar to speed up JPEG processing for large images.<br /><br />I've noticed that you're only using the first 8 bits of each texture. Might this be a waste of CPU >> GPU bandwidth? How does performance improve further when you combine the UV planes as a .xy 16-bit texture access?<br /><br />Going further, I wonder if there's a clever way to combine Y with the UV planes as well? Currently you're making good use of the GPU interpolating your chroma subsampled planes. <br /><br />Perhaps it's as simple as first having the CPU place (decode) YUV into one 24bit W*H texture, where the UV planes fill only half of the texture (W/2*H/2). Then you might have two texture access in your fragment shader: i) sample Y at the current tcoord varying; ii) sample UV simultaneously at tcoord*0.5... that's 1/3 of the CPU >> GPU bandwidth required, one less texture access and two less texture units reserved in your fragment shader.<br /><br />jpapjpaphttp://jpap.orgnoreply@blogger.comtag:blogger.com,1999:blog-3439806867078713766.post-66040970572891962722011-04-25T11:18:38.056-07:002011-04-25T11:18:38.056-07:00Thanks!
My name is Fresian actually, and means &q...Thanks!<br /><br />My name is Fresian actually, and means "of the land"sloukenhttps://www.blogger.com/profile/10886323786300442726noreply@blogger.comtag:blogger.com,1999:blog-3439806867078713766.post-71469568809923165132011-04-24T21:38:20.129-07:002011-04-24T21:38:20.129-07:00Great work Sam
More blog posts
does your name me...Great work Sam <br />More blog posts<br /><br />does your name mean "sam lantiga or ken" in french? slouken.<br /><br />anyway you are a juggernaut.<br />my theory that there are only 50 people in the universe is proven by the few replies here,Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3439806867078713766.post-72954995813783206562011-02-14T08:53:25.734-08:002011-02-14T08:53:25.734-08:00I tested it with the YUV speed test listed above. ...I tested it with the YUV speed test listed above. SMPEG would be a good production test, but there's some multi-threaded re-architecting that needs to happen in that library before it's ready to use with this code.sloukenhttps://www.blogger.com/profile/10886323786300442726noreply@blogger.comtag:blogger.com,1999:blog-3439806867078713766.post-16783408746451091432011-02-14T04:47:56.529-08:002011-02-14T04:47:56.529-08:00You test this with your SMPEG library or something...You test this with your SMPEG library or something else?Timhttps://www.blogger.com/profile/00764611226086897270noreply@blogger.comtag:blogger.com,1999:blog-3439806867078713766.post-1217750579591652252011-02-13T01:15:20.939-08:002011-02-13T01:15:20.939-08:00Oops, sorry for the noise, my browser's search...Oops, sorry for the noise, my browser's search feature has gone wrong.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3439806867078713766.post-23149556805503036742011-02-12T17:34:06.023-08:002011-02-12T17:34:06.023-08:00Nope, this line uses it:
yuv += offset;Nope, this line uses it:<br />yuv += offset;sloukenhttps://www.blogger.com/profile/10886323786300442726noreply@blogger.comtag:blogger.com,1999:blog-3439806867078713766.post-64795345884649338282011-02-12T16:32:07.207-08:002011-02-12T16:32:07.207-08:00The YUV offset is unused (const offest).The YUV offset is unused (const offest).Anonymousnoreply@blogger.com