A single frame of a 2D (monoscopic) picture asset.
More...
#include <mono_j2k_picture_frame.h>
|
std::shared_ptr< ASDCP::JP2K::FrameBuffer > | _buffer |
|
|
class | AssetReader< ASDCP::JP2K::MXFReader, MonoJ2KPictureFrame > |
|
A single frame of a 2D (monoscopic) picture asset.
Definition at line 70 of file mono_j2k_picture_frame.h.
◆ MonoJ2KPictureFrame() [1/2]
MonoJ2KPictureFrame::MonoJ2KPictureFrame |
( |
boost::filesystem::path |
path | ) |
|
|
explicit |
Make a picture frame from a JPEG2000 file.
- Parameters
-
path | Path to JPEG2000 file. |
Definition at line 61 of file mono_j2k_picture_frame.cc.
◆ MonoJ2KPictureFrame() [2/2]
MonoJ2KPictureFrame::MonoJ2KPictureFrame |
( |
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 84 of file mono_j2k_picture_frame.cc.
◆ data() [1/2]
uint8_t const * MonoJ2KPictureFrame::data |
( |
| ) |
const |
|
overridevirtual |
◆ data() [2/2]
uint8_t * MonoJ2KPictureFrame::data |
( |
| ) |
|
|
overridevirtual |
◆ size()
int MonoJ2KPictureFrame::size |
( |
| ) |
const |
|
overridevirtual |
◆ xyz_image()
shared_ptr< OpenJPEGImage > MonoJ2KPictureFrame::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 127 of file mono_j2k_picture_frame.cc.
The documentation for this class was generated from the following files: