-
Notifications
You must be signed in to change notification settings - Fork 47
/
class_category.go
28 lines (25 loc) · 1.59 KB
/
class_category.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package astiav
//#include <libavutil/log.h>
import "C"
// https://ffmpeg.org/doxygen/7.0/log_8h.html#aeb1c06cc3e47a029ca6afeac782ac8f9
type ClassCategory C.AVClassCategory
const (
ClassCategoryBitstreamFilter = ClassCategory(C.AV_CLASS_CATEGORY_BITSTREAM_FILTER)
ClassCategoryDecoder = ClassCategory(C.AV_CLASS_CATEGORY_DECODER)
ClassCategoryDemuxer = ClassCategory(C.AV_CLASS_CATEGORY_DEMUXER)
ClassCategoryDeviceAudioInput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT)
ClassCategoryDeviceAudioOutput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT)
ClassCategoryDeviceInput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_INPUT)
ClassCategoryDeviceOutput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_OUTPUT)
ClassCategoryDeviceVideoInput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT)
ClassCategoryDeviceVideoOutput = ClassCategory(C.AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT)
ClassCategoryEncoder = ClassCategory(C.AV_CLASS_CATEGORY_ENCODER)
ClassCategoryFilter = ClassCategory(C.AV_CLASS_CATEGORY_FILTER)
ClassCategoryInput = ClassCategory(C.AV_CLASS_CATEGORY_INPUT)
ClassCategoryMuxer = ClassCategory(C.AV_CLASS_CATEGORY_MUXER)
ClassCategoryNa = ClassCategory(C.AV_CLASS_CATEGORY_NA)
ClassCategoryNb = ClassCategory(C.AV_CLASS_CATEGORY_NB)
ClassCategoryOutput = ClassCategory(C.AV_CLASS_CATEGORY_OUTPUT)
ClassCategorySwresampler = ClassCategory(C.AV_CLASS_CATEGORY_SWRESAMPLER)
ClassCategorySwscaler = ClassCategory(C.AV_CLASS_CATEGORY_SWSCALER)
)