mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-05 16:16:50 +08:00
27 lines
1.2 KiB
Go
27 lines
1.2 KiB
Go
package astiav
|
|
|
|
//#include <libavutil/pixfmt.h>
|
|
import "C"
|
|
|
|
// https://ffmpeg.org/doxygen/7.0/pixfmt_8h.html#ad384ee5a840bafd73daef08e6d9cafe7
|
|
type ColorPrimaries C.enum_AVColorPrimaries
|
|
|
|
const (
|
|
ColorPrimariesReserved0 = ColorPrimaries(C.AVCOL_PRI_RESERVED0)
|
|
ColorPrimariesBt709 = ColorPrimaries(C.AVCOL_PRI_BT709)
|
|
ColorPrimariesUnspecified = ColorPrimaries(C.AVCOL_PRI_UNSPECIFIED)
|
|
ColorPrimariesReserved = ColorPrimaries(C.AVCOL_PRI_RESERVED)
|
|
ColorPrimariesBt470M = ColorPrimaries(C.AVCOL_PRI_BT470M)
|
|
ColorPrimariesBt470Bg = ColorPrimaries(C.AVCOL_PRI_BT470BG)
|
|
ColorPrimariesSmpte170M = ColorPrimaries(C.AVCOL_PRI_SMPTE170M)
|
|
ColorPrimariesSmpte240M = ColorPrimaries(C.AVCOL_PRI_SMPTE240M)
|
|
ColorPrimariesFilm = ColorPrimaries(C.AVCOL_PRI_FILM)
|
|
ColorPrimariesBt2020 = ColorPrimaries(C.AVCOL_PRI_BT2020)
|
|
ColorPrimariesSmpte428 = ColorPrimaries(C.AVCOL_PRI_SMPTE428)
|
|
ColorPrimariesSmptest4281 = ColorPrimaries(C.AVCOL_PRI_SMPTEST428_1)
|
|
ColorPrimariesSmpte431 = ColorPrimaries(C.AVCOL_PRI_SMPTE431)
|
|
ColorPrimariesSmpte432 = ColorPrimaries(C.AVCOL_PRI_SMPTE432)
|
|
ColorPrimariesJedecP22 = ColorPrimaries(C.AVCOL_PRI_JEDEC_P22)
|
|
ColorPrimariesNb = ColorPrimaries(C.AVCOL_PRI_NB)
|
|
)
|