Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

roscler

@roscler
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • More than one code challenge for a programming job?
    R roscler

    I recently was approached by an intermediary firm on behalf of another company looking for Android developers. They asked me to do a code challenge and post the source code to GitHub, which I did. About 1-2 weeks later, they asked me to do another code challenge for the prospective client/employer at their request. I've never been asked to do more than one code challenge for a prospective contract/job. How many of you have been asked to do multiple code challenges for a prospective job? This seems a bit strange to me. The code challenges are not major projects. However they are the kind that would take a full day to complete so they aren't completely trivial either. I'm trying to find out how common this is and whether or not I should assume that the prospective client/employer isn't really serious and is just "kicking the (my) tires" by asking for multiple code challenges.

    The Lounge android question career

  • WPF Rant
    R roscler

    Great tips! Should be a Code Project article. Let me know when you post it. : :-D

    The Lounge csharp css wpf game-dev question

  • A Contest I Can Win, And I'm Only Hearing About it Now!?
    R roscler

    Hi OriginalGriff, Did you happen to see my entry (Azure Animal Adoption Agency)? It's my first article post to Code Project ever (been a lurker for a long time), so I'm wondering how good or bad of a job I did on the contest idea and for the code tip I added about painless Two-way data binding of enumerated properties. If you have some tips I'd like to hear them: http://www.codeproject.com/Articles/583225/Azure-Animal-Adoption-Agent -- roschler

    The Lounge com cloud question

  • Can I push a per-pixel off-screen bitmap operation onto the Graphics Accelerator (DirectDraw, etc.)?
    R roscler

    Hello Baltoro, I am not using GetPixel/SetPixel. Instead I am using the Bitmap's scanline property to get a pointer to that memory area and simply walking a pointer over that area in a tight loop. I do have access to the bitmap, in fact I call Delphi's JPEG code to decompress, with some optimizations I added to avoid needless memory reallocations between JPEG frames. I have since learned that there is an extension called DXVA (DirectX Video Acceleration), but that it is really tough to work with. However, I was also told that there probably already are JPEG compressors on my system that make use of DXVA. It might end up being an issue of learning how (if possible) to use DirectX to utilize those hardware accelerated compressors, but I have no idea to go about doing that currently. Thanks, Robert

    Graphics graphics json performance help tutorial

  • Can I push a per-pixel off-screen bitmap operation onto the Graphics Accelerator (DirectDraw, etc.)?
    R roscler

    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.

    Graphics graphics json performance help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups