Tussentijdse commit, SetWidth en SetHeight aan interface toegevoegd, default value voor hdlr_soun en hdlr_vide toegevoegd, default value voor mvhd->NextTrackID() aangepast zodat deze geldig is
This commit is contained in:
parent
c646e99270
commit
7474b19df0
7 changed files with 60 additions and 11 deletions
|
|
@ -18,11 +18,14 @@ void Box_avcC::SetDataReferenceIndex( uint16_t DataReferenceIndex ) {
|
|||
Container->SetPayload((uint32_t)2,Box::uint16_to_uint8( DataReferenceIndex ),6);
|
||||
}
|
||||
|
||||
void Box_avcC::SetDimensions ( uint16_t Width, uint16_t Height ) {
|
||||
Container->SetPayload((uint32_t)2,Box::uint16_to_uint8( Height ),26);
|
||||
void Box_avcC::SetWidth( uint16_t Width ) {
|
||||
Container->SetPayload((uint32_t)2,Box::uint16_to_uint8( Width ),24);
|
||||
}
|
||||
|
||||
void Box_avcC::SetHeight( uint16_t Height ) {
|
||||
Container->SetPayload((uint32_t)2,Box::uint16_to_uint8( Height ),26);
|
||||
}
|
||||
|
||||
void Box_avcC::SetResolution ( uint32_t Horizontal, uint32_t Vertical ) {
|
||||
Container->SetPayload((uint32_t)4,Box::uint32_to_uint8( Vertical ),32);
|
||||
Container->SetPayload((uint32_t)4,Box::uint32_to_uint8( Horizontal ),28);
|
||||
|
|
@ -55,6 +58,7 @@ void Box_avcC::SetReserved( ) {
|
|||
}
|
||||
|
||||
void Box_avcC::SetDefaults( ) {
|
||||
SetDimensions( );
|
||||
SetDepth ( );
|
||||
SetFrameCount ( );
|
||||
SetResolution ( );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue