diff options
Diffstat (limited to 'src/AS_DCP.h')
| -rwxr-xr-x | src/AS_DCP.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/AS_DCP.h b/src/AS_DCP.h index aab7f77..ec2064d 100755 --- a/src/AS_DCP.h +++ b/src/AS_DCP.h @@ -204,7 +204,7 @@ namespace ASDCP { enum EssenceType_t { ESS_UNKNOWN, // the file is not a supported AS-DCP or AS-02 essence container - // + // ESS_MPEG2_VES, // the file contains an MPEG-2 video elementary stream // d-cinema essence types (AS-DCP) @@ -1106,7 +1106,7 @@ namespace ASDCP { { ui32_t Pcap; // Pcap = 0 means that no extended capabilities are required i8_t N; // Number of Ccap elements, or NoExtendedCapabilitiesSignaled if no Extended Capabilities are signaled - ui16_t Ccap[MaxCapabilities]; + ui16_t Ccap[MaxCapabilities]; }; struct Profile_t // ISO 15444-1 @@ -1146,7 +1146,7 @@ namespace ASDCP { QuantizationDefault_t QuantizationDefault; ExtendedCapabilities_t ExtendedCapabilities; Profile_t Profile; - CorrespondingProfile_t CorrespondingProfile; + CorrespondingProfile_t CorrespondingProfile; }; // Print debugging information to std::ostream @@ -1186,6 +1186,7 @@ namespace ASDCP { // byte of the data segment. Set this value to zero if you want // encrypted headers. Result_t OpenReadFrame(const std::string& filename, FrameBuffer&) const; + Result_t OpenReadFrame(const unsigned char* data, int size, FrameBuffer&) const; // Fill a PictureDescriptor struct with the values from the file's codestream. // Returns RESULT_INIT if the file is not open. @@ -1274,6 +1275,8 @@ namespace ASDCP { // Closes the MXF file, writing the index and revised header. Result_t Finalize(); + + ui64_t Tell() const; }; // @@ -1389,6 +1392,8 @@ namespace ASDCP { // Closes the MXF file, writing the index and revised header. Returns // RESULT_SPHASE if WriteFrame was called an odd number of times. Result_t Finalize(); + + ui64_t Tell() const; }; // |
