Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
1.7 KiB
Plaintext
33 lines
1.7 KiB
Plaintext
DirectShow Editing Sample - Still Frame Capture
|
|
------------------------------------------------
|
|
|
|
This C++ app uses the ISampleGrabber interface to capture still images
|
|
to a .bmp file on disk from a live capture stream. It demonstrates
|
|
how to put the sample grabber into the graph, and how to get the
|
|
bits back from it in real time via the callback.
|
|
|
|
StillCap starts in preview mode, displaying input from the system's
|
|
default video capture device. Normally, this will be an attached video
|
|
camera, like a USB WebCam. When you click the "Snap Still" button,
|
|
a bitmap will be captured and written to disk at the location specified
|
|
in the Capture Directory field. If you enable the "Increment filename"
|
|
option, then a new file will be written each time with a new name.
|
|
Otherwise, the same filename will be used for each captured bitmap.
|
|
|
|
You may also capture video files to disk if you select Video Capture
|
|
on the Capture Type group box. Note that video capture will start
|
|
automatically when you select this option. Click "Start Playback"
|
|
to end the capture session. The recorded file will automatically
|
|
be played back to the screen.
|
|
|
|
NOTE: For simplicity, this sample uses RGB24 format for capturing data
|
|
and writing bitmaps. If your video driver is at 16-bit depth, you may
|
|
notice flicker when running this application. To resolve this problem,
|
|
set your display's bit depth to 24-bit or 32-bit with the Display Properties
|
|
control panel application.
|
|
|
|
NOTE: This application is designed for use with video cameras and does
|
|
not support TV tuners or devices which use the DirectShow Video Port.
|
|
If you need this functionality, you must use the ICaptureGraphBuilder2
|
|
interface to properly build the filter graph in InitStillGraph().
|