Class: BMFF::Box::CleanAperture

Inherits:
Base
  • Object
show all
Defined in:
lib/bmff/box/clean_aperture.rb

Overview

vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:

Instance Attribute Summary collapse

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

#clean_aperture_height_dObject

Returns the value of attribute clean_aperture_height_d.



5
6
7
# File 'lib/bmff/box/clean_aperture.rb', line 5

def clean_aperture_height_d
  @clean_aperture_height_d
end

#clean_aperture_height_nObject

Returns the value of attribute clean_aperture_height_n.



5
6
7
# File 'lib/bmff/box/clean_aperture.rb', line 5

def clean_aperture_height_n
  @clean_aperture_height_n
end

#clean_aperture_width_dObject

Returns the value of attribute clean_aperture_width_d.



5
6
7
# File 'lib/bmff/box/clean_aperture.rb', line 5

def clean_aperture_width_d
  @clean_aperture_width_d
end

#clean_aperture_width_nObject

Returns the value of attribute clean_aperture_width_n.



5
6
7
# File 'lib/bmff/box/clean_aperture.rb', line 5

def clean_aperture_width_n
  @clean_aperture_width_n
end

#horiz_off_dObject

Returns the value of attribute horiz_off_d.



5
6
7
# File 'lib/bmff/box/clean_aperture.rb', line 5

def horiz_off_d
  @horiz_off_d
end

#horiz_off_nObject

Returns the value of attribute horiz_off_n.



5
6
7
# File 'lib/bmff/box/clean_aperture.rb', line 5

def horiz_off_n
  @horiz_off_n
end

#vert_off_dObject

Returns the value of attribute vert_off_d.



5
6
7
# File 'lib/bmff/box/clean_aperture.rb', line 5

def vert_off_d
  @vert_off_d
end

#vert_off_nObject

Returns the value of attribute vert_off_n.



5
6
7
# File 'lib/bmff/box/clean_aperture.rb', line 5

def vert_off_n
  @vert_off_n
end

Instance Method Details

#parse_dataObject



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/bmff/box/clean_aperture.rb', line 9

def parse_data
  super
  @clean_aperture_width_n = io.get_uint32
  @clean_aperture_width_d = io.get_uint32
  @clean_aperture_height_n = io.get_uint32
  @clean_aperture_height_d = io.get_uint32
  @horiz_off_n = io.get_uint32
  @horiz_off_d = io.get_uint32
  @vert_off_n = io.get_uint32
  @vert_off_d = io.get_uint32
end