diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-16 21:04:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-21 20:25:17 +0100 |
| commit | 59670db83c13807eda5b63704c0fac90aebe68e4 (patch) | |
| tree | 79c5efa8348c608c3354536cf1c60782620cdfee /src/AS_DCP.h | |
| parent | 116bbca3bba417734a5853786d86243f5e4d6357 (diff) | |
Add another OpenReadFrame method for JP2K::CodestreamParser.
Diffstat (limited to 'src/AS_DCP.h')
| -rwxr-xr-x | src/AS_DCP.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/AS_DCP.h b/src/AS_DCP.h index a661226..8a87bf2 100755 --- a/src/AS_DCP.h +++ b/src/AS_DCP.h @@ -1187,6 +1187,8 @@ namespace ASDCP { // encrypted headers. Result_t OpenReadFrame(const std::string& filename, FrameBuffer&) const; + Result_t OpenReadFrame(const unsigned char * data, unsigned 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. Result_t FillPictureDescriptor(PictureDescriptor&) const; |
