Click here to Skip to main content
15,890,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAccessing Pixels with CreateDIBSection Pin
Member 925534913-Aug-12 20:38
Member 925534913-Aug-12 20:38 
AnswerRe: Accessing Pixels with CreateDIBSection Pin
Eugen Podsypalnikov13-Aug-12 21:05
Eugen Podsypalnikov13-Aug-12 21:05 
GeneralRe: Accessing Pixels with CreateDIBSection Pin
Member 925534913-Aug-12 22:23
Member 925534913-Aug-12 22:23 
AnswerRe: Accessing Pixels with CreateDIBSection Pin
pasztorpisti13-Aug-12 22:54
pasztorpisti13-Aug-12 22:54 
GeneralRe: Accessing Pixels with CreateDIBSection Pin
Member 925534914-Aug-12 7:58
Member 925534914-Aug-12 7:58 
GeneralRe: Accessing Pixels with CreateDIBSection Pin
pasztorpisti14-Aug-12 8:09
pasztorpisti14-Aug-12 8:09 
QuestionSpeed up a numerical Calculation. Circular Queue Pin
whitbuzben1813-Aug-12 7:55
whitbuzben1813-Aug-12 7:55 
AnswerRe: Speed up a numerical Calculation. Circular Queue Pin
Chris Losinger13-Aug-12 9:25
professionalChris Losinger13-Aug-12 9:25 
that looks pretty straightforward. i doubt a circular buffer is going to give you much improvement - you're just copying some floats around, after all. no matter where they reside or how you abstract your data structure (array, circ buffer, etc), you're still copying floats.

you could probably speed it up a bit using vector processing - execute those four multiplications in one call. you could do the addition/subtraction in one call, too. search here for "SIMD" or "SSE". though that stuff might look a little scary, if you're coming from MatLab...


modified 13-Aug-12 15:35pm.

GeneralRe: Speed up a numerical Calculation. Circular Queue Pin
pasztorpisti13-Aug-12 13:19
pasztorpisti13-Aug-12 13:19 
AnswerRe: Speed up a numerical Calculation. Circular Queue Pin
Software_Developer13-Aug-12 10:33
Software_Developer13-Aug-12 10:33 
QuestionVIsual Studio Plug-in for Heap Storage Pin
ForNow13-Aug-12 2:58
ForNow13-Aug-12 2:58 
QuestionRe: VIsual Studio Plug-in for Heap Storage Pin
_AnsHUMAN_ 14-Aug-12 1:54
_AnsHUMAN_ 14-Aug-12 1:54 
AnswerRe: VIsual Studio Plug-in for Heap Storage Pin
ForNow14-Aug-12 6:41
ForNow14-Aug-12 6:41 
QuestionReplace a view in splitter window runtime. Pin
Rishav Prabhakar13-Aug-12 0:47
Rishav Prabhakar13-Aug-12 0:47 
AnswerRe: Replace a view in splitter window runtime. Pin
Richard MacCutchan13-Aug-12 3:04
mveRichard MacCutchan13-Aug-12 3:04 
GeneralRe: Replace a view in splitter window runtime. Pin
Rishav Prabhakar13-Aug-12 3:22
Rishav Prabhakar13-Aug-12 3:22 
GeneralRe: Replace a view in splitter window runtime. Pin
Richard MacCutchan13-Aug-12 3:29
mveRichard MacCutchan13-Aug-12 3:29 
QuestionHow to pan client area of a window using C++/VC++ code Pin
Member 935377612-Aug-12 23:52
Member 935377612-Aug-12 23:52 
AnswerRe: How to pan a window using C++/VC++ code Pin
pasztorpisti13-Aug-12 2:19
pasztorpisti13-Aug-12 2:19 
GeneralRe: How to pan a window using C++/VC++ code Pin
Member 935377616-Aug-12 20:17
Member 935377616-Aug-12 20:17 
AnswerRe: How to pan a window using C++/VC++ code Pin
Software_Developer13-Aug-12 8:42
Software_Developer13-Aug-12 8:42 
GeneralRe: How to pan client area of a window using C++/VC++ code Pin
Member 935377618-Aug-12 19:35
Member 935377618-Aug-12 19:35 
AnswerRe: How to pan a window using C++/VC++ code Pin
pasztorpisti13-Aug-12 11:54
pasztorpisti13-Aug-12 11:54 
GeneralRe: How to pan a window using C++/VC++ code Pin
Member 935377613-Aug-12 20:17
Member 935377613-Aug-12 20:17 
GeneralRe: How to pan a window using C++/VC++ code Pin
pasztorpisti13-Aug-12 22:40
pasztorpisti13-Aug-12 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.