MP4v2
|
Functional class for pasp-box (Picture Aspect Ratio Box) support. More...
Classes | |
class | IndexedItem |
class | Item |
Data object for pasp-box item. More... | |
Public Types | |
typedef vector< IndexedItem > | ItemList |
Static Public Member Functions | |
static bool | list (MP4FileHandle file, ItemList &itemList) |
static bool | add (MP4FileHandle file, uint16_t trackIndex, const Item &item) |
Add pasp-box by track-index. More... | |
static bool | add (MP4FileHandle file, MP4TrackId trackId, const Item &item) |
Add pasp-box by track-id. More... | |
static bool | set (MP4FileHandle file, uint16_t trackIndex, const Item &item) |
Store pasp-box (Color Parameter Box) properties by track-index. More... | |
static bool | set (MP4FileHandle file, MP4TrackId trackId, const Item &item) |
Store pasp-box (Color Parameter Box) properties by track-id. More... | |
static bool | get (MP4FileHandle file, uint16_t trackIndex, Item &item) |
Fetch pasp-box (Color Parameter Box) properties by track-index. More... | |
static bool | get (MP4FileHandle file, MP4TrackId trackId, Item &item) |
Fetch pasp-box (Color Parameter Box) properties by track-id. More... | |
static bool | remove (MP4FileHandle file, uint16_t trackIndex) |
Remove pasp-box (Color Parameter Box) by track-index. More... | |
static bool | remove (MP4FileHandle file, MP4TrackId trackId) |
Remove pasp-box (Color Parameter Box) by track-id. More... | |
Functional class for pasp-box (Picture Aspect Ratio Box) support.
A pasp-box is expected to be contained in a video track which is one of the following coding types:
This implementation assumes a maximum count of 1 for VideoSampleEntry of the supported codings.
|
static |
Add pasp-box by track-id.
This function adds a pasp-box to trackId of file. The track must be a video-track and match one of the supporting codings.
file | on which to operate. |
trackId | on which to operate. |
item | pasp-box properties to set. |
|
static |
Add pasp-box by track-index.
This function adds a pasp-box to trackId of file. The track must be a video-track and match one of the supporting codings.
file | on which to operate. |
trackIndex | on which to operate. |
item | pasp-box properties to set. |
|
static |
Fetch pasp-box (Color Parameter Box) properties by track-id.
This function gets the properties of a pasp-box (Color Parameter Box).
file | on which to operate. |
trackId | on which to operate. |
item | pasp-box properties to set. |
|
static |
Fetch pasp-box (Color Parameter Box) properties by track-index.
This function gets the properties of a pasp-box (Color Parameter Box).
file | on which to operate. |
trackIndex | on which to operate. |
item | pasp-box properties to set. |
|
static |
Remove pasp-box (Color Parameter Box) by track-id.
file | on which to operate. |
trackId | on which to operate. |
|
static |
Remove pasp-box (Color Parameter Box) by track-index.
file | on which to operate. |
trackIndex | on which to operate. |
|
static |
Store pasp-box (Color Parameter Box) properties by track-id.
This function sets the properties of a pasp-box (Color Parameter Box).
file | on which to operate. |
trackId | on which to operate. |
item | pasp-box properties to set. |
|
static |
Store pasp-box (Color Parameter Box) properties by track-index.
This function sets the properties of a pasp-box (Color Parameter Box).
file | on which to operate. |
trackIndex | on which to operate. |
item | pasp-box properties to set. |