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



2617
2618
2619
# File 'lib/ffi/libav.rb', line 2617

def extensions
  @extensions.get_string(0)
end

#extensions=(str) ⇒ Object



2613
2614
2615
2616
# File 'lib/ffi/libav.rb', line 2613

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

#long_nameObject



2610
2611
2612
# File 'lib/ffi/libav.rb', line 2610

def long_name
  @long_name.get_string(0)
end

#long_name=(str) ⇒ Object



2606
2607
2608
2609
# File 'lib/ffi/libav.rb', line 2606

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

#nameObject



2603
2604
2605
# File 'lib/ffi/libav.rb', line 2603

def name
  @name.get_string(0)
end

#name=(str) ⇒ Object



2599
2600
2601
2602
# File 'lib/ffi/libav.rb', line 2599

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

#read_closeObject



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

def read_close
  @read_close
end

#read_close=(cb) ⇒ Object



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

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

#read_headerObject



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

def read_header
  @read_header
end

#read_header=(cb) ⇒ Object



2627
2628
2629
2630
# File 'lib/ffi/libav.rb', line 2627

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

#read_packetObject



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

def read_packet
  @read_packet
end

#read_packet=(cb) ⇒ Object



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

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

#read_pauseObject



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

def read_pause
  @read_pause
end

#read_pause=(cb) ⇒ Object



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

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

#read_playObject



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

def read_play
  @read_play
end

#read_play=(cb) ⇒ Object



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

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

#read_probeObject



2624
2625
2626
# File 'lib/ffi/libav.rb', line 2624

def read_probe
  @read_probe
end

#read_probe=(cb) ⇒ Object



2620
2621
2622
2623
# File 'lib/ffi/libav.rb', line 2620

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

#read_seekObject



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

def read_seek
  @read_seek
end

#read_seek2Object



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

def read_seek2
  @read_seek2
end

#read_seek2=(cb) ⇒ Object



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

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

#read_seek=(cb) ⇒ Object



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

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

#read_timestampObject



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

def read_timestamp
  @read_timestamp
end

#read_timestamp=(cb) ⇒ Object



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

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