Class: FFI::Libav::AVHWAccel
- Inherits:
-
Struct
- Object
- Struct
- FFI::Libav::AVHWAccel
- Defined in:
- lib/ffi/libav.rb,
lib/ffi/libav.rb
Instance Method Summary collapse
- #decode_slice ⇒ Object
- #decode_slice=(cb) ⇒ Object
- #end_frame ⇒ Object
- #end_frame=(cb) ⇒ Object
- #name ⇒ Object
- #name=(str) ⇒ Object
- #start_frame ⇒ Object
- #start_frame=(cb) ⇒ Object
Instance Method Details
#decode_slice ⇒ Object
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_frame ⇒ Object
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 |
#name ⇒ Object
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_frame ⇒ Object
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 |