libdcp
Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
dcp::StereoPictureFrame Class Reference

A single frame of a 3D (stereoscopic) picture asset. More...

#include <stereo_picture_frame.h>

Classes

class  Part
 

Public Member Functions

 StereoPictureFrame (StereoPictureFrame const &)=delete
 
StereoPictureFrameoperator= (StereoPictureFrame const &)=delete
 
std::shared_ptr< OpenJPEGImagexyz_image (Eye eye, int reduce=0) const
 
std::shared_ptr< Partleft () const
 
std::shared_ptr< Partright () const
 

Private Member Functions

 StereoPictureFrame (ASDCP::JP2K::MXFSReader *reader, int n, std::shared_ptr< DecryptionContext >, bool check_hmac)
 

Private Attributes

std::shared_ptr< ASDCP::JP2K::SFrameBuffer > _buffer
 

Friends

class AssetReader< ASDCP::JP2K::MXFSReader, StereoPictureFrame >
 

Detailed Description

A single frame of a 3D (stereoscopic) picture asset.

Definition at line 71 of file stereo_picture_frame.h.

Constructor & Destructor Documentation

◆ StereoPictureFrame()

StereoPictureFrame::StereoPictureFrame ( ASDCP::JP2K::MXFSReader *  reader,
int  n,
std::shared_ptr< DecryptionContext c,
bool  check_hmac 
)
private

Make a picture frame from a 3D (stereoscopic) asset.

Parameters
readerReader for the MXF file.
nFrame within the asset, not taking EntryPoint into account.
check_hmactrue to check the HMAC and give an error if it is not as expected.

Definition at line 99 of file stereo_picture_frame.cc.

Member Function Documentation

◆ xyz_image()

shared_ptr< OpenJPEGImage > StereoPictureFrame::xyz_image ( Eye  eye,
int  reduce = 0 
) const
Parameters
eyeEye to return (EYE_LEFT or EYE_RIGHT).
reducea factor by which to reduce the resolution of the image, expressed as a power of two (pass 0 for no reduction).

Definition at line 122 of file stereo_picture_frame.cc.


The documentation for this class was generated from the following files: