Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Image Scaling

Name: Anonymous 2012-08-22 16:07

/prog/, do you have fast and good image scaling algorithm in the form of:
void resample(uint8_t *Dst, int DstW, int DstH, uint8_t *Src, int SrcW, int SrcH);

???

Name: Anonymous 2012-08-23 11:33

>>27
The inner loop will be compiled as a pointer counting up towards an end pointer, basically: while (dstp < dst_end)
Only if compiler is very smart. IIRC, Visual Studio 6.0 havent done such optimization and since then I always do it manually.

Name: Anonymous 2012-08-23 12:14

>>10
It can be done by hand rather rapidly using bit operators.

Name: Anonymous 2012-08-23 13:16

>>29
proof?

Name: Anonymous 2012-08-23 17:01

>>28
To my knowledge GCC has featured this optimization since forever

Name: Anonymous 2012-08-23 17:26

>>28              `
>2011
>micro-optimization

ishygddt

Name: Anonymous 2012-08-23 17:41

>>32
What the hell does ``ishygddt" mean, friend?

Name: Anonymous 2012-08-23 17:43

>>32
By the way, why are ``2011" and ``micro-optimization" green? And if you were going to quote something, you do it with "> ", not with ">".

But I doubt you would want to quote ``2011" and ``micro-optimization", >>28-san didn't mention those words.

I'm truly confused.

Name: Anonymous 2012-08-23 17:43

>>33
What the hell does ``ishygddt" mean, friend?
2012
I seriously hope you guys don't do this

Name: Anonymous 2012-08-23 17:45

>>35
No, really, I don't understand and I'd like to know.

Name: Anonymous 2012-08-23 17:53

>>36
Fine. Let me spell it out for you.

ishygddt
I seriously hope you guys don't do this.

Name: Anonymous 2012-08-23 18:00

>>37
I can't believe you're lazy enough to contract that sentence into a badly done ``acronym" that doesn't even use uppercase letters.

And how do you expect me to do a ``2011"?

Name: Anonymous 2012-08-23 18:03

>>38
It's already 2011 and you're still doing this?
ishiggydiggydoo

Name: Anonymous 2012-08-23 19:23

>>39
Shiggy Diggy Doo? Is he related to Scooby and Scrappy?

Name: Anonymous 2012-08-23 20:48

>>39
What?

Please be honest, did this stupid contraction come from Reddit? Never seen it on /prog/ before.

Name: Anonymous 2012-08-23 21:25

Name: Anonymous 2012-08-23 21:28

>>41
It came from the imageboards, namely /v/. /sp/ will claim to have ``started it'' but nobody goes to /sp/ so there's no proof and it would have never reached popularity if it didn't spring up in /v/.

Name: Anonymous 2012-08-23 21:39

>>43
Gosh, so it came from the imageboards.

Why do these people think they're an ``epic meme factory"? This stupid contraction is not even funny.

Name: Anonymous 2012-08-24 0:27

>>44
Because the imageboards are all about xD TUH EPICKQ LOWELEZ, since it's all children and manchildren. However generally their tropes get used here satirically and provocateurally, because we hate most of each other.

Name: Anonymous 2012-08-24 2:57

>>45

nyan

Name: Anonymous 2012-08-24 9:41

Dang, now this thread is ass.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List