Click here to Skip to main content
15,899,754 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: this.CreateGraphics() Issue Pin
Harvey Saayman6-Mar-08 20:55
Harvey Saayman6-Mar-08 20:55 
GeneralRe: this.CreateGraphics() Issue Pin
Christian Graus6-Mar-08 21:29
protectorChristian Graus6-Mar-08 21:29 
GeneralRe: this.CreateGraphics() Issue Pin
Harvey Saayman6-Mar-08 21:43
Harvey Saayman6-Mar-08 21:43 
GeneralPush mode/Pull mode Pin
Sugantha5-Mar-08 19:55
Sugantha5-Mar-08 19:55 
GeneralRe: Push mode/Pull mode Pin
Mark Salsbery6-Mar-08 5:59
Mark Salsbery6-Mar-08 5:59 
Generalrendering video Pin
jossion4-Mar-08 19:16
jossion4-Mar-08 19:16 
GeneralRe: rendering video Pin
Mark Salsbery4-Mar-08 19:46
Mark Salsbery4-Mar-08 19:46 
GeneralRe: rendering video Pin
jossion4-Mar-08 22:52
jossion4-Mar-08 22:52 
I have pixel values of successive frames of video stored in int disp_frame[50][144[176], 50 buffers of size 176X144. Under a timer of 40ms I was doing all the stuff which i posted. Previously I was using setpixel to draw the video. Now for better speed I thought of doing BitBlt. So there came a ncessity to convert the raw pixel values to bitmap. That is what should happen in the rendering section. Creating DC,then Creating DIB then copying to memory DC, then using BitBlt or optional zooming with StretchBlt. I know that there are still excellent ways of doing it. But I thought of learning all techniques by coding it and seeing the performance. So I would like you to fill the rendering area with BitBlt(including routines for DC creation) for displaying pixels in disp_frame.As I have read the pixel values should be copied to (void**)&pBitmapBits. Basically I am not a person with programming background. that's why my code might have irritated you a bit. Anyhow a small apology for my mistakes.

bitmap is of type BITMAPINFO *bitmap.
GeneralRe: rendering video [modified] Pin
Mark Salsbery5-Mar-08 5:59
Mark Salsbery5-Mar-08 5:59 
GeneralRe: rendering video Pin
jossion5-Mar-08 16:19
jossion5-Mar-08 16:19 
GeneralRe: rendering video Pin
Mark Salsbery5-Mar-08 16:50
Mark Salsbery5-Mar-08 16:50 
GeneralRe: rendering video Pin
jossion23-Feb-09 21:41
jossion23-Feb-09 21:41 
GeneralRe: rendering video Pin
Mark Salsbery24-Feb-09 5:39
Mark Salsbery24-Feb-09 5:39 
GeneralRe: rendering video Pin
jossion24-Feb-09 16:49
jossion24-Feb-09 16:49 
QuestionScreen Capture over Terminal Server Pin
intonet4-Mar-08 3:29
intonet4-Mar-08 3:29 
QuestionHow to mirror the screen. Pin
Tino126-Feb-08 20:58
Tino126-Feb-08 20:58 
AnswerRe: How to mirror the screen. [modified] Pin
Smithers-Jones28-Feb-08 11:10
Smithers-Jones28-Feb-08 11:10 
QuestionHow to draw text in OpenGL and what is problem in this Code Pin
Yasir Nawazish Ali26-Feb-08 17:10
Yasir Nawazish Ali26-Feb-08 17:10 
GeneralDraw text in C# using OpenGL Pin
Yasir Nawazish Ali26-Feb-08 0:17
Yasir Nawazish Ali26-Feb-08 0:17 
GeneralRe: Draw text in C# using OpenGL Pin
El Corazon26-Feb-08 6:02
El Corazon26-Feb-08 6:02 
GeneralRe: Draw text in C# using OpenGL Pin
Yasir Nawazish Ali26-Feb-08 17:07
Yasir Nawazish Ali26-Feb-08 17:07 
QuestionRender bitmap Pin
robban5145143225-Feb-08 20:38
robban5145143225-Feb-08 20:38 
QuestionHow to apply a texture to an irregular shape using GDI+ ? Pin
KaKa'24-Feb-08 5:06
KaKa'24-Feb-08 5:06 
GeneralRe: How to apply a texture to an irregular shape using GDI+ ? Pin
Shog924-Feb-08 9:40
sitebuilderShog924-Feb-08 9:40 
QuestionHow i can improve this website Pin
Saqib Yaqub24-Feb-08 4:19
Saqib Yaqub24-Feb-08 4:19 

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.