Click here to Skip to main content
15,892,005 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: How to print GDI BarChart? Pin
Henry Minute2-Aug-09 9:33
Henry Minute2-Aug-09 9:33 
GeneralRe: How to print GDI BarChart? Pin
RanaSohail5-Aug-09 3:51
RanaSohail5-Aug-09 3:51 
GeneralRe: How to print GDI BarChart? Pin
Henry Minute5-Aug-09 4:34
Henry Minute5-Aug-09 4:34 
GeneralRe: How to print GDI BarChart? Pin
RanaSohail6-Sep-09 21:47
RanaSohail6-Sep-09 21:47 
QuestionGreat OpenGL 3.1 tutorial Pin
Gvizbi10-Jul-09 9:36
Gvizbi10-Jul-09 9:36 
AnswerRe: Great OpenGL 3.1 tutorial Pin
Gvizbi15-Jul-09 8:43
Gvizbi15-Jul-09 8:43 
QuestionHow to move selected objects in OPENGL Pin
gourishsio6-Jul-09 19:15
gourishsio6-Jul-09 19:15 
QuestionCan I push a per-pixel off-screen bitmap operation onto the Graphics Accelerator (DirectDraw, etc.)? Pin
roscler4-Jul-09 20:04
professionalroscler4-Jul-09 20:04 
I have a program running on Windows 2000 or better PC's that needs to do a per-pixel operation on a Windows bitmap. Currently I'm using a tight loop that does little more than a pointer increment followed by a quick add operation on each pixel over the entire bitmap. This is done in real-time so I need it fast. On a 320 x 240 image that ends up being 230,400 addition operations since they are RGB bitmaps (320 x 240 x 3). This is being done in real time on an image stream that is pumping out 25 frames per second. At that resolution it's fast enough, but at 640 x 480 I have to start dropping frames significantly to keep up. I am not displaying the modified bitmap to the screen at any time. Instead I am shipping it off to a remote location over the Internet for display at the destination system.

I was wondering if I could push this operation to the Graphics Accelerator using one of Windows Graphics API's like DirectDraw, etc.? Or do PC Graphic accelerators only help with operations that are drawn to the screen (local PC video memory)? I assume that if it's possible I'd need to pump the bitmap to the Graphics Accelerator and then know how to do a global operation on each pixel and then copy it back to local RAM? If it is possible to use the Graphics Accelerator to help with per-pixel operations on a off-screen bitmap, what are the pros and cons?

Finally, is there a way to push JPEG decompression and compression operations onto the Graphics Accelerator?

If it is possible to do these things I would like to know where a quick easy to dive into sample is. I don't have any need for shading or rotations or any complex graphics operations at all like that. Therefore I would like to avoid wading through a ton of reading just to learn how to do a simple global pixel operation task.

Thanks in advance.
AnswerRe: Can I push a per-pixel off-screen bitmap operation onto the Graphics Accelerator (DirectDraw, etc.)? Pin
Baltoro5-Jul-09 10:55
Baltoro5-Jul-09 10:55 
GeneralRe: Can I push a per-pixel off-screen bitmap operation onto the Graphics Accelerator (DirectDraw, etc.)? Pin
roscler5-Jul-09 14:50
professionalroscler5-Jul-09 14:50 
QuestionTwo Cameras Mosaic Algorithm Pin
Bob Yiu3-Jul-09 3:34
Bob Yiu3-Jul-09 3:34 
AnswerRe: Two Cameras Mosaic Algorithm Pin
Tim Craig4-Jul-09 8:41
Tim Craig4-Jul-09 8:41 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Bob Yiu4-Jul-09 22:58
Bob Yiu4-Jul-09 22:58 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Tim Craig5-Jul-09 21:12
Tim Craig5-Jul-09 21:12 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Bob Yiu6-Jul-09 23:43
Bob Yiu6-Jul-09 23:43 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Tim Craig7-Jul-09 17:59
Tim Craig7-Jul-09 17:59 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Bob Yiu7-Jul-09 20:14
Bob Yiu7-Jul-09 20:14 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Tim Craig7-Jul-09 20:54
Tim Craig7-Jul-09 20:54 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Bob Yiu8-Jul-09 16:27
Bob Yiu8-Jul-09 16:27 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Tim Craig8-Jul-09 18:40
Tim Craig8-Jul-09 18:40 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Bob Yiu11-Jul-09 20:37
Bob Yiu11-Jul-09 20:37 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Tim Craig12-Jul-09 9:03
Tim Craig12-Jul-09 9:03 
GeneralRe: Two Cameras Mosaic Algorithm Pin
Bob Yiu2-Aug-09 22:23
Bob Yiu2-Aug-09 22:23 
QuestionHow to find the centerline of a font glyph boundary Pin
Jason Titcomb23-Jun-09 6:46
Jason Titcomb23-Jun-09 6:46 
AnswerRe: How to find the centerline of a font glyph boundary Pin
themightymekon15-Jul-09 1:57
themightymekon15-Jul-09 1:57 

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.