mirror of
https://github.com/asticode/go-astiav.git
synced 2025-09-26 20:21:15 +08:00

* OpenIOContextWithDictionary * OpenIOContext * OpenIOContext * IOInterrupterCB * OpenIOContext(filename string, flags IOContextFlags, ii *IOInterrupter, d *Dictionary) * Program and Discard * Program and Discard * Program and Discard * Program and Discard * Program and Discard * Program and Discard * CodecContext MaxBFrames() SetMaxBFrames(n int) * another pr * delete Flags() * delete Flags() * delete Flags() * delete PmtVersion() * SetStreamIndex * SetStreamIndex
18 lines
557 B
Go
18 lines
557 B
Go
package astiav
|
|
|
|
//#include <libavcodec/defs.h>
|
|
import "C"
|
|
|
|
// https://ffmpeg.org/doxygen/7.0/group__lavc__decoding.html#ga352363bce7d3ed82c101b3bc001d1c16
|
|
type Discard C.enum_AVDiscard
|
|
|
|
const (
|
|
DiscardNone = Discard(C.AVDISCARD_NONE)
|
|
DiscardDefault = Discard(C.AVDISCARD_DEFAULT)
|
|
DiscardNonRef = Discard(C.AVDISCARD_NONREF)
|
|
DiscardBidirectional = Discard(C.AVDISCARD_BIDIR)
|
|
DiscardNonIntra = Discard(C.AVDISCARD_NONINTRA)
|
|
DiscardNonKey = Discard(C.AVDISCARD_NONKEY)
|
|
DiscardAll = Discard(C.AVDISCARD_ALL)
|
|
)
|