Class: BMFF::Box::HintMediaHeader
- Defined in:
- lib/bmff/box/hint_media_header.rb
Overview
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
Instance Attribute Summary collapse
-
#avg_pdu_size ⇒ Object
Returns the value of attribute avg_pdu_size.
-
#avgbitrate ⇒ Object
Returns the value of attribute avgbitrate.
-
#max_pdu_size ⇒ Object
Returns the value of attribute max_pdu_size.
-
#maxbitrate ⇒ Object
Returns the value of attribute maxbitrate.
-
#reserved1 ⇒ Object
Returns the value of attribute reserved1.
Attributes inherited from Full
Attributes inherited from Base
#io, #largesize, #offset, #parent, #size, #type, #usertype
Instance Method Summary collapse
Methods inherited from Base
#actual_size, #container?, #eob?, #parse, register_box, #remaining_size, #seek_to_end
Instance Attribute Details
#avg_pdu_size ⇒ Object
Returns the value of attribute avg_pdu_size.
5 6 7 |
# File 'lib/bmff/box/hint_media_header.rb', line 5 def avg_pdu_size @avg_pdu_size end |
#avgbitrate ⇒ Object
Returns the value of attribute avgbitrate.
5 6 7 |
# File 'lib/bmff/box/hint_media_header.rb', line 5 def avgbitrate @avgbitrate end |
#max_pdu_size ⇒ Object
Returns the value of attribute max_pdu_size.
5 6 7 |
# File 'lib/bmff/box/hint_media_header.rb', line 5 def max_pdu_size @max_pdu_size end |
#maxbitrate ⇒ Object
Returns the value of attribute maxbitrate.
5 6 7 |
# File 'lib/bmff/box/hint_media_header.rb', line 5 def maxbitrate @maxbitrate end |
#reserved1 ⇒ Object
Returns the value of attribute reserved1.
5 6 7 |
# File 'lib/bmff/box/hint_media_header.rb', line 5 def reserved1 @reserved1 end |
Instance Method Details
#parse_data ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/bmff/box/hint_media_header.rb', line 8 def parse_data super @max_pdu_size = io.get_uint16 @avg_pdu_size = io.get_uint16 @maxbitrate = io.get_uint32 @avgbitrate = io.get_uint32 @reserved1 = io.get_uint32 end |