Class: BMFF::Box::PixelAspectRatio
- Defined in:
- lib/bmff/box/pixel_aspect_ratio.rb
Overview
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
Instance Attribute Summary collapse
-
#h_spacing ⇒ Object
Returns the value of attribute h_spacing.
-
#v_spacing ⇒ Object
Returns the value of attribute v_spacing.
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
#h_spacing ⇒ Object
Returns the value of attribute h_spacing.
5 6 7 |
# File 'lib/bmff/box/pixel_aspect_ratio.rb', line 5 def h_spacing @h_spacing end |
#v_spacing ⇒ Object
Returns the value of attribute v_spacing.
5 6 7 |
# File 'lib/bmff/box/pixel_aspect_ratio.rb', line 5 def v_spacing @v_spacing end |
Instance Method Details
#parse_data ⇒ Object
8 9 10 11 12 |
# File 'lib/bmff/box/pixel_aspect_ratio.rb', line 8 def parse_data super @h_spacing = io.get_uint32 @v_spacing = io.get_uint32 end |