Documentation ¶
Index ¶
- type Atom
- type AudioCodecData
- type AudioDecoder
- type AudioEncoder
- func (_m *AudioEncoder) Close()
- func (_m *AudioEncoder) CodecData() (av.AudioCodecData, error)
- func (_m *AudioEncoder) Encode(_a0 av.AudioFrame) ([][]byte, error)
- func (_m *AudioEncoder) GetOption(_a0 string, _a1 interface{}) error
- func (_m *AudioEncoder) SetBitrate(_a0 int) error
- func (_m *AudioEncoder) SetChannelLayout(_a0 av.ChannelLayout) error
- func (_m *AudioEncoder) SetOption(_a0 string, _a1 interface{}) error
- func (_m *AudioEncoder) SetSampleFormat(_a0 av.SampleFormat) error
- func (_m *AudioEncoder) SetSampleRate(_a0 int) error
- type AudioResampler
- type CodecData
- type DemuxCloser
- type Demuxer
- type Filter
- type MuxCloser
- type Muxer
- type PacketReader
- type PacketWriter
- type VideoCodecData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Atom ¶
Atom is an autogenerated mock type for the Atom type
type AudioCodecData ¶
AudioCodecData is an autogenerated mock type for the AudioCodecData type
func (*AudioCodecData) ChannelLayout ¶
func (_m *AudioCodecData) ChannelLayout() av.ChannelLayout
ChannelLayout provides a mock function with given fields:
func (*AudioCodecData) PacketDuration ¶
func (_m *AudioCodecData) PacketDuration(_a0 []byte) (time.Duration, error)
PacketDuration provides a mock function with given fields: _a0
func (*AudioCodecData) SampleFormat ¶
func (_m *AudioCodecData) SampleFormat() av.SampleFormat
SampleFormat provides a mock function with given fields:
func (*AudioCodecData) SampleRate ¶
func (_m *AudioCodecData) SampleRate() int
SampleRate provides a mock function with given fields:
func (*AudioCodecData) Type ¶
func (_m *AudioCodecData) Type() av.CodecType
Type provides a mock function with given fields:
type AudioDecoder ¶
AudioDecoder is an autogenerated mock type for the AudioDecoder type
func (*AudioDecoder) Close ¶
func (_m *AudioDecoder) Close()
Close provides a mock function with given fields:
func (*AudioDecoder) Decode ¶
func (_m *AudioDecoder) Decode(_a0 []byte) (bool, av.AudioFrame, error)
Decode provides a mock function with given fields: _a0
type AudioEncoder ¶
AudioEncoder is an autogenerated mock type for the AudioEncoder type
func (*AudioEncoder) Close ¶
func (_m *AudioEncoder) Close()
Close provides a mock function with given fields:
func (*AudioEncoder) CodecData ¶
func (_m *AudioEncoder) CodecData() (av.AudioCodecData, error)
CodecData provides a mock function with given fields:
func (*AudioEncoder) Encode ¶
func (_m *AudioEncoder) Encode(_a0 av.AudioFrame) ([][]byte, error)
Encode provides a mock function with given fields: _a0
func (*AudioEncoder) GetOption ¶
func (_m *AudioEncoder) GetOption(_a0 string, _a1 interface{}) error
GetOption provides a mock function with given fields: _a0, _a1
func (*AudioEncoder) SetBitrate ¶
func (_m *AudioEncoder) SetBitrate(_a0 int) error
SetBitrate provides a mock function with given fields: _a0
func (*AudioEncoder) SetChannelLayout ¶
func (_m *AudioEncoder) SetChannelLayout(_a0 av.ChannelLayout) error
SetChannelLayout provides a mock function with given fields: _a0
func (*AudioEncoder) SetOption ¶
func (_m *AudioEncoder) SetOption(_a0 string, _a1 interface{}) error
SetOption provides a mock function with given fields: _a0, _a1
func (*AudioEncoder) SetSampleFormat ¶
func (_m *AudioEncoder) SetSampleFormat(_a0 av.SampleFormat) error
SetSampleFormat provides a mock function with given fields: _a0
func (*AudioEncoder) SetSampleRate ¶
func (_m *AudioEncoder) SetSampleRate(_a0 int) error
SetSampleRate provides a mock function with given fields: _a0
type AudioResampler ¶
AudioResampler is an autogenerated mock type for the AudioResampler type
func (*AudioResampler) Resample ¶
func (_m *AudioResampler) Resample(_a0 av.AudioFrame) (av.AudioFrame, error)
Resample provides a mock function with given fields: _a0
type DemuxCloser ¶
DemuxCloser is an autogenerated mock type for the DemuxCloser type
func (*DemuxCloser) Close ¶
func (_m *DemuxCloser) Close() error
Close provides a mock function with given fields:
func (*DemuxCloser) ReadPacket ¶
func (_m *DemuxCloser) ReadPacket() (av.Packet, error)
ReadPacket provides a mock function with given fields:
type Demuxer ¶
Demuxer is an autogenerated mock type for the Demuxer type
func (*Demuxer) ReadPacket ¶
ReadPacket provides a mock function with given fields:
type MuxCloser ¶
MuxCloser is an autogenerated mock type for the MuxCloser type
func (*MuxCloser) WriteHeader ¶
WriteHeader provides a mock function with given fields: _a0
func (*MuxCloser) WritePacket ¶
WritePacket provides a mock function with given fields: _a0
func (*MuxCloser) WriteTrailer ¶
WriteTrailer provides a mock function with given fields:
type Muxer ¶
Muxer is an autogenerated mock type for the Muxer type
func (*Muxer) WriteHeader ¶
WriteHeader provides a mock function with given fields: _a0
func (*Muxer) WritePacket ¶
WritePacket provides a mock function with given fields: _a0
func (*Muxer) WriteTrailer ¶
WriteTrailer provides a mock function with given fields:
type PacketReader ¶
PacketReader is an autogenerated mock type for the PacketReader type
func (*PacketReader) ReadPacket ¶
func (_m *PacketReader) ReadPacket() (av.Packet, error)
ReadPacket provides a mock function with given fields:
type PacketWriter ¶
PacketWriter is an autogenerated mock type for the PacketWriter type
func (*PacketWriter) WritePacket ¶
func (_m *PacketWriter) WritePacket(_a0 av.Packet) error
WritePacket provides a mock function with given fields: _a0
type VideoCodecData ¶
VideoCodecData is an autogenerated mock type for the VideoCodecData type
func (*VideoCodecData) Height ¶
func (_m *VideoCodecData) Height() int
Height provides a mock function with given fields:
func (*VideoCodecData) Type ¶
func (_m *VideoCodecData) Type() av.CodecType
Type provides a mock function with given fields:
func (*VideoCodecData) Width ¶
func (_m *VideoCodecData) Width() int
Width provides a mock function with given fields: