Class: BMFF::Box::ShadowSyncSample
- Defined in:
- lib/bmff/box/shadow_sync_sample.rb
Overview
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
Instance Attribute Summary collapse
-
#entry_count ⇒ Object
Returns the value of attribute entry_count.
-
#shadowed_sample_number ⇒ Object
Returns the value of attribute shadowed_sample_number.
-
#sync_sample_number ⇒ Object
Returns the value of attribute sync_sample_number.
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, register_uuid_box, #remaining_size, #root, #seek_to_end
Instance Attribute Details
#entry_count ⇒ Object
Returns the value of attribute entry_count.
5 6 7 |
# File 'lib/bmff/box/shadow_sync_sample.rb', line 5 def entry_count @entry_count end |
#shadowed_sample_number ⇒ Object
Returns the value of attribute shadowed_sample_number.
5 6 7 |
# File 'lib/bmff/box/shadow_sync_sample.rb', line 5 def shadowed_sample_number @shadowed_sample_number end |
#sync_sample_number ⇒ Object
Returns the value of attribute sync_sample_number.
5 6 7 |
# File 'lib/bmff/box/shadow_sync_sample.rb', line 5 def sync_sample_number @sync_sample_number end |
Instance Method Details
#parse_data ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/bmff/box/shadow_sync_sample.rb', line 8 def parse_data super @entry_count = io.get_uint32 @shadowed_sample_number = [] @sync_sample_number = [] @entry_count.times do @shadowed_sample_number << io.get_uint32 @sync_sample_number << io.get_uint32 end end |