Class: FFI::Libav::AVCodecContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/ffi/libav.rb,
lib/ffi/libav.rb,
lib/ffi/libav.rb

Instance Method Summary collapse

Instance Method Details

#draw_horiz_bandObject



1752
1753
1754
# File 'lib/ffi/libav.rb', line 1752

def draw_horiz_band
  @draw_horiz_band
end

#draw_horiz_band=(cb) ⇒ Object



1748
1749
1750
1751
# File 'lib/ffi/libav.rb', line 1748

def draw_horiz_band=(cb)
  @draw_horiz_band = cb
  self[:draw_horiz_band] = @draw_horiz_band
end

#executeObject



1815
1816
1817
# File 'lib/ffi/libav.rb', line 1815

def execute
  @execute
end

#execute2Object



1822
1823
1824
# File 'lib/ffi/libav.rb', line 1822

def execute2
  @execute2
end

#execute2=(cb) ⇒ Object



1818
1819
1820
1821
# File 'lib/ffi/libav.rb', line 1818

def execute2=(cb)
  @execute2 = cb
  self[:execute2] = @execute2
end

#execute=(cb) ⇒ Object



1811
1812
1813
1814
# File 'lib/ffi/libav.rb', line 1811

def execute=(cb)
  @execute = cb
  self[:execute] = @execute
end

#get_bufferObject



1766
1767
1768
# File 'lib/ffi/libav.rb', line 1766

def get_buffer
  @get_buffer
end

#get_buffer=(cb) ⇒ Object



1762
1763
1764
1765
# File 'lib/ffi/libav.rb', line 1762

def get_buffer=(cb)
  @get_buffer = cb
  self[:get_buffer] = @get_buffer
end

#get_formatObject



1801
1802
1803
# File 'lib/ffi/libav.rb', line 1801

def get_format
  @get_format
end

#get_format=(cb) ⇒ Object



1797
1798
1799
1800
# File 'lib/ffi/libav.rb', line 1797

def get_format=(cb)
  @get_format = cb
  self[:get_format] = @get_format
end

#rc_eqObject



1794
1795
1796
# File 'lib/ffi/libav.rb', line 1794

def rc_eq
  @rc_eq.get_string(0)
end

#rc_eq=(str) ⇒ Object



1790
1791
1792
1793
# File 'lib/ffi/libav.rb', line 1790

def rc_eq=(str)
  @rc_eq = FFI::MemoryPointer.from_string(str)
  self[:rc_eq] = @rc_eq
end

#reget_bufferObject



1808
1809
1810
# File 'lib/ffi/libav.rb', line 1808

def reget_buffer
  @reget_buffer
end

#reget_buffer=(cb) ⇒ Object



1804
1805
1806
1807
# File 'lib/ffi/libav.rb', line 1804

def reget_buffer=(cb)
  @reget_buffer = cb
  self[:reget_buffer] = @reget_buffer
end

#release_bufferObject



1773
1774
1775
# File 'lib/ffi/libav.rb', line 1773

def release_buffer
  @release_buffer
end

#release_buffer=(cb) ⇒ Object



1769
1770
1771
1772
# File 'lib/ffi/libav.rb', line 1769

def release_buffer=(cb)
  @release_buffer = cb
  self[:release_buffer] = @release_buffer
end

#rtp_callbackObject



1759
1760
1761
# File 'lib/ffi/libav.rb', line 1759

def rtp_callback
  @rtp_callback
end

#rtp_callback=(cb) ⇒ Object



1755
1756
1757
1758
# File 'lib/ffi/libav.rb', line 1755

def rtp_callback=(cb)
  @rtp_callback = cb
  self[:rtp_callback] = @rtp_callback
end

#stats_inObject



1787
1788
1789
# File 'lib/ffi/libav.rb', line 1787

def stats_in
  @stats_in.get_string(0)
end

#stats_in=(str) ⇒ Object



1783
1784
1785
1786
# File 'lib/ffi/libav.rb', line 1783

def stats_in=(str)
  @stats_in = FFI::MemoryPointer.from_string(str)
  self[:stats_in] = @stats_in
end

#stats_outObject



1780
1781
1782
# File 'lib/ffi/libav.rb', line 1780

def stats_out
  @stats_out.get_string(0)
end

#stats_out=(str) ⇒ Object



1776
1777
1778
1779
# File 'lib/ffi/libav.rb', line 1776

def stats_out=(str)
  @stats_out = FFI::MemoryPointer.from_string(str)
  self[:stats_out] = @stats_out
end