Add Dolby Vision support to mp4v2.
This commit is contained in:
3 files changed
+49
-2
No files matched your search
Binary file not shown.
+42
-1
@@ -273,8 +273,29 @@ MP4TrackId MP4AddH265VideoTrack(
|
||||
MP4Duration sampleDuration,
|
||||
uint16_t width,
|
||||
uint16_t height,
|
||||
const uint8_t *magicCookie,
|
||||
uint32_t magicCookieSize,
|
||||
bool completeness );
|
||||
|
||||
MP4V2_EXPORT
|
||||
MP4TrackId MP4AddDolbyVisionH265VideoTrack(
|
||||
MP4FileHandle hFile,
|
||||
uint32_t timeScale,
|
||||
MP4Duration sampleDuration,
|
||||
uint16_t width,
|
||||
uint16_t height,
|
||||
const uint8_t *magicCookie,
|
||||
uint32_t magicCookieSize,
|
||||
uint8_t versionMajor,
|
||||
uint8_t versionMinor,
|
||||
uint8_t profile,
|
||||
uint8_t level,
|
||||
bool rpuPresentFlag,
|
||||
bool elPresentFlag,
|
||||
bool blPresentFlag,
|
||||
uint8_t blSignalCompatibilityId,
|
||||
bool complete );
|
||||
|
||||
MP4V2_EXPORT
|
||||
MP4TrackId MP4AddH264VideoTrack(
|
||||
MP4FileHandle hFile,
|
||||
@@ -338,7 +359,9 @@ MP4TrackId MP4AddAV1VideoTrack(
|
||||
uint32_t timeScale,
|
||||
MP4Duration sampleDuration,
|
||||
uint16_t width,
|
||||
uint16_t height );
|
||||
uint16_t height,
|
||||
const uint8_t *magicCookie,
|
||||
uint32_t magicCookieSize);
|
||||
|
||||
/** Add a hint track.
|
||||
*
|
||||
@@ -457,6 +480,24 @@ MP4TrackId MP4SetMasteringDisplayMetadata(
|
||||
uint32_t maxDisplayMasteringLuminance,
|
||||
uint32_t minDisplayMasteringLuminance);
|
||||
|
||||
MP4V2_EXPORT
|
||||
MP4TrackId MP4SetDolbyVisionMetadata(
|
||||
MP4FileHandle hFile, MP4TrackId refTrackId,
|
||||
uint8_t versionMajor,
|
||||
uint8_t versionMinor,
|
||||
uint8_t profile,
|
||||
uint8_t level,
|
||||
bool rpuPresentFlag,
|
||||
bool elPresentFlag,
|
||||
bool blPresentFlag,
|
||||
uint8_t blSignalCompatibilityId);
|
||||
|
||||
MP4V2_EXPORT
|
||||
MP4TrackId MP4SetDolbyVisionELConfiguration(
|
||||
MP4FileHandle hFile, MP4TrackId refTrackId,
|
||||
const uint8_t *config,
|
||||
uint32_t configSize);
|
||||
|
||||
MP4V2_EXPORT
|
||||
MP4TrackId MP4CloneTrack(
|
||||
MP4FileHandle srcFile,
|
||||
|
||||
@@ -48,10 +48,16 @@ const char* MP4GetTrackType(
|
||||
MP4FileHandle hFile,
|
||||
MP4TrackId trackId );
|
||||
|
||||
MP4V2_EXPORT
|
||||
uint32_t MP4GetTrackNumberOfSampleDescriptions(
|
||||
MP4FileHandle hFile,
|
||||
MP4TrackId trackId);
|
||||
|
||||
MP4V2_EXPORT
|
||||
const char* MP4GetTrackMediaDataName(
|
||||
MP4FileHandle hFile,
|
||||
MP4TrackId trackId );
|
||||
MP4TrackId trackId,
|
||||
uint32_t index);
|
||||
|
||||
/*
|
||||
* MP4GetTrackMediaDataOriginalFormat is to be used to get the original
|
||||
|
||||
Reference in new issue
Block a user