Class: FFI::Libav::AVCodec

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

#closeObject



1944
1945
1946
# File 'lib/ffi/libav.rb', line 1944

def close
  @close
end

#close=(cb) ⇒ Object



1940
1941
1942
1943
# File 'lib/ffi/libav.rb', line 1940

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

#decodeObject



1937
1938
1939
# File 'lib/ffi/libav.rb', line 1937

def decode
  @decode
end

#decode=(cb) ⇒ Object



1933
1934
1935
1936
# File 'lib/ffi/libav.rb', line 1933

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

#encode2Object



1930
1931
1932
# File 'lib/ffi/libav.rb', line 1930

def encode2
  @encode2
end

#encode2=(cb) ⇒ Object



1926
1927
1928
1929
# File 'lib/ffi/libav.rb', line 1926

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

#encode_subObject



1923
1924
1925
# File 'lib/ffi/libav.rb', line 1923

def encode_sub
  @encode_sub
end

#encode_sub=(cb) ⇒ Object



1919
1920
1921
1922
# File 'lib/ffi/libav.rb', line 1919

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

#flushObject



1951
1952
1953
# File 'lib/ffi/libav.rb', line 1951

def flush
  @flush
end

#flush=(cb) ⇒ Object



1947
1948
1949
1950
# File 'lib/ffi/libav.rb', line 1947

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

#initObject



1916
1917
1918
# File 'lib/ffi/libav.rb', line 1916

def init
  @init
end

#init=(cb) ⇒ Object



1912
1913
1914
1915
# File 'lib/ffi/libav.rb', line 1912

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

#init_static_dataObject



1909
1910
1911
# File 'lib/ffi/libav.rb', line 1909

def init_static_data
  @init_static_data
end

#init_static_data=(cb) ⇒ Object



1905
1906
1907
1908
# File 'lib/ffi/libav.rb', line 1905

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

#init_thread_copyObject



1895
1896
1897
# File 'lib/ffi/libav.rb', line 1895

def init_thread_copy
  @init_thread_copy
end

#init_thread_copy=(cb) ⇒ Object



1891
1892
1893
1894
# File 'lib/ffi/libav.rb', line 1891

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

#long_nameObject



1888
1889
1890
# File 'lib/ffi/libav.rb', line 1888

def long_name
  @long_name.get_string(0)
end

#long_name=(str) ⇒ Object



1884
1885
1886
1887
# File 'lib/ffi/libav.rb', line 1884

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

#nameObject



1881
1882
1883
# File 'lib/ffi/libav.rb', line 1881

def name
  @name.get_string(0)
end

#name=(str) ⇒ Object



1877
1878
1879
1880
# File 'lib/ffi/libav.rb', line 1877

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

#update_thread_contextObject



1902
1903
1904
# File 'lib/ffi/libav.rb', line 1902

def update_thread_context
  @update_thread_context
end

#update_thread_context=(cb) ⇒ Object



1898
1899
1900
1901
# File 'lib/ffi/libav.rb', line 1898

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