#include <AsyncFile.h>
Public Member Functions | |
| void | saveDNG (Frame::Ptr, std::string filename, Lens *lens=NULL, Flash *flash=NULL) |
| Save a DNG in a background thread. | |
| void | saveJPEG (Frame::Ptr, std::string filename, int quality=75, Lens *lens=NULL, Flash *flash=NULL) |
| Save a JPEG in a background thread. | |
| void | saveDump (Frame::Ptr, std::string filename) |
| Save a raw dump in a background thread. | |
| int | savesPending () |
| How many save requests are pending (including the one currently saving). | |
| void | cancel () |
| Cancel all outstanding requests. | |
Definition at line 21 of file AsyncFile.h.
| void FCam::AsyncFileWriter::saveDNG | ( | Frame::Ptr | f, | |
| std::string | filename, | |||
| Lens * | lens = NULL, |
|||
| Flash * | flash = NULL | |||
| ) |
Save a DNG in a background thread.
You can optionally pass in a lens and flash to add their metadata to the DNG tags.
Definition at line 59 of file AsyncFile.cpp.
| void FCam::AsyncFileWriter::saveJPEG | ( | Frame::Ptr | f, | |
| std::string | filename, | |||
| int | quality = 75, |
|||
| Lens * | lens = NULL, |
|||
| Flash * | flash = NULL | |||
| ) |
Save a JPEG in a background thread.
You can optionally pass a jpeg quality (0-100), and a lens and flash to add their metadata to the DNG tags.
Definition at line 75 of file AsyncFile.cpp.
| void FCam::AsyncFileWriter::saveDump | ( | Frame::Ptr | f, | |
| std::string | filename | |||
| ) |
| void FCam::AsyncFileWriter::cancel | ( | ) |
Cancel all outstanding requests.
The writer will finish saving the current request, but not save any more
Definition at line 108 of file AsyncFile.cpp.
1.5.6