Class: FFI::Libav::AVHWAccel

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

Instance Method Summary collapse

Instance Method Details

#decode_sliceObject



1987
1988
1989
# File 'lib/ffi/libav.rb', line 1987

def decode_slice
  @decode_slice
end

#decode_slice=(cb) ⇒ Object



1983
1984
1985
1986
# File 'lib/ffi/libav.rb', line 1983

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

#end_frameObject



1994
1995
1996
# File 'lib/ffi/libav.rb', line 1994

def end_frame
  @end_frame
end

#end_frame=(cb) ⇒ Object



1990
1991
1992
1993
# File 'lib/ffi/libav.rb', line 1990

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

#nameObject



1973
1974
1975
# File 'lib/ffi/libav.rb', line 1973

def name
  @name.get_string(0)
end

#name=(str) ⇒ Object



1969
1970
1971
1972
# File 'lib/ffi/libav.rb', line 1969

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

#start_frameObject



1980
1981
1982
# File 'lib/ffi/libav.rb', line 1980

def start_frame
  @start_frame
end

#start_frame=(cb) ⇒ Object



1976
1977
1978
1979
# File 'lib/ffi/libav.rb', line 1976

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