Class: FFI::Libav::AVInputFormat

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

Instance Method Summary collapse

Instance Method Details

#extensionsObject



2692
2693
2694
# File 'lib/ffi/libav.rb', line 2692

def extensions
  @extensions.get_string(0)
end

#extensions=(str) ⇒ Object



2688
2689
2690
2691
# File 'lib/ffi/libav.rb', line 2688

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

#long_nameObject



2643
2644
2645
# File 'lib/ffi/libav.rb', line 2643

def long_name
  @long_name.get_string(0)
end

#long_name=(str) ⇒ Object



2639
2640
2641
2642
# File 'lib/ffi/libav.rb', line 2639

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

#nameObject



2636
2637
2638
# File 'lib/ffi/libav.rb', line 2636

def name
  @name.get_string(0)
end

#name=(str) ⇒ Object



2632
2633
2634
2635
# File 'lib/ffi/libav.rb', line 2632

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

#read_closeObject



2671
2672
2673
# File 'lib/ffi/libav.rb', line 2671

def read_close
  @read_close
end

#read_close=(cb) ⇒ Object



2667
2668
2669
2670
# File 'lib/ffi/libav.rb', line 2667

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

#read_headerObject



2657
2658
2659
# File 'lib/ffi/libav.rb', line 2657

def read_header
  @read_header
end

#read_header=(cb) ⇒ Object



2653
2654
2655
2656
# File 'lib/ffi/libav.rb', line 2653

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

#read_packetObject



2664
2665
2666
# File 'lib/ffi/libav.rb', line 2664

def read_packet
  @read_packet
end

#read_packet=(cb) ⇒ Object



2660
2661
2662
2663
# File 'lib/ffi/libav.rb', line 2660

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

#read_pauseObject



2706
2707
2708
# File 'lib/ffi/libav.rb', line 2706

def read_pause
  @read_pause
end

#read_pause=(cb) ⇒ Object



2702
2703
2704
2705
# File 'lib/ffi/libav.rb', line 2702

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

#read_playObject



2699
2700
2701
# File 'lib/ffi/libav.rb', line 2699

def read_play
  @read_play
end

#read_play=(cb) ⇒ Object



2695
2696
2697
2698
# File 'lib/ffi/libav.rb', line 2695

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

#read_probeObject



2650
2651
2652
# File 'lib/ffi/libav.rb', line 2650

def read_probe
  @read_probe
end

#read_probe=(cb) ⇒ Object



2646
2647
2648
2649
# File 'lib/ffi/libav.rb', line 2646

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

#read_seekObject



2678
2679
2680
# File 'lib/ffi/libav.rb', line 2678

def read_seek
  @read_seek
end

#read_seek2Object



2713
2714
2715
# File 'lib/ffi/libav.rb', line 2713

def read_seek2
  @read_seek2
end

#read_seek2=(cb) ⇒ Object



2709
2710
2711
2712
# File 'lib/ffi/libav.rb', line 2709

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

#read_seek=(cb) ⇒ Object



2674
2675
2676
2677
# File 'lib/ffi/libav.rb', line 2674

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

#read_timestampObject



2685
2686
2687
# File 'lib/ffi/libav.rb', line 2685

def read_timestamp
  @read_timestamp
end

#read_timestamp=(cb) ⇒ Object



2681
2682
2683
2684
# File 'lib/ffi/libav.rb', line 2681

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