A single frame of a 2D (monoscopic) picture asset.
More...
#include <mono_picture_frame.h>
|
std::shared_ptr< ASDCP::JP2K::FrameBuffer > | _buffer |
|
|
class | AssetReader< ASDCP::JP2K::MXFReader, MonoPictureFrame > |
|
A single frame of a 2D (monoscopic) picture asset.
Definition at line 71 of file mono_picture_frame.h.
◆ MonoPictureFrame() [1/2]
MonoPictureFrame::MonoPictureFrame |
( |
boost::filesystem::path |
path | ) |
|
|
explicit |
Make a picture frame from a JPEG2000 file.
- Parameters
-
path | Path to JPEG2000 file. |
Definition at line 59 of file mono_picture_frame.cc.
◆ MonoPictureFrame() [2/2]
MonoPictureFrame::MonoPictureFrame |
( |
ASDCP::JP2K::MXFReader * |
reader, |
|
|
int |
n, |
|
|
std::shared_ptr< DecryptionContext > |
c, |
|
|
bool |
check_hmac |
|
) |
| |
|
private |
Make a picture frame from a 2D (monoscopic) asset.
- Parameters
-
reader | Reader for the asset's MXF file. |
n | Frame within the asset, not taking EntryPoint into account. |
c | Context for decryption, or 0. |
check_hmac | true to check the HMAC and give an error if it is not as expected. |
Definition at line 85 of file mono_picture_frame.cc.
◆ data() [1/2]
uint8_t const * MonoPictureFrame::data |
( |
| ) |
const |
|
overridevirtual |
◆ data() [2/2]
uint8_t * MonoPictureFrame::data |
( |
| ) |
|
|
overridevirtual |
◆ size()
int MonoPictureFrame::size |
( |
| ) |
const |
|
overridevirtual |
◆ xyz_image()
shared_ptr< OpenJPEGImage > MonoPictureFrame::xyz_image |
( |
int |
reduce = 0 | ) |
const |
- Parameters
-
reduce | a factor by which to reduce the resolution of the image, expressed as a power of two (pass 0 for no reduction). |
Definition at line 128 of file mono_picture_frame.cc.
The documentation for this class was generated from the following files: