class FFmpeg::Frame
- FFmpeg::Frame
- Reference
- Object
Defined in:
ffmpeg/frame.crConstructors
-
.new(width : Int, height : Int, pixel_bytes : Int)
DEPRECATED specify pixel format instead of byte size
- .new(width : Int, height : Int, pixel_format : LibAV::PixelFormat, align : Int = 1, buffer : Bytes | Nil = nil)
- .new
Instance Method Summary
-
#allocate_buffer(width : Int, height : Int, pixel_bytes : Int)
DEPRECATED specify pixel format instead of byte size
- #allocate_buffer(width : Int, height : Int, pixel_format : LibAV::PixelFormat, align : Int = 1, buffer : Bytes | Nil = nil)
- #buffer : Bytes
- #finalize
- #height
- #key_frame? : Bool
- #pixel_format : PixelFormat
- #to_unsafe : Pointer(FFmpeg::LibAV::Util::AVFrame)
- #width
Constructor Detail
def self.new(width : Int, height : Int, pixel_bytes : Int)
#
DEPRECATED specify pixel format instead of byte size
def self.new(width : Int, height : Int, pixel_format : LibAV::PixelFormat, align : Int = 1, buffer : Bytes | Nil = nil)
#
Instance Method Detail
def allocate_buffer(width : Int, height : Int, pixel_bytes : Int)
#
DEPRECATED specify pixel format instead of byte size
def allocate_buffer(width : Int, height : Int, pixel_format : LibAV::PixelFormat, align : Int = 1, buffer : Bytes | Nil = nil)
#